Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
220 commits
Select commit Hold shift + click to select a range
9c6765e
lumscript WIP
nem0 May 17, 2026
351ab13
refactor: refactor enums in input system so they can be exported by meta
nem0 May 18, 2026
95d3413
script wip
nem0 May 18, 2026
0528baf
lumscript - undefined keyword
nem0 May 18, 2026
0caf702
lumscript - loginfo, DVec3, modules and their functions
nem0 May 18, 2026
45a2d68
refactor WIP - prepare for standalone lumscript
nem0 May 19, 2026
42a539c
cleanup
nem0 May 19, 2026
df845c0
standalone lumc wIP
nem0 May 19, 2026
ef24eab
lumscript c api WIP
nem0 May 20, 2026
ec3e090
clean up
nem0 May 20, 2026
f4892bc
clean up
nem0 May 20, 2026
91dbbd9
standalone external/lumscript - does not depend on engine at all
nem0 May 21, 2026
615318b
fixed engine build
nem0 May 21, 2026
2865a2f
fixed crash
nem0 May 21, 2026
213e946
bytecode WIP
nem0 May 25, 2026
6013100
bytecode WIP
nem0 May 26, 2026
f46a369
cleanup
nem0 May 26, 2026
465046b
lumscript - for loop
nem0 May 27, 2026
9491aa7
cleanup
nem0 May 27, 2026
2b0ba1f
fixed lumscript/build.bat
nem0 May 27, 2026
5513be2
lumscript - exter functions WIP
nem0 May 29, 2026
5dc5910
lumscript engine api
nem0 May 30, 2026
c584f7f
formatting
nem0 May 30, 2026
5f836cd
lumscript - operators
nem0 May 30, 2026
1baffe8
refactor, bug fixes
nem0 May 30, 2026
90b9bb6
clean up
nem0 May 30, 2026
d462f45
cleanup
nem0 May 31, 2026
5e4d223
refactor
nem0 May 31, 2026
890b778
function literals
nem0 May 31, 2026
c36e0aa
refactor
nem0 May 31, 2026
756ad52
cleanup
nem0 Jun 1, 2026
2b27cec
cleanup
nem0 Jun 1, 2026
3402a09
cleanup
nem0 Jun 1, 2026
1fadd2b
refactor
nem0 Jun 2, 2026
4a52d65
cleanup
nem0 Jun 2, 2026
db31780
cleanup; refactor; optimizations
nem0 Jun 3, 2026
b2d470f
bytecode.h conversion to C - wip
nem0 Jun 3, 2026
b8d83e5
slices
nem0 Jun 4, 2026
ea78673
empty slices with null
nem0 Jun 5, 2026
effe251
templates WIP
nem0 Jun 8, 2026
545b54a
refactor WIP
nem0 Jun 9, 2026
3426f6a
refactor wip
nem0 Jun 12, 2026
c045575
templates; refactor
nem0 Jun 13, 2026
de5e213
refactor wip
nem0 Jun 14, 2026
37711f4
refactor wip
nem0 Jun 14, 2026
6b96dd8
refactor wip
nem0 Jun 16, 2026
5eb3dff
refactor wip
nem0 Jun 17, 2026
6faf11d
refactor wip
nem0 Jun 18, 2026
20abdea
refactor
nem0 Jun 22, 2026
5233cd6
templates wip
nem0 Jun 23, 2026
8cdb444
refactor wip
nem0 Jun 24, 2026
b0fa33a
refactor wip
nem0 Jun 28, 2026
f1c4a88
raw memory api; refactor to register-based vm WIP
nem0 Jul 1, 2026
30e8299
clean up
nem0 Jul 3, 2026
64ec1c7
some missing tests
nem0 Jul 3, 2026
b8def8d
set resolved_type
nem0 Jul 3, 2026
85802d9
cleanup
nem0 Jul 3, 2026
7228859
cleanup
nem0 Jul 6, 2026
5bc85d0
cleanup
nem0 Jul 7, 2026
9d89d11
WIP templates
nem0 Jul 10, 2026
0a6538e
refactor wip
nem0 Jul 10, 2026
8dc6bd1
cleanup
nem0 Jul 12, 2026
38653dd
cleanup
nem0 Jul 12, 2026
6ef4f87
cleanup
nem0 Jul 13, 2026
576aacf
cleanup
nem0 Jul 14, 2026
f93bea0
cleanup
nem0 Jul 15, 2026
bf0b277
fixed lumc
nem0 Jul 15, 2026
28e19f9
string args
nem0 Jul 15, 2026
cc8db1f
lumscript to c transpiler; fixed lumscript engine integration
nem0 Jul 16, 2026
24fee15
cleanup
nem0 Jul 17, 2026
0d4d4b3
ufcs can match ref parameters
nem0 Jul 17, 2026
3bd766a
ufcs prefers adl over locals
nem0 Jul 17, 2026
c08dd1a
tagged unions
nem0 Jul 17, 2026
67a699d
Refactor input event handling: Introduce new event structs and simpli…
nem0 Jul 17, 2026
ec9c2b1
Enhance range syntax: Introduce inclusive range support and update re…
nem0 Jul 17, 2026
025e4ee
ternary operator
nem0 Jul 18, 2026
18834ff
Refactor PhysicsModule to support hit reporting polling instead of ca…
nem0 Jul 18, 2026
1f33c97
fixed performance test
nem0 Jul 18, 2026
18c8abc
perforamance test reworked
nem0 Jul 18, 2026
1a17b2f
benchmarks result
nem0 Jul 18, 2026
d2fbae5
Add Lua benchmark implementations for Fannkuch, Mandelbrot, N-bodies,…
nem0 Jul 18, 2026
1851e4c
Implement comparison jump operations and optimize runtime execution f…
nem0 Jul 18, 2026
678f873
Update lumc.c to support --dump-bytecode option and enhance bytecode …
nem0 Jul 18, 2026
642fd07
optimize comparison jump operations
nem0 Jul 18, 2026
6dc7f1b
Add slice load/store operations for structured data access
nem0 Jul 18, 2026
690bcf0
optimizations wip
nem0 Jul 18, 2026
c0111fe
refactor
nem0 Jul 18, 2026
8fde108
Add source mapping support to bytecode compilation and dumping and de…
nem0 Jul 19, 2026
a8890ea
Optimization - Add support for unary negation in local literal initia…
nem0 Jul 19, 2026
1dd8486
Add RETURN_BASE opcode and optimize return handling in bytecode compiler
nem0 Jul 19, 2026
191f0ef
WIP
nem0 Jul 19, 2026
d0ed893
wip
nem0 Jul 19, 2026
fcad7ec
Add findChildByName function to Entity and implement its LumScript bi…
nem0 Jul 19, 2026
07728d5
debugger
nem0 Jul 19, 2026
6b33fb9
debugger ui wip
nem0 Jul 19, 2026
21b69ee
Fix D3D12 debug interface retrieval and improve logging for missing S…
nem0 Jul 20, 2026
d919abf
Add debugging line management to CodeEditor interface and implementation
nem0 Jul 20, 2026
ad8fe67
Fixed crash
nem0 Jul 20, 2026
bc171aa
Fix shortcut validation logic in StudioApp implementation - convert a…
nem0 Jul 20, 2026
e131fb2
Enhance shortcut handling in StudioApp by adding repeat flag to ImGui…
nem0 Jul 20, 2026
c4b33cb
Convert assert to resource leak logging in ResourceManager destructor
nem0 Jul 20, 2026
46bd86c
cleanup
nem0 Jul 20, 2026
b5a25fa
Replace assertion with warning log for sort key map size during rende…
nem0 Jul 20, 2026
4c7fabb
Fix crash
nem0 Jul 20, 2026
ddec284
Enhance LumScript Debugger and Variable Inspection Features
nem0 Jul 20, 2026
83ec2ea
Add support for tagged unions in LumScript with related introspection…
nem0 Jul 20, 2026
105335f
Add support for displaying tagged unions in LumScript debugger
nem0 Jul 20, 2026
fe755cf
Display enum value in LumScript debugger
nem0 Jul 20, 2026
668e985
Improve indentation for variable display in LumScript debugger
nem0 Jul 20, 2026
fc6873b
Reorder type display in LumScript variable inspector for improved cla…
nem0 Jul 20, 2026
079f343
Add enum type introspection and for-in loop syntax
nem0 Jul 21, 2026
5aa60cf
Introspection and compile-time branch details in reference.md
nem0 Jul 21, 2026
f7b5c1a
Better test coverage (red for now)
nem0 Jul 22, 2026
e8fe278
Fixed `not` precedence
nem0 Jul 22, 2026
276116c
Enhance loop exit analysis and refine type narrowing in Checker
nem0 Jul 22, 2026
857184a
Implement `else return;` handling in variable declarations and enhanc…
nem0 Jul 22, 2026
b963cc1
Refactor loop syntax from `for i = 0..N` to `for i in 0..N`
nem0 Jul 22, 2026
b5fc59e
array literals, unrolled for, comptime if and match
nem0 Jul 22, 2026
5fe8539
Refactor loop syntax from `for i = 0..N` to `for i in 0..N` in benchm…
nem0 Jul 22, 2026
ccbdd02
Add support for `typeof` expression and add local comptime variable d…
nem0 Jul 22, 2026
190b3f3
Add new tests for composite type bindings and introspection, includin…
nem0 Jul 22, 2026
df179bf
Add support for named parameters in function types and enhance intros…
nem0 Jul 23, 2026
136c5be
Refactor function parameter handling to use a unified structure for p…
nem0 Jul 23, 2026
fc3af19
Add support for min and max type members
nem0 Jul 23, 2026
c9c60b8
Fix condition evaluation in ternary operator and add test for numeric…
nem0 Jul 23, 2026
00855f5
Fix logical operator in unroll sequence test condition
nem0 Jul 23, 2026
639e34d
better support for compile-time values
nem0 Jul 24, 2026
12fc60f
cleanup
nem0 Jul 24, 2026
b50035d
fix nbodies
nem0 Jul 24, 2026
d78f428
unroll for loop
nem0 Jul 24, 2026
f5708ce
red tests
nem0 Jul 24, 2026
468a103
refactor
nem0 Jul 28, 2026
faf6c32
cleanup
nem0 Jul 28, 2026
f43a4e4
refactor
nem0 Jul 28, 2026
3450f26
refactor
nem0 Jul 29, 2026
dca080c
Refactor and enhance LumScript compiler and tests
nem0 Jul 29, 2026
7655b02
Fixed handling of untyped numeric value
nem0 Jul 30, 2026
2cbd9aa
refactor
nem0 Jul 30, 2026
b435026
Fixes
nem0 Jul 31, 2026
1a9800b
Fix decal's vertex buffer binding
nem0 Jul 31, 2026
a630766
Fixed fallback in match being picked 100% over following arms
nem0 Jul 31, 2026
5b9fbe4
Fix vertex buffer stride calculation in instanced rendering
nem0 Jul 31, 2026
9f9d7e6
* scalar slice view functionality
nem0 Jul 31, 2026
0292935
add support for rune literals
nem0 Jul 31, 2026
3ca8c50
strings -> const slices
nem0 Aug 2, 2026
c68084f
lumscript string -> []const u8
nem0 Aug 2, 2026
2be7720
cleanup
nem0 Aug 2, 2026
b525fa3
length(value) -> value.length; struct templates -> type factories
nem0 Aug 3, 2026
2f22ffd
lumscript - pointers
nem0 Aug 4, 2026
2ab7fd5
fix: replace length() calls with .length property for array size
nem0 Aug 5, 2026
bbdbfde
mir wip
nem0 Aug 5, 2026
6bdea8f
refactor
nem0 Aug 6, 2026
9428a1a
mir wip
nem0 Aug 7, 2026
a67af4e
ir refactor wip
nem0 Aug 10, 2026
4b21724
ir wip
nem0 Aug 11, 2026
1c334b4
ir wip
nem0 Aug 13, 2026
6ef5ec2
ir wip
nem0 Aug 13, 2026
08e461e
ir operators
nem0 Aug 13, 2026
5f79792
ir: label, break, continue
nem0 Aug 13, 2026
d8f530c
ir : enum shorthand
nem0 Aug 13, 2026
e48c61f
ir: string literals and slice compares, enums, comptime if
nem0 Aug 13, 2026
0a8ead3
ir: type factories
nem0 Aug 13, 2026
6596d0b
ir: slices
nem0 Aug 14, 2026
b351b48
fix all crashes in tests
nem0 Aug 16, 2026
c2b01e5
wip
nem0 Aug 16, 2026
b02894d
wip
nem0 Aug 17, 2026
0ea7f72
wip
nem0 Aug 18, 2026
efd9916
wip
nem0 Aug 18, 2026
1cfb0a0
wip
nem0 Aug 18, 2026
5757d84
wip
nem0 Aug 19, 2026
f68b971
fixed not/neg
nem0 Aug 20, 2026
f19ac37
forwarding function call args
nem0 Aug 20, 2026
eacc016
imm ops
nem0 Aug 21, 2026
8c16f25
optimizations
nem0 Aug 21, 2026
dc8253b
optimizations
nem0 Aug 21, 2026
da51318
cleanup
nem0 Aug 21, 2026
399d979
fix
nem0 Aug 21, 2026
061b52a
cleanup
nem0 Aug 21, 2026
aa30a1c
optimizations
nem0 Aug 21, 2026
050b6d6
optimizations
nem0 Aug 21, 2026
e293577
fix
nem0 Aug 21, 2026
de3085a
optimizations
nem0 Aug 21, 2026
5044208
fix
nem0 Aug 21, 2026
72d235f
linux
nem0 Aug 22, 2026
793a625
linux fixes wip
nem0 Aug 22, 2026
c2c37bc
meta - linux
nem0 Aug 22, 2026
721c46e
run_meta.sh
nem0 Aug 22, 2026
4600adb
run_tests.sh works on linux
nem0 Aug 22, 2026
f29e2cd
linux tests
nem0 Aug 22, 2026
e8d730e
linux ci fix
nem0 Aug 22, 2026
5d4cc09
linux fix
nem0 Aug 22, 2026
6ae09a8
compilable engine on windows
nem0 Aug 22, 2026
a087ba8
vulkan wip
nem0 Aug 22, 2026
8cabce0
assert disabled in release mode
nem0 Aug 23, 2026
49ed67d
optimizations
nem0 Aug 23, 2026
2afe7c4
fixed warnings
nem0 Aug 24, 2026
343823b
optimizations
nem0 Aug 24, 2026
c33b991
optimizations
nem0 Aug 24, 2026
ffb39fb
cleanup
nem0 Aug 24, 2026
1914a99
fused multiply add
nem0 Aug 25, 2026
bf6cc52
update results.md
nem0 Aug 25, 2026
b314822
optimizations; refactor
nem0 Aug 25, 2026
a9cd419
optimizations; attributes wip
nem0 Aug 26, 2026
3eacefb
attributes
nem0 Aug 26, 2026
ed28def
::atribute()
nem0 Aug 26, 2026
4efdc90
//@ object in lumscript meta
nem0 Aug 26, 2026
35fe43c
wip
nem0 Aug 27, 2026
fec0bda
meta - extern struct
nem0 Aug 27, 2026
99e5ebe
stringview refactor
nem0 Aug 28, 2026
988aff6
strignview refactor
nem0 Aug 28, 2026
4db98f6
lumscript - fixed debugging
nem0 Aug 28, 2026
5aca60a
fixed debugger
nem0 Aug 28, 2026
45a5236
string view refactor
nem0 Aug 28, 2026
d51ddbb
refactor
nem0 Aug 28, 2026
b455bbd
slices in lumscript api
nem0 Aug 28, 2026
d39a32a
better error reporting
nem0 Aug 28, 2026
b640be6
fixed crash
nem0 Aug 28, 2026
4e42bfc
minor improvements
nem0 Aug 28, 2026
261bc74
component filter in command palette
nem0 Aug 30, 2026
bbd55ac
debugger wip
nem0 Aug 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,16 @@ jobs:
run: |
echo Running headless tests because related files changed
scripts\run_tests.bat

