Commit graph

172 commits

Author SHA1 Message Date
Vincent Hamm
94adad3d50 added preliminary code for actorLookAt 2003-08-26 00:25:22 +00:00
Pawel Kolodziejski
98da787768 . 2003-08-25 22:35:38 +00:00
Vincent Hamm
e83d48b822 Win32 debug now run with console output 2003-08-25 21:42:32 +00:00
Vincent Hamm
cc1225dbc2 Fixed win32 compile in release 2003-08-25 21:37:10 +00:00
Vincent Hamm
ea46dd5076 Fixed residual to work on win32 (asside from the HASH problem that seems unused) 2003-08-25 21:31:24 +00:00
Pawel Kolodziejski
c481d9e274 . 2003-08-25 19:59:58 +00:00
Vincent Hamm
b10dc60444 One more try to fix the WIN32 port 2003-08-25 19:47:54 +00:00
Pawel Kolodziejski
979e3add68 fixed endlines 2003-08-25 19:32:11 +00:00
Vincent Hamm
3d2f4cb766 Uncomment lua init code 2003-08-25 19:29:45 +00:00
Max Horn
27e36362f3 vsscanf isn't part of the the standard, and hence not in the std:: namespace (at least over here). If this causes problems for somebody, please flag me and we can work out a solution 2003-08-25 19:21:00 +00:00
Max Horn
603444a9ba BE floats are the same as LE floats, just byteswapped 2003-08-25 19:20:51 +00:00
Vincent Hamm
117674f387 Fix compilation of the lua lib (to include math io and str)
Fix compilation and link of resiudal under VC7
The xhash is fixed with an ugly hack at line 38, probably incorrect

Residual under pure win32 version now run up to the splash screen
2003-08-25 18:42:24 +00:00
Pawel Kolodziejski
8f456e252f small update for project file 2003-08-25 05:24:36 +00:00
Pawel Kolodziejski
90af75da5c update todo 2003-08-25 05:18:47 +00:00
Pawel Kolodziejski
2c1676db4a added windows target, hash maps still not compilable for resource.cpp 2003-08-24 17:56:03 +00:00
James Brown
5d4aeaf0e2 Disable zbuffer by default (please leave this disabled) - prevents abismal fps and major bugs on many cards. Will make a command-line option later on.
:
2003-08-24 14:32:13 +00:00
James Brown
e714838d0c Add note regarding abismal FPS on the many cards without a speedy glDrawPixels implementation. 2003-08-24 14:12:22 +00:00
Daniel Schepler
dd19714d58 Improve the depth buffer transformation. 2003-08-24 13:37:30 +00:00
Pawel Kolodziejski
6fd2185e16 added windows code for reading directory with lab files, not tested yet 2003-08-24 09:34:19 +00:00
Lionel Ulmer
9e5af40c49 Add a warning when a texture size is 'invalid' (ie here it's a width
that is equal to '0').

People knowing more then me about the GRIME code could check why we
have null-sized textures (which are certainly not valid in GL :-) ).
2003-08-23 18:39:15 +00:00
Lionel Ulmer
4da066689d Fix bad GL code (thanks Mesa - debug mode :-) ) 2003-08-23 18:26:42 +00:00
Lionel Ulmer
1e0d825a98 Implementation of the Z Buffer. It works fast enough on my TNT2 board,
no idea about other vendors though.

Note that the '0xFFFF - (z / 64)' formula is empirical and will need
to be fixed :-)
2003-08-23 13:52:43 +00:00
Lionel Ulmer
a63031a7b4 Prevent 'projection matrix' abuse. 2003-08-23 13:51:25 +00:00
Travis Howell
1820a3ad60 Add install/dist option to mingw makefile. 2003-08-23 01:44:12 +00:00
James Brown
d2b708120e Disable changeTextObject table parsing for now (it breaks using Don Copals computer). Fix killTextObject to take into account the nil = "(nill)" change 2003-08-22 17:49:13 +00:00
Daniel Schepler
7b674b81a0 Fix a couple valgrind issues, including one which could possibly have
caused crashes in loading sounds.
2003-08-22 13:57:50 +00:00
Daniel Schepler
1990f9a515 Fix "unexpected type in concat" errors. 2003-08-22 13:07:40 +00:00
Daniel Schepler
ee96d79e10 Implement WalkActorTo and IsActorMoving (and incidentally GetActorYawToPoint). 2003-08-22 12:28:33 +00:00
Daniel Schepler
b18077ac5d Implement SetActorRot(x,y,z,TRUE) and IsActorTurning. 2003-08-22 11:37:39 +00:00
Daniel Schepler
b57b823c2b Make all tools in tools/Makefile by default. 2003-08-22 11:07:19 +00:00
Daniel Schepler
08b3731938 Fix GetActorRot. 2003-08-22 07:08:05 +00:00
James Brown
b59313293c Whoops, forgot to commit these files last night :) 2003-08-22 05:53:29 +00:00
Daniel Schepler
445383f67a Implemented -t switch for delua, which does translation on strings. 2003-08-22 02:23:00 +00:00
Pawel Kolodziejski
4a2488eaca changed path to current directory, which should be the same game data 2003-08-21 18:40:02 +00:00
Pawel Kolodziejski
3f2c0289da remove residual.exe for clean 2003-08-21 16:48:03 +00:00
James Brown
cfbec59514 Makefile updates 2003-08-21 15:43:23 +00:00
James Brown
a3e85ca254 Add textObject handling... havn't commited the drawing code yet, as it's buggy. 2003-08-21 15:42:36 +00:00
Daniel Schepler
5cd6a8369f Mark a couple stub functions more clearly as such. 2003-08-21 14:29:43 +00:00
Daniel Schepler
b8f4b90828 Implement GetActorRot. 2003-08-21 13:24:25 +00:00
Daniel Schepler
c2b246d004 Call camChangeHandler and postCamChangeHandler. This fixes the
missing Eva problem.
2003-08-21 12:31:40 +00:00
Daniel Schepler
5c1dc8ba5f Make find_script work on functions with debugging info. 2003-08-21 11:23:03 +00:00
Daniel Schepler
3afa5a39d7 Implement find_script for task userdata's. 2003-08-21 10:29:36 +00:00
James Brown
380f95965b Just enhance the debug info for the text routines. Working on font decoding now. 2003-08-21 10:27:21 +00:00
Daniel Schepler
afb657b047 Treat LUA_NOOBJECT (returned by lua_getparam for nonexistent parameters)
as nil.
2003-08-21 10:04:52 +00:00
James Brown
1410ab176f Test new logs list 2003-08-21 09:58:25 +00:00
Daniel Schepler
118f717394 Rough implementation of sector visibility. 2003-08-21 09:15:52 +00:00
Daniel Schepler
a56876c1b7 Confirm that I'm working on walk boxes. 2003-08-21 08:48:28 +00:00
Pawel Kolodziejski
1612984aa0 fixed warnings 2003-08-21 07:40:45 +00:00
James Brown
b22309383d Get rid of those horrible stderr/stdout files on Win32, so debug keys can work (etc) 2003-08-21 07:33:39 +00:00
James Brown
693cef4d20 Stop overlapping voices 2003-08-21 06:55:07 +00:00