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:33:31 +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:33:31 +00:00
|
|
|
#include "4coder_base_types.h"
|
2019-07-21 18:16:34 +00:00
|
|
|
#include "4coder_table.h"
|
2019-07-24 07:41:40 +00:00
|
|
|
#include "4ed_font_interface.h"
|
2016-02-07 15:19:18 +00:00
|
|
|
#include "4ed_system.h"
|
2019-07-31 20:43:27 +00:00
|
|
|
#include "4coder_string_match.h"
|
2017-01-14 03:01:35 +00:00
|
|
|
|
2019-06-01 23:33:31 +00:00
|
|
|
#include "4coder_base_types.cpp"
|
2019-06-18 04:47:00 +00:00
|
|
|
#include "4coder_string_match.cpp"
|
2019-06-01 23:33:31 +00:00
|
|
|
#include "4coder_stringf.cpp"
|
|
|
|
#include "4coder_app_links_allocator.cpp"
|
2019-07-24 07:41:40 +00:00
|
|
|
#include "4ed_system_allocator.cpp"
|
2019-07-13 00:43:17 +00:00
|
|
|
#include "4coder_hash_functions.cpp"
|
|
|
|
#include "4coder_table.cpp"
|
2017-01-23 06:19:43 +00:00
|
|
|
|
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:33:31 +00:00
|
|
|
// TODO(allen): stop this nonsense
|
2018-08-18 08:16:52 +00:00
|
|
|
struct Mem_Options{
|
2019-06-01 23:33:31 +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-01-23 06:19:43 +00:00
|
|
|
#include "4ed.h"
|
2017-03-18 19:24:16 +00:00
|
|
|
#include "4ed_buffer_model.h"
|
2019-08-04 05:36:13 +00:00
|
|
|
#include "4ed_coroutine.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
|
|
|
|
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_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"
|
2019-07-24 07:41:40 +00:00
|
|
|
#include "4ed_font_set.h"
|
2019-08-16 02:54:06 +00:00
|
|
|
#include "4ed_log.h"
|
2018-03-24 21:43:57 +00:00
|
|
|
#include "4ed_app_models.h"
|
2016-03-05 08:10:43 +00:00
|
|
|
|
2019-09-02 18:59:36 +00:00
|
|
|
#include "4ed_allocator_models.cpp"
|
2019-08-16 02:54:06 +00:00
|
|
|
#include "4ed_log.cpp"
|
|
|
|
#include "4coder_log.cpp"
|
2019-08-04 05:36:13 +00:00
|
|
|
#include "4ed_coroutine.cpp"
|
2018-08-26 09:55:12 +00:00
|
|
|
#include "4ed_mem.cpp"
|
2018-08-11 00:42:15 +00:00
|
|
|
#include "4ed_dynamic_variables.cpp"
|
2019-07-24 07:41:40 +00:00
|
|
|
#include "4ed_font_face.cpp"
|
|
|
|
#include "4ed_font_set.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"
|
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-06-16 23:38:22 +00:00
|
|
|
#include "4ed_string_matching.cpp"
|
2019-02-08 10:03:48 +00:00
|
|
|
#include "4ed_history.cpp"
|
2017-03-18 18:43:30 +00:00
|
|
|
#include "4ed_file.cpp"
|
|
|
|
#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"
|
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
|
|
|
|
|