Commit Graph

156 Commits

Author SHA1 Message Date
Pawel Kolodziejski
adbb36cf8b added timer code 2003-12-12 21:38:12 +00:00
Pawel Kolodziejski
03abd1bb4c added mixer code, handle smush sound, handle smush filenames in lua 2003-12-12 21:17:31 +00:00
Jonathan Gray
929b13790b fix compilation 2003-12-12 09:53:29 +00:00
Travis Howell
30a62b7b24 Add new objects 2003-12-12 08:53:30 +00:00
Travis Howell
0109c4c1a9 Add new objects 2003-12-12 08:46:02 +00:00
Pawel Kolodziejski
9240a7374b changes types as in scummvm, split vima codec to seperate file, added smush code, added hack in lua for play smush currently only intro, output gfx and sound(no mixer yet) 2003-12-12 08:39:07 +00:00
Pawel Kolodziejski
f4ad708ef8 fixed compilation 2003-10-28 18:39:24 +00:00
James Brown
05348e088b Add sector on/off function. Need to work out why elevator doesn't work properly. 2003-10-12 13:04:46 +00:00
Travis Howell
4a616ce08d Update libs 2003-10-11 09:57:13 +00:00
James Brown
1627b484cb Fix residual crosscompile, add (untested) temp font support under Win32 2003-10-11 09:18:05 +00:00
James Brown
804e522c1b Add quick'n'dirty actor constrain-to-walkbox code 2003-10-11 08:28:32 +00:00
James Brown
32604f6e4b Rewrite LUA TextObject change parser gizmo. 2003-10-10 14:20:02 +00:00
James Brown
be37f31100 Enable some hacky non-portable text drawing until I get my LAF font code working. X11-only at the moment (although a Windows equiv should be easy). Note that this breaks Copal's computer again, for some LUA'ish reason involving the parameter table sent to ChangeTextObject. Cleaned up a bit of code and renamed ColorMap class to CMap to prevent conflict against X headers. 2003-10-05 17:45:46 +00:00
Vincent Hamm
5a2430fd04 Fixed major problem in matrix code 2003-10-01 12:20:27 +00:00
Vincent Hamm
9fa9120f3c Removed my hack as Endy had fixed it a few hours before me 2003-09-21 12:28:51 +00:00
Vincent Hamm
580725f949 Deactivating the screenbox code as Endy is too hopeless to even try to understand a simple code.... 2003-09-21 12:21:13 +00:00
James Brown
214e9a933b 'unbreak' Residual - disable Zbuffer and (broken) screenblocks code by default. Add hacky commandline options for these. 2003-09-21 09:51:59 +00:00
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