karasu 0.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1365) hide show
  1. karasu-0.0.3/.gitignore +3 -0
  2. karasu-0.0.3/3D_PLAN.md +495 -0
  3. karasu-0.0.3/BENCHMARK_PLAN.md +196 -0
  4. karasu-0.0.3/CAPTURE_SPEED_PLAN.md +423 -0
  5. karasu-0.0.3/CMakeLists.txt +590 -0
  6. karasu-0.0.3/ENGINE_ARCHITECTURE.md +62 -0
  7. karasu-0.0.3/ENV_PLAN.md +65 -0
  8. karasu-0.0.3/LIBRARY_PLAN.md +218 -0
  9. karasu-0.0.3/MULTIPLAYER_PLAN.md +383 -0
  10. karasu-0.0.3/NVIDIA_GPU_PLAN.md +317 -0
  11. karasu-0.0.3/PKG-INFO +51 -0
  12. karasu-0.0.3/README.md +951 -0
  13. karasu-0.0.3/RECORDING_PLAN.md +180 -0
  14. karasu-0.0.3/SCALE_PLAN.md +156 -0
  15. karasu-0.0.3/SPEECH_PLAN.md +423 -0
  16. karasu-0.0.3/STATS_DASHBOARDS_PLAN.md +281 -0
  17. karasu-0.0.3/STATS_PLAN.md +474 -0
  18. karasu-0.0.3/TILEMAP_EDITOR_PLAN.md +350 -0
  19. karasu-0.0.3/TRAINING_SPEED_PLAN.md +274 -0
  20. karasu-0.0.3/UI_PLAN.md +489 -0
  21. karasu-0.0.3/VERSION.txt +1 -0
  22. karasu-0.0.3/WEB_PLAN.md +355 -0
  23. karasu-0.0.3/assets/flappy.png +0 -0
  24. karasu-0.0.3/assets/flappy.tsx +8 -0
  25. karasu-0.0.3/assets/meadow.png +0 -0
  26. karasu-0.0.3/assets/meadow.tsx +19 -0
  27. karasu-0.0.3/branding/KarasuEngine.icns +0 -0
  28. karasu-0.0.3/branding/KarasuEngine.ico +0 -0
  29. karasu-0.0.3/branding/README.md +13 -0
  30. karasu-0.0.3/branding/icon.rc.in +4 -0
  31. karasu-0.0.3/branding/karasu.manifest +14 -0
  32. karasu-0.0.3/branding/make_icons.py +96 -0
  33. karasu-0.0.3/cmake/audio.cmake +39 -0
  34. karasu-0.0.3/cmake/camera.cmake +38 -0
  35. karasu-0.0.3/cmake/check_runner.cmake +43 -0
  36. karasu-0.0.3/cmake/cpython-web/embedded-main.patch +13 -0
  37. karasu-0.0.3/cmake/deps.cmake +79 -0
  38. karasu-0.0.3/cmake/deps3d.cmake +37 -0
  39. karasu-0.0.3/cmake/editor_types.cmake +68 -0
  40. karasu-0.0.3/cmake/emscripten.cmake +28 -0
  41. karasu-0.0.3/cmake/karasu_ml_versions.h.in +4 -0
  42. karasu-0.0.3/cmake/karasu_version.h.in +4 -0
  43. karasu-0.0.3/cmake/karasu_whatsnew.h.in +5 -0
  44. karasu-0.0.3/cmake/luau_torch.cmake +16 -0
  45. karasu-0.0.3/cmake/mingw-w64.cmake +11 -0
  46. karasu-0.0.3/cmake/package_editor.cmake +171 -0
  47. karasu-0.0.3/cmake/package_vscode.cmake +25 -0
  48. karasu-0.0.3/cmake/pdfium.cmake +149 -0
  49. karasu-0.0.3/cmake/python.cmake +185 -0
  50. karasu-0.0.3/cmake/runner_sizes.cmake +47 -0
  51. karasu-0.0.3/cmake/skills.cmake +55 -0
  52. karasu-0.0.3/cmake/speech.cmake +40 -0
  53. karasu-0.0.3/cmake/torch_plugin/CMakeLists.txt +24 -0
  54. karasu-0.0.3/cmake/torch_plugin.cmake +24 -0
  55. karasu-0.0.3/cmake/tts.cmake +56 -0
  56. karasu-0.0.3/cmake/video.cmake +131 -0
  57. karasu-0.0.3/cmake/video_bundle.cmake +18 -0
  58. karasu-0.0.3/cmake/web.cmake +89 -0
  59. karasu-0.0.3/docs/tiled_tutorial.html +211 -0
  60. karasu-0.0.3/docs/tutorial.css +78 -0
  61. karasu-0.0.3/docs/tutorial.js +29 -0
  62. karasu-0.0.3/editor/ai_analysis_ui.cpp +263 -0
  63. karasu-0.0.3/editor/ai_settings_ui.cpp +402 -0
  64. karasu-0.0.3/editor/app.cpp +190 -0
  65. karasu-0.0.3/editor/app.h +270 -0
  66. karasu-0.0.3/editor/approvals.cpp +82 -0
  67. karasu-0.0.3/editor/approvals.h +22 -0
  68. karasu-0.0.3/editor/args.cpp +115 -0
  69. karasu-0.0.3/editor/assets_files.cpp +266 -0
  70. karasu-0.0.3/editor/assets_panel.cpp +218 -0
  71. karasu-0.0.3/editor/assets_panel.h +52 -0
  72. karasu-0.0.3/editor/assets_preview.cpp +223 -0
  73. karasu-0.0.3/editor/assets_tiles.cpp +179 -0
  74. karasu-0.0.3/editor/assets_video.cpp +299 -0
  75. karasu-0.0.3/editor/assistant_usage.cpp +333 -0
  76. karasu-0.0.3/editor/assistant_usage.h +35 -0
  77. karasu-0.0.3/editor/audio_preview.cpp +113 -0
  78. karasu-0.0.3/editor/audio_preview.h +27 -0
  79. karasu-0.0.3/editor/audio_tools.cpp +1002 -0
  80. karasu-0.0.3/editor/audio_tools.h +99 -0
  81. karasu-0.0.3/editor/audio_tools_ui.cpp +193 -0
  82. karasu-0.0.3/editor/batch_files.cpp +164 -0
  83. karasu-0.0.3/editor/batch_host.cpp +249 -0
  84. karasu-0.0.3/editor/batch_scripts.h +26 -0
  85. karasu-0.0.3/editor/benchmark.h +80 -0
  86. karasu-0.0.3/editor/benchmark_results.cpp +290 -0
  87. karasu-0.0.3/editor/benchmark_window.cpp +347 -0
  88. karasu-0.0.3/editor/benchmarks.h +72 -0
  89. karasu-0.0.3/editor/benchmarks_window.cpp +843 -0
  90. karasu-0.0.3/editor/child_process.cpp +461 -0
  91. karasu-0.0.3/editor/child_process.h +51 -0
  92. karasu-0.0.3/editor/collision_groups.h +29 -0
  93. karasu-0.0.3/editor/collision_groups_window.cpp +216 -0
  94. karasu-0.0.3/editor/component_fields.cpp +639 -0
  95. karasu-0.0.3/editor/component_fields.h +64 -0
  96. karasu-0.0.3/editor/console.cpp +75 -0
  97. karasu-0.0.3/editor/default_app.cpp +147 -0
  98. karasu-0.0.3/editor/default_app.h +18 -0
  99. karasu-0.0.3/editor/dockspace.cpp +35 -0
  100. karasu-0.0.3/editor/docs_server.cpp +272 -0
  101. karasu-0.0.3/editor/docs_server.h +14 -0
  102. karasu-0.0.3/editor/emoji.h +43 -0
  103. karasu-0.0.3/editor/emoji_picker.cpp +40 -0
  104. karasu-0.0.3/editor/engine2d.h +11 -0
  105. karasu-0.0.3/editor/engine_info.cpp +185 -0
  106. karasu-0.0.3/editor/engine_info.h +52 -0
  107. karasu-0.0.3/editor/engine_info_native.cpp +217 -0
  108. karasu-0.0.3/editor/engine_settings.cpp +118 -0
  109. karasu-0.0.3/editor/engine_settings.h +56 -0
  110. karasu-0.0.3/editor/engine_settings_ui.cpp +659 -0
  111. karasu-0.0.3/editor/explorer.cpp +112 -0
  112. karasu-0.0.3/editor/explorer.h +60 -0
  113. karasu-0.0.3/editor/explorer_filter.cpp +37 -0
  114. karasu-0.0.3/editor/explorer_label.cpp +76 -0
  115. karasu-0.0.3/editor/explorer_menu.cpp +140 -0
  116. karasu-0.0.3/editor/file_dialogs.cpp +63 -0
  117. karasu-0.0.3/editor/file_watch.cpp +148 -0
  118. karasu-0.0.3/editor/file_watch.h +12 -0
  119. karasu-0.0.3/editor/findings.h +90 -0
  120. karasu-0.0.3/editor/findings_chat.cpp +142 -0
  121. karasu-0.0.3/editor/findings_cli.cpp +151 -0
  122. karasu-0.0.3/editor/findings_render.cpp +247 -0
  123. karasu-0.0.3/editor/findings_request.cpp +511 -0
  124. karasu-0.0.3/editor/findings_selftest.cpp +257 -0
  125. karasu-0.0.3/editor/findings_ui.cpp +550 -0
  126. karasu-0.0.3/editor/forms.h +38 -0
  127. karasu-0.0.3/editor/forms_window.cpp +1331 -0
  128. karasu-0.0.3/editor/globals_groups.cpp +60 -0
  129. karasu-0.0.3/editor/globals_rows.cpp +92 -0
  130. karasu-0.0.3/editor/globals_tags.cpp +100 -0
  131. karasu-0.0.3/editor/globals_ui.h +22 -0
  132. karasu-0.0.3/editor/globals_vars.cpp +102 -0
  133. karasu-0.0.3/editor/globals_window.cpp +54 -0
  134. karasu-0.0.3/editor/hf.h +92 -0
  135. karasu-0.0.3/editor/hf_export.cpp +66 -0
  136. karasu-0.0.3/editor/hf_jobs.cpp +556 -0
  137. karasu-0.0.3/editor/hf_project.cpp +240 -0
  138. karasu-0.0.3/editor/hf_selftest.cpp +148 -0
  139. karasu-0.0.3/editor/hf_ui.cpp +247 -0
  140. karasu-0.0.3/editor/history.cpp +336 -0
  141. karasu-0.0.3/editor/history.h +56 -0
  142. karasu-0.0.3/editor/history_panel.cpp +65 -0
  143. karasu-0.0.3/editor/history_selftest.cpp +120 -0
  144. karasu-0.0.3/editor/http_listener.h +35 -0
  145. karasu-0.0.3/editor/icons.h +181 -0
  146. karasu-0.0.3/editor/idle.cpp +77 -0
  147. karasu-0.0.3/editor/idle.h +26 -0
  148. karasu-0.0.3/editor/idle_battery.cpp +44 -0
  149. karasu-0.0.3/editor/image_field.cpp +272 -0
  150. karasu-0.0.3/editor/image_field.h +21 -0
  151. karasu-0.0.3/editor/input_mapping.h +28 -0
  152. karasu-0.0.3/editor/input_mapping_action.cpp +93 -0
  153. karasu-0.0.3/editor/input_mapping_keys.cpp +53 -0
  154. karasu-0.0.3/editor/input_mapping_lists.cpp +99 -0
  155. karasu-0.0.3/editor/input_mapping_window.cpp +50 -0
  156. karasu-0.0.3/editor/interface_scale.cpp +64 -0
  157. karasu-0.0.3/editor/interface_scale.h +29 -0
  158. karasu-0.0.3/editor/library.h +232 -0
  159. karasu-0.0.3/editor/library_ai.cpp +94 -0
  160. karasu-0.0.3/editor/library_chat.cpp +1705 -0
  161. karasu-0.0.3/editor/library_chats.cpp +424 -0
  162. karasu-0.0.3/editor/library_chats.h +83 -0
  163. karasu-0.0.3/editor/library_cite.cpp +703 -0
  164. karasu-0.0.3/editor/library_details.cpp +596 -0
  165. karasu-0.0.3/editor/library_drop.cpp +420 -0
  166. karasu-0.0.3/editor/library_export.cpp +640 -0
  167. karasu-0.0.3/editor/library_export.h +66 -0
  168. karasu-0.0.3/editor/library_graph.cpp +874 -0
  169. karasu-0.0.3/editor/library_graph.h +70 -0
  170. karasu-0.0.3/editor/library_lookup.cpp +1120 -0
  171. karasu-0.0.3/editor/library_passages.cpp +604 -0
  172. karasu-0.0.3/editor/library_passages.h +63 -0
  173. karasu-0.0.3/editor/library_selftest.cpp +362 -0
  174. karasu-0.0.3/editor/library_stats.cpp +168 -0
  175. karasu-0.0.3/editor/library_store.cpp +464 -0
  176. karasu-0.0.3/editor/library_ui.h +115 -0
  177. karasu-0.0.3/editor/library_window.cpp +1042 -0
  178. karasu-0.0.3/editor/llm_broker.cpp +73 -0
  179. karasu-0.0.3/editor/llm_broker.h +6 -0
  180. karasu-0.0.3/editor/llm_server.cpp +93 -0
  181. karasu-0.0.3/editor/llm_server.h +12 -0
  182. karasu-0.0.3/editor/main.cpp +282 -0
  183. karasu-0.0.3/editor/mcp/mcp.h +39 -0
  184. karasu-0.0.3/editor/mcp/mcp_server.cpp +225 -0
  185. karasu-0.0.3/editor/mcp/mcp_tools.cpp +113 -0
  186. karasu-0.0.3/editor/mcp/mcp_tools.h +69 -0
  187. karasu-0.0.3/editor/mcp/mcp_tools_3d.cpp +168 -0
  188. karasu-0.0.3/editor/mcp/mcp_tools_audio.cpp +113 -0
  189. karasu-0.0.3/editor/mcp/mcp_tools_chats.cpp +76 -0
  190. karasu-0.0.3/editor/mcp/mcp_tools_docs.cpp +390 -0
  191. karasu-0.0.3/editor/mcp/mcp_tools_library.cpp +214 -0
  192. karasu-0.0.3/editor/mcp/mcp_tools_pixel.cpp +800 -0
  193. karasu-0.0.3/editor/mcp/mcp_tools_play.cpp +242 -0
  194. karasu-0.0.3/editor/mcp/mcp_tools_prefab.cpp +134 -0
  195. karasu-0.0.3/editor/mcp/mcp_tools_project.cpp +213 -0
  196. karasu-0.0.3/editor/mcp/mcp_tools_record.cpp +85 -0
  197. karasu-0.0.3/editor/mcp/mcp_tools_scene.cpp +169 -0
  198. karasu-0.0.3/editor/mcp/mcp_tools_settings.cpp +479 -0
  199. karasu-0.0.3/editor/mcp/mcp_tools_stats.cpp +170 -0
  200. karasu-0.0.3/editor/mcp/mcp_tools_study.cpp +82 -0
  201. karasu-0.0.3/editor/mcp/mcp_tools_ui.cpp +521 -0
  202. karasu-0.0.3/editor/mcp/mcp_tools_view.cpp +192 -0
  203. karasu-0.0.3/editor/menubar.cpp +104 -0
  204. karasu-0.0.3/editor/ml_versions.cpp +357 -0
  205. karasu-0.0.3/editor/ml_versions.h +59 -0
  206. karasu-0.0.3/editor/ml_versions_ui.cpp +144 -0
  207. karasu-0.0.3/editor/packages.cpp +87 -0
  208. karasu-0.0.3/editor/packages.h +46 -0
  209. karasu-0.0.3/editor/packages_files.cpp +88 -0
  210. karasu-0.0.3/editor/packages_list.cpp +65 -0
  211. karasu-0.0.3/editor/packages_run.cpp +76 -0
  212. karasu-0.0.3/editor/paths.cpp +48 -0
  213. karasu-0.0.3/editor/pdf_text.cpp +1119 -0
  214. karasu-0.0.3/editor/pdf_text.h +27 -0
  215. karasu-0.0.3/editor/pdf_view.cpp +723 -0
  216. karasu-0.0.3/editor/pdf_view.h +50 -0
  217. karasu-0.0.3/editor/pdf_view_engine.cpp +323 -0
  218. karasu-0.0.3/editor/pdf_view_engine.h +59 -0
  219. karasu-0.0.3/editor/pdf_view_pages.cpp +542 -0
  220. karasu-0.0.3/editor/pdf_view_selftest.cpp +219 -0
  221. karasu-0.0.3/editor/pdf_view_text.cpp +374 -0
  222. karasu-0.0.3/editor/pdf_view_text.h +80 -0
  223. karasu-0.0.3/editor/pdf_view_ui.h +139 -0
  224. karasu-0.0.3/editor/pixel_art.cpp +1099 -0
  225. karasu-0.0.3/editor/pixel_art.h +147 -0
  226. karasu-0.0.3/editor/pixel_editor.cpp +631 -0
  227. karasu-0.0.3/editor/pixel_editor.h +71 -0
  228. karasu-0.0.3/editor/pixel_import.cpp +150 -0
  229. karasu-0.0.3/editor/pixel_library.cpp +255 -0
  230. karasu-0.0.3/editor/pixel_library.h +80 -0
  231. karasu-0.0.3/editor/pixel_lint.cpp +279 -0
  232. karasu-0.0.3/editor/pixel_selftest.cpp +479 -0
  233. karasu-0.0.3/editor/prefabs.cpp +383 -0
  234. karasu-0.0.3/editor/prefabs.h +103 -0
  235. karasu-0.0.3/editor/prefabs_selftest.cpp +359 -0
  236. karasu-0.0.3/editor/prefabs_thumb.cpp +177 -0
  237. karasu-0.0.3/editor/prefabs_ui.cpp +382 -0
  238. karasu-0.0.3/editor/presence.cpp +92 -0
  239. karasu-0.0.3/editor/presence.h +19 -0
  240. karasu-0.0.3/editor/project.cpp +194 -0
  241. karasu-0.0.3/editor/project.h +92 -0
  242. karasu-0.0.3/editor/project_files.cpp +42 -0
  243. karasu-0.0.3/editor/project_hub.cpp +286 -0
  244. karasu-0.0.3/editor/project_models.cpp +431 -0
  245. karasu-0.0.3/editor/project_new.cpp +180 -0
  246. karasu-0.0.3/editor/project_open.cpp +85 -0
  247. karasu-0.0.3/editor/project_portable.cpp +317 -0
  248. karasu-0.0.3/editor/project_research.cpp +207 -0
  249. karasu-0.0.3/editor/project_settings.cpp +472 -0
  250. karasu-0.0.3/editor/project_templates.cpp +124 -0
  251. karasu-0.0.3/editor/project_templates.h +27 -0
  252. karasu-0.0.3/editor/project_thumbs.cpp +58 -0
  253. karasu-0.0.3/editor/prop_sequences.cpp +439 -0
  254. karasu-0.0.3/editor/prop_widget_slice.cpp +82 -0
  255. karasu-0.0.3/editor/prop_widgets.cpp +143 -0
  256. karasu-0.0.3/editor/prop_widgets_3d.cpp +40 -0
  257. karasu-0.0.3/editor/prop_widgets_ui.cpp +70 -0
  258. karasu-0.0.3/editor/properties.cpp +135 -0
  259. karasu-0.0.3/editor/properties_add.cpp +87 -0
  260. karasu-0.0.3/editor/properties_attributes.cpp +88 -0
  261. karasu-0.0.3/editor/properties_components.cpp +419 -0
  262. karasu-0.0.3/editor/properties_id.cpp +44 -0
  263. karasu-0.0.3/editor/properties_particles.cpp +26 -0
  264. karasu-0.0.3/editor/properties_sprite.cpp +223 -0
  265. karasu-0.0.3/editor/properties_table.cpp +55 -0
  266. karasu-0.0.3/editor/properties_tags.cpp +87 -0
  267. karasu-0.0.3/editor/qr.cpp +221 -0
  268. karasu-0.0.3/editor/qr.h +18 -0
  269. karasu-0.0.3/editor/recorder.cpp +419 -0
  270. karasu-0.0.3/editor/recorder.h +57 -0
  271. karasu-0.0.3/editor/recorder_encoder.h +31 -0
  272. karasu-0.0.3/editor/recorder_mac.mm +179 -0
  273. karasu-0.0.3/editor/recorder_none.cpp +11 -0
  274. karasu-0.0.3/editor/recorder_selftest.cpp +234 -0
  275. karasu-0.0.3/editor/recorder_ui.cpp +127 -0
  276. karasu-0.0.3/editor/recorder_win.cpp +205 -0
  277. karasu-0.0.3/editor/render_order.cpp +132 -0
  278. karasu-0.0.3/editor/runs.h +390 -0
  279. karasu-0.0.3/editor/runs_auto.cpp +535 -0
  280. karasu-0.0.3/editor/runs_batch.cpp +264 -0
  281. karasu-0.0.3/editor/runs_estimate.cpp +361 -0
  282. karasu-0.0.3/editor/runs_estimate.h +130 -0
  283. karasu-0.0.3/editor/runs_estimate_test.cpp +237 -0
  284. karasu-0.0.3/editor/runs_form.cpp +381 -0
  285. karasu-0.0.3/editor/runs_form_sweep.cpp +183 -0
  286. karasu-0.0.3/editor/runs_form_variants.cpp +96 -0
  287. karasu-0.0.3/editor/runs_hold_test.cpp +378 -0
  288. karasu-0.0.3/editor/runs_inside.cpp +129 -0
  289. karasu-0.0.3/editor/runs_manifest.cpp +178 -0
  290. karasu-0.0.3/editor/runs_presets.cpp +153 -0
  291. karasu-0.0.3/editor/runs_process.cpp +238 -0
  292. karasu-0.0.3/editor/runs_progress.cpp +321 -0
  293. karasu-0.0.3/editor/runs_repeat_test.cpp +287 -0
  294. karasu-0.0.3/editor/runs_results.cpp +377 -0
  295. karasu-0.0.3/editor/runs_results_file.cpp +192 -0
  296. karasu-0.0.3/editor/runs_resume_test.cpp +385 -0
  297. karasu-0.0.3/editor/runs_steps.cpp +25 -0
  298. karasu-0.0.3/editor/runs_steps.h +21 -0
  299. karasu-0.0.3/editor/runs_sweep.cpp +333 -0
  300. karasu-0.0.3/editor/runs_torch_compiler_test.cpp +163 -0
  301. karasu-0.0.3/editor/runs_window.cpp +137 -0
  302. karasu-0.0.3/editor/script_files.cpp +47 -0
  303. karasu-0.0.3/editor/script_sync.cpp +220 -0
  304. karasu-0.0.3/editor/script_templates.cpp +111 -0
  305. karasu-0.0.3/editor/settings_custom.cpp +65 -0
  306. karasu-0.0.3/editor/settings_fields.cpp +294 -0
  307. karasu-0.0.3/editor/settings_forms.cpp +56 -0
  308. karasu-0.0.3/editor/settings_layout.cpp +495 -0
  309. karasu-0.0.3/editor/settings_layout.h +77 -0
  310. karasu-0.0.3/editor/settings_packages.cpp +86 -0
  311. karasu-0.0.3/editor/settings_picture.cpp +161 -0
  312. karasu-0.0.3/editor/settings_rows.cpp +88 -0
  313. karasu-0.0.3/editor/settings_widgets.cpp +115 -0
  314. karasu-0.0.3/editor/settings_widgets.h +34 -0
  315. karasu-0.0.3/editor/sha256.cpp +90 -0
  316. karasu-0.0.3/editor/sha256.h +9 -0
  317. karasu-0.0.3/editor/speech.h +81 -0
  318. karasu-0.0.3/editor/speech_catalog.cpp +173 -0
  319. karasu-0.0.3/editor/speech_export.cpp +124 -0
  320. karasu-0.0.3/editor/speech_jobs.cpp +384 -0
  321. karasu-0.0.3/editor/speech_project.cpp +258 -0
  322. karasu-0.0.3/editor/speech_ui.cpp +520 -0
  323. karasu-0.0.3/editor/startup.cpp +160 -0
  324. karasu-0.0.3/editor/startup.h +76 -0
  325. karasu-0.0.3/editor/stats_chart_heatmap.cpp +45 -0
  326. karasu-0.0.3/editor/stats_chart_lines.cpp +222 -0
  327. karasu-0.0.3/editor/stats_chart_pie.cpp +106 -0
  328. karasu-0.0.3/editor/stats_chart_table.cpp +126 -0
  329. karasu-0.0.3/editor/stats_chart_values.cpp +94 -0
  330. karasu-0.0.3/editor/stats_charts.h +61 -0
  331. karasu-0.0.3/editor/stats_dashboard.cpp +137 -0
  332. karasu-0.0.3/editor/stats_dashboard_data.cpp +214 -0
  333. karasu-0.0.3/editor/stats_dashboard_file.cpp +194 -0
  334. karasu-0.0.3/editor/stats_dashboard_sources.cpp +166 -0
  335. karasu-0.0.3/editor/stats_details.cpp +459 -0
  336. karasu-0.0.3/editor/stats_export_ui.cpp +356 -0
  337. karasu-0.0.3/editor/stats_files_preview.cpp +121 -0
  338. karasu-0.0.3/editor/stats_files_ui.cpp +96 -0
  339. karasu-0.0.3/editor/stats_groups.cpp +238 -0
  340. karasu-0.0.3/editor/stats_icons.h +22 -0
  341. karasu-0.0.3/editor/stats_import_ui.cpp +319 -0
  342. karasu-0.0.3/editor/stats_inspect.cpp +187 -0
  343. karasu-0.0.3/editor/stats_latex_ui.cpp +111 -0
  344. karasu-0.0.3/editor/stats_live.cpp +83 -0
  345. karasu-0.0.3/editor/stats_loading.cpp +177 -0
  346. karasu-0.0.3/editor/stats_organize.cpp +193 -0
  347. karasu-0.0.3/editor/stats_panel.cpp +129 -0
  348. karasu-0.0.3/editor/stats_panel_keys.cpp +82 -0
  349. karasu-0.0.3/editor/stats_panel_settings.cpp +105 -0
  350. karasu-0.0.3/editor/stats_rename.cpp +103 -0
  351. karasu-0.0.3/editor/stats_run_names.cpp +253 -0
  352. karasu-0.0.3/editor/stats_script_tab.cpp +29 -0
  353. karasu-0.0.3/editor/stats_sources.cpp +167 -0
  354. karasu-0.0.3/editor/stats_sources_ui.cpp +312 -0
  355. karasu-0.0.3/editor/stats_theme.cpp +86 -0
  356. karasu-0.0.3/editor/stats_toolbar.cpp +90 -0
  357. karasu-0.0.3/editor/stats_type_picker.cpp +93 -0
  358. karasu-0.0.3/editor/stats_window.cpp +108 -0
  359. karasu-0.0.3/editor/stats_window.h +244 -0
  360. karasu-0.0.3/editor/stats_zip.cpp +47 -0
  361. karasu-0.0.3/editor/stats_zip.h +13 -0
  362. karasu-0.0.3/editor/statusbar.cpp +79 -0
  363. karasu-0.0.3/editor/study.h +37 -0
  364. karasu-0.0.3/editor/study_panel.cpp +283 -0
  365. karasu-0.0.3/editor/study_panel.h +42 -0
  366. karasu-0.0.3/editor/study_window.cpp +303 -0
  367. karasu-0.0.3/editor/tar_bz2.cpp +356 -0
  368. karasu-0.0.3/editor/tar_bz2.h +32 -0
  369. karasu-0.0.3/editor/tar_bz2_selftest.cpp +118 -0
  370. karasu-0.0.3/editor/theme.cpp +30 -0
  371. karasu-0.0.3/editor/theme.h +126 -0
  372. karasu-0.0.3/editor/theme_colors.cpp +76 -0
  373. karasu-0.0.3/editor/theme_effects.cpp +486 -0
  374. karasu-0.0.3/editor/theme_presets.cpp +86 -0
  375. karasu-0.0.3/editor/tiles.h +140 -0
  376. karasu-0.0.3/editor/tiles_dialogs.cpp +355 -0
  377. karasu-0.0.3/editor/tiles_history.cpp +86 -0
  378. karasu-0.0.3/editor/tiles_inspector.cpp +281 -0
  379. karasu-0.0.3/editor/tiles_mode.cpp +209 -0
  380. karasu-0.0.3/editor/tiles_panels.cpp +373 -0
  381. karasu-0.0.3/editor/tiles_selftest.cpp +232 -0
  382. karasu-0.0.3/editor/tiles_tools.cpp +243 -0
  383. karasu-0.0.3/editor/tiles_viewport.cpp +376 -0
  384. karasu-0.0.3/editor/toolbar.cpp +230 -0
  385. karasu-0.0.3/editor/updates.cpp +933 -0
  386. karasu-0.0.3/editor/updates.h +98 -0
  387. karasu-0.0.3/editor/updates_ui.cpp +437 -0
  388. karasu-0.0.3/editor/usage_window.cpp +373 -0
  389. karasu-0.0.3/editor/viewport.cpp +214 -0
  390. karasu-0.0.3/editor/viewport_3d.cpp +380 -0
  391. karasu-0.0.3/editor/viewport_bounds.cpp +56 -0
  392. karasu-0.0.3/editor/viewport_edit.cpp +96 -0
  393. karasu-0.0.3/editor/viewport_gizmo2d.cpp +127 -0
  394. karasu-0.0.3/editor/viewport_internal.h +58 -0
  395. karasu-0.0.3/editor/viewport_mouse.cpp +105 -0
  396. karasu-0.0.3/editor/viewport_overlay.cpp +79 -0
  397. karasu-0.0.3/editor/viewport_ui.cpp +321 -0
  398. karasu-0.0.3/editor/vscode.cpp +534 -0
  399. karasu-0.0.3/editor/warmup.cpp +108 -0
  400. karasu-0.0.3/editor/warmup.h +7 -0
  401. karasu-0.0.3/editor/whats_new.cpp +123 -0
  402. karasu-0.0.3/editor/whats_new.h +28 -0
  403. karasu-0.0.3/editor/widgets.cpp +222 -0
  404. karasu-0.0.3/editor/widgets_gradient.cpp +14 -0
  405. karasu-0.0.3/editor/widgets_icons.cpp +86 -0
  406. karasu-0.0.3/editor/windows_panel.cpp +64 -0
  407. karasu-0.0.3/engine/2d/agent.cpp +35 -0
  408. karasu-0.0.3/engine/2d/agent.h +40 -0
  409. karasu-0.0.3/engine/2d/camera.cpp +75 -0
  410. karasu-0.0.3/engine/2d/camera.h +33 -0
  411. karasu-0.0.3/engine/2d/capture.cpp +96 -0
  412. karasu-0.0.3/engine/2d/capture.h +22 -0
  413. karasu-0.0.3/engine/2d/game_instance.cpp +83 -0
  414. karasu-0.0.3/engine/2d/game_instance.h +39 -0
  415. karasu-0.0.3/engine/2d/image.cpp +197 -0
  416. karasu-0.0.3/engine/2d/image.h +60 -0
  417. karasu-0.0.3/engine/2d/luau_2d.cpp +76 -0
  418. karasu-0.0.3/engine/2d/luau_2d.h +13 -0
  419. karasu-0.0.3/engine/2d/luau_camera.cpp +47 -0
  420. karasu-0.0.3/engine/2d/luau_class_agent.cpp +33 -0
  421. karasu-0.0.3/engine/2d/luau_class_map.cpp +425 -0
  422. karasu-0.0.3/engine/2d/map2d.cpp +158 -0
  423. karasu-0.0.3/engine/2d/map2d.h +141 -0
  424. karasu-0.0.3/engine/2d/map2d_query.cpp +56 -0
  425. karasu-0.0.3/engine/2d/map2d_state.cpp +113 -0
  426. karasu-0.0.3/engine/2d/module_2d.cpp +105 -0
  427. karasu-0.0.3/engine/2d/particles_2d.cpp +45 -0
  428. karasu-0.0.3/engine/2d/particles_2d.h +21 -0
  429. karasu-0.0.3/engine/2d/physics.cpp +28 -0
  430. karasu-0.0.3/engine/2d/physics.h +25 -0
  431. karasu-0.0.3/engine/2d/physics_box2d_tiles.cpp +33 -0
  432. karasu-0.0.3/engine/2d/py_2d.cpp +103 -0
  433. karasu-0.0.3/engine/2d/py_2d.h +10 -0
  434. karasu-0.0.3/engine/2d/py_methods_map.cpp +314 -0
  435. karasu-0.0.3/engine/2d/raycast_2d.cpp +170 -0
  436. karasu-0.0.3/engine/2d/raycast_2d.h +37 -0
  437. karasu-0.0.3/engine/2d/render_draw.cpp +124 -0
  438. karasu-0.0.3/engine/2d/render_images.cpp +97 -0
  439. karasu-0.0.3/engine/2d/render_internal.h +27 -0
  440. karasu-0.0.3/engine/2d/render_particles.cpp +48 -0
  441. karasu-0.0.3/engine/2d/renderer.cpp +277 -0
  442. karasu-0.0.3/engine/2d/renderer.h +59 -0
  443. karasu-0.0.3/engine/2d/rigidbody.cpp +52 -0
  444. karasu-0.0.3/engine/2d/rigidbody.h +53 -0
  445. karasu-0.0.3/engine/2d/rigidbody_body.cpp +90 -0
  446. karasu-0.0.3/engine/2d/rigidbody_world.cpp +168 -0
  447. karasu-0.0.3/engine/2d/rigidbody_world.h +59 -0
  448. karasu-0.0.3/engine/2d/runner_2d.cpp +59 -0
  449. karasu-0.0.3/engine/2d/shape.cpp +31 -0
  450. karasu-0.0.3/engine/2d/shape.h +30 -0
  451. karasu-0.0.3/engine/2d/tile_assets.cpp +416 -0
  452. karasu-0.0.3/engine/2d/tile_assets.h +153 -0
  453. karasu-0.0.3/engine/2d/tiled.cpp +124 -0
  454. karasu-0.0.3/engine/2d/tiled.h +23 -0
  455. karasu-0.0.3/engine/2d/tiled_check.cpp +106 -0
  456. karasu-0.0.3/engine/2d/tiled_check.h +8 -0
  457. karasu-0.0.3/engine/2d/tiled_internal.h +34 -0
  458. karasu-0.0.3/engine/2d/tiled_props.cpp +154 -0
  459. karasu-0.0.3/engine/2d/tiled_tileset.cpp +122 -0
  460. karasu-0.0.3/engine/2d/tiled_write.cpp +387 -0
  461. karasu-0.0.3/engine/2d/world.cpp +101 -0
  462. karasu-0.0.3/engine/2d/world.h +58 -0
  463. karasu-0.0.3/engine/2d/world_gui.cpp +40 -0
  464. karasu-0.0.3/engine/2d/world_gui.h +24 -0
  465. karasu-0.0.3/engine/2d/world_system_2d.cpp +248 -0
  466. karasu-0.0.3/engine/2d/world_system_2d.h +84 -0
  467. karasu-0.0.3/engine/3d/api_spec_3d.cpp +149 -0
  468. karasu-0.0.3/engine/3d/gltf_load.cpp +130 -0
  469. karasu-0.0.3/engine/3d/gltf_load.h +29 -0
  470. karasu-0.0.3/engine/3d/gpu_renderer.cpp +652 -0
  471. karasu-0.0.3/engine/3d/gpu_renderer.h +173 -0
  472. karasu-0.0.3/engine/3d/luau_3d.cpp +189 -0
  473. karasu-0.0.3/engine/3d/luau_values_3d.cpp +237 -0
  474. karasu-0.0.3/engine/3d/module_3d.cpp +83 -0
  475. karasu-0.0.3/engine/3d/nav3d.cpp +234 -0
  476. karasu-0.0.3/engine/3d/nav3d.h +34 -0
  477. karasu-0.0.3/engine/3d/objects3d.cpp +373 -0
  478. karasu-0.0.3/engine/3d/objects3d.h +197 -0
  479. karasu-0.0.3/engine/3d/particles_3d.cpp +41 -0
  480. karasu-0.0.3/engine/3d/particles_3d.h +19 -0
  481. karasu-0.0.3/engine/3d/physics3d.cpp +514 -0
  482. karasu-0.0.3/engine/3d/physics3d.h +52 -0
  483. karasu-0.0.3/engine/3d/py_3d.cpp +279 -0
  484. karasu-0.0.3/engine/3d/render3d.cpp +360 -0
  485. karasu-0.0.3/engine/3d/render3d.h +81 -0
  486. karasu-0.0.3/engine/3d/runner_3d.cpp +39 -0
  487. karasu-0.0.3/engine/3d/shaders/lit.frag +93 -0
  488. karasu-0.0.3/engine/3d/shaders/lit.vert +33 -0
  489. karasu-0.0.3/engine/3d/shaders/shadow.frag +3 -0
  490. karasu-0.0.3/engine/3d/shaders/shadow.vert +5 -0
  491. karasu-0.0.3/engine/3d/shaders/sky.frag +24 -0
  492. karasu-0.0.3/engine/3d/shaders/sky.vert +8 -0
  493. karasu-0.0.3/engine/3d/shaders_gen.h +1295 -0
  494. karasu-0.0.3/engine/3d/world_gui_3d.cpp +42 -0
  495. karasu-0.0.3/engine/3d/world_gui_3d.h +27 -0
  496. karasu-0.0.3/engine/3d/world_system_3d.cpp +54 -0
  497. karasu-0.0.3/engine/3d/world_system_3d.h +42 -0
  498. karasu-0.0.3/engine/api_check.cpp +151 -0
  499. karasu-0.0.3/engine/api_dump.cpp +162 -0
  500. karasu-0.0.3/engine/api_dump.h +50 -0
  501. karasu-0.0.3/engine/api_luau.cpp +130 -0
  502. karasu-0.0.3/engine/api_luau.h +17 -0
  503. karasu-0.0.3/engine/api_luau_globals.cpp +58 -0
  504. karasu-0.0.3/engine/api_selene.cpp +34 -0
  505. karasu-0.0.3/engine/api_spec_audio.cpp +135 -0
  506. karasu-0.0.3/engine/api_spec_benchmark.cpp +35 -0
  507. karasu-0.0.3/engine/api_spec_classes.cpp +68 -0
  508. karasu-0.0.3/engine/api_spec_classes2.cpp +74 -0
  509. karasu-0.0.3/engine/api_spec_forms.cpp +26 -0
  510. karasu-0.0.3/engine/api_spec_gameplay.cpp +91 -0
  511. karasu-0.0.3/engine/api_spec_input.cpp +42 -0
  512. karasu-0.0.3/engine/api_spec_libs.cpp +263 -0
  513. karasu-0.0.3/engine/api_spec_particles.cpp +16 -0
  514. karasu-0.0.3/engine/api_spec_particles.h +27 -0
  515. karasu-0.0.3/engine/api_spec_physics.cpp +42 -0
  516. karasu-0.0.3/engine/api_spec_speech.cpp +66 -0
  517. karasu-0.0.3/engine/api_spec_stats.cpp +54 -0
  518. karasu-0.0.3/engine/api_spec_tiles.cpp +73 -0
  519. karasu-0.0.3/engine/api_spec_tween.cpp +34 -0
  520. karasu-0.0.3/engine/api_spec_types.cpp +117 -0
  521. karasu-0.0.3/engine/api_spec_types2.cpp +92 -0
  522. karasu-0.0.3/engine/api_spec_ui.cpp +159 -0
  523. karasu-0.0.3/engine/api_stub.cpp +123 -0
  524. karasu-0.0.3/engine/api_stub.h +12 -0
  525. karasu-0.0.3/engine/api_stub_component.cpp +28 -0
  526. karasu-0.0.3/engine/api_stub_types.cpp +94 -0
  527. karasu-0.0.3/engine/assets.cpp +56 -0
  528. karasu-0.0.3/engine/assets.h +18 -0
  529. karasu-0.0.3/engine/audio/audio_abi.h +95 -0
  530. karasu-0.0.3/engine/audio/audio_plugin.cpp +52 -0
  531. karasu-0.0.3/engine/audio/audio_plugin.h +15 -0
  532. karasu-0.0.3/engine/audio/audio_system.cpp +685 -0
  533. karasu-0.0.3/engine/audio/audio_system.h +167 -0
  534. karasu-0.0.3/engine/audio/plugin/CMakeLists.txt +82 -0
  535. karasu-0.0.3/engine/audio/plugin/walkenv_audio.cpp +390 -0
  536. karasu-0.0.3/engine/audio/sound.cpp +78 -0
  537. karasu-0.0.3/engine/audio/sound.h +75 -0
  538. karasu-0.0.3/engine/camera/camera_abi.h +35 -0
  539. karasu-0.0.3/engine/camera/camera_plugin.cpp +53 -0
  540. karasu-0.0.3/engine/camera/camera_plugin.h +16 -0
  541. karasu-0.0.3/engine/camera/camera_system.cpp +171 -0
  542. karasu-0.0.3/engine/camera/camera_system.h +60 -0
  543. karasu-0.0.3/engine/camera/plugin/CMakeLists.txt +67 -0
  544. karasu-0.0.3/engine/camera/plugin/walkenv_camera.cpp +127 -0
  545. karasu-0.0.3/engine/camera/webcam.cpp +59 -0
  546. karasu-0.0.3/engine/camera/webcam.h +47 -0
  547. karasu-0.0.3/engine/collision_groups.cpp +140 -0
  548. karasu-0.0.3/engine/collision_groups.h +52 -0
  549. karasu-0.0.3/engine/component.cpp +72 -0
  550. karasu-0.0.3/engine/component.h +32 -0
  551. karasu-0.0.3/engine/component_api.cpp +40 -0
  552. karasu-0.0.3/engine/component_api.h +19 -0
  553. karasu-0.0.3/engine/config.cpp +100 -0
  554. karasu-0.0.3/engine/config.h +63 -0
  555. karasu-0.0.3/engine/dimension.cpp +48 -0
  556. karasu-0.0.3/engine/dimension.h +116 -0
  557. karasu-0.0.3/engine/discord.cpp +138 -0
  558. karasu-0.0.3/engine/discord.h +23 -0
  559. karasu-0.0.3/engine/discord_ipc.h +27 -0
  560. karasu-0.0.3/engine/discord_ipc_posix.cpp +95 -0
  561. karasu-0.0.3/engine/discord_ipc_win.cpp +57 -0
  562. karasu-0.0.3/engine/forms/form.cpp +437 -0
  563. karasu-0.0.3/engine/forms/form.h +133 -0
  564. karasu-0.0.3/engine/forms/form_selftest.cpp +173 -0
  565. karasu-0.0.3/engine/forms/ui/form_imgui.cpp +427 -0
  566. karasu-0.0.3/engine/forms/ui/form_imgui.h +56 -0
  567. karasu-0.0.3/engine/frame_out.cpp +119 -0
  568. karasu-0.0.3/engine/frame_out.h +41 -0
  569. karasu-0.0.3/engine/frame_pacer.h +25 -0
  570. karasu-0.0.3/engine/game.h +13 -0
  571. karasu-0.0.3/engine/game_context.h +44 -0
  572. karasu-0.0.3/engine/game_object.cpp +107 -0
  573. karasu-0.0.3/engine/game_object.h +120 -0
  574. karasu-0.0.3/engine/globals.cpp +87 -0
  575. karasu-0.0.3/engine/globals.h +40 -0
  576. karasu-0.0.3/engine/hf.cpp +236 -0
  577. karasu-0.0.3/engine/hf.h +43 -0
  578. karasu-0.0.3/engine/host/game_pack.h +75 -0
  579. karasu-0.0.3/engine/host/host_main.cpp +287 -0
  580. karasu-0.0.3/engine/host/host_protocol.h +46 -0
  581. karasu-0.0.3/engine/host/host_window.cpp +286 -0
  582. karasu-0.0.3/engine/host/host_window.h +34 -0
  583. karasu-0.0.3/engine/host/study_host.cpp +697 -0
  584. karasu-0.0.3/engine/host/study_host.h +132 -0
  585. karasu-0.0.3/engine/host/study_host_test.cpp +419 -0
  586. karasu-0.0.3/engine/host/study_setup.cpp +103 -0
  587. karasu-0.0.3/engine/host/web_export.cpp +299 -0
  588. karasu-0.0.3/engine/host/web_export.h +44 -0
  589. karasu-0.0.3/engine/input.cpp +49 -0
  590. karasu-0.0.3/engine/input.h +77 -0
  591. karasu-0.0.3/engine/input_actions.cpp +71 -0
  592. karasu-0.0.3/engine/input_actions.h +69 -0
  593. karasu-0.0.3/engine/input_actions_io.cpp +69 -0
  594. karasu-0.0.3/engine/input_events.cpp +48 -0
  595. karasu-0.0.3/engine/launch.cpp +35 -0
  596. karasu-0.0.3/engine/launch.h +13 -0
  597. karasu-0.0.3/engine/llm/llm.h +182 -0
  598. karasu-0.0.3/engine/llm/llm_gate.cpp +154 -0
  599. karasu-0.0.3/engine/llm/llm_gate.h +43 -0
  600. karasu-0.0.3/engine/llm/llm_gemini.cpp +106 -0
  601. karasu-0.0.3/engine/llm/llm_http.cpp +275 -0
  602. karasu-0.0.3/engine/llm/llm_image.cpp +50 -0
  603. karasu-0.0.3/engine/llm/llm_internal.h +78 -0
  604. karasu-0.0.3/engine/llm/llm_jobs.cpp +255 -0
  605. karasu-0.0.3/engine/llm/llm_keys.cpp +135 -0
  606. karasu-0.0.3/engine/llm/llm_models.cpp +118 -0
  607. karasu-0.0.3/engine/llm/llm_openai.cpp +171 -0
  608. karasu-0.0.3/engine/llm/llm_providers.cpp +378 -0
  609. karasu-0.0.3/engine/llm/llm_settings.cpp +143 -0
  610. karasu-0.0.3/engine/llm/llm_typesafe.cpp +332 -0
  611. karasu-0.0.3/engine/llm/llm_usage.cpp +239 -0
  612. karasu-0.0.3/engine/llm/llm_usage.h +86 -0
  613. karasu-0.0.3/engine/log.cpp +35 -0
  614. karasu-0.0.3/engine/log.h +24 -0
  615. karasu-0.0.3/engine/luau/luau_api.h +190 -0
  616. karasu-0.0.3/engine/luau/luau_assets.cpp +148 -0
  617. karasu-0.0.3/engine/luau/luau_attributes.cpp +112 -0
  618. karasu-0.0.3/engine/luau/luau_audio.cpp +398 -0
  619. karasu-0.0.3/engine/luau/luau_benchmark.cpp +114 -0
  620. karasu-0.0.3/engine/luau/luau_camera_pixels.cpp +82 -0
  621. karasu-0.0.3/engine/luau/luau_chunks.cpp +128 -0
  622. karasu-0.0.3/engine/luau/luau_class_gameobject.cpp +117 -0
  623. karasu-0.0.3/engine/luau/luau_class_world.cpp +44 -0
  624. karasu-0.0.3/engine/luau/luau_color3.cpp +85 -0
  625. karasu-0.0.3/engine/luau/luau_components.cpp +38 -0
  626. karasu-0.0.3/engine/luau/luau_enums.cpp +64 -0
  627. karasu-0.0.3/engine/luau/luau_env.cpp +51 -0
  628. karasu-0.0.3/engine/luau/luau_forms.cpp +133 -0
  629. karasu-0.0.3/engine/luau/luau_globals.cpp +43 -0
  630. karasu-0.0.3/engine/luau/luau_handle.h +27 -0
  631. karasu-0.0.3/engine/luau/luau_input.cpp +74 -0
  632. karasu-0.0.3/engine/luau/luau_input_actions.cpp +114 -0
  633. karasu-0.0.3/engine/luau/luau_json.cpp +206 -0
  634. karasu-0.0.3/engine/luau/luau_llm.cpp +170 -0
  635. karasu-0.0.3/engine/luau/luau_logs.cpp +86 -0
  636. karasu-0.0.3/engine/luau/luau_object_meta.cpp +90 -0
  637. karasu-0.0.3/engine/luau/luau_objects.cpp +59 -0
  638. karasu-0.0.3/engine/luau/luau_particles.cpp +26 -0
  639. karasu-0.0.3/engine/luau/luau_physics.cpp +213 -0
  640. karasu-0.0.3/engine/luau/luau_prelude.cpp +184 -0
  641. karasu-0.0.3/engine/luau/luau_prelude_attributes.cpp +69 -0
  642. karasu-0.0.3/engine/luau/luau_prelude_bound.cpp +47 -0
  643. karasu-0.0.3/engine/luau/luau_prelude_component_class.cpp +126 -0
  644. karasu-0.0.3/engine/luau/luau_prelude_components.cpp +139 -0
  645. karasu-0.0.3/engine/luau/luau_prelude_fusion.cpp +968 -0
  646. karasu-0.0.3/engine/luau/luau_prelude_stats.cpp +43 -0
  647. karasu-0.0.3/engine/luau/luau_prelude_trove.cpp +191 -0
  648. karasu-0.0.3/engine/luau/luau_prelude_water.cpp +205 -0
  649. karasu-0.0.3/engine/luau/luau_rect.cpp +103 -0
  650. karasu-0.0.3/engine/luau/luau_require.cpp +213 -0
  651. karasu-0.0.3/engine/luau/luau_runtime.cpp +324 -0
  652. karasu-0.0.3/engine/luau/luau_runtime.h +63 -0
  653. karasu-0.0.3/engine/luau/luau_runtime_components.cpp +46 -0
  654. karasu-0.0.3/engine/luau/luau_scene.cpp +37 -0
  655. karasu-0.0.3/engine/luau/luau_sequence.cpp +153 -0
  656. karasu-0.0.3/engine/luau/luau_session.cpp +388 -0
  657. karasu-0.0.3/engine/luau/luau_speech.cpp +405 -0
  658. karasu-0.0.3/engine/luau/luau_sprite.cpp +68 -0
  659. karasu-0.0.3/engine/luau/luau_stat_table.cpp +111 -0
  660. karasu-0.0.3/engine/luau/luau_stat_table_meta.cpp +40 -0
  661. karasu-0.0.3/engine/luau/luau_stat_table_read.cpp +113 -0
  662. karasu-0.0.3/engine/luau/luau_stat_values.cpp +103 -0
  663. karasu-0.0.3/engine/luau/luau_state.cpp +144 -0
  664. karasu-0.0.3/engine/luau/luau_stats.cpp +128 -0
  665. karasu-0.0.3/engine/luau/luau_stats.h +54 -0
  666. karasu-0.0.3/engine/luau/luau_stats_chart.cpp +113 -0
  667. karasu-0.0.3/engine/luau/luau_stats_latex.cpp +59 -0
  668. karasu-0.0.3/engine/luau/luau_tags.cpp +62 -0
  669. karasu-0.0.3/engine/luau/luau_task.cpp +154 -0
  670. karasu-0.0.3/engine/luau/luau_text_service.cpp +97 -0
  671. karasu-0.0.3/engine/luau/luau_torch.cpp +188 -0
  672. karasu-0.0.3/engine/luau/luau_tts.cpp +144 -0
  673. karasu-0.0.3/engine/luau/luau_tween.cpp +165 -0
  674. karasu-0.0.3/engine/luau/luau_typed.cpp +55 -0
  675. karasu-0.0.3/engine/luau/luau_udim.cpp +130 -0
  676. karasu-0.0.3/engine/luau/luau_ui.cpp +121 -0
  677. karasu-0.0.3/engine/luau/luau_values.cpp +71 -0
  678. karasu-0.0.3/engine/luau/luau_vector2.cpp +165 -0
  679. karasu-0.0.3/engine/luau/luau_video.cpp +21 -0
  680. karasu-0.0.3/engine/luau/luau_webcam.cpp +90 -0
  681. karasu-0.0.3/engine/luau/luau_world.cpp +78 -0
  682. karasu-0.0.3/engine/main.cpp +208 -0
  683. karasu-0.0.3/engine/math3d.h +235 -0
  684. karasu-0.0.3/engine/ml_install.cpp +432 -0
  685. karasu-0.0.3/engine/ml_install.h +85 -0
  686. karasu-0.0.3/engine/ml_install_selftest.cpp +179 -0
  687. karasu-0.0.3/engine/ml_packages.cpp +86 -0
  688. karasu-0.0.3/engine/ml_packages.h +35 -0
  689. karasu-0.0.3/engine/object_classes.cpp +42 -0
  690. karasu-0.0.3/engine/object_classes.h +47 -0
  691. karasu-0.0.3/engine/particles.cpp +300 -0
  692. karasu-0.0.3/engine/particles.h +146 -0
  693. karasu-0.0.3/engine/perf.cpp +158 -0
  694. karasu-0.0.3/engine/perf.h +87 -0
  695. karasu-0.0.3/engine/platform.cpp +236 -0
  696. karasu-0.0.3/engine/platform.h +48 -0
  697. karasu-0.0.3/engine/postfx.cpp +36 -0
  698. karasu-0.0.3/engine/postfx.h +11 -0
  699. karasu-0.0.3/engine/prefab.cpp +949 -0
  700. karasu-0.0.3/engine/prefab.h +129 -0
  701. karasu-0.0.3/engine/python_rt/py_api.h +133 -0
  702. karasu-0.0.3/engine/python_rt/py_attributes.cpp +77 -0
  703. karasu-0.0.3/engine/python_rt/py_audio.cpp +380 -0
  704. karasu-0.0.3/engine/python_rt/py_benchmark.cpp +96 -0
  705. karasu-0.0.3/engine/python_rt/py_components.cpp +21 -0
  706. karasu-0.0.3/engine/python_rt/py_forms.cpp +97 -0
  707. karasu-0.0.3/engine/python_rt/py_globals.cpp +91 -0
  708. karasu-0.0.3/engine/python_rt/py_globals_vars.cpp +43 -0
  709. karasu-0.0.3/engine/python_rt/py_input.cpp +49 -0
  710. karasu-0.0.3/engine/python_rt/py_input_actions.cpp +81 -0
  711. karasu-0.0.3/engine/python_rt/py_install.h +14 -0
  712. karasu-0.0.3/engine/python_rt/py_interpreter.cpp +448 -0
  713. karasu-0.0.3/engine/python_rt/py_interpreter.h +11 -0
  714. karasu-0.0.3/engine/python_rt/py_isolation.cpp +147 -0
  715. karasu-0.0.3/engine/python_rt/py_llm.cpp +149 -0
  716. karasu-0.0.3/engine/python_rt/py_logs.cpp +61 -0
  717. karasu-0.0.3/engine/python_rt/py_methods.cpp +123 -0
  718. karasu-0.0.3/engine/python_rt/py_methods_ui.cpp +107 -0
  719. karasu-0.0.3/engine/python_rt/py_objects.cpp +118 -0
  720. karasu-0.0.3/engine/python_rt/py_particles.cpp +24 -0
  721. karasu-0.0.3/engine/python_rt/py_physics.cpp +109 -0
  722. karasu-0.0.3/engine/python_rt/py_prefab.cpp +39 -0
  723. karasu-0.0.3/engine/python_rt/py_prelude.cpp +687 -0
  724. karasu-0.0.3/engine/python_rt/py_prelude_attributes.cpp +64 -0
  725. karasu-0.0.3/engine/python_rt/py_prelude_bound.cpp +49 -0
  726. karasu-0.0.3/engine/python_rt/py_prelude_component_class.cpp +146 -0
  727. karasu-0.0.3/engine/python_rt/py_prelude_components.cpp +142 -0
  728. karasu-0.0.3/engine/python_rt/py_prelude_fusion.cpp +984 -0
  729. karasu-0.0.3/engine/python_rt/py_prelude_stats.cpp +24 -0
  730. karasu-0.0.3/engine/python_rt/py_prelude_trove.cpp +166 -0
  731. karasu-0.0.3/engine/python_rt/py_prelude_water.cpp +189 -0
  732. karasu-0.0.3/engine/python_rt/py_require.cpp +238 -0
  733. karasu-0.0.3/engine/python_rt/py_runtime.cpp +239 -0
  734. karasu-0.0.3/engine/python_rt/py_runtime.h +81 -0
  735. karasu-0.0.3/engine/python_rt/py_runtime_components.cpp +39 -0
  736. karasu-0.0.3/engine/python_rt/py_runtime_events.cpp +99 -0
  737. karasu-0.0.3/engine/python_rt/py_session.cpp +271 -0
  738. karasu-0.0.3/engine/python_rt/py_speech.cpp +276 -0
  739. karasu-0.0.3/engine/python_rt/py_sprite.cpp +47 -0
  740. karasu-0.0.3/engine/python_rt/py_stat_table.cpp +66 -0
  741. karasu-0.0.3/engine/python_rt/py_stat_table_read.cpp +89 -0
  742. karasu-0.0.3/engine/python_rt/py_stat_values.cpp +75 -0
  743. karasu-0.0.3/engine/python_rt/py_stats.cpp +97 -0
  744. karasu-0.0.3/engine/python_rt/py_stats.h +44 -0
  745. karasu-0.0.3/engine/python_rt/py_stats_chart.cpp +90 -0
  746. karasu-0.0.3/engine/python_rt/py_tts.cpp +204 -0
  747. karasu-0.0.3/engine/python_rt/py_tween.cpp +150 -0
  748. karasu-0.0.3/engine/python_rt/py_typed.cpp +56 -0
  749. karasu-0.0.3/engine/python_rt/py_values.cpp +168 -0
  750. karasu-0.0.3/engine/python_rt/py_values_ui.cpp +173 -0
  751. karasu-0.0.3/engine/python_rt/py_webcam.cpp +92 -0
  752. karasu-0.0.3/engine/query_filter.cpp +28 -0
  753. karasu-0.0.3/engine/query_filter.h +45 -0
  754. karasu-0.0.3/engine/reflection.cpp +166 -0
  755. karasu-0.0.3/engine/reflection.h +126 -0
  756. karasu-0.0.3/engine/registry.cpp +35 -0
  757. karasu-0.0.3/engine/registry.h +20 -0
  758. karasu-0.0.3/engine/run_args.cpp +139 -0
  759. karasu-0.0.3/engine/run_args.h +67 -0
  760. karasu-0.0.3/engine/run_checkpoint.cpp +156 -0
  761. karasu-0.0.3/engine/run_checkpoint.h +44 -0
  762. karasu-0.0.3/engine/run_control.cpp +92 -0
  763. karasu-0.0.3/engine/run_control.h +40 -0
  764. karasu-0.0.3/engine/run_fork.cpp +63 -0
  765. karasu-0.0.3/engine/run_fork.h +14 -0
  766. karasu-0.0.3/engine/run_group.cpp +235 -0
  767. karasu-0.0.3/engine/run_group.h +10 -0
  768. karasu-0.0.3/engine/run_info.h +205 -0
  769. karasu-0.0.3/engine/run_isolation.cpp +46 -0
  770. karasu-0.0.3/engine/run_isolation.h +27 -0
  771. karasu-0.0.3/engine/run_logs.cpp +161 -0
  772. karasu-0.0.3/engine/run_logs.h +76 -0
  773. karasu-0.0.3/engine/run_preview.cpp +56 -0
  774. karasu-0.0.3/engine/run_preview.h +24 -0
  775. karasu-0.0.3/engine/run_progress.cpp +203 -0
  776. karasu-0.0.3/engine/run_progress.h +66 -0
  777. karasu-0.0.3/engine/savedata.cpp +177 -0
  778. karasu-0.0.3/engine/savedata.h +41 -0
  779. karasu-0.0.3/engine/scene.cpp +187 -0
  780. karasu-0.0.3/engine/scene.h +178 -0
  781. karasu-0.0.3/engine/scene_attributes.cpp +61 -0
  782. karasu-0.0.3/engine/scene_components.cpp +29 -0
  783. karasu-0.0.3/engine/scene_io.cpp +223 -0
  784. karasu-0.0.3/engine/scene_io.h +42 -0
  785. karasu-0.0.3/engine/scene_query.cpp +53 -0
  786. karasu-0.0.3/engine/scene_tags.cpp +87 -0
  787. karasu-0.0.3/engine/scene_uid.cpp +56 -0
  788. karasu-0.0.3/engine/scene_values.cpp +155 -0
  789. karasu-0.0.3/engine/script.cpp +36 -0
  790. karasu-0.0.3/engine/script.h +27 -0
  791. karasu-0.0.3/engine/script_modules.cpp +127 -0
  792. karasu-0.0.3/engine/script_modules.h +34 -0
  793. karasu-0.0.3/engine/script_runtime.cpp +16 -0
  794. karasu-0.0.3/engine/script_runtime.h +82 -0
  795. karasu-0.0.3/engine/sdl_util.h +68 -0
  796. karasu-0.0.3/engine/session.cpp +266 -0
  797. karasu-0.0.3/engine/session.h +179 -0
  798. karasu-0.0.3/engine/session_checkpoint.cpp +81 -0
  799. karasu-0.0.3/engine/session_components.cpp +53 -0
  800. karasu-0.0.3/engine/session_end.cpp +47 -0
  801. karasu-0.0.3/engine/session_input.cpp +21 -0
  802. karasu-0.0.3/engine/session_scripts.cpp +124 -0
  803. karasu-0.0.3/engine/session_stats.cpp +133 -0
  804. karasu-0.0.3/engine/speech/plugin/CMakeLists.txt +73 -0
  805. karasu-0.0.3/engine/speech/plugin/walkenv_speech.cpp +206 -0
  806. karasu-0.0.3/engine/speech/speech_abi.h +58 -0
  807. karasu-0.0.3/engine/speech/speech_models.cpp +181 -0
  808. karasu-0.0.3/engine/speech/speech_models.h +45 -0
  809. karasu-0.0.3/engine/speech/speech_plugin.cpp +45 -0
  810. karasu-0.0.3/engine/speech/speech_plugin.h +16 -0
  811. karasu-0.0.3/engine/speech/speech_selftest.cpp +396 -0
  812. karasu-0.0.3/engine/speech/speech_selftest.h +18 -0
  813. karasu-0.0.3/engine/speech/speech_system.cpp +701 -0
  814. karasu-0.0.3/engine/speech/speech_system.h +201 -0
  815. karasu-0.0.3/engine/speech/testdata/jfk.wav +0 -0
  816. karasu-0.0.3/engine/speech/tts_models.cpp +240 -0
  817. karasu-0.0.3/engine/speech/tts_models.h +47 -0
  818. karasu-0.0.3/engine/speech/tts_plugin.cpp +235 -0
  819. karasu-0.0.3/engine/speech/tts_plugin.h +32 -0
  820. karasu-0.0.3/engine/speech/tts_system.cpp +539 -0
  821. karasu-0.0.3/engine/speech/tts_system.h +162 -0
  822. karasu-0.0.3/engine/sprite_animator.cpp +247 -0
  823. karasu-0.0.3/engine/sprite_animator.h +77 -0
  824. karasu-0.0.3/engine/stats/latex_bar.cpp +70 -0
  825. karasu-0.0.3/engine/stats/latex_internal.h +29 -0
  826. karasu-0.0.3/engine/stats/latex_plot.cpp +88 -0
  827. karasu-0.0.3/engine/stats/latex_render.cpp +112 -0
  828. karasu-0.0.3/engine/stats/latex_summary.cpp +66 -0
  829. karasu-0.0.3/engine/stats/latex_table.cpp +79 -0
  830. karasu-0.0.3/engine/stats/stat_table.cpp +131 -0
  831. karasu-0.0.3/engine/stats/stat_table.h +87 -0
  832. karasu-0.0.3/engine/stats/stat_types.cpp +23 -0
  833. karasu-0.0.3/engine/stats/stats_benchmark.cpp +776 -0
  834. karasu-0.0.3/engine/stats/stats_benchmark.h +154 -0
  835. karasu-0.0.3/engine/stats/stats_benchmark_test.cpp +194 -0
  836. karasu-0.0.3/engine/stats/stats_bundle.cpp +120 -0
  837. karasu-0.0.3/engine/stats/stats_bundle.h +50 -0
  838. karasu-0.0.3/engine/stats/stats_chart_spec.cpp +60 -0
  839. karasu-0.0.3/engine/stats/stats_chart_spec.h +15 -0
  840. karasu-0.0.3/engine/stats/stats_cli.cpp +122 -0
  841. karasu-0.0.3/engine/stats/stats_cli.h +17 -0
  842. karasu-0.0.3/engine/stats/stats_csv.cpp +71 -0
  843. karasu-0.0.3/engine/stats/stats_data.cpp +26 -0
  844. karasu-0.0.3/engine/stats/stats_data.h +31 -0
  845. karasu-0.0.3/engine/stats/stats_export.cpp +90 -0
  846. karasu-0.0.3/engine/stats/stats_export.h +22 -0
  847. karasu-0.0.3/engine/stats/stats_files.cpp +75 -0
  848. karasu-0.0.3/engine/stats/stats_files.h +45 -0
  849. karasu-0.0.3/engine/stats/stats_findings.cpp +691 -0
  850. karasu-0.0.3/engine/stats/stats_findings.h +79 -0
  851. karasu-0.0.3/engine/stats/stats_hub.cpp +187 -0
  852. karasu-0.0.3/engine/stats/stats_hub.h +98 -0
  853. karasu-0.0.3/engine/stats/stats_hub_charts.cpp +58 -0
  854. karasu-0.0.3/engine/stats/stats_import.cpp +94 -0
  855. karasu-0.0.3/engine/stats/stats_json.cpp +129 -0
  856. karasu-0.0.3/engine/stats/stats_json.h +50 -0
  857. karasu-0.0.3/engine/stats/stats_latex.h +33 -0
  858. karasu-0.0.3/engine/stats/stats_load.cpp +66 -0
  859. karasu-0.0.3/engine/stats/stats_paths.cpp +213 -0
  860. karasu-0.0.3/engine/stats/stats_paths.h +70 -0
  861. karasu-0.0.3/engine/stats/stats_query.cpp +100 -0
  862. karasu-0.0.3/engine/stats/stats_query.h +32 -0
  863. karasu-0.0.3/engine/stats/stats_reader.cpp +81 -0
  864. karasu-0.0.3/engine/stats/stats_series.cpp +92 -0
  865. karasu-0.0.3/engine/stats/stats_series.h +34 -0
  866. karasu-0.0.3/engine/stats/stats_writer.cpp +45 -0
  867. karasu-0.0.3/engine/stats/stats_writer.h +34 -0
  868. karasu-0.0.3/engine/tags.h +37 -0
  869. karasu-0.0.3/engine/tools_main.cpp +278 -0
  870. karasu-0.0.3/engine/torch/lt.h +97 -0
  871. karasu-0.0.3/engine/torch/lt_abi.h +9 -0
  872. karasu-0.0.3/engine/torch/lt_ops.cpp +440 -0
  873. karasu-0.0.3/engine/torch/lt_prelude_core.cpp +181 -0
  874. karasu-0.0.3/engine/torch/lt_prelude_data.cpp +264 -0
  875. karasu-0.0.3/engine/torch/lt_prelude_layers.cpp +805 -0
  876. karasu-0.0.3/engine/torch/lt_prelude_nn.cpp +659 -0
  877. karasu-0.0.3/engine/torch/lt_prelude_np.cpp +309 -0
  878. karasu-0.0.3/engine/torch/lt_prelude_optim.cpp +354 -0
  879. karasu-0.0.3/engine/torch/lt_serialize.cpp +133 -0
  880. karasu-0.0.3/engine/torch/lt_tensor.cpp +356 -0
  881. karasu-0.0.3/engine/torch/lt_torch.cpp +451 -0
  882. karasu-0.0.3/engine/torch/lt_types.cpp +249 -0
  883. karasu-0.0.3/engine/torch/lt_types_hand.cpp +429 -0
  884. karasu-0.0.3/engine/torch/lt_unpickle.cpp +288 -0
  885. karasu-0.0.3/engine/torch/lt_values.cpp +290 -0
  886. karasu-0.0.3/engine/tree_epoch.h +17 -0
  887. karasu-0.0.3/engine/tween.cpp +231 -0
  888. karasu-0.0.3/engine/tween.h +90 -0
  889. karasu-0.0.3/engine/types.h +36 -0
  890. karasu-0.0.3/engine/ui/ui_classes.cpp +273 -0
  891. karasu-0.0.3/engine/ui/ui_classes.h +244 -0
  892. karasu-0.0.3/engine/ui/ui_components.cpp +173 -0
  893. karasu-0.0.3/engine/ui/ui_components.h +110 -0
  894. karasu-0.0.3/engine/ui/ui_draw.cpp +541 -0
  895. karasu-0.0.3/engine/ui/ui_draw.h +37 -0
  896. karasu-0.0.3/engine/ui/ui_editable_image.cpp +112 -0
  897. karasu-0.0.3/engine/ui/ui_fill.cpp +47 -0
  898. karasu-0.0.3/engine/ui/ui_font.cpp +415 -0
  899. karasu-0.0.3/engine/ui/ui_font.h +45 -0
  900. karasu-0.0.3/engine/ui/ui_input.cpp +227 -0
  901. karasu-0.0.3/engine/ui/ui_input.h +27 -0
  902. karasu-0.0.3/engine/ui/ui_layout.cpp +243 -0
  903. karasu-0.0.3/engine/ui/ui_layout.h +42 -0
  904. karasu-0.0.3/engine/ui/ui_particles.cpp +137 -0
  905. karasu-0.0.3/engine/ui/ui_particles.h +27 -0
  906. karasu-0.0.3/engine/ui/ui_pixels.cpp +139 -0
  907. karasu-0.0.3/engine/ui/ui_pixels.h +33 -0
  908. karasu-0.0.3/engine/ui/ui_values.cpp +61 -0
  909. karasu-0.0.3/engine/ui/ui_values.h +40 -0
  910. karasu-0.0.3/engine/updater/updater_main.cpp +347 -0
  911. karasu-0.0.3/engine/user_paths.cpp +36 -0
  912. karasu-0.0.3/engine/user_paths.h +11 -0
  913. karasu-0.0.3/engine/version.cpp +10 -0
  914. karasu-0.0.3/engine/version.h +9 -0
  915. karasu-0.0.3/engine/video/plugin/walkenv_video.cpp +283 -0
  916. karasu-0.0.3/engine/video/testdata/count.mp4 +0 -0
  917. karasu-0.0.3/engine/video/testdata/make_count_video.mm +120 -0
  918. karasu-0.0.3/engine/video/video_abi.h +36 -0
  919. karasu-0.0.3/engine/video/video_decoder.h +42 -0
  920. karasu-0.0.3/engine/video/video_decoder_linux.cpp +180 -0
  921. karasu-0.0.3/engine/video/video_decoder_mac.mm +139 -0
  922. karasu-0.0.3/engine/video/video_decoder_none.cpp +11 -0
  923. karasu-0.0.3/engine/video/video_decoder_win.cpp +368 -0
  924. karasu-0.0.3/engine/video/video_frame.cpp +301 -0
  925. karasu-0.0.3/engine/video/video_frame.h +86 -0
  926. karasu-0.0.3/engine/video/video_selftest.cpp +229 -0
  927. karasu-0.0.3/engine/video/video_system.cpp +151 -0
  928. karasu-0.0.3/engine/video/video_system.h +62 -0
  929. karasu-0.0.3/engine/web/index.html +456 -0
  930. karasu-0.0.3/engine/web/web_main.cpp +365 -0
  931. karasu-0.0.3/engine/web/web_sync.cpp +191 -0
  932. karasu-0.0.3/engine/web/web_sync.h +44 -0
  933. karasu-0.0.3/findings_charts.png +0 -0
  934. karasu-0.0.3/findings_charts_swap.png +0 -0
  935. karasu-0.0.3/findings_report.md +121 -0
  936. karasu-0.0.3/ml_versions.json +19 -0
  937. karasu-0.0.3/play_editor.bat +55 -0
  938. karasu-0.0.3/play_editor.command +39 -0
  939. karasu-0.0.3/play_flappy.command +15 -0
  940. karasu-0.0.3/play_meadow.command +15 -0
  941. karasu-0.0.3/pyproject.toml +69 -0
  942. karasu-0.0.3/python/PYPI.md +29 -0
  943. karasu-0.0.3/python/bindings.cpp +304 -0
  944. karasu-0.0.3/python/env.cpp +92 -0
  945. karasu-0.0.3/python/env.h +42 -0
  946. karasu-0.0.3/python/env3d.cpp +179 -0
  947. karasu-0.0.3/python/karasu/__init__.py +82 -0
  948. karasu-0.0.3/python/karasu/_cli.py +46 -0
  949. karasu-0.0.3/python/karasu/env3d.py +11 -0
  950. karasu-0.0.3/python/karasu/examples.py +86 -0
  951. karasu-0.0.3/python/stats_module.h +25 -0
  952. karasu-0.0.3/python/vec_env.cpp +352 -0
  953. karasu-0.0.3/python/vec_env.h +118 -0
  954. karasu-0.0.3/python/walkenv_alias/walkenv/__init__.py +11 -0
  955. karasu-0.0.3/python/walkenv_alias/walkenv3d/__init__.py +6 -0
  956. karasu-0.0.3/python/walkenv_library.py +109 -0
  957. karasu-0.0.3/python/walkenv_population.py +136 -0
  958. karasu-0.0.3/python/walkenv_stats.py +376 -0
  959. karasu-0.0.3/python/wheel_smoke.py +39 -0
  960. karasu-0.0.3/skills/README.md +52 -0
  961. karasu-0.0.3/skills/engine/cpp-style/SKILL.md +422 -0
  962. karasu-0.0.3/skills/engine/cpp-style/references/language-features.md +182 -0
  963. karasu-0.0.3/skills/engine/karasu-changelog/SKILL.md +59 -0
  964. karasu-0.0.3/skills/engine/karasu-engine-dev/SKILL.md +209 -0
  965. karasu-0.0.3/skills/engine/karasu-ml-versions/SKILL.md +96 -0
  966. karasu-0.0.3/skills/engine/karasu-rebuild/SKILL.md +88 -0
  967. karasu-0.0.3/skills/engine/karasu-release/SKILL.md +186 -0
  968. karasu-0.0.3/skills/engine/karasu-release/release.py +387 -0
  969. karasu-0.0.3/skills/engine/karasu-skills/SKILL.md +121 -0
  970. karasu-0.0.3/skills/engine/karasu-write-docs/SKILL.md +154 -0
  971. karasu-0.0.3/skills/general/karasu-audio-generation/SKILL.md +94 -0
  972. karasu-0.0.3/skills/general/karasu-docs/SKILL.md +105 -0
  973. karasu-0.0.3/skills/general/karasu-docs/scripts/karasu_docs.py +348 -0
  974. karasu-0.0.3/skills/general/karasu-editor-mcp/SKILL.md +276 -0
  975. karasu-0.0.3/skills/general/karasu-fusion-ui/SKILL.md +194 -0
  976. karasu-0.0.3/skills/general/karasu-luau-style/SKILL.md +346 -0
  977. karasu-0.0.3/skills/general/karasu-ml-research/SKILL.md +325 -0
  978. karasu-0.0.3/skills/general/karasu-pixel-art/SKILL.md +113 -0
  979. karasu-0.0.3/skills/general/karasu-projects-worlds/SKILL.md +295 -0
  980. karasu-0.0.3/skills/general/karasu-python-style/SKILL.md +279 -0
  981. karasu-0.0.3/skills/general/karasu-scripting/SKILL.md +488 -0
  982. karasu-0.0.3/templates/2d/empty/__builtins__.pyi +1710 -0
  983. karasu-0.0.3/templates/2d/empty/config.json +27 -0
  984. karasu-0.0.3/templates/2d/empty/karasu.yml +114 -0
  985. karasu-0.0.3/templates/2d/empty/preview.png +0 -0
  986. karasu-0.0.3/templates/2d/empty/scene.json +61 -0
  987. karasu-0.0.3/templates/2d/empty/selene.toml +3 -0
  988. karasu-0.0.3/templates/2d/empty/template.json +5 -0
  989. karasu-0.0.3/templates/2d/sideview/__builtins__.pyi +1710 -0
  990. karasu-0.0.3/templates/2d/sideview/assets/meadow.png +0 -0
  991. karasu-0.0.3/templates/2d/sideview/assets/meadow.tsx +19 -0
  992. karasu-0.0.3/templates/2d/sideview/config.json +36 -0
  993. karasu-0.0.3/templates/2d/sideview/karasu.yml +114 -0
  994. karasu-0.0.3/templates/2d/sideview/map.tmx +25 -0
  995. karasu-0.0.3/templates/2d/sideview/preview.png +0 -0
  996. karasu-0.0.3/templates/2d/sideview/scene.json +119 -0
  997. karasu-0.0.3/templates/2d/sideview/scripts/player.luau +13 -0
  998. karasu-0.0.3/templates/2d/sideview/scripts/player.py +18 -0
  999. karasu-0.0.3/templates/2d/sideview/selene.toml +3 -0
  1000. karasu-0.0.3/templates/2d/sideview/template.json +5 -0
  1001. karasu-0.0.3/templates/2d/topdown/__builtins__.pyi +1710 -0
  1002. karasu-0.0.3/templates/2d/topdown/assets/meadow.png +0 -0
  1003. karasu-0.0.3/templates/2d/topdown/assets/meadow.tsx +19 -0
  1004. karasu-0.0.3/templates/2d/topdown/config.json +29 -0
  1005. karasu-0.0.3/templates/2d/topdown/karasu.yml +114 -0
  1006. karasu-0.0.3/templates/2d/topdown/map.tmx +26 -0
  1007. karasu-0.0.3/templates/2d/topdown/preview.png +0 -0
  1008. karasu-0.0.3/templates/2d/topdown/scene.json +119 -0
  1009. karasu-0.0.3/templates/2d/topdown/scripts/player.luau +14 -0
  1010. karasu-0.0.3/templates/2d/topdown/scripts/player.py +20 -0
  1011. karasu-0.0.3/templates/2d/topdown/selene.toml +3 -0
  1012. karasu-0.0.3/templates/2d/topdown/template.json +5 -0
  1013. karasu-0.0.3/templates/2d/ui/__builtins__.pyi +1710 -0
  1014. karasu-0.0.3/templates/2d/ui/config.json +30 -0
  1015. karasu-0.0.3/templates/2d/ui/karasu.yml +114 -0
  1016. karasu-0.0.3/templates/2d/ui/preview.png +0 -0
  1017. karasu-0.0.3/templates/2d/ui/scene.json +251 -0
  1018. karasu-0.0.3/templates/2d/ui/scripts/menu.luau +17 -0
  1019. karasu-0.0.3/templates/2d/ui/scripts/menu.py +18 -0
  1020. karasu-0.0.3/templates/2d/ui/selene.toml +3 -0
  1021. karasu-0.0.3/templates/2d/ui/template.json +5 -0
  1022. karasu-0.0.3/templates/3d/empty/__builtins__.pyi +1764 -0
  1023. karasu-0.0.3/templates/3d/empty/config.json +11 -0
  1024. karasu-0.0.3/templates/3d/empty/karasu.yml +120 -0
  1025. karasu-0.0.3/templates/3d/empty/preview.png +0 -0
  1026. karasu-0.0.3/templates/3d/empty/scene.json +111 -0
  1027. karasu-0.0.3/templates/3d/empty/selene.toml +3 -0
  1028. karasu-0.0.3/templates/3d/empty/template.json +5 -0
  1029. karasu-0.0.3/templates/3d/firstperson/__builtins__.pyi +1764 -0
  1030. karasu-0.0.3/templates/3d/firstperson/config.json +11 -0
  1031. karasu-0.0.3/templates/3d/firstperson/karasu.yml +120 -0
  1032. karasu-0.0.3/templates/3d/firstperson/preview.png +0 -0
  1033. karasu-0.0.3/templates/3d/firstperson/scene.json +464 -0
  1034. karasu-0.0.3/templates/3d/firstperson/scripts/player.luau +16 -0
  1035. karasu-0.0.3/templates/3d/firstperson/scripts/player.py +25 -0
  1036. karasu-0.0.3/templates/3d/firstperson/selene.toml +3 -0
  1037. karasu-0.0.3/templates/3d/firstperson/template.json +5 -0
  1038. karasu-0.0.3/templates/3d/sandbox/__builtins__.pyi +1764 -0
  1039. karasu-0.0.3/templates/3d/sandbox/config.json +11 -0
  1040. karasu-0.0.3/templates/3d/sandbox/karasu.yml +120 -0
  1041. karasu-0.0.3/templates/3d/sandbox/preview.png +0 -0
  1042. karasu-0.0.3/templates/3d/sandbox/scene.json +846 -0
  1043. karasu-0.0.3/templates/3d/sandbox/scripts/thrower.luau +19 -0
  1044. karasu-0.0.3/templates/3d/sandbox/scripts/thrower.py +22 -0
  1045. karasu-0.0.3/templates/3d/sandbox/selene.toml +3 -0
  1046. karasu-0.0.3/templates/3d/sandbox/template.json +5 -0
  1047. karasu-0.0.3/templates/3d/thirdperson/__builtins__.pyi +1764 -0
  1048. karasu-0.0.3/templates/3d/thirdperson/assets/tree.glb +0 -0
  1049. karasu-0.0.3/templates/3d/thirdperson/config.json +11 -0
  1050. karasu-0.0.3/templates/3d/thirdperson/karasu.yml +120 -0
  1051. karasu-0.0.3/templates/3d/thirdperson/preview.png +0 -0
  1052. karasu-0.0.3/templates/3d/thirdperson/scene.json +595 -0
  1053. karasu-0.0.3/templates/3d/thirdperson/scripts/player.luau +24 -0
  1054. karasu-0.0.3/templates/3d/thirdperson/scripts/player.py +38 -0
  1055. karasu-0.0.3/templates/3d/thirdperson/selene.toml +3 -0
  1056. karasu-0.0.3/templates/3d/thirdperson/template.json +5 -0
  1057. karasu-0.0.3/templates/README.md +15 -0
  1058. karasu-0.0.3/third_party/bzip2/LICENSE +42 -0
  1059. karasu-0.0.3/third_party/bzip2/blocksort.c +1094 -0
  1060. karasu-0.0.3/third_party/bzip2/bzlib.c +1572 -0
  1061. karasu-0.0.3/third_party/bzip2/bzlib.h +282 -0
  1062. karasu-0.0.3/third_party/bzip2/bzlib_private.h +509 -0
  1063. karasu-0.0.3/third_party/bzip2/compress.c +672 -0
  1064. karasu-0.0.3/third_party/bzip2/crctable.c +104 -0
  1065. karasu-0.0.3/third_party/bzip2/decompress.c +652 -0
  1066. karasu-0.0.3/third_party/bzip2/huffman.c +205 -0
  1067. karasu-0.0.3/third_party/bzip2/randtable.c +84 -0
  1068. karasu-0.0.3/third_party/fonts/Inter-Medium.otf +0 -0
  1069. karasu-0.0.3/third_party/fonts/Inter-SemiBold.otf +0 -0
  1070. karasu-0.0.3/third_party/fonts/JetBrainsMono-Regular.ttf +0 -0
  1071. karasu-0.0.3/third_party/fonts/KarasuPixel3x5.ttf +0 -0
  1072. karasu-0.0.3/third_party/fonts/KarasuPixel5x7.ttf +0 -0
  1073. karasu-0.0.3/third_party/fonts/LICENSE-inter.txt +94 -0
  1074. karasu-0.0.3/third_party/fonts/LICENSE-jetbrains-mono.txt +93 -0
  1075. karasu-0.0.3/third_party/fonts/LICENSE-karasu-pixel.txt +94 -0
  1076. karasu-0.0.3/third_party/fonts/LICENSE-lucide.txt +15 -0
  1077. karasu-0.0.3/third_party/fonts/LICENSE-noto-emoji.txt +93 -0
  1078. karasu-0.0.3/third_party/fonts/LICENSE-press-start-2p.txt +93 -0
  1079. karasu-0.0.3/third_party/fonts/LICENSE-simple-icons.md +30 -0
  1080. karasu-0.0.3/third_party/fonts/LICENSE-unifont.txt +476 -0
  1081. karasu-0.0.3/third_party/fonts/PressStart2P-Regular.ttf +0 -0
  1082. karasu-0.0.3/third_party/fonts/README.md +13 -0
  1083. karasu-0.0.3/third_party/fonts/brand-icons.ttf +0 -0
  1084. karasu-0.0.3/third_party/fonts/emoji-tags.ttf +0 -0
  1085. karasu-0.0.3/third_party/fonts/lucide.ttf +0 -0
  1086. karasu-0.0.3/third_party/fonts/unifont.otf +0 -0
  1087. karasu-0.0.3/third_party/httplib/LICENSE +22 -0
  1088. karasu-0.0.3/third_party/httplib/httplib.h +10255 -0
  1089. karasu-0.0.3/third_party/imgui/CMakeLists.txt +22 -0
  1090. karasu-0.0.3/third_party/imgui/LICENSE.txt +21 -0
  1091. karasu-0.0.3/third_party/imgui/VERSION.txt +2 -0
  1092. karasu-0.0.3/third_party/imgui/backends/imgui_impl_sdl3.cpp +1317 -0
  1093. karasu-0.0.3/third_party/imgui/backends/imgui_impl_sdl3.h +57 -0
  1094. karasu-0.0.3/third_party/imgui/backends/imgui_impl_sdlgpu3.cpp +787 -0
  1095. karasu-0.0.3/third_party/imgui/backends/imgui_impl_sdlgpu3.h +63 -0
  1096. karasu-0.0.3/third_party/imgui/backends/imgui_impl_sdlgpu3_shaders.h +406 -0
  1097. karasu-0.0.3/third_party/imgui/backends/imgui_impl_sdlrenderer3.cpp +344 -0
  1098. karasu-0.0.3/third_party/imgui/backends/imgui_impl_sdlrenderer3.h +55 -0
  1099. karasu-0.0.3/third_party/imgui/fonts/Roboto-Medium.ttf +0 -0
  1100. karasu-0.0.3/third_party/imgui/imconfig.h +150 -0
  1101. karasu-0.0.3/third_party/imgui/imgui.cpp +24753 -0
  1102. karasu-0.0.3/third_party/imgui/imgui.h +4871 -0
  1103. karasu-0.0.3/third_party/imgui/imgui_draw.cpp +6870 -0
  1104. karasu-0.0.3/third_party/imgui/imgui_internal.h +4560 -0
  1105. karasu-0.0.3/third_party/imgui/imgui_stacklayout.cpp +1132 -0
  1106. karasu-0.0.3/third_party/imgui/imgui_stacklayout.h +38 -0
  1107. karasu-0.0.3/third_party/imgui/imgui_stacklayout_internal.h +30 -0
  1108. karasu-0.0.3/third_party/imgui/imgui_tables.cpp +4915 -0
  1109. karasu-0.0.3/third_party/imgui/imgui_widgets.cpp +11371 -0
  1110. karasu-0.0.3/third_party/imgui/imstb_rectpack.h +627 -0
  1111. karasu-0.0.3/third_party/imgui/imstb_textedit.h +1527 -0
  1112. karasu-0.0.3/third_party/imgui/imstb_truetype.h +5085 -0
  1113. karasu-0.0.3/third_party/imguizmo/ImGuizmo.cpp +3537 -0
  1114. karasu-0.0.3/third_party/imguizmo/ImGuizmo.h +348 -0
  1115. karasu-0.0.3/third_party/imguizmo/LICENSE +21 -0
  1116. karasu-0.0.3/third_party/implot/CMakeLists.txt +7 -0
  1117. karasu-0.0.3/third_party/implot/LICENSE +21 -0
  1118. karasu-0.0.3/third_party/implot/implot.cpp +5930 -0
  1119. karasu-0.0.3/third_party/implot/implot.h +1406 -0
  1120. karasu-0.0.3/third_party/implot/implot_internal.h +1713 -0
  1121. karasu-0.0.3/third_party/implot/implot_items.cpp +3503 -0
  1122. karasu-0.0.3/third_party/luau/Ast/include/Luau/Allocator.h +48 -0
  1123. karasu-0.0.3/third_party/luau/Ast/include/Luau/Ast.h +1792 -0
  1124. karasu-0.0.3/third_party/luau/Ast/include/Luau/Confusables.h +9 -0
  1125. karasu-0.0.3/third_party/luau/Ast/include/Luau/Cst.h +605 -0
  1126. karasu-0.0.3/third_party/luau/Ast/include/Luau/Lexer.h +264 -0
  1127. karasu-0.0.3/third_party/luau/Ast/include/Luau/Location.h +109 -0
  1128. karasu-0.0.3/third_party/luau/Ast/include/Luau/ParseOptions.h +36 -0
  1129. karasu-0.0.3/third_party/luau/Ast/include/Luau/ParseResult.h +90 -0
  1130. karasu-0.0.3/third_party/luau/Ast/include/Luau/Parser.h +599 -0
  1131. karasu-0.0.3/third_party/luau/Ast/include/Luau/PrettyPrinter.h +34 -0
  1132. karasu-0.0.3/third_party/luau/Ast/src/Allocator.cpp +66 -0
  1133. karasu-0.0.3/third_party/luau/Ast/src/Ast.cpp +1506 -0
  1134. karasu-0.0.3/third_party/luau/Ast/src/Confusables.cpp +1824 -0
  1135. karasu-0.0.3/third_party/luau/Ast/src/Cst.cpp +358 -0
  1136. karasu-0.0.3/third_party/luau/Ast/src/Lexer.cpp +1331 -0
  1137. karasu-0.0.3/third_party/luau/Ast/src/Location.cpp +55 -0
  1138. karasu-0.0.3/third_party/luau/Ast/src/Parser.cpp +5546 -0
  1139. karasu-0.0.3/third_party/luau/Ast/src/PrettyPrinter.cpp +2248 -0
  1140. karasu-0.0.3/third_party/luau/Bytecode/include/Luau/BytecodeBuilder.h +402 -0
  1141. karasu-0.0.3/third_party/luau/Bytecode/include/Luau/BytecodeCallInliner.h +838 -0
  1142. karasu-0.0.3/third_party/luau/Bytecode/include/Luau/BytecodeDump.h +311 -0
  1143. karasu-0.0.3/third_party/luau/Bytecode/include/Luau/BytecodeGraph.h +746 -0
  1144. karasu-0.0.3/third_party/luau/Bytecode/include/Luau/BytecodeOps.h +346 -0
  1145. karasu-0.0.3/third_party/luau/Bytecode/include/Luau/BytecodeValidation.h +69 -0
  1146. karasu-0.0.3/third_party/luau/Bytecode/include/Luau/Sccp.h +988 -0
  1147. karasu-0.0.3/third_party/luau/Bytecode/src/BytecodeBuilder.cpp +3419 -0
  1148. karasu-0.0.3/third_party/luau/Bytecode/src/BytecodeDump.cpp +396 -0
  1149. karasu-0.0.3/third_party/luau/Bytecode/src/BytecodeGraph.cpp +433 -0
  1150. karasu-0.0.3/third_party/luau/Bytecode/src/BytecodeGraphParser.h +1078 -0
  1151. karasu-0.0.3/third_party/luau/Bytecode/src/BytecodeGraphSerializer.h +736 -0
  1152. karasu-0.0.3/third_party/luau/Bytecode/src/Sccp.cpp +433 -0
  1153. karasu-0.0.3/third_party/luau/CMakeLists.txt +22 -0
  1154. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/AddressA64.h +59 -0
  1155. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/AssemblyBuilderA64.h +344 -0
  1156. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/AssemblyBuilderX64.h +341 -0
  1157. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/BytecodeAnalysis.h +23 -0
  1158. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/BytecodeSummary.h +83 -0
  1159. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/CodeAllocationData.h +24 -0
  1160. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/CodeAllocator.h +74 -0
  1161. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/CodeBlockUnwind.h +19 -0
  1162. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/CodeGen.h +152 -0
  1163. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/CodeGenCommon.h +28 -0
  1164. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/CodeGenOptions.h +201 -0
  1165. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/ConditionA64.h +95 -0
  1166. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/ConditionX64.h +164 -0
  1167. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/IrAnalysis.h +195 -0
  1168. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/IrBuilder.h +141 -0
  1169. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/IrCallWrapperX64.h +94 -0
  1170. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/IrData.h +1765 -0
  1171. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/IrDump.h +68 -0
  1172. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/IrRegAllocX64.h +156 -0
  1173. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/IrUtils.h +287 -0
  1174. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/IrVisitUseDef.h +258 -0
  1175. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/Label.h +18 -0
  1176. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/LogBuilder.h +55 -0
  1177. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/LoweringStats.h +103 -0
  1178. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/NativeProtoExecData.h +60 -0
  1179. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/OperandX64.h +145 -0
  1180. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/OptimizeConstProp.h +17 -0
  1181. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/OptimizeDeadStore.h +16 -0
  1182. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/OptimizeFinalX64.h +14 -0
  1183. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/RegisterA64.h +221 -0
  1184. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/RegisterX64.h +152 -0
  1185. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/SharedCodeAllocator.h +184 -0
  1186. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/UnwindBuilder.h +67 -0
  1187. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/UnwindBuilderDwarf2.h +59 -0
  1188. karasu-0.0.3/third_party/luau/CodeGen/include/Luau/UnwindBuilderWin.h +83 -0
  1189. karasu-0.0.3/third_party/luau/CodeGen/include/luacodegen.h +18 -0
  1190. karasu-0.0.3/third_party/luau/CodeGen/src/AssemblyBuilderA64.cpp +2086 -0
  1191. karasu-0.0.3/third_party/luau/CodeGen/src/AssemblyBuilderX64.cpp +1934 -0
  1192. karasu-0.0.3/third_party/luau/CodeGen/src/BitUtils.h +107 -0
  1193. karasu-0.0.3/third_party/luau/CodeGen/src/ByteUtils.h +90 -0
  1194. karasu-0.0.3/third_party/luau/CodeGen/src/BytecodeAnalysis.cpp +1520 -0
  1195. karasu-0.0.3/third_party/luau/CodeGen/src/BytecodeSummary.cpp +76 -0
  1196. karasu-0.0.3/third_party/luau/CodeGen/src/CodeAllocator.cpp +359 -0
  1197. karasu-0.0.3/third_party/luau/CodeGen/src/CodeBlockUnwind.cpp +195 -0
  1198. karasu-0.0.3/third_party/luau/CodeGen/src/CodeGen.cpp +241 -0
  1199. karasu-0.0.3/third_party/luau/CodeGen/src/CodeGenA64.cpp +378 -0
  1200. karasu-0.0.3/third_party/luau/CodeGen/src/CodeGenA64.h +23 -0
  1201. karasu-0.0.3/third_party/luau/CodeGen/src/CodeGenAssembly.cpp +421 -0
  1202. karasu-0.0.3/third_party/luau/CodeGen/src/CodeGenContext.cpp +773 -0
  1203. karasu-0.0.3/third_party/luau/CodeGen/src/CodeGenContext.h +122 -0
  1204. karasu-0.0.3/third_party/luau/CodeGen/src/CodeGenLower.h +449 -0
  1205. karasu-0.0.3/third_party/luau/CodeGen/src/CodeGenUtils.cpp +967 -0
  1206. karasu-0.0.3/third_party/luau/CodeGen/src/CodeGenUtils.h +44 -0
  1207. karasu-0.0.3/third_party/luau/CodeGen/src/CodeGenX64.cpp +258 -0
  1208. karasu-0.0.3/third_party/luau/CodeGen/src/CodeGenX64.h +23 -0
  1209. karasu-0.0.3/third_party/luau/CodeGen/src/EmitBuiltinsX64.cpp +75 -0
  1210. karasu-0.0.3/third_party/luau/CodeGen/src/EmitBuiltinsX64.h +23 -0
  1211. karasu-0.0.3/third_party/luau/CodeGen/src/EmitCommon.h +40 -0
  1212. karasu-0.0.3/third_party/luau/CodeGen/src/EmitCommonA64.h +58 -0
  1213. karasu-0.0.3/third_party/luau/CodeGen/src/EmitCommonX64.cpp +575 -0
  1214. karasu-0.0.3/third_party/luau/CodeGen/src/EmitCommonX64.h +236 -0
  1215. karasu-0.0.3/third_party/luau/CodeGen/src/EmitInstructionX64.cpp +437 -0
  1216. karasu-0.0.3/third_party/luau/CodeGen/src/EmitInstructionX64.h +27 -0
  1217. karasu-0.0.3/third_party/luau/CodeGen/src/IrAnalysis.cpp +928 -0
  1218. karasu-0.0.3/third_party/luau/CodeGen/src/IrBuilder.cpp +1054 -0
  1219. karasu-0.0.3/third_party/luau/CodeGen/src/IrCallWrapperX64.cpp +484 -0
  1220. karasu-0.0.3/third_party/luau/CodeGen/src/IrDump.cpp +1405 -0
  1221. karasu-0.0.3/third_party/luau/CodeGen/src/IrLoweringA64.cpp +4454 -0
  1222. karasu-0.0.3/third_party/luau/CodeGen/src/IrLoweringA64.h +112 -0
  1223. karasu-0.0.3/third_party/luau/CodeGen/src/IrLoweringX64.cpp +4201 -0
  1224. karasu-0.0.3/third_party/luau/CodeGen/src/IrLoweringX64.h +117 -0
  1225. karasu-0.0.3/third_party/luau/CodeGen/src/IrRegAllocA64.cpp +752 -0
  1226. karasu-0.0.3/third_party/luau/CodeGen/src/IrRegAllocA64.h +135 -0
  1227. karasu-0.0.3/third_party/luau/CodeGen/src/IrRegAllocX64.cpp +797 -0
  1228. karasu-0.0.3/third_party/luau/CodeGen/src/IrTranslateBuiltins.cpp +2382 -0
  1229. karasu-0.0.3/third_party/luau/CodeGen/src/IrTranslateBuiltins.h +39 -0
  1230. karasu-0.0.3/third_party/luau/CodeGen/src/IrTranslation.cpp +2228 -0
  1231. karasu-0.0.3/third_party/luau/CodeGen/src/IrTranslation.h +90 -0
  1232. karasu-0.0.3/third_party/luau/CodeGen/src/IrUtils.cpp +1977 -0
  1233. karasu-0.0.3/third_party/luau/CodeGen/src/IrValueLocationTracking.cpp +458 -0
  1234. karasu-0.0.3/third_party/luau/CodeGen/src/IrValueLocationTracking.h +49 -0
  1235. karasu-0.0.3/third_party/luau/CodeGen/src/NativeProtoExecData.cpp +50 -0
  1236. karasu-0.0.3/third_party/luau/CodeGen/src/NativeState.cpp +114 -0
  1237. karasu-0.0.3/third_party/luau/CodeGen/src/NativeState.h +125 -0
  1238. karasu-0.0.3/third_party/luau/CodeGen/src/OptimizeConstProp.cpp +3863 -0
  1239. karasu-0.0.3/third_party/luau/CodeGen/src/OptimizeDeadStore.cpp +1706 -0
  1240. karasu-0.0.3/third_party/luau/CodeGen/src/OptimizeFinalX64.cpp +148 -0
  1241. karasu-0.0.3/third_party/luau/CodeGen/src/SharedCodeAllocator.cpp +315 -0
  1242. karasu-0.0.3/third_party/luau/CodeGen/src/UnwindBuilderDwarf2.cpp +320 -0
  1243. karasu-0.0.3/third_party/luau/CodeGen/src/UnwindBuilderWin.cpp +234 -0
  1244. karasu-0.0.3/third_party/luau/CodeGen/src/lcodegen.cpp +22 -0
  1245. karasu-0.0.3/third_party/luau/Common/include/Luau/Bytecode.h +786 -0
  1246. karasu-0.0.3/third_party/luau/Common/include/Luau/BytecodeUtils.h +156 -0
  1247. karasu-0.0.3/third_party/luau/Common/include/Luau/BytecodeWire.h +24 -0
  1248. karasu-0.0.3/third_party/luau/Common/include/Luau/Common.h +184 -0
  1249. karasu-0.0.3/third_party/luau/Common/include/Luau/DenseHash.h +942 -0
  1250. karasu-0.0.3/third_party/luau/Common/include/Luau/ExperimentalFlags.h +32 -0
  1251. karasu-0.0.3/third_party/luau/Common/include/Luau/HashUtil.h +62 -0
  1252. karasu-0.0.3/third_party/luau/Common/include/Luau/InsertionOrderedMap.h +147 -0
  1253. karasu-0.0.3/third_party/luau/Common/include/Luau/ScopedSeenSet.h +29 -0
  1254. karasu-0.0.3/third_party/luau/Common/include/Luau/SmallVector.h +322 -0
  1255. karasu-0.0.3/third_party/luau/Common/include/Luau/StringUtils.h +39 -0
  1256. karasu-0.0.3/third_party/luau/Common/include/Luau/TimeTrace.h +240 -0
  1257. karasu-0.0.3/third_party/luau/Common/include/Luau/Variant.h +304 -0
  1258. karasu-0.0.3/third_party/luau/Common/include/Luau/VecDeque.h +501 -0
  1259. karasu-0.0.3/third_party/luau/Common/src/BytecodeWire.cpp +31 -0
  1260. karasu-0.0.3/third_party/luau/Common/src/StringUtils.cpp +315 -0
  1261. karasu-0.0.3/third_party/luau/Common/src/TimeTrace.cpp +278 -0
  1262. karasu-0.0.3/third_party/luau/Compiler/include/Luau/Compiler.h +115 -0
  1263. karasu-0.0.3/third_party/luau/Compiler/include/luacode.h +85 -0
  1264. karasu-0.0.3/third_party/luau/Compiler/src/BuiltinFolding.cpp +692 -0
  1265. karasu-0.0.3/third_party/luau/Compiler/src/BuiltinFolding.h +18 -0
  1266. karasu-0.0.3/third_party/luau/Compiler/src/Builtins.cpp +739 -0
  1267. karasu-0.0.3/third_party/luau/Compiler/src/Builtins.h +66 -0
  1268. karasu-0.0.3/third_party/luau/Compiler/src/Compiler.cpp +5904 -0
  1269. karasu-0.0.3/third_party/luau/Compiler/src/ConstantFolding.cpp +1353 -0
  1270. karasu-0.0.3/third_party/luau/Compiler/src/ConstantFolding.h +101 -0
  1271. karasu-0.0.3/third_party/luau/Compiler/src/CostModel.cpp +481 -0
  1272. karasu-0.0.3/third_party/luau/Compiler/src/CostModel.h +32 -0
  1273. karasu-0.0.3/third_party/luau/Compiler/src/TableShape.cpp +155 -0
  1274. karasu-0.0.3/third_party/luau/Compiler/src/TableShape.h +21 -0
  1275. karasu-0.0.3/third_party/luau/Compiler/src/Types.cpp +968 -0
  1276. karasu-0.0.3/third_party/luau/Compiler/src/Types.h +47 -0
  1277. karasu-0.0.3/third_party/luau/Compiler/src/Utils.h +77 -0
  1278. karasu-0.0.3/third_party/luau/Compiler/src/ValueTracking.cpp +201 -0
  1279. karasu-0.0.3/third_party/luau/Compiler/src/ValueTracking.h +57 -0
  1280. karasu-0.0.3/third_party/luau/Compiler/src/lcode.cpp +65 -0
  1281. karasu-0.0.3/third_party/luau/LICENSE +23 -0
  1282. karasu-0.0.3/third_party/luau/VERSION.txt +1 -0
  1283. karasu-0.0.3/third_party/luau/VM/include/lua.h +669 -0
  1284. karasu-0.0.3/third_party/luau/VM/include/luaconf.h +150 -0
  1285. karasu-0.0.3/third_party/luau/VM/include/lualib.h +162 -0
  1286. karasu-0.0.3/third_party/luau/VM/src/lapi.cpp +2261 -0
  1287. karasu-0.0.3/third_party/luau/VM/src/lapi.h +10 -0
  1288. karasu-0.0.3/third_party/luau/VM/src/laux.cpp +676 -0
  1289. karasu-0.0.3/third_party/luau/VM/src/lbaselib.cpp +490 -0
  1290. karasu-0.0.3/third_party/luau/VM/src/lbitlib.cpp +246 -0
  1291. karasu-0.0.3/third_party/luau/VM/src/lbuffer.cpp +33 -0
  1292. karasu-0.0.3/third_party/luau/VM/src/lbuffer.h +13 -0
  1293. karasu-0.0.3/third_party/luau/VM/src/lbuflib.cpp +441 -0
  1294. karasu-0.0.3/third_party/luau/VM/src/lbuiltins.cpp +2787 -0
  1295. karasu-0.0.3/third_party/luau/VM/src/lbuiltins.h +13 -0
  1296. karasu-0.0.3/third_party/luau/VM/src/lbytecode.h +8 -0
  1297. karasu-0.0.3/third_party/luau/VM/src/lclass.cpp +502 -0
  1298. karasu-0.0.3/third_party/luau/VM/src/lclass.h +70 -0
  1299. karasu-0.0.3/third_party/luau/VM/src/lclasslib.cpp +67 -0
  1300. karasu-0.0.3/third_party/luau/VM/src/lcommon.h +46 -0
  1301. karasu-0.0.3/third_party/luau/VM/src/lcorolib.cpp +509 -0
  1302. karasu-0.0.3/third_party/luau/VM/src/ldblib.cpp +144 -0
  1303. karasu-0.0.3/third_party/luau/VM/src/ldebug.cpp +704 -0
  1304. karasu-0.0.3/third_party/luau/VM/src/ldebug.h +35 -0
  1305. karasu-0.0.3/third_party/luau/VM/src/ldo.cpp +933 -0
  1306. karasu-0.0.3/third_party/luau/VM/src/ldo.h +83 -0
  1307. karasu-0.0.3/third_party/luau/VM/src/lfunc.cpp +255 -0
  1308. karasu-0.0.3/third_party/luau/VM/src/lfunc.h +34 -0
  1309. karasu-0.0.3/third_party/luau/VM/src/lgc.cpp +1556 -0
  1310. karasu-0.0.3/third_party/luau/VM/src/lgc.h +150 -0
  1311. karasu-0.0.3/third_party/luau/VM/src/lgcdebug.cpp +1197 -0
  1312. karasu-0.0.3/third_party/luau/VM/src/linit.cpp +146 -0
  1313. karasu-0.0.3/third_party/luau/VM/src/lintlib.cpp +614 -0
  1314. karasu-0.0.3/third_party/luau/VM/src/lmathlib.cpp +543 -0
  1315. karasu-0.0.3/third_party/luau/VM/src/lmem.cpp +936 -0
  1316. karasu-0.0.3/third_party/luau/VM/src/lmem.h +44 -0
  1317. karasu-0.0.3/third_party/luau/VM/src/lnumprint.cpp +393 -0
  1318. karasu-0.0.3/third_party/luau/VM/src/lnumutils.h +134 -0
  1319. karasu-0.0.3/third_party/luau/VM/src/lobject.cpp +193 -0
  1320. karasu-0.0.3/third_party/luau/VM/src/lobject.h +651 -0
  1321. karasu-0.0.3/third_party/luau/VM/src/loslib.cpp +225 -0
  1322. karasu-0.0.3/third_party/luau/VM/src/lperf.cpp +70 -0
  1323. karasu-0.0.3/third_party/luau/VM/src/lstate.cpp +394 -0
  1324. karasu-0.0.3/third_party/luau/VM/src/lstate.h +360 -0
  1325. karasu-0.0.3/third_party/luau/VM/src/lstring.cpp +193 -0
  1326. karasu-0.0.3/third_party/luau/VM/src/lstring.h +35 -0
  1327. karasu-0.0.3/third_party/luau/VM/src/lstrlib.cpp +1767 -0
  1328. karasu-0.0.3/third_party/luau/VM/src/ltable.cpp +1664 -0
  1329. karasu-0.0.3/third_party/luau/VM/src/ltable.h +39 -0
  1330. karasu-0.0.3/third_party/luau/VM/src/ltablib.cpp +703 -0
  1331. karasu-0.0.3/third_party/luau/VM/src/ltm.cpp +188 -0
  1332. karasu-0.0.3/third_party/luau/VM/src/ltm.h +63 -0
  1333. karasu-0.0.3/third_party/luau/VM/src/ludata.cpp +38 -0
  1334. karasu-0.0.3/third_party/luau/VM/src/ludata.h +20 -0
  1335. karasu-0.0.3/third_party/luau/VM/src/lutf8lib.cpp +296 -0
  1336. karasu-0.0.3/third_party/luau/VM/src/lveclib.cpp +357 -0
  1337. karasu-0.0.3/third_party/luau/VM/src/lvector.cpp +21 -0
  1338. karasu-0.0.3/third_party/luau/VM/src/lvector.h +9 -0
  1339. karasu-0.0.3/third_party/luau/VM/src/lvm.h +40 -0
  1340. karasu-0.0.3/third_party/luau/VM/src/lvmexecute.cpp +4003 -0
  1341. karasu-0.0.3/third_party/luau/VM/src/lvmload.cpp +875 -0
  1342. karasu-0.0.3/third_party/luau/VM/src/lvmutils.cpp +837 -0
  1343. karasu-0.0.3/third_party/miniz/LICENSE +22 -0
  1344. karasu-0.0.3/third_party/miniz/miniz.c +7833 -0
  1345. karasu-0.0.3/third_party/miniz/miniz.h +1422 -0
  1346. karasu-0.0.3/tools/.gitignore +2 -0
  1347. karasu-0.0.3/tools/cdp.py +193 -0
  1348. karasu-0.0.3/tools/check_libs.py +727 -0
  1349. karasu-0.0.3/tools/check_require.py +282 -0
  1350. karasu-0.0.3/tools/check_tmx_roundtrip.py +16 -0
  1351. karasu-0.0.3/tools/compile_shaders.py +94 -0
  1352. karasu-0.0.3/tools/docs_shots.py +202 -0
  1353. karasu-0.0.3/tools/golden_frames.py +165 -0
  1354. karasu-0.0.3/tools/make_maps.py +75 -0
  1355. karasu-0.0.3/tools/make_pixel_fonts.py +577 -0
  1356. karasu-0.0.3/tools/make_tilesets.py +85 -0
  1357. karasu-0.0.3/tools/ml_versions.py +315 -0
  1358. karasu-0.0.3/tools/sync_skills.py +192 -0
  1359. karasu-0.0.3/tools/throughput.py +234 -0
  1360. karasu-0.0.3/tools/web_smoke.py +629 -0
  1361. karasu-0.0.3/types/2d/__builtins__.pyi +1710 -0
  1362. karasu-0.0.3/types/2d/walkenv.d.luau +3751 -0
  1363. karasu-0.0.3/types/3d/__builtins__.pyi +1764 -0
  1364. karasu-0.0.3/types/3d/walkenv.d.luau +3785 -0
  1365. karasu-0.0.3/watch_build.py +292 -0
