diff options
| author | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-04 10:13:19 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik.ramaekers@protonmail.com> | 2020-02-04 10:13:19 +0100 |
| commit | 3f4f5aeb94f5675def64c386775bc7776fa9cc1c (patch) | |
| tree | b2e5440687a4af157296a9565a6a48d17eae167e | |
| parent | 10209192cce23d153d5b893ef2f173292b2b2db5 (diff) | |
remove files
| -rw-r--r-- | src/assets.h | 46 | ||||
| -rw-r--r-- | src/config.h | 22 | ||||
| -rw-r--r-- | src/project_base.h | 110 |
3 files changed, 0 insertions, 178 deletions
diff --git a/src/assets.h b/src/assets.h index 4e614e9..1b76785 100644 --- a/src/assets.h +++ b/src/assets.h @@ -7,52 +7,6 @@ #ifndef INCLUDE_ASSETS #define INCLUDE_ASSETS -#ifndef ASSET_IMAGE_COUNT -#define ASSET_IMAGE_COUNT 10 -#endif - -#ifndef ASSET_FONT_COUNT -#define ASSET_FONT_COUNT 10 -#endif - -#ifndef ASSET_QUEUE_COUNT -#define ASSET_QUEUE_COUNT 20 -#endif - -// binary blobs -extern u8 _binary____data_imgs_en_png_start[]; -extern u8 _binary____data_imgs_en_png_end[]; - -extern u8 _binary____data_imgs_nl_png_start[]; -extern u8 _binary____data_imgs_nl_png_end[]; - -extern u8 _binary____data_imgs_logo_64_png_start[]; -extern u8 _binary____data_imgs_logo_64_png_end[]; - -extern u8 _binary____data_fonts_mono_ttf_start[]; -extern u8 _binary____data_fonts_mono_ttf_end[]; - -extern u8 _binary____data_translations_en_English_mo_start[]; -extern u8 _binary____data_translations_en_English_mo_end[]; - -extern u8 _binary____data_translations_nl_Dutch_mo_start[]; -extern u8 _binary____data_translations_nl_Dutch_mo_end[]; - -extern u8 _binary____data_imgs_list_png_start[]; -extern u8 _binary____data_imgs_list_png_end[]; - -extern u8 _binary____data_imgs_delete_png_start[]; -extern u8 _binary____data_imgs_delete_png_end[]; - -extern u8 _binary____data_imgs_exclaim_png_start[]; -extern u8 _binary____data_imgs_exclaim_png_end[]; - -extern u8 _binary____data_imgs_add_png_start[]; -extern u8 _binary____data_imgs_add_png_end[]; - -extern u8 _binary____data_imgs_set_png_start[]; -extern u8 _binary____data_imgs_set_png_end[]; - typedef struct t_image { u8 *start_addr; u8 *end_addr; diff --git a/src/config.h b/src/config.h deleted file mode 100644 index 51b6563..0000000 --- a/src/config.h +++ /dev/null @@ -1,22 +0,0 @@ -/* -* BSD 2-Clause “Simplified” License -* Copyright (c) 2019, Aldrik Ramaekers, aldrik.ramaekers@protonmail.com -* All rights reserved. -*/ - -#ifndef INCLUDE_CONFIG -#define INCLUDE_CONFIG - -#define TARGET_FRAMERATE 1000/24.0 - -#define SCROLL_SPEED 50 -#define FILE_RESERVE_COUNT 500 -#define ERROR_RESERVE_COUNT 10 -#define MAX_ERROR_MESSAGE_LENGTH 120 -#define MAX_STATUS_TEXT_LENGTH 120 - -#define MAX_TERM_NAME_LENGTH 100 -#define UNSAVED_CHANGES_COLOR rgb(255, 102, 102) -#define MISSING_TRANSLATION_COLOR rgb(255, 179, 102) - -#endif
\ No newline at end of file diff --git a/src/project_base.h b/src/project_base.h deleted file mode 100644 index 6bfa7e1..0000000 --- a/src/project_base.h +++ /dev/null @@ -1,110 +0,0 @@ -/* -* BSD 2-Clause “Simplified” License -* Copyright (c) 2019, Aldrik Ramaekers, aldrik.ramaekers@protonmail.com -* All rights reserved. -*/ - -#ifndef INCLUDE_PROJECT_BASE -#define INCLUDE_PROJECT_BASE - -#ifdef _WIN32 -#define OS_WIN -#include <windows.h> -#include <time.h> -#endif -#ifdef __linux__ -#define OS_LINUX -#include <sys/times.h> -#include <sys/vtimes.h> -#endif -#ifdef __APPLE__ -#define OS_OSX -#error platform not supported -#endif - -#include "stdint.h" -#include "string.h" - -#include <GL/gl.h> -#ifdef OS_LINUX -#include <GL/glx.h> -#endif -#include <GL/glu.h> -#include <GL/glext.h> - -#define s8 int8_t -#define s16 int16_t -#define s32 int32_t -#define s64 int64_t - -#define u8 uint8_t -#define u16 uint16_t -#define u32 uint32_t -#define u64 uint64_t - -#define float32 float -#define float64 double - -#ifdef OS_LINUX -#define bool uint8_t -#endif -#ifdef OS_WIN -#define bool _Bool -#endif - -#define true 1 -#define false 0 - -#include "thread.h" -#include "array.h" -#include "memory.h" - -#define STB_IMAGE_IMPLEMENTATION -#include "external/stb_image.h" - -#define STB_TRUETYPE_IMPLEMENTATION -#include "external/stb_truetype.h" - -#include "external/utf8.h" -#include "input.h" -#include "assets.h" -#include "memory_bucket.h" -#include "platform.h" -#include "render.h" -#include "camera.h" -#include "ui.h" -#include "string_utils.h" -#include "settings_config.h" -#include "localization.h" -#include "command_line.h" - -#include "platform_shared.c" - -#ifdef OS_LINUX -#define DEFAULT_DIRECTORY "/home/" -#include "linux/thread.c" -#include "linux/platform.c" -#endif - -#ifdef OS_WIN -#define DEFAULT_DIRECTORY "C:/" -#include "windows/thread.c" -#include "windows/platform.c" -#endif - -#include "input.c" -#include "array.c" -#include "assets.c" -#include "render.c" -#include "camera.c" -#include "ui.c" -#include "string_utils.c" -#include "settings_config.c" -#include "localization.c" -#include "memory_bucket.c" -#include "command_line.c" - -#include "external/cJSON.h" -#include "external/cJSON.c" - -#endif
\ No newline at end of file |
