Commit graph

172 commits

Author SHA1 Message Date
James Brown
508d66a1e5 Start of attempt to abstract OpenGL from Residual 2004-01-23 11:10:59 +00:00
Eugene Sandulenko
8f2f5cd2a3 o Portability fixes 2003-12-18 22:54:01 +00:00
Pawel Kolodziejski
7668891b52 synced 2003-12-18 08:58:57 +00:00
Pawel Kolodziejski
eca1f814b0 added simple and empty kdevelop project file 2003-12-17 20:53:01 +00:00
Pawel Kolodziejski
e38f709a79 updated todo 2003-12-16 08:45:05 +00:00
Pawel Kolodziejski
1bf86d546b deinit after stop playing smush 2003-12-13 13:58:44 +00:00
James Brown
ea93407848 Readd openNewStream function for gzdopen() via SMUSH 2003-12-13 11:03:42 +00:00
James Brown
135bea3ba8 Update re: smush 2003-12-13 10:39:10 +00:00
Pawel Kolodziejski
96bb06384b fixed code for Endy :) 2003-12-13 10:19:37 +00:00
Travis Howell
e230b6b5af Update 2003-12-13 09:38:52 +00:00
Pawel Kolodziejski
2585cfebec added poll event 2003-12-13 09:30:01 +00:00
Pawel Kolodziejski
981a81c2e1 cleanup 2003-12-13 08:56:21 +00:00
Travis Howell
8520244fa0 Update makefile 2003-12-13 00:32:13 +00:00
Jonathan Gray
2b0c4595ff hack makefile to compile again, how can this be done cleaner? 2003-12-12 23:06:55 +00:00
Pawel Kolodziejski
98a3718f92 added smush gfx output, but it still not working 2003-12-12 22:57:40 +00:00
Pawel Kolodziejski
2744e0ec88 smush handle timer callback 2003-12-12 22:24:34 +00:00
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