75 Commits

Author SHA1 Message Date
Torbjorn Andersson
dd101c18a2 Fixed compilation. (Well, it compiles for me now, at least. For all I know
I may have broken it for someone else.)
2004-11-04 08:41:01 +00:00
Pawel Kolodziejski
baaa04525d forgot too 2004-11-01 22:18:05 +00:00
Pawel Kolodziejski
e114b24cbd that too 2004-11-01 22:09:54 +00:00
Pawel Kolodziejski
dc6ac2b863 moved stubs func into main list 2004-11-01 22:07:51 +00:00
Pawel Kolodziejski
64e1113686 added save ,load funcs 2004-11-01 09:47:19 +00:00
Pawel Kolodziejski
ce72edc1a7 - moved GetCurrentScript call from lua into engine lua code
- moved print_stack from dummy func list
- cleanup braces
2004-10-31 15:34:14 +00:00
Pawel Kolodziejski
661de1a589 -fixed sector code,
-match lua initialisation with IDB
2004-10-31 10:19:28 +00:00
Jonathan Gray
e897baa22f add stub for GetDiskFreeSpace which is used to check for free space when creating save games 2004-06-04 20:57:17 +00:00
Jonathan Gray
88813c2213 add disabled key stub to BlastText, add default value for system.frameTime (0), add GetTextCharPosition stub which lets the F1 menus work, they just aren't drawn as BlastText/Display/et cetera aren't implemented 2004-06-04 19:08:16 +00:00
Jonathan Gray
fc21d10cfa add font to list of keys MakeTextObject looks for, create BlastText stub so I can see the text telling me to switch cds when I try jump sets 2004-06-04 15:12:16 +00:00
Jonathan Gray
a8612f123b add stub for MakeTextObject key center 2004-04-16 12:01:36 +00:00
Jonathan Gray
5d58b7acf2 add Is3DHardwareEnabled() implementation 2004-04-16 11:41:38 +00:00
Jonathan Gray
8d84209882 add print_stack() to stub list, called when pressing F1 2004-04-16 11:21:44 +00:00
Joost Peters
be15b1ef54 Big Endian fix
Inventory, walking backwards, picking up items, etc. work now
2004-04-12 15:24:25 +00:00
James Brown
ba3e14c0b4 Cleanup 2004-03-30 07:08:40 +00:00
Joost Peters
e14d17b87b vector3d constructor only takes floats anyway. now you can pick up items. 2004-03-28 15:25:39 +00:00
Joost Peters
d297c72c4e Some more endian fixes, Manny can walk around now (although a bit buggy) 2004-03-28 15:03:27 +00:00
James Brown
abfb6b771d REALLY fix entering Dominos office 2004-03-26 08:44:41 +00:00
James Brown
8316698e56 Fix entering office 2004-03-26 07:26:39 +00:00
Daniel Schepler
105171af3c Ignore nclip and fclip for now; see comments in code for details.
Accept SetActorRestChore(handle, nil) to disable the rest chore.

These changes make the Land of the Living scene playable.
2004-03-26 04:42:27 +00:00
Daniel Schepler
7aecdb39f4 Implemented GetActorPuckVector and IsActorResting. Also rearranged
the walking code to be a bit more similar to the turning code.
2004-03-25 15:43:05 +00:00
Daniel Schepler
56c71106fe Preliminary improvement of walk plane code. With this, you should be
able to play the game up through getting the work order signed.  More
walk plane improvements to come...

Factor out code to search for a sector containing a point.
2004-03-25 09:33:17 +00:00
Daniel Schepler
1b67e54e2b Fix overshoot on smush movie rendering.
Fix position of movies.
2004-03-24 13:02:14 +00:00
James Brown
3cb5753213 X,Y can sometimes be nil to startMovie, so accept that to prevent the script dying when entering the garage. 2004-03-24 02:43:59 +00:00
Daniel Schepler
5ec54ab780 Implemented playing chores for walking, turning, mumbling.
TODO: processing *.lip files and using that data to play the specific
talkChore_[i] chores instead of the generic mumble chore.
2004-03-24 01:36:05 +00:00
Daniel Schepler
e1a465cd44 Implement animated bitmaps.
Reorganize ZBuffer rendering code a bit.
2004-03-23 10:38:02 +00:00
James Brown
66371a84e0 Still no closer to finding the mysteries of the stuck elevator from (or is that to? sorry Glottis) hell! 2004-03-22 12:46:38 +00:00
Daniel Schepler
3d67f2bbbf Implement drawing bitmapped objects. 2004-03-22 11:23:37 +00:00
Daniel Schepler
1db7c464cf Display a bit more information on NewObjectState calls. 2004-03-22 08:51:54 +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
01549c3ce2 added speech mode stuff, and fixed position for overlay mode smush 2004-03-20 07:45:34 +00:00
Pawel Kolodziejski
098f0b2b2c added engine states, separate fullscreen smush playback depend on engine mode 2004-03-20 05:47:21 +00:00
James Brown
f4b21591a2 Just pop in some temporary stuff as I'm probably about to mangle my local tree :) 2004-03-19 12:33:09 +00:00
Pawel Kolodziejski
397d822587 added movieTime stuff, now it try handle subtitles for smush 2004-03-03 21:43:34 +00:00
Pawel Kolodziejski
37b6c80f53 update copyright date, some formating stuff, rest later 2004-02-24 21:09:53 +00:00
Pawel Kolodziejski
b2a0e57574 implementation of round func 2004-02-22 18:40:29 +00:00
Pawel Kolodziejski
5739af6ab8 clenaup 2004-02-22 18:09:34 +00:00
Pawel Kolodziejski
7f4272ffdc clenaup 2004-02-22 18:04:22 +00:00
Pawel Kolodziejski
28836b3b3f more smush stuff, sound disabled for now 2004-02-21 22:00:13 +00:00
Eugene Sandulenko
8f2f5cd2a3 o Portability fixes 2003-12-18 22:54:01 +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
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
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
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
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
2c1676db4a added windows target, hash maps still not compilable for resource.cpp 2003-08-24 17:56:03 +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