summaryrefslogtreecommitdiff
path: root/src/project_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/project_base.h')
-rw-r--r--src/project_base.h110
1 files changed, 0 insertions, 110 deletions
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