Advertisement
Delfigamer

client-main/rindex.cpp

Apr 16th, 2018
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.60 KB | None | 0 0
  1. #include <reflection.hpp>
  2. #include <common.hpp>
  3. extern r::module const r_common_refobject_module;
  4. extern r::module const r_common_task_module;
  5. extern r::module const r_utils_cbase_module;
  6. extern r::module const r_rsbin_common_module;
  7. extern r::module const r_rsbin_storage_module;
  8. extern r::module const r_rsbin_stream_module;
  9. extern r::module const r_client_main_event_module;
  10. extern r::module const r_client_main_windowinfo_module;
  11. extern r::module const r_common_databuffer_module;
  12. extern r::module const r_utils_configset_module;
  13. extern r::module const r_utils_encoding_module;
  14. extern r::module const r_utils_path_module;
  15. extern r::module const r_rsbin_filestorage_module;
  16. extern r::module const r_rsbin_memorystorage_module;
  17. extern r::module const r_rsbin_storagestream_module;
  18. extern r::module const r_client_main_window_module;
  19. namespace
  20. {
  21.     uint8_t const r_lua1_chunk[] = {
  22.         /* a lot of bytes */ };
  23.     r::module const r_lua1_module = {
  24.         nullptr,
  25.         &r_lua1_chunk,
  26.         sizeof( r_lua1_chunk ),
  27.         "luainit/baselib.lua"};
  28.     uint8_t const r_lua2_chunk[] = {
  29.         /* a lot of bytes */ };
  30.     r::module const r_lua2_module = {
  31.         nullptr,
  32.         &r_lua2_chunk,
  33.         sizeof( r_lua2_chunk ),
  34.         "luainit/object.lua"};
  35.     uint8_t const r_lua3_chunk[] = {
  36.         /* a lot of bytes */ };
  37.     r::module const r_lua3_module = {
  38.         nullptr,
  39.         &r_lua3_chunk,
  40.         sizeof( r_lua3_chunk ),
  41.         "luainit/ffipure.lua"};
  42.     uint8_t const r_lua4_chunk[] = {
  43.         /* a lot of bytes */ };
  44.     r::module const r_lua4_module = {
  45.         nullptr,
  46.         &r_lua4_chunk,
  47.         sizeof( r_lua4_chunk ),
  48.         "luainit/reflection.lua"};
  49.     uint8_t const r_lua5_chunk[] = {
  50.         /* a lot of bytes */ };
  51.     r::module const r_lua5_module = {
  52.         nullptr,
  53.         &r_lua5_chunk,
  54.         sizeof( r_lua5_chunk ),
  55.         "luainit/hostlib.lua"};
  56.     uint8_t const r_lua6_chunk[] = {
  57.         /* a lot of bytes */ };
  58.     r::module const r_lua6_module = {
  59.         nullptr,
  60.         &r_lua6_chunk,
  61.         sizeof( r_lua6_chunk ),
  62.         "luainit/main.lua"};
  63. }
  64. namespace window
  65. {
  66.     extern r::module const* rindex[];
  67.     r::module const* rindex[] = {
  68.         &r_lua1_module,
  69.         &r_lua2_module,
  70.         &r_lua3_module,
  71.         &r_lua4_module,
  72.         &r_common_refobject_module,
  73.         &r_common_task_module,
  74.         &r_utils_cbase_module,
  75.         &r_rsbin_common_module,
  76.         &r_rsbin_storage_module,
  77.         &r_rsbin_stream_module,
  78.         &r_client_main_event_module,
  79.         &r_client_main_windowinfo_module,
  80.         &r_common_databuffer_module,
  81.         &r_utils_configset_module,
  82.         &r_utils_encoding_module,
  83.         &r_utils_path_module,
  84.         &r_rsbin_filestorage_module,
  85.         &r_rsbin_memorystorage_module,
  86.         &r_rsbin_storagestream_module,
  87.         &r_client_main_window_module,
  88.         &r_lua5_module,
  89.         &r_lua6_module,
  90.         nullptr,
  91.     };
  92. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement