Commit graph

48 commits

Author SHA1 Message Date
Daniel Schepler
9abc55fcfd Implement a fullscreen mode. 2005-03-28 01:54:21 +00:00
Pawel Kolodziejski
5d6db03916 moved code to handle startup params properly 2005-01-12 18:12:11 +00:00
Pawel Kolodziejski
e3b71377d3 added TinyGL driver as Residual software renderer 2005-01-12 18:06:43 +00:00
Pawel Kolodziejski
aefd8da093 droped screenblocks, it's a bit too slow(on windows 7500 ati i can't even wrote to zbuffer), it doesn't detect many areas, if even would it will increase rects a lot and speed slow down much. ... and adopting half screen overlays kill solution completly 2005-01-10 09:07:46 +00:00
Pawel Kolodziejski
0f55bd1b6d don't use sdlmain.lib, it's not compatible with msvc 8 2005-01-02 17:14:01 +00:00
Pawel Kolodziejski
631db27920 handle sfx and voice by imuse 2005-01-01 21:07:52 +00:00
Pawel Kolodziejski
5d8656dc48 cleanup headers 2005-01-01 12:27:57 +00:00
Pawel Kolodziejski
a2df2cf7ce update copyrights 2005-01-01 10:23:18 +00:00
Pawel Kolodziejski
f8d91f8332 cleanup 2004-12-31 22:05:26 +00:00
Pawel Kolodziejski
fa8e82812d replace class instances into global refrences 2004-12-31 21:35:04 +00:00
Pawel Kolodziejski
8d1ad43bde imuse is now compilable 2004-12-29 06:32:07 +00:00
Pawel Kolodziejski
700a3124b0 - removed/disabled current sound code, will be replaced with imuse
- updated more temporary imuse code
2004-12-28 08:05:18 +00:00
Pawel Kolodziejski
c3da0d913d - cleanup func names,
- move setup mixer volume from spund.cpp to main.cpp
2004-12-26 12:40:37 +00:00
Pawel Kolodziejski
82ddc18868 - allow reset lua global tables,
- allow access to some static funcs,
- clearing CallInfo structure after alloc and realloc,
- add base_ci_size of base_ci to task and state structure and handle it,
- add PAUSE tag to task,
- store funcs libs into lists,
- added few lua funcs used by engine
- added dummy save/restore callbacks/funcs
- changed restore engine key F5 to F7
2004-12-25 18:23:07 +00:00
Pawel Kolodziejski
9a1c4e4dd5 rename create/delete_mutex to proper naming,
synced audiostream with main tree
2004-12-10 20:33:31 +00:00
Pawel Kolodziejski
39a4b54d30 format "_" in names,
format code a bit
2004-12-09 23:55:43 +00:00
Joost Peters
c3f017999b change initialisation order so we can't accidentally use the not-yet-initialised (g_)smush object.
this prevents a crash/hang on mac
2004-11-06 22:56:28 +00:00
Pawel Kolodziejski
24e246ab0e close lua at exit 2004-11-01 18:49:48 +00:00
Pawel Kolodziejski
154d6645b3 match IDB 2004-10-31 09:37:06 +00:00
Pawel Kolodziejski
25d1b392a0 fixed warning 2004-04-20 07:40:14 +00:00
Oliver Kiehl
8a73dc5185 use "fps" instead of "showfps" in config file, to make it consistant with command line 2004-04-19 17:23:40 +00:00
Michael Pearce
0b31d9c9f7 Wheee, I'm helping 2004-04-16 10:56:27 +00:00
Oliver Kiehl
1964209430 a simple fps monitor 2004-04-15 20:20:04 +00:00
Max Horn
eb3f4e6e8d the OpenGL framework is already covered by 'sdl-config --libs', and GLUT isn't used at all (note: GLU != GLUT); renamed OSX macro to MACOSX (thus matching ScummVM; hack driver_gl.cpp to compile on OSX 2004-03-25 22:17:09 +00:00
Daniel Schepler
4b06c2226d Add zbuffer and screenblocks options in .residualrc.
Also, make ZBUFFER_GLOBAL and SCREENBLOCKS_GLOBAL into bool variables.
2004-03-24 12:20:46 +00:00
Daniel Schepler
3d67f2bbbf Implement drawing bitmapped objects. 2004-03-22 11:23:37 +00:00
Joost Peters
617e26091f Preliminary BE/Mac support.
To compile on Mac OSX: edit the Makefile and uncomment the OSX LIBS/CXXFLAGS additions (and comment out the -lGL -lGLU line)
and edit lua/src/lvm.c to use the Big Endian macro.
2004-03-21 15:16:57 +00:00
Pawel Kolodziejski
098f0b2b2c added engine states, separate fullscreen smush playback depend on engine mode 2004-03-20 05:47:21 +00:00
Pawel Kolodziejski
37b6c80f53 update copyright date, some formating stuff, rest later 2004-02-24 21:09:53 +00:00
Pawel Kolodziejski
28836b3b3f more smush stuff, sound disabled for now 2004-02-21 22:00:13 +00:00
James Brown
508d66a1e5 Start of attempt to abstract OpenGL from Residual 2004-01-23 11:10:59 +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
Pawel Kolodziejski
f4ad708ef8 fixed compilation 2003-10-28 18:39:24 +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
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
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
Travis Howell
98a7c6ec3a Udate mingw makefile, restore mingw console output. 2003-08-29 12:10:53 +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
Vincent Hamm
e83d48b822 Win32 debug now run with console output 2003-08-25 21:42:32 +00:00
Vincent Hamm
3d2f4cb766 Uncomment lua init code 2003-08-25 19:29:45 +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
2c1676db4a added windows target, hash maps still not compilable for resource.cpp 2003-08-24 17:56:03 +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
5a152ee57e Temporarily add Gl driver to window title 2003-08-16 11:17:29 +00:00
Jonathan Gray
e29925f16b set window title 2003-08-15 23:47:28 +00:00
Vincent Hamm
fd60abaa0c renamed all .cc to cpp and all .hh to .h 2003-08-15 19:41:26 +00:00
Renamed from main.cc (Browse further)