run-tests-linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y g++ libfreetype6-dev libgl1-mesa-dev libx11-dev libxi-dev libgtk-3-dev

- name: Run headless tests
run: ./scripts/run_tests.sh
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ obj/
*.user
*.nvuser
*.orig
*.obj
tcc/
raylib/
.vscode
.lumix
studio.ini
Expand All @@ -20,4 +23,6 @@ src/engine/plugins.inl
.shader_cache_dx11
scripts/itch_io/
!data/editor/scripts/plugins/
*.dmp
external/lumscript/build/
*.dmp
vc140.pdb
8 changes: 8 additions & 0 deletions data/scripts/core/AABB.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Generated by meta.cpp

import "core:vec3"
extern struct AABB {
min : Vec3;
max : Vec3;
}

13 changes: 13 additions & 0 deletions data/scripts/core/CursorType.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Generated by meta.cpp

enum CursorType {
DEFAULT = 0,
SIZE_NS = 1,
SIZE_WE = 2,
SIZE_NWSE = 3,
LOAD = 4,
TEXT_INPUT = 5,
HAND = 6,
UNDEFINED = 7
}

8 changes: 8 additions & 0 deletions data/scripts/core/D6Motion.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Generated by meta.cpp

enum D6Motion {
LOCKED = 0,
LIMITED = 1,
FREE = 2
}

