Commit Graph

6689 Commits

Author SHA1 Message Date
James Brown
f2ddfb59cf Add note regarding the unusable state of Residual at the moment, due to common utter and complete memory corruption... in the vauge hope of prodding Yaz into fixing it :) 2003-09-06 15:04:58 +00:00
James Brown
22383f5366 Headcrash is a great book by Bruce Bethke. This however is a nasty hack to prevent memory corruption when computing Mannys Head's bounding box 2003-09-01 17:07:31 +00:00
Vincent Hamm
9517179671 somehow fixed screenblocks location 2003-08-31 13:20:28 +00:00
Lionel Ulmer
a1324f2009 Use blending for the dirty boxes + fix the Z blit. 2003-08-30 21:19:38 +00:00
Vincent Hamm
0b9ad744e3 slight update.
The actor are temporarly draw 2 times until I figure out the problem with the update projection
Debut display is left activated
2003-08-30 19:58:38 +00:00
Vincent Hamm
07b1f5b45b blit speed up 2003-08-30 19:15:05 +00:00
Vincent Hamm
8dadf8823b more on the screenBlock thingy
Slow, but speed will be improved soon
2003-08-30 19:04:07 +00:00
James Brown
7a244d2f79 Update makefiles, fix screenblock compilation (memcpy include and file newlines) 2003-08-30 18:05:48 +00:00
Vincent Hamm
ea87aed73a early screenblock commit 2003-08-30 17:58:33 +00:00
James Brown
fbd8932a33 Fix regression - zbuffer room masks are optional, the alley doesn't have one, so don't error. 2003-08-30 13:37:03 +00:00
Travis Howell
6945e91ba1 Ooops 2003-08-29 12:12:39 +00:00
Travis Howell
98a7c6ec3a Udate mingw makefile, restore mingw console output. 2003-08-29 12:10:53 +00:00
Vincent Hamm
f415db4f87 fix compile under linux 2003-08-28 02:01:48 +00:00
Vincent Hamm
f615a07c35 Implemented the basic matrix system in the models.
Now we can know the position of each node/polygon/point of the animated model before it's even drawn on screen.
We can also know the position of the points on screen (and the depth of those points).
The dirty box of the models is now computed (in a debug fashion).
Somehow, models head are still bugged but it's probably due to the fact that they are not animated (and not initialised).

The debug display is left activated to let Endy see the results and implement a better zbuffer refresh system
2003-08-28 01:55:48 +00:00
James Brown
05c0f90ab2 Add an == and != operator to the Vector class 2003-08-26 14:10:10 +00:00
Vincent Hamm
d85f8b89ac A bit more code for the lookAt system 2003-08-26 09:36:47 +00:00
Vincent Hamm
8468f7090f Fix compile under linux 2003-08-26 00:28:02 +00:00
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