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
|
|
|
|
2019-06-01 23:58:28 +00:00
|
|
|
//#define REMOVE_OLD_STRING
|
|
|
|
|
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
|
|
|
|
2018-11-27 18:07:07 +00:00
|
|
|
#include "4coder_API/4coder_custom.h"
|
2016-09-01 19:40:25 +00:00
|
|
|
|
2019-06-01 23:58:28 +00:00
|
|
|
#include "4coder_base_types.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
|
|
|
|
2019-06-01 23:58:28 +00:00
|
|
|
#include "4coder_base_types.cpp"
|
|
|
|
#include "4coder_app_links_allocator.cpp"
|
2017-01-23 06:19:43 +00:00
|
|
|
|
2018-11-28 04:36:09 +00:00
|
|
|
#include "4coder_lib/4coder_arena.cpp"
|
|
|
|
#include "4coder_lib/4coder_heap.cpp"
|
2017-01-23 06:19:43 +00:00
|
|
|
#define FSTRING_IMPLEMENTATION
|
|
|
|
#include "4coder_lib/4coder_string.h"
|
|
|
|
#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
|
|
|
|
2019-06-01 23:58:28 +00:00
|
|
|
// TODO(allen): stop this nonsense
|
2018-08-18 08:16:52 +00:00
|
|
|
struct Mem_Options{
|
2019-06-01 23:58:28 +00:00
|
|
|
Arena arena;
|
2018-08-18 08:16:52 +00:00
|
|
|
Heap heap;
|
|
|
|
};
|
|
|
|
|
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-18 22:40:10 +00:00
|
|
|
#include "4ed_log.h"
|
2018-08-26 09:55:12 +00:00
|
|
|
#include "4ed_ptr_check.h"
|
2019-02-08 10:03:48 +00:00
|
|
|
#include "4ed_memory_bank.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"
|
2019-02-08 10:03:48 +00:00
|
|
|
#include "4ed_history.h"
|
2018-03-24 10:06:45 +00:00
|
|
|
#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_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"
|
2019-02-08 10:03:48 +00:00
|
|
|
#include "4ed_edit.h"
|
2019-04-01 00:36:09 +00:00
|
|
|
#include "4ed_text_layout.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_ptr_check.cpp"
|
2019-02-08 10:03:48 +00:00
|
|
|
#include "4ed_memory_bank.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"
|
2019-02-08 10:03:48 +00:00
|
|
|
#include "4ed_history.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"
|
2019-04-01 00:36:09 +00:00
|
|
|
#include "4ed_text_layout.cpp"
|
2016-02-07 15:19:18 +00:00
|
|
|
#include "4ed.cpp"
|
|
|
|
|
|
|
|
// BOTTOM
|
|
|
|
|