8 changes: 8 additions & 0 deletions data/scripts/core/DynamicType.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Generated by meta.cpp

enum DynamicType {
STATIC = 0,
DYNAMIC = 1,
KINEMATIC = 2
}

14 changes: 14 additions & 0 deletions data/scripts/core/Event.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Generated by meta.cpp

import "core:EventType"
import "core:vec2"
extern struct Event {
type : EventType;
position : Vec2;
element_index : i32;
action : []const u8;
key_code : i32;
text_utf8 : i32;
wheel_y : f32;
}

16 changes: 16 additions & 0 deletions data/scripts/core/EventType.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Generated by meta.cpp

enum EventType {
MOUSE_DOWN = 0,
MOUSE_UP = 1,
MOUSE_MOVE = 2,
MOUSE_WHEEL = 3,
KEY_DOWN = 4,
KEY_UP = 5,
TEXT_INPUT = 6,
ACTION = 7,
MOUSE_ENTER = 8,
MOUSE_LEAVE = 9,
INVALID = 10
}

8 changes: 8 additions & 0 deletions data/scripts/core/GrassRotationMode.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Generated by meta.cpp

enum GrassRotationMode {
Y_UP = 0,
ALL_RANDOM = 1,
COUNT = 2
}

8 changes: 8 additions & 0 deletions data/scripts/core/InputDeviceType.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Generated by meta.cpp

