2016-02-07 15:19:18 +00:00
|
|
|
/*
|
|
|
|
* Mr. 4th Dimention - Allen Webster
|
|
|
|
*
|
|
|
|
* 13.11.2015
|
|
|
|
*
|
|
|
|
* Application layer build target
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
// TOP
|
2016-03-07 05:13:20 +00:00
|
|
|
|
2017-01-23 06:19:43 +00:00
|
|
|
// TODO(allen): get away from string.h
|
|
|
|
#include <string.h>
|
2016-08-31 01:05:24 +00:00
|
|
|
|
2017-07-07 23:54:50 +00:00
|
|
|
#include "4ed_defines.h"
|
2016-08-29 01:03:26 +00:00
|
|
|
|
2017-01-23 06:19:43 +00:00
|
|
|
#include "4coder_API/custom.h"
|
2016-09-01 19:40:25 +00:00
|
|
|
|
2016-08-29 01:03:26 +00:00
|
|
|
#include "4ed_math.h"
|
2017-11-16 23:03:36 +00:00
|
|
|
#include "4ed_font.h"
|
2016-02-07 15:19:18 +00:00
|
|
|
#include "4ed_system.h"
|
2017-01-14 03:01:35 +00:00
|
|
|
|
2017-06-16 23:10:50 +00:00
|
|
|
#define PREFERRED_ALIGNMENT 8
|
2017-01-23 06:19:43 +00:00
|
|
|
|
|
|
|
#define FSTRING_IMPLEMENTATION
|
|
|
|
#define FSTRING_C
|
|
|
|
#include "4coder_lib/4coder_string.h"
|
2018-08-18 08:16:52 +00:00
|
|
|
#include "4coder_lib/4coder_arena.h"
|
|
|
|
#include "4coder_lib/4coder_heap.h"
|
2017-01-23 06:19:43 +00:00
|
|
|
#include "4coder_lib/4coder_table.h"
|
2017-02-20 21:05:42 +00:00
|
|
|
#include "4coder_lib/4coder_utf8.h"
|
2018-08-18 08:16:52 +00:00
|
|
|
|
|
|
|
struct Mem_Options{
|
|
|
|
Partition part;
|
|
|
|
Heap heap;
|
|
|
|
};
|
|
|
|
|
|
|
|
#include "4coder_lib/4coder_arena.cpp"
|
|
|
|
#include "4coder_lib/4coder_heap.cpp"
|
2016-02-07 15:19:18 +00:00
|
|
|
|
2017-11-10 18:27:39 +00:00
|
|
|
#include "4ed_render_target.h"
|
2017-11-20 00:47:55 +00:00
|
|
|
#include "4ed_render_format.h"
|
2017-01-23 06:19:43 +00:00
|
|
|
#include "4ed.h"
|
2017-03-18 19:24:16 +00:00
|
|
|
#include "4ed_buffer_model.h"
|
2016-02-07 15:19:18 +00:00
|
|
|
|
2017-01-23 06:19:43 +00:00
|
|
|
#define FCPP_FORBID_MALLOC
|
2017-11-21 00:35:35 +00:00
|
|
|
#include "4coder_lib/4cpp_lexer.h"
|
2016-08-29 01:03:26 +00:00
|
|
|
|
2017-11-17 19:22:12 +00:00
|
|
|
#include "4ed_linked_node_macros.h"
|
2017-11-18 22:40:10 +00:00
|
|
|
#include "4ed_log.h"
|
2018-08-26 09:55:12 +00:00
|
|
|
#include "4ed_ptr_check.h"
|
2018-08-11 00:42:15 +00:00
|
|
|
#include "4ed_dynamic_variables.h"
|
2018-03-24 10:06:45 +00:00
|
|
|
|
|
|
|
#include "4ed_buffer_model.h"
|
|
|
|
#include "4ed_translation.h"
|
2018-03-24 21:43:57 +00:00
|
|
|
#include "4ed_command.h"
|
2018-03-24 10:06:45 +00:00
|
|
|
#include "4ed_buffer.h"
|
|
|
|
#include "4ed_undo.h"
|
|
|
|
#include "4ed_file.h"
|
2018-03-24 21:43:57 +00:00
|
|
|
#include "4ed_code_wrap.h"
|
|
|
|
|
|
|
|
#include "4ed_working_set.h"
|
2018-03-24 10:06:45 +00:00
|
|
|
#include "4ed_style.h"
|
|
|
|
#include "4ed_hot_directory.h"
|
2018-03-24 21:43:57 +00:00
|
|
|
#include "4ed_parse_context.h"
|
|
|
|
#include "4ed_cli.h"
|
|
|
|
#include "4ed_gui.h"
|
|
|
|
#include "4ed_layout.h"
|
2018-03-24 10:06:45 +00:00
|
|
|
#include "4ed_view.h"
|
2018-03-24 21:43:57 +00:00
|
|
|
#include "4ed_app_models.h"
|
2016-03-05 08:10:43 +00:00
|
|
|
|
2018-08-26 09:55:12 +00:00
|
|
|
#include "4ed_mem.cpp"
|
|
|
|
#include "4ed_hash_functions.cpp"
|
|
|
|
#include "4ed_ptr_check.cpp"
|
2018-08-11 00:42:15 +00:00
|
|
|
#include "4ed_dynamic_variables.cpp"
|
2018-03-25 06:43:56 +00:00
|
|
|
#include "4ed_parse_context.cpp"
|
2017-11-16 23:03:36 +00:00
|
|
|
#include "4ed_font.cpp"
|
2017-03-18 19:24:16 +00:00
|
|
|
#include "4ed_translation.cpp"
|
2017-11-10 18:27:39 +00:00
|
|
|
#include "4ed_render_target.cpp"
|
2018-03-24 21:43:57 +00:00
|
|
|
#include "4ed_render_format.cpp"
|
2016-02-07 15:19:18 +00:00
|
|
|
#include "4ed_command.cpp"
|
2017-03-18 18:43:30 +00:00
|
|
|
#include "4ed_buffer.cpp"
|
2018-03-24 21:43:57 +00:00
|
|
|
#include "4ed_undo.cpp"
|
2018-03-25 06:43:56 +00:00
|
|
|
#include "4ed_file_lex.cpp"
|
2017-03-18 18:43:30 +00:00
|
|
|
#include "4ed_file.cpp"
|
2018-03-24 21:43:57 +00:00
|
|
|
#include "4ed_code_wrap.cpp"
|
2017-03-18 18:43:30 +00:00
|
|
|
#include "4ed_working_set.cpp"
|
|
|
|
#include "4ed_hot_directory.cpp"
|
2017-07-17 22:46:56 +00:00
|
|
|
#include "4ed_cli.cpp"
|
2016-02-21 17:44:23 +00:00
|
|
|
#include "4ed_gui.cpp"
|
2016-03-03 00:50:04 +00:00
|
|
|
#include "4ed_layout.cpp"
|
2018-05-10 08:12:47 +00:00
|
|
|
#include "4coder_buffer_seek_constructors.cpp"
|
2018-03-24 10:06:45 +00:00
|
|
|
#include "4ed_view.cpp"
|
2018-03-26 05:19:08 +00:00
|
|
|
#include "4ed_edit.cpp"
|
|
|
|
#include "4ed_view_ui.cpp"
|
2016-02-07 15:19:18 +00:00
|
|
|
#include "4ed.cpp"
|
|
|
|
|
|
|
|
// BOTTOM
|
|
|
|
|