dhewm3-sdk/game
dhewg f8efcf5e90 Fix script interpreter stack for x86_64
Alot of stack and event variables are pointers. Align the size of
all script and event variable types to sizeof(intptr_t) so that
the CPU needs only one fetch insn on 64bit archs.

Tested on x86 and x86_64 and found no different script behaviours
compared to the binary from id.
Savegames on x86_64 do work, but are not compatible to x86 and vice
versa (among other issues, the stack is written to file as-is).
x86 builds can still load savegames from the official binary and
vice versa.
2018-08-20 01:46:24 +02:00
..
ai Trivial pointer cast fixes for x86_64 2018-08-20 01:46:24 +02:00
anim Fix shared library loading for x86_64 2018-08-20 01:46:24 +02:00
gamesys Fix script interpreter stack for x86_64 2018-08-20 01:46:24 +02:00
physics Mark unused variables in a non-debug build as such 2018-08-20 01:46:24 +02:00
script Fix script interpreter stack for x86_64 2018-08-20 01:46:24 +02:00
Actor.cpp Fix -Wpointer-arith warnings 2018-08-20 01:46:23 +02:00
Actor.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
AF.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
AF.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
AFEntity.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
AFEntity.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
BrittleFracture.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
BrittleFracture.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Camera.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Camera.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
EndLevel.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
EndLevel.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Entity.cpp Fix -Wunused-variable warnings 2018-08-20 01:46:23 +02:00
Entity.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Fx.cpp Fix -Wunused-but-set-variable warnings 2018-08-20 01:46:23 +02:00
Fx.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Game.def hello world 2011-11-22 15:28:15 -06:00
Game.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Game_local.cpp Mark unused variables in a non-debug build as such 2018-08-20 01:46:24 +02:00
Game_local.h Fix -Wparentheses warnings 2018-08-20 01:46:24 +02:00
Game_network.cpp Mark unused variables in a non-debug build as such 2018-08-20 01:46:24 +02:00
GameEdit.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
GameEdit.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
IK.cpp Fix -Wuninitialized warnings 2018-08-20 01:46:23 +02:00
IK.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Item.cpp Fix -Wconversion-null warnings 2018-08-20 01:46:23 +02:00
Item.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Light.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Light.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Misc.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Misc.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Moveable.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Moveable.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Mover.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Mover.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
MultiplayerGame.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
MultiplayerGame.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Player.cpp Fix -Wunused-value warnings 2018-08-20 01:46:23 +02:00
Player.h Fix -Wunused-variable warnings 2018-08-20 01:46:23 +02:00
PlayerIcon.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
PlayerIcon.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
PlayerView.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
PlayerView.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Projectile.cpp Fix -Wunused-but-set-variable warnings 2018-08-20 01:46:23 +02:00
Projectile.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Pvs.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Pvs.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
SecurityCamera.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
SecurityCamera.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
SmokeParticles.cpp Fix -Wuninitialized warnings 2018-08-20 01:46:23 +02:00
SmokeParticles.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Sound.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Sound.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Target.cpp Fix -Wunused-variable warnings 2018-08-20 01:46:23 +02:00
Target.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Trigger.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Trigger.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Weapon.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
Weapon.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
WorldSpawn.cpp Fix all whitespace errors 2018-08-20 01:46:22 +02:00
WorldSpawn.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00