diff options
| author | Indrajith K L | 2025-11-03 18:04:54 +0530 |
|---|---|---|
| committer | Indrajith K L | 2025-11-03 18:04:54 +0530 |
| commit | f185f2c31a611c985dbdb5e1b40a0c4c2a1dc3b1 (patch) | |
| tree | fe60ea230e154889216d5ed00f43869c0a3656dd /build/CMakeFiles/Makefile2 | |
| parent | 737214b71be8fe5fdf51155ad50bb064b3156bd3 (diff) | |
| download | reilua-enhanced-f185f2c31a611c985dbdb5e1b40a0c4c2a1dc3b1.tar.gz reilua-enhanced-f185f2c31a611c985dbdb5e1b40a0c4c2a1dc3b1.tar.bz2 reilua-enhanced-f185f2c31a611c985dbdb5e1b40a0c4c2a1dc3b1.zip | |
Fix SEGV crash: Initialize window and font in stateInit()
- Move window initialization and font loading to stateInit()
- Window now opens before splash screens (required for rendering)
- Custom font loaded in stateInit for splash screen use
- Remove RL.config() call from luaCallMain() (window already initialized)
- Remove stateContextInit() call (initialization now done in stateInit)
- Add hasWindow, customFontLoaded, resolution fields to State
- Fix memory management for custom font in stateFree()
This matches the ReiLua-JamVersion architecture where the window
is opened early so splash screens can render properly.
Diffstat (limited to 'build/CMakeFiles/Makefile2')
| -rw-r--r-- | build/CMakeFiles/Makefile2 | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/build/CMakeFiles/Makefile2 b/build/CMakeFiles/Makefile2 new file mode 100644 index 0000000..13fc36f --- /dev/null +++ b/build/CMakeFiles/Makefile2 @@ -0,0 +1,121 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "MinGW Makefiles" Generator, CMake Version 4.1 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +SHELL = cmd.exe + +# The CMake executable. +CMAKE_COMMAND = "C:\Program Files\CMake\bin\cmake.exe" + +# The command to remove a file. +RM = "C:\Program Files\CMake\bin\cmake.exe" -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = C:\Users\indrajith_inapp\Documents\projects\ReiLua + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = C:\Users\indrajith_inapp\Documents\projects\ReiLua\build + +#============================================================================= +# Directory level rules for the build root directory + +# The main recursive "all" target. +all: CMakeFiles/ReiLua.dir/all +.PHONY : all + +# The main recursive "codegen" target. +codegen: CMakeFiles/ReiLua.dir/codegen +.PHONY : codegen + +# The main recursive "preinstall" target. +preinstall: +.PHONY : preinstall + +# The main recursive "clean" target. +clean: CMakeFiles/ReiLua.dir/clean +.PHONY : clean + +#============================================================================= +# Target rules for target CMakeFiles/ReiLua.dir + +# All Build rule for target. +CMakeFiles/ReiLua.dir/all: + $(MAKE) $(MAKESILENT) -f CMakeFiles\ReiLua.dir\build.make CMakeFiles/ReiLua.dir/depend + $(MAKE) $(MAKESILENT) -f CMakeFiles\ReiLua.dir\build.make CMakeFiles/ReiLua.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=C:\Users\indrajith_inapp\Documents\projects\ReiLua\build\CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 "Built target ReiLua" +.PHONY : CMakeFiles/ReiLua.dir/all + +# Build rule for subdir invocation for target. +CMakeFiles/ReiLua.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start C:\Users\indrajith_inapp\Documents\projects\ReiLua\build\CMakeFiles 21 + $(MAKE) $(MAKESILENT) -f CMakeFiles\Makefile2 CMakeFiles/ReiLua.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start C:\Users\indrajith_inapp\Documents\projects\ReiLua\build\CMakeFiles 0 +.PHONY : CMakeFiles/ReiLua.dir/rule + +# Convenience name for target. +ReiLua: CMakeFiles/ReiLua.dir/rule +.PHONY : ReiLua + +# codegen rule for target. +CMakeFiles/ReiLua.dir/codegen: + $(MAKE) $(MAKESILENT) -f CMakeFiles\ReiLua.dir\build.make CMakeFiles/ReiLua.dir/codegen + @$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --progress-dir=C:\Users\indrajith_inapp\Documents\projects\ReiLua\build\CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 "Finished codegen for target ReiLua" +.PHONY : CMakeFiles/ReiLua.dir/codegen + +# clean rule for target. +CMakeFiles/ReiLua.dir/clean: + $(MAKE) $(MAKESILENT) -f CMakeFiles\ReiLua.dir\build.make CMakeFiles/ReiLua.dir/clean +.PHONY : CMakeFiles/ReiLua.dir/clean + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 0 +.PHONY : cmake_check_build_system + |
