555 Commits

Author SHA1 Message Date
Ronald Caesar 661958714c tools/doctest: wrap global statements in a main() function
Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 22:28:48 -04:00
Ronald Caesar 78107c66bb actions: add macos runner
Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 22:11:21 -04:00
Ronald Caesar 396249858d actions: add windows runner
Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 21:46:55 -04:00
Ronald Caesar 7085cefaad build: add precompiled headers and optimizations to msvc build times
Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 21:46:55 -04:00
Ronald Caesar 43ba3d19bb actions: add ubuntu runner
The current build times for these runners are too slow. I'm changing
that now.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 20:25:32 -04:00
Ronald Caesar fdbbe0a9c6 Merge branch 'project-generator' 2026-06-11 18:42:11 -04:00
Ronald Caesar a3b60d184d extern/luajit-imgui: link opengl on macos properly
LuaJIT ImGui is passing GL as the library to link against which is
incorrect on macOS who relies on "-framework OpenGL" instead.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 18:27:44 -04:00
Ronald Caesar d345aa3cd7 extern/luajit: use .a libraries on macOS instead of .dylib
Looking at the macOS runner logs, its compiling LuaJIT libraries with
.a instead of .dylib.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 18:06:02 -04:00
Ronald Caesar 23bd559e19 build: add minimum macos deployment target
This to allow LuaJIT to compile on macOS.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 17:40:55 -04:00
Ronald Caesar a9f9783143 tests/doctest: configure visual studio env vars if using msvc and not visual studio 2026-06-11 17:18:24 -07:00
Ronald Caesar 6f557fbafe extern/luajit-imgui: add abs(float) function
MSVC only supports abs(long). I needed to include <cmath> to support
abs(float)

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 15:25:28 -04:00
Ronald Caesar fe2334276b external/luajit: add 'luajit_exe' executable target
The luajit executable was never managed by cmake which is bad for
doctest since it needs the executable to run.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 15:16:55 -04:00
Ronald Caesar bd9ea4a5a2 build: fix Ballistic not finding the luajit binary
Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 14:58:20 -04:00
Ronald Caesar b1294d877e extern/luajit-imgui: add missing include
Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 14:20:12 -04:00
Ronald Caesar 5f0791e8b1 extern/luajit-imgui: add source code properly
This adds luajit-imgui without submodules.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 14:12:55 -04:00
Ronald Caesar e06f6bd00e extern/luajit-imgui: remove git submodule
I'm re-adding this project without any git metadata to make my own
local changes.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 14:02:04 -04:00
Ronald Caesar 48dc2ccbaf extern/luajit: readd luajit to fix compiler errors
So apperently running clang-format causes LuaJIT to fail compiling. Took
a couple hours to figure that one out. I disable clang-format on the
`extern` folder and re-add it.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 11:41:48 -07:00
Ronald Caesar c4357f630c actions: change windows compiler to cl.exe
Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 01:42:12 -04:00
Ronald Caesar 028f9e4344 actions: setup developer command prompt on windows runners
This allows us to compile Ballistic with msvc.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 01:41:44 -04:00
Ronald Caesar 3b58e8866e extern/luajit: add missing include header
CTypeID was missing when I tried to compile.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 01:39:29 -04:00
Ronald Caesar 0ed674c0f2 dashboard/filedialog: fix file dialog not showing directories properly
The entry count was not being reset which caused a lot of visual bugs.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 01:18:38 -04:00
Ronald Caesar 2eb94ac2aa extern/luajit: build LuaJIT from source
I really don't understand why they switch to a rolling release and
not ship binaries. Make things way more complicated than it needs
to be.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-11 01:02:09 -04:00
Ronald Caesar c220e0ffc9 extern: pin luajit-imgui to commit a2c8a33652ea97181ea048f112eeaa407150326e
I'm re-adding the luajit-imgui submodule cause I fucked up the extern/
directory on my local machine.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-10 23:41:28 -04:00
Ronald Caesar d13a4c34bc engine: fix some MSVC warnings
Compiling with MSVC still fails but I fixed some errors.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-10 23:29:54 -04:00
Ronald Caesar 86cdc947cf docs: add more immediate goals
Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-06-10 12:32:54 -04:00