enum InputDeviceType {
MOUSE = 0,
KEYBOARD = 1,
GAMEPAD = 2
}

11 changes: 11 additions & 0 deletions data/scripts/core/InputEventType.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Generated by meta.cpp

enum InputEventType {
BUTTON = 0,
AXIS = 1,
MOUSE_WHEEL = 2,
TEXT_INPUT = 3,
DEVICE_ADDED = 4,
DEVICE_REMOVED = 5
}

191 changes: 191 additions & 0 deletions data/scripts/core/Keycode.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
// Generated by meta.cpp

enum Keycode {
LBUTTON = 1,
RBUTTON = 2,
CANCEL = 3,
MBUTTON = 4,
BACKSPACE = 8,
TAB = 9,
CLEAR = 12,
RETURN = 13,
SHIFT = 16,
CTRL = 17,
ALT = 18,
PAUSE = 19,
CAPITAL = 20,
KANA = 21,
HANGEUL = 21,
HANGUL = 21,
JUNJA = 23,
FINAL = 24,
HANJA = 25,
KANJI = 25,
ESCAPE = 27,
CONVERT = 28,
NONCONVERT = 29,
ACCEPT = 30,
MODECHANGE = 31,
SPACE = 32,
PAGEUP = 33,
PAGEDOWN = 34,
END = 35,
HOME = 36,
LEFT = 37,
UP = 38,
RIGHT = 39,
DOWN = 40,
SELECT = 41,
PRINT = 42,
EXECUTE = 43,
SNAPSHOT = 44,
INSERT = 45,
DEL = 46,
HELP = 47,
LWIN = 91,
RWIN = 92,
APPS = 93,
SLEEP = 95,
NUMPAD0 = 96,
NUMPAD1 = 97,
NUMPAD2 = 98,
NUMPAD3 = 99,
NUMPAD4 = 100,
NUMPAD5 = 101,
NUMPAD6 = 102,
NUMPAD7 = 103,
NUMPAD8 = 104,
NUMPAD9 = 105,
MULTIPLY = 106,
ADD = 107,
SEPARATOR = 108,
SUBTRACT = 109,
DECIMAL = 110,
DIVIDE = 111,
F1 = 112,
F2 = 113,
F3 = 114,
F4 = 115,
F5 = 116,
F6 = 117,
F7 = 118,
F8 = 119,
F9 = 120,
F10 = 121,
F11 = 122,
F12 = 123,
F13 = 124,
F14 = 125,
F15 = 126,
F16 = 127,
F17 = 128,
F18 = 129,
F19 = 130,
F20 = 131,
F21 = 132,
F22 = 133,
F23 = 134,
F24 = 135,
NUMLOCK = 144,
SCROLL = 145,
OEM_NEC_EQUAL = 146,
OEM_FJ_JISHO = 146,
OEM_FJ_MASSHOU = 147,
OEM_FJ_TOUROKU = 148,
OEM_FJ_LOYA = 149,
OEM_FJ_ROYA = 150,
LSHIFT = 160,
RSHIFT = 161,
LCTRL = 162,
RCTRL = 163,
LALT = 164,
RALT = 165,
BROWSER_BACK = 166,
BROWSER_FORWARD = 167,
BROWSER_REFRESH = 168,
BROWSER_STOP = 169,
BROWSER_SEARCH = 170,
BROWSER_FAVORITES = 171,
BROWSER_HOME = 172,
VOLUME_MUTE = 173,
VOLUME_DOWN = 174,
VOLUME_UP = 175,
MEDIA_NEXT_TRACK = 176,
MEDIA_PREV_TRACK = 177,
MEDIA_STOP = 178,
MEDIA_PLAY_PAUSE = 179,
LAUNCH_MAIL = 180,
LAUNCH_MEDIA_SELECT = 181,
LAUNCH_APP1 = 182,
LAUNCH_APP2 = 183,
OEM_1 = 186,
OEM_PLUS = 187,
OEM_COMMA = 188,
OEM_MINUS = 189,
OEM_PERIOD = 190,
OEM_2 = 191,
OEM_3 = 192,
OEM_4 = 219,
OEM_5 = 220,
OEM_6 = 221,
OEM_7 = 222,
OEM_8 = 223,
OEM_AX = 225,
OEM_102 = 226,
ICO_HELP = 227,
ICO_00 = 228,
PROCESSKEY = 229,
ICO_CLEAR = 230,
PACKET = 231,
OEM_RESET = 233,
OEM_JUMP = 234,
OEM_PA1 = 235,
OEM_PA2 = 236,
OEM_PA3 = 237,
OEM_WSCTRL = 238,
OEM_CUSEL = 239,
OEM_ATTN = 240,
OEM_FINISH = 241,
OEM_COPY = 242,
OEM_AUTO = 243,
OEM_ENLW = 244,
OEM_BACKTAB = 245,
ATTN = 246,
CRSEL = 247,
EXSEL = 248,
EREOF = 249,
PLAY = 250,
ZOOM = 251,
NONAME = 252,
PA1 = 253,
OEM_CLEAR = 254,
A = 65,
B = 66,
C = 67,
D = 68,
E = 69,
F = 70,
G = 71,
H = 72,
I = 73,
J = 74,
K = 75,
L = 76,
M = 77,
N = 78,
O = 79,
P = 80,
Q = 81,
R = 82,
S = 83,
T = 84,
U = 85,
V = 86,
W = 87,
X = 88,
Y = 89,
Z = 90,
INVALID = 0,
MAX = 255
}

9 changes: 9 additions & 0 deletions data/scripts/core/Ray.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Generated by meta.cpp

import "core:dvec3"
import "core:vec3"
extern struct Ray {
origin : DVec3;
dir : Vec3;
}

16 changes: 16 additions & 0 deletions data/scripts/core/RayCastModelHit.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Generated by meta.cpp

import "core:dvec3"
import "core:vec3"
import "core:entity"
struct RayCastModelHit {
is_hit : bool;
t : f32;
origin : DVec3;
dir : Vec3;
mesh : void;
entity : Entity;
component_type : void;
subindex : i32;
}

10 changes: 10 additions & 0 deletions data/scripts/core/RaycastHit.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Generated by meta.cpp

import "core:vec3"
import "core:entity"
struct RaycastHit {
position : Vec3;
normal : Vec3;
entity : Entity;
}

11 changes: 11 additions & 0 deletions data/scripts/core/SweepHit.lum
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Generated by meta.cpp

import "core:vec3"
import "core:entity"
struct SweepHit {
position : Vec3;
normal : Vec3;
entity : Entity;
distance : f32;
}

Loading
Loading