fg
b2517ec38b
missed this one
2012-01-10 18:09:44 +00:00
fgenesis
4320b8296b
Add a safe pointer model to ScriptInterface, additional bug/crash fixes.
...
This commit introduces pointer checks to various functions;
so that entity_* will no longer crash or produce weird results
if passed a Node pointer, etc.
The checks are disabled by default, but can be enabled in
ScriptInterface.cpp.
Fixed possible crashes in a few more functions due to missing NULL-checks.
There was a "feature" in the single Lua state that it would keep globals
intact until the game was quit. That made any globals from mods "leak"
into the game or other mods. Now it resets the Lua state when a mod
is loaded or closed.
2012-01-03 04:38:28 +01:00
fgenesis
d4282221fc
Revert "Revert "move around some files to keep the size of the next commit down""
...
This reverts commit b2abcff02d
.
2011-09-15 20:17:23 +02:00
fgenesis
b2abcff02d
Revert "move around some files to keep the size of the next commit down"
...
This reverts commit 0951283b31
.
2011-09-15 19:19:14 +02:00
fgenesis
56c6833220
Revert "added partial VFS support - enough to read static data from any source"
...
This reverts commit fa3e9e7329
.
2011-09-15 19:18:53 +02:00
fgenesis
fa3e9e7329
added partial VFS support - enough to read static data from any source
2011-09-15 18:33:13 +02:00
fgenesis
0951283b31
move around some files to keep the size of the next commit down
2011-08-13 14:50:47 +02:00
fgenesis
5c6ed37b99
re-enable linking against SDLmain
2011-08-11 17:01:36 +02:00
fgenesis
827e8f2a4b
fix MSVC OpenGL linkage warnings & mingw linker problems. use SDL.lib also for MinGW.
2011-08-11 04:56:27 +02:00
fgenesis
6df593975f
oops
2011-08-11 04:50:14 +02:00
fgenesis
2e4e2941db
log to console in debug mode; close log properly; really #define _DEBUG for gcc debug builds + gcc _DEBUG compatibility
2011-08-11 02:26:46 +02:00
fgenesis
7f9af044d7
remove last remains of DRM-related code and cleanup main() a bit
2011-08-11 01:51:03 +02:00
fgenesis
120272512c
fixes for win32/MSVC build. This removes SDLmain as dependency, and fixes newer gcc versions refusing to compile FmodOpenALBridge.cpp. Allow enabling/disabling console window in win32 build.
2011-08-11 01:42:10 +02:00
fgenesis
f23b69ffc3
Revert "remove last remains of DRM-related code and cleanup main() a bit"
...
This reverts commit 9757cb2fca
.
Conflicts:
Aquaria/Main.cpp
2011-08-11 01:38:25 +02:00
fgenesis
ab11cdb4e4
Revert "fixes for win32/MSVC build. This removes SDLmain as dependency, and fixes newer gcc versions refusing to compile FmodOpenALBridge.cpp. Allow enabling/disabling console window in win32 build."
...
This reverts commit 5b511f556a
.
2011-08-11 01:34:27 +02:00
fgenesis
5b511f556a
fixes for win32/MSVC build. This removes SDLmain as dependency, and fixes newer gcc versions refusing to compile FmodOpenALBridge.cpp. Allow enabling/disabling console window in win32 build.
2011-08-11 01:34:01 +02:00
fgenesis
01c3e9c38f
Revert "fixes for win32/MSVC build. This removes SDLmain as dependency, and fixes newer gcc versions refusing to compile FmodOpenALBridge.cpp. Allow enabling/disabling console window in win32 build."
...
This reverts commit fe16861832
.
Conflicts:
Aquaria/Main.cpp
CMakeLists.txt
2011-08-08 13:06:34 +02:00
fgenesis
f8b0c29ecd
whoops
2011-08-08 04:26:00 +02:00
fgenesis
9757cb2fca
remove last remains of DRM-related code and cleanup main() a bit
2011-08-08 04:14:46 +02:00
fgenesis
fe16861832
fixes for win32/MSVC build. This removes SDLmain as dependency, and fixes newer gcc versions refusing to compile FmodOpenALBridge.cpp. Allow enabling/disabling console window in win32 build.
2011-08-08 03:54:30 +02:00
fgenesis
3096eaf5e2
initial commit. This is icculus version 5542b94cae02a6333845854bbbd1abe0a259f1a4
2011-08-03 22:05:33 +02:00