@@ -0,0 +1,3 @@
1
+ build/
2
+ build-web/
3
+ __pycache__/
@@ -0,0 +1,495 @@
1
+ # 3D plan (v1, 2026-10-11): implemented
2
+
3
+ > **Status: built.** All phases (0–5) are in. The plan below is kept as written; where the code
4
+ > differs, it says so here.
5
+ >
6
+ > **Checked (macOS / Metal):**
7
+ > - **2D unchanged:** every 2D game renders byte-identical frames to the SDL2 build, except
8
+ > ui_demo's gradients (±1 colour level: SDL3 interpolates vertex colours in float). The baseline was
9
+ > built from the previous commit plus the FollowsParent change made alongside.
10
+ > - **Separation:** `walkenv_run` contains no Jolt / cgltf / Recast / 3D-module symbols and
11
+ > `walkenv_run3d` no Box2D / Tiled / 2D-module symbols. `cmake/check_runner.cmake` checks both on
12
+ > every Release build, and sizes against `cmake/runner_sizes.cmake`. `walkenv_tools --check-shared`
13
+ > checks that shared classes have no dimension-specific property.
14
+ > - **Determinism:** the same 3D run twice gives byte-identical frames (240 steps, Jolt with
15
+ > balls and an agent).
16
+ > - **Templates:** all 8 (2D and 3D) were created in both Luau and Python and run without script
17
+ > errors; their previews are frames from those runs.
18
+ > - **Runtimes:** `walkenv3d` returns rgb, depth, segmentation and walkable (~850 steps/s at
19
+ > 160×120, rendering every step); the 3D MCP tools were exercised over HTTP; the editor's 3D
20
+ > viewport, gizmos, picking and Play were checked on screenshots; the docs site's 2D / 3D toggle in
21
+ > a browser.
22
+ > - **Not checked here:** Windows (Direct3D 12 / Vulkan) and Linux (Vulkan) builds and GPUs: only
23
+ > macOS was available.
24
+ >
25
+ > **Where the code differs from the plan:**
26
+ > - **Shaders:** GLSL, compiled to SPIR-V + MSL by glslang and SPIRV-Cross
27
+ > (`tools/compile_shaders.py`), not HLSL with SDL_shadercross. So the GPU device asks for SPIR-V or
28
+ > MSL: Windows uses Vulkan rather than Direct3D 12.
29
+ > - **Static vs moving parts:** a part is static unless it has a `RigidBody` (Dynamic / Kinematic /
30
+ > Static), as in 2D; there is no `Anchored`.
31
+ > - **Workspace:** the shared base class is `WorldRoot` (Roblox's name, holds `CurrentCamera`); each
32
+ > dimension's `Workspace` adds its Gravity (Vector2 / Vector3). `CurrentCamera` is a dimension-free
33
+ > object pointer.
34
+ > - **SpriteAnimator is shared** (it animates UI images in both dimensions), not 2D-only.
35
+ > - **WorldGui in 3D:** billboards only; surface UI (on a part's face) is not built.
36
+ > - **ScreenGui RenderMode World** in 3D draws under the overlay UI but over the 3D scene, not behind it.
37
+ > - **Lights** are components on a part; there is no `Attachment` yet.
38
+ > - **Runner size:** `walkenv_run` is 8.0 MB against 7.2 MB with SDL2. The difference is SDL3
39
+ > itself (mostly its GPU subsystem, which 2D doesn't use but can't be dropped from one shared SDL
40
+ > build), not 3D code. Unused SDL subsystems (audio, camera, haptics, joysticks, sensors, dialogs,
41
+ > power, tray, GL ES) are switched off.
42
+ > - **libpng:** SDL3_image now uses SDL's own PNG code instead of finding Homebrew's libpng, which
43
+ > would have made builds depend on it.
44
+ > - **Editor:** ImGui draws through SDL's GPU renderer (same device as the 3D viewport); without a
45
+ > usable GPU it falls back to the default renderer and only 2D works.
46
+ > - **Python:** `Enum` is built per session (a 2D and a 3D project in one editor differ).
47
+ > - **Rename:** settings, API keys and the Documents stats folder of NeuralEngine2D are found and
48
+ > kept (copied to the new settings folder; the old stats folder keeps being used when it exists).
49
+ > The Discord application's own name is set on Discord's side.
50
+
51
+ ## 1. Goals and non-goals
52
+
53
+ **Goals**
54
+ - 3D games built in the same editor, with the same scripting (Luau + Python), UI, input, LLM,
55
+ stats, tags and MCP tools as 2D. A 3D game should feel like the same engine.
56
+ - **2D stays exactly as light and fast as it is.** A 2D project, its runner, its export and its
57
+ Python module contain no 3D code and no 3D libraries. §2 explains how; §11 explains how it is checked.
58
+ - Useful for agent research from the start:
59
+ - first-person and third-person observations;
60
+ - depth and per-object segmentation from the same render;
61
+ - deterministic physics;
62
+ - a `walkenv3d` Python environment shaped like `walkenv`.
63
+ - Roblox-style API, as with the UI: `Vector3`, `CFrame`, `Part`, `MeshPart`, `Model`, `Lighting`,
64
+ `Workspace:Raycast`.
65
+
66
+ **Non-goals (v1)**
67
+ - Not a AAA renderer. No global illumination, no deferred pipeline, no full physically based
68
+ materials at first (§5 has the feature list).
69
+ - No skeletal animation, terrain, particles or spatial audio in v1 (see §12, "Later").
70
+ - A project can't mix 2D maps and 3D worlds. A project is one or the other (§2.1). Screen UI works
71
+ in both.
72
+
73
+ ## 2. Keeping 2D and 3D separate
74
+
75
+ ### 2.1 A project is 2D or 3D
76
+ - `config.json` gets `"dimension": "2d" | "3d"`, default `"2d"`, so every existing game is
77
+ unchanged.
78
+ - The Project Hub's **New Project** picks 2D or 3D, with a template for each. The dimension is fixed
79
+ when the project is created. There's no converting between them, since a 2D level has no
80
+ meaningful 3D form.
81
+
82
+ ### 2.2 Three libraries instead of one
83
+ Today everything is one object library, `walkenv_core`, and 2D is wired through it:
84
+ - `GameInstance` holds a `Vec2` position.
85
+ - `Session` owns `World` (the 2D maps) and `RigidBodyWorld` (Box2D).
86
+ - `reflection::allClasses()` is one hand-written list.
87
+
88
+ The split:
89
+
90
+ | Library | Contains | Depends on |
91
+ |---|---|---|
92
+ | `walkenv_core` | GameObject, reflection, scene IO, Luau + Python runtimes, input, actions, UI (ScreenGui), LLM, stats, tags, attributes, components base, the session loop | SDL3, json, Luau |
93
+ | `walkenv_2d` | Vec2 instances (Agent, Camera, Image, Box, Circle, 2DMap), Tiled, Box2D physics, the 2D renderer and capture, the walkability mask | core, Box2D, tinyxml2 |
94
+ | `walkenv_3d` | Vector3 / CFrame, Part / MeshPart / Model, Lighting, the GPU renderer, glTF, Jolt physics, navmesh, depth + segmentation capture | core, Jolt, cgltf, Recast |
95
+
96
+ `walkenv_core` talks to whichever library is linked through **one interface**, the dimension
97
+ module:
98
+
99
+ ```cpp
100
+ struct DimensionModule { // engine/dimension.h
101
+ const char* name; // "2d" | "3d"
102
+ std::vector<const ClassInfo*> classes; // its classes, enums and datatypes for the registry
103
+ void (*bindLuau)(lua_State*); // Vector3, CFrame, Raycast…
104
+ void (*bindPython)(PyObject* module);
105
+ std::unique_ptr<WorldSystem> (*createWorld)(Session&); // maps / physics / rendering / capture / picking
106
+ };
107
+ ```
108
+
109
+ - `Session` holds a `WorldSystem` instead of `World` + `RigidBodyWorld`. Its methods: refresh,
110
+ physics step, render, capture, raycast, picking.
111
+ - Modules register themselves the way games do now (`REGISTER_GAME` statics, which is why core is an
112
+ OBJECT library). A runner that doesn't link `walkenv_3d` has no 3D at all.
113
+ - **The class registry is per dimension.** `reflection::classes(dimension)` replaces the single
114
+ list, which lets the same name mean the right thing in each dimension:
115
+ - `Camera`, `Agent` and the `RigidBody` component exist in both.
116
+ - In 3D, `Camera` has a `CFrame` and `FieldOfView`.
117
+ - Scripts like `workspace.CurrentCamera` and `obj:AddComponent("RigidBody")` move between
118
+ dimensions unchanged.
119
+ - The editor links both registries and uses the one matching the open project.
120
+
121
+ ### 2.3 Binaries
122
+ | Binary | 2D | 3D |
123
+ |---|---|---|
124
+ | Runner, Luau only | `walkenv_run` (as today) | `walkenv_run3d` |
125
+ | Runner + Python scripts | `walkenv_run_py` (as today) | `walkenv_run3d_py` |
126
+ | Python training module | `walkenv` (as today) | `walkenv3d` |
127
+ | Editor | `walkenv_editor`: links both, shows only the project's dimension | |
128
+
129
+ - Export (`editor/build.cpp`) already picks between `walkenv_run` and `walkenv_run_py`. The choice
130
+ becomes dimension × Python.
131
+ - 3D export also copies glTF models and textures. Compiled shaders are embedded in the runner (§5.2).
132
+ - CMake option `WALKENV_3D` (default ON) lets someone build without 3D entirely.
133
+
134
+ ### 2.4 The editor and docs only show the project's dimension
135
+ - Insert menu, Properties widgets, viewport tools and the Assets panel come from the project's
136
+ registry. A 2D project never shows Part or Lighting.
137
+ - **Generated types:** the API dump tags every class and datatype with its module. The build writes
138
+ `types/walkenv2d.d.luau` / `walkenv3d.d.luau` (and the `.pyi`); the editor and VS Code extension
139
+ install the one matching the project, so 2D autocomplete never suggests `Vector3`.
140
+ - **Docs site:** a 2D / 3D filter; see §2.8.
141
+
142
+ ### 2.5 Shared vs. per-dimension
143
+
144
+ | Shared (core) | Per dimension |
145
+ |---|---|
146
+ | Scripts, components, attributes, tags, Input / actions, VirtualInput | Instances with a position (Vec2 vs CFrame) |
147
+ | ScreenGui UI, fonts, EditableImage | WorldGui: on a 2D object vs. a billboard / surface in 3D (§5.5) |
148
+ | LLM, Stats, Storage, services | Physics (Box2D vs Jolt), raycasts |
149
+ | Session loop, run presets, seeds | Rendering and capture (SDL_Renderer vs SDL_GPU) |
150
+ | MCP server, screenshots, `click_ui` | Editor viewport tools |
151
+ | | Project settings: tile size, top-down / side-view (2D) vs. fog, shadows, gravity vector (3D) |
152
+
153
+ ### 2.6 A 2D project only shows 2D properties
154
+ Other engines show a Z axis on a 2D camera because one class serves both dimensions. Here each
155
+ dimension **defines its own classes**, so a 2D property list is written for 2D from the start:
156
+
157
+ | | 2D `Camera` | 3D `Camera` |
158
+ |---|---|---|
159
+ | Position | `Position`: Vector2 | `CFrame`: position + rotation |
160
+ | Rotation | `Rotation`: one number, in degrees | inside the CFrame |
161
+ | Lens | `Zoom` | `FieldOfView`, `Near`, `Far` |
162
+
163
+ - **The Properties panel already draws whatever the class defines** (reflection). With the 2D
164
+ registry loaded, a Z field has nowhere to come from.
165
+ - **The scripting runtime only has the active dimension's types.** In a 2D project `Vector3`,
166
+ `CFrame` and `Workspace:Raycast(…3D…)` don't exist. Autocomplete uses the matching type file
167
+ (§2.4), so they aren't suggested either.
168
+ - **Project Settings:** the 2D panel has tile size and top-down / side-view; the 3D panel has
169
+ Lighting defaults, gravity vector and shadow quality.
170
+ - **The rule that keeps it true:** a shared class (Folder, Script, ScreenGui, Frame, components)
171
+ may not have a property that only makes sense in one dimension. Screen UI's `Vector2` and `UDim2`
172
+ are screen pixels, which mean the same thing in both, so they stay. Anything that does differ
173
+ becomes one class per dimension:
174
+ - `WorldGui` (follows a 2D object with a Vector2 offset, vs. a 3D billboard or surface).
175
+ - `RigidBody`, `Camera` and `Agent`.
176
+ - **A test enforces it:** it walks every class in `walkenv_core` and fails if any property is a
177
+ Vector3 / CFrame, or a Vector2 that means a world position.
178
+
179
+ ### 2.7 Rename: Neural Engine
180
+ - **What changes:** every user-facing name goes from Neural Engine to **Neural Engine**:
181
+ - window titles, the About box, app bundle and `.exe` names, icons' alt text;
182
+ - the docs site, README, the VS Code extension's display name, exported-game credits, Discord
183
+ presence, LLM prompts that name the engine.
184
+ - **The VS Code extension gets a new id** (`neuralengine`). When the editor installs it, it removes
185
+ the old `neuralengine` extension so they don't both run.
186
+ - **Internal names stay** (`walkenv_*` targets, the `walkenv` Python module, `WALKENV_*` macros).
187
+ Renaming them churns every file and breaks training scripts for no user-facing gain.
188
+ - **Old project files keep working.** Nothing in `config.json` or `scene.json` holds the name.
189
+
190
+ ### 2.8 Docs: filtering by 2D / 3D
191
+ `Camera`, `Agent`, `RigidBody` and `WorldGui` exist twice with different members, so the docs
192
+ treat the dimension as part of an entry's identity, not just a label.
193
+
194
+ - **API data:**
195
+ - Every class, datatype, enum and global in `api.json` gets `"dimension": "2d" | "3d" | "shared"`.
196
+ - Entries are keyed by (dimension, name), so the two Cameras are two entries.
197
+ - The build dumps the API from both runners (`walkenv_run` gives 2D + shared, `walkenv_run3d` gives
198
+ 3D + shared) and merges them into one `api.json`.
199
+ - **A 2D / 3D toggle in the header,** next to the existing Luau / Python toggle (same segmented
200
+ control):
201
+ - It filters the sidebar, the API overview, the class tree and search to that dimension plus
202
+ shared entries.
203
+ - It's remembered between visits; the default is 2D.
204
+ - **URLs carry the dimension, so a shared link opens the right page:**
205
+ - `#/2d/api/class/Camera` vs. `#/3d/api/class/Camera`.
206
+ - Shared entries work under either prefix.
207
+ - Today's URLs (`#/api/class/Camera`) keep working: they open in the toggle's dimension.
208
+ - **Pages:**
209
+ - Shared entries carry a small "2D & 3D" badge; dimension-only entries a "2D" or "3D" badge.
210
+ - A class that exists in both shows a switch at the top ("This is the 2D Camera · 3D version →")
211
+ that keeps the scroll position on a member with the same name.
212
+ - Inherited members and type links follow the page's dimension: the 2D Camera's `Position` links
213
+ to `Vector2`, the 3D one's `CFrame` to `CFrame`.
214
+ - **Guides:**
215
+ - Each guide is tagged 2D, 3D or both. Tile maps is 2D only; UI and Scripting are both.
216
+ - The guide list filters with the toggle.
217
+ - Code samples that differ by dimension have one version per dimension and switch with the
218
+ toggle, the way they already switch with the language toggle (each sample is keyed by language
219
+ and dimension).
220
+ - **Search:** results outside the selected dimension are hidden. If the only matches are in the
221
+ other dimension, a line says so ("2 results in 3D") with a link that switches.
222
+ - **From the editor and VS Code:** "Open docs" links (hover, Properties, the Help menu) include the
223
+ project's dimension, so a 2D project never lands on a 3D page.
224
+ - **Check:** a docs test fails if two entries share a name and dimension, or if a
225
+ dimension-specific page links to a type that doesn't exist in its dimension.
226
+
227
+ ## 3. Prerequisite: SDL2 → SDL3 (helps 2D too)
228
+ 3D needs a modern GPU API. SDL3's **SDL_GPU** covers Vulkan, Metal and Direct3D 12 from one
229
+ codebase, so there are no separate OpenGL / Metal / Vulkan backends to write.
230
+
231
+ **SDL 3.4 adds `SDL_CreateGPURenderer`.** The 2D `SDL_Renderer` can then run on the same GPU device
232
+ as the 3D renderer ([wiki](https://wiki.libsdl.org/SDL3/SDL_CreateGPURenderer),
233
+ [device](https://wiki.libsdl.org/SDL3/SDL_GetGPURendererDevice)). That means:
234
+ - **UI code is reused unchanged in 3D.** `ui_draw.cpp` is all `SDL_RenderGeometry` triangles, drawn
235
+ by the GPU renderer on top of the 3D frame. Fallback if that integration disappoints: send
236
+ `ui_draw`'s triangle lists to a small SDL_GPU pipeline. The vertex data is already in that shape.
237
+ - **One window, one device for the editor:**
238
+ - ImGui moves to `imgui_impl_sdl3` + `imgui_impl_sdlgpu3`.
239
+ - The 3D viewport is an SDL_GPU texture shown in ImGui.
240
+ - The 2D viewport keeps using `SDL_Renderer` (GPU-backed).
241
+
242
+ The signature differs between wiki revisions, so phase 0 checks it against the 3.4 header.
243
+
244
+ **Scope of the migration:**
245
+ - About 30 files touch `SDL_Renderer`.
246
+ - SDL2_image → SDL3_image, keeping the stb backend.
247
+ - The ImGui backends.
248
+ - Event and naming changes.
249
+ - Headless 2D keeps SDL3's software renderer.
250
+
251
+ **What must hold:** every 2D golden frame stays byte-identical. If SDL3's software rasterizer
252
+ rounds differently, the differences get reviewed by eye and the baselines re-recorded, with that
253
+ written down. Mostly that means `SDL_RenderGeometry` edges.
254
+
255
+ ## 4. Math and data types
256
+
257
+ | Type | Notes |
258
+ |---|---|
259
+ | `Vector3` | Like Vector2: arithmetic, `Magnitude`, `Unit`, `Dot`, `Cross`, `Lerp`, `FuzzyEq`. |
260
+ | `CFrame` | Position + 3×3 rotation, Roblox semantics: `*`, `Inverse`, `LookAt`, `ToWorldSpace` / `ToObjectSpace`, `fromEulerAnglesYXZ`, `Angles`, `LookVector` / `RightVector` / `UpVector`, `Lerp`. |
261
+ | `Ray3` (`RaycastResult`) | `Instance`, `Position`, `Normal`, `Distance`, `Material`. |
262
+ | Mat4 / Quat | Internal only (rendering, Jolt conversion), not exposed. |
263
+
264
+ - Written in-house, like `Vec2` (`engine/types.h`), so there's no GLM.
265
+ - Coordinates: **Y up, right-handed, 1 unit = 1 metre.** These match glTF and Jolt, so there's no
266
+ conversion layer.
267
+ - New PropTypes: Vector3, CFrame. Serialisation, the Properties widgets (position plus rotation as
268
+ degrees), and the Luau and Python value conversions all need them.
269
+
270
+ ## 5. Rendering
271
+
272
+ ### 5.1 Features (v1)
273
+ - **Objects:** meshes from **glTF 2.0** (`.glb` / `.gltf`, via **cgltf**, MIT) and built-in shapes
274
+ (block, ball, cylinder, wedge).
275
+ - **Materials:**
276
+ - `Color`, `Texture`, `Transparency`, `Reflectance`-style shininess, `Unlit`.
277
+ - Forward rendering, Lambert + Blinn-Phong shading.
278
+ - Physically based materials (metal / roughness) are a later step.
279
+ - **Lighting service:** ambient, sun direction and colour, sky colour or gradient, fog,
280
+ `ShadowsEnabled`.
281
+ - **Lights are components on a Part**, matching the UI decision that modifiers are components:
282
+ `PointLight`, `SpotLight`. Up to 8 lights affect one object (forward renderer).
283
+ - **One shadow-casting sun** (shadow map). Point- and spot-light shadows come later.
284
+ - **Pixel-art option:**
285
+ - Render at the project's `screen` size and enlarge with `"filter": "nearest"`, the engine's look
286
+ today.
287
+ - Optional vertex snapping and affine texture mapping for a PS1 look.
288
+ - Existing post-processing (`postfx.cpp`: hue, contrast, posterise…) applies to the final image.
289
+ - **Draw order:**
290
+ - Opaque front to back, then transparent back to front.
291
+ - WorldGui billboards are depth tested, unless `AlwaysOnTop`.
292
+ - ScreenGui on top; `RenderMode = World` draws screen UI before the 3D scene, as a backdrop.
293
+
294
+ ### 5.2 Shaders without a heavy build
295
+ - Shaders are written once in HLSL. **SDL_shadercross** compiles them to SPIR-V (Vulkan), MSL (Metal)
296
+ and DXIL (D3D12).
297
+ - A script `tools/compile_shaders` runs only when a shader changes. The compiled blobs are committed
298
+ and embedded in the runner.
299
+ - So a normal build needs no shader toolchain, and the runner doesn't ship a shader compiler.
300
+
301
+ ### 5.3 Outputs for research (from the same pass)
302
+ - `rgb`, plus **`depth`** (metres, float32), **`segmentation`** (one id per object, with a table
303
+ mapping id to object and class) and, optionally, `normals`.
304
+ - The 2D `mask` (walkability) becomes **`walkable`**: the navmesh (§6.3) projected into the view.
305
+ - Picking in the editor reads the same id buffer, so one feature serves both.
306
+
307
+ ### 5.4 Headless and determinism
308
+ - SDL_GPU needs a GPU driver.
309
+ - On training machines it uses the GPU.
310
+ - On machines without one, Mesa's **lavapipe** (Vulkan on the CPU) works but is slow. The docs
311
+ will say so plainly.
312
+ - **GPU pixels aren't bit-identical across vendors.**
313
+ - 3D golden tests compare `rgb` with a tolerance (PSNR threshold).
314
+ - `segmentation` must match exactly, and `depth` within an epsilon.
315
+ - 2D keeps its exact checks.
316
+ - Throughput later: render many environments in one GPU pass (Madrona-style batch rendering).
317
+ Batching is designed for, not built, in v1 (§12).
318
+
319
+ ### 5.5 UI in 3D
320
+ - **ScreenGui:** unchanged.
321
+ - **WorldGui in 3D:** follows a Part's `CFrame` with an offset.
322
+ - `FaceCamera = true`: a billboard, like Roblox's BillboardGui.
323
+ - `false`: flat on a surface, like SurfaceGui.
324
+ - Size in studs or pixels.
325
+ - Drawn into a texture by the same `ui_draw`, then placed as a textured quad.
326
+ - `GetGuiObjectsAtPosition` and clicks: screen UI as now. Surface UI is hit-tested by raycasting the
327
+ mouse onto the quad.
328
+
329
+ ## 6. Objects, physics, navigation
330
+
331
+ ### 6.1 Classes (3D registry)
332
+
333
+ | Class | What it is |
334
+ |---|---|
335
+ | `Part` | `CFrame`, `Size` (Vector3), `Shape` (Block / Ball / Cylinder / Wedge), `Color`, `Material`, `Transparency`, `Anchored`, `CanCollide`, `CastShadow` |
336
+ | `MeshPart` | A Part drawn with a glTF mesh (`MeshFile`, `TextureFile`); collision `Box` / `Hull` / `Mesh` (Mesh: anchored only) |
337
+ | `Model` | Groups parts: `PrimaryPart`, `GetPivot` / `PivotTo`, `GetBoundingBox`; importing a multi-mesh glTF gives a Model |
338
+ | `Camera` | `CFrame`, `FieldOfView`, `Near` / `Far`, `CameraType` (Scriptable / Follow / Orbit / FirstPerson), `Subject` |
339
+ | `Agent` | A capsule character with a CharacterController (§6.2); discrete actions: forward, back, turn left / right, strafe, jump; plus continuous move / look |
340
+ | `Lighting` | Service (§5.1) |
341
+ | `Attachment` | A point on a part (for lights, WorldGui, constraints later) |
342
+
343
+ Shared classes keep working (Folder, Script, Storage, UI, …). Components: `RigidBody` (3D version),
344
+ `CharacterController`, `PointLight`, `SpotLight`.
345
+
346
+ ### 6.2 Physics: Jolt
347
+ - **Jolt Physics** (MIT; used in Horizon Forbidden West).
348
+ - Built with **`JPH_CROSS_PLATFORM_DETERMINISTIC`**, so the same inputs and seed give the same
349
+ simulation on any machine
350
+ ([build docs](https://raw.githubusercontent.com/jrouwe/JoltPhysics/master/Build/README.md)).
351
+ That matters for reproducible experiments.
352
+ - **`RigidBody`:**
353
+ - `Mass`, `Friction`, `Restitution`, `Velocity`, `AngularVelocity`, `GravityScale`, `Locked` axes.
354
+ - `CollisionShape`: Auto / Box / Sphere / Capsule / Cylinder / ConvexHull / Mesh.
355
+ - **Collision groups**, plus `Touched` / `TouchEnded` signals, which use the same signal machinery
356
+ the UI added.
357
+ - **`CharacterController`:** Jolt's `CharacterVirtual`, with slopes, steps and ground detection.
358
+ - **Raycasts and queries:** `Workspace:Raycast(origin, direction, params)`, `Spherecast`,
359
+ `GetPartsInPart`, `GetPartBoundsInBox`.
360
+
361
+ ### 6.3 Navigation: Recast / Detour
362
+ - **Recast / Detour** (zlib licence) builds a navmesh from anchored collidable parts.
363
+ - It provides:
364
+ - `PathfindingService:ComputePath(from, to)`;
365
+ - the editor's navmesh overlay;
366
+ - the `walkable` ground truth (§5.3).
367
+
368
+ ### 6.4 Levels
369
+ - No Tiled equivalent in v1. Levels are built from Parts in the editor, or exported from Blender as
370
+ glTF (a Model).
371
+ - Terrain (heightmap or voxels) is in §12.
372
+
373
+ ## 7. Scripting
374
+ - 3D bindings live in `walkenv_3d`: Vector3, CFrame, the classes above, Raycast, Pathfinding.
375
+ - They're registered through the dimension module (§2.2), so neither 2D runtime contains them.
376
+ - **Python:**
377
+ - Vector3 / CFrame are value types like Vector2.
378
+ - Depth and segmentation come back as numpy arrays.
379
+ - `walkenv3d.Env(...).step(action)` → `{"rgb", "depth", "segmentation", "walkable", "info"}`.
380
+ - If the shared method registry (discussed separately) exists by then, the 3D methods use it so
381
+ they're written once for both languages. If not, they're written per language, like the UI ones.
382
+
383
+ ## 8. Editor
384
+
385
+ ### 8.1 New Project window
386
+ Replaces today's small modal (`editor/project_new.cpp`: a name and Top-down / Side-view). It's a
387
+ proper window, also shown from the Project Hub.
388
+
389
+ 1. **Choose 2D or 3D:** two large cards with an illustration and one line each. This sets
390
+ `"dimension"`, which is fixed for the project.
391
+ 2. **Pick a template:** a grid for the chosen dimension, each card with a preview image and a short
392
+ description.
393
+
394
+ | 2D | 3D |
395
+ |---|---|
396
+ | **Empty**: an empty scene, top-down physics defaults | **Empty**: an empty scene with a sun, a ground plane and a camera |
397
+ | **Top-down**: a small map, a player Agent with movement, a camera that follows it | **First-person**: a room, an Agent with a first-person camera and WASD + mouse look |
398
+ | **Side-view**: a platform map with gravity, a jumping player | **Third-person**: an Agent with an orbit camera on a small course |
399
+ | **UI only**: a ScreenGui with a menu (no world) | **Physics sandbox**: stacked boxes and balls to knock over |
400
+
401
+ - "Empty" is first and selected by default.
402
+ - In 2D, top-down vs. side-view now comes from the template; Project Settings can still change it.
403
+ 3. **Name and location:** name, folder (env/games or one you pick), Luau or Python for the
404
+ template's scripts, then **Create**, which opens the project.
405
+
406
+ - Templates are folders under `templates/2d/…` and `templates/3d/…`. Each has a `template.json`
407
+ (title, description, preview image) and the project files, copied as-is with names filled in.
408
+ Adding a template means adding a folder; no code changes.
409
+ - 3D templates appear once phase 2 lands. Until then the 3D card shows "Coming soon".
410
+
411
+ ### 8.2 3D viewport and tools
412
+ - **Viewport:**
413
+ - Fly camera (hold right mouse + WASD, scroll for speed), orbit (Alt + drag), `F` to frame the
414
+ selection.
415
+ - Ground grid; light, camera and attachment icons.
416
+ - **Gizmos** via **ImGuizmo** (MIT): move, rotate, scale.
417
+ - Snapping to grid step and angle, toggled with Ctrl.
418
+ - Local / world space toggle.
419
+ - The UI view's snapping and nudging conventions carry over.
420
+ - **Picking** from the segmentation buffer: click to select, Shift to add. Selected parts get an
421
+ outline.
422
+ - **Assets panel:** glTF import, with model thumbnails rendered by the 3D renderer.
423
+ - **Properties:** Vector3 / CFrame widgets (position, rotation in degrees, size), a material picker.
424
+ - **View menu:** wireframe, collision shapes, navmesh, lighting off (unlit), camera preview.
425
+ - **MCP:**
426
+ - `screenshot` works as now.
427
+ - New: `set_view` (camera CFrame / look at), `raycast_place` (put an object where a screen point
428
+ hits), `get_depth` / `get_segmentation`.
429
+ - Everything else (Explorer, scripts, Console, Run presets, UI view, Render Order) is shared. In 3D,
430
+ Render Order lists the UI layers and the 3D scene as one band.
431
+
432
+ ## 9. Size budget
433
+ - **2D runner:** unchanged from today (`walkenv_run` ≈ 6.9 MB, `walkenv_run_py` ≈ 8.3 MB). §11 makes
434
+ that a checked rule.
435
+ - **3D runner:** expected ≈ 10–12 MB.
436
+ - Jolt adds about 2–3 MB.
437
+ - Recast about 0.5 MB.
438
+ - cgltf and the shaders are small.
439
+ - SDL_GPU is part of SDL3 either way.
440
+ - The editor grows by the 3D module + ImGuizmo.
441
+
442
+ ## 10. Phases
443
+ Each phase ends working, tested and documented, with 2D untouched.
444
+
445
+ | # | Phase | Done when |
446
+ |---|---|---|
447
+ | 0 | **SDL3 migration** (2D only): SDL3 + SDL3_image, ImGui SDL3 backends, `SDL_CreateGPURenderer` checked | All 2D golden frames identical (or reviewed and re-recorded); editor, export and `walkenv` work on macOS; Windows and Linux builds compile |
448
+ | 1 | **Module split + rename + New Project:** `walkenv_core` / `walkenv_2d`, the DimensionModule interface, per-dimension registry, `"dimension"` in config, the shared-class property test (§2.6), the Neural Engine rename (§2.7), the New Project window with the 2D templates (§8.1), the docs 2D / 3D toggle, URLs and dimension tags (§2.8) | 2D behaves identically; `walkenv_run` has no new symbols; types split per dimension; each 2D template creates a project that runs |
449
+ | 2 | **3D core:** Vector3 / CFrame, Part, MeshPart, Model, Camera, Lighting, the SDL_GPU renderer, glTF, `walkenv_run3d`, Luau + Python bindings | A demo scene renders and scripts move things in both languages; UI draws over it |
450
+ | 3 | **Physics and agents:** Jolt RigidBody, CharacterController, raycasts, Touched, Agent; `walkenv3d` with rgb / depth / segmentation | A repeated seeded run gives identical state; the Python env steps headless |
451
+ | 4 | **Editor 3D:** viewport camera, gizmos, picking, glTF import, the 3D templates, 3D Properties widgets | Build a scene in the editor from scratch, play it, export it |
452
+ | 5 | **Finish v1:** shadows, Recast navmesh + `walkable`, WorldGui billboards and surfaces, MCP tools, docs-site 3D guide + badges, a 3D demo game | Docs samples run in both languages; exported 3D game runs on a clean machine |
453
+
454
+ **Estimate:**
455
+ - Phases 0–2 are a vertical slice that can come together quickly, likely over a few long sessions.
456
+ - **Verification is the slow part, not the code:**
457
+ - I can only run macOS / Metal here, so Windows (D3D12 / Vulkan) and Linux need your machines or
458
+ CI.
459
+ - Visual quality and editor feel need your eyes.
460
+
461
+ ## 11. Checks
462
+ - **2D stays light:**
463
+ - A build check fails if `walkenv_run` or `walkenv_run_py` links any Jolt, cgltf, Recast or 3D
464
+ symbol (`nm` on the binaries).
465
+ - A size check fails if they grow more than 3% from a recorded baseline.
466
+ - **2D stays identical:** the golden frames (`--frame-out`) for every 2D game, every phase.
467
+ - **3D:**
468
+ - Golden frames with tolerance, exact segmentation, depth within epsilon.
469
+ - A determinism test: one run twice, compare the physics state every step.
470
+ - Luau / Python parity tests, like the UI tests.
471
+
472
+ ## 12. Decisions
473
+
474
+ **Agreed (2026-10-11)**
475
+ 1. A project is 2D *or* 3D (`"dimension"`), not mixed.
476
+ 2. Three libraries; runners and the Python module link only their dimension. The editor links both.
477
+ 3. Same class names across dimensions (`Camera`, `Agent`, `RigidBody`), with one registry per
478
+ dimension.
479
+ 4. SDL3 + SDL_GPU, with `SDL_CreateGPURenderer` so UI and 2D drawing share the GPU device.
480
+ 5. Y up, metres, right-handed (glTF / Jolt conventions).
481
+ 6. Lights are components; Lighting is a service.
482
+ 7. Jolt (deterministic build), cgltf, Recast / Detour, ImGuizmo; HLSL shaders precompiled with
483
+ SDL_shadercross and committed.
484
+ 8. **Name: Neural Engine.** User-facing only; internal `walkenv` names stay (§2.7).
485
+ 9. **3D look:** smooth by default; pixelated is a template / setting.
486
+ 10. **Terrain:** none in v1 (Parts + glTF).
487
+ 11. **New Project window:** 2D / 3D first, then templates, each list starting with Empty (§8.1).
488
+ 12. **A 2D project shows only 2D properties:** separate classes per dimension, plus a test (§2.6).
489
+ 13. **Docs filter by dimension:** a 2D / 3D toggle, dimension in the URL, per-dimension samples (§2.8).
490
+
491
+ **Later (not v1)**
492
+ - Physically based materials, skinned animation (glTF skins), particles, heightmap / voxel terrain,
493
+ spatial audio, LOD.
494
+ - Batch rendering many environments per GPU pass for training throughput.
495
+ - Point / spot shadows, constraints and joints (hinges, springs), vehicles.