100 Commits

Author SHA1 Message Date
Pawel Kolodziejski
444e6ef553 changed resturn value from setSequence as should be 2005-01-14 09:25:42 +00:00
Pawel Kolodziejski
52515b14ce added -1 param support for imuse setMusicSeq func 2005-01-13 21:25:39 +00:00
Pawel Kolodziejski
21ee0705c6 handle EngineDisplay opcode better 2005-01-13 09:27:07 +00:00
Pawel Kolodziejski
c0f8811e01 fixed more warnings 2005-01-13 00:15:15 +00:00
Pawel Kolodziejski
310bffb3c0 fixed some warnings 2005-01-12 23:28:47 +00:00
Pawel Kolodziejski
ba95e81d21 some more imuse changes 2005-01-05 18:28:50 +00:00
Pawel Kolodziejski
0726949cb8 fixes to imuse 2005-01-03 16:27:57 +00:00
Pawel Kolodziejski
6489c11fdc added 3 funcs 2005-01-03 08:18:45 +00:00
Pawel Kolodziejski
1497caa55a added two lua opcodes 2005-01-02 20:26:51 +00:00
Pawel Kolodziejski
1e4fdcada6 changes in parsing message texts 2005-01-02 13:34:50 +00:00
Pawel Kolodziejski
631db27920 handle sfx and voice by imuse 2005-01-01 21:07:52 +00:00
Pawel Kolodziejski
f5381592ef removed never used lua opcodes and add new monkey4 stubs opcodes 2005-01-01 15:23:13 +00:00
Pawel Kolodziejski
23e36b1fa2 cleanup 2005-01-01 12:41:53 +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
dbe4a2e98f attach imuse to lua commands scripts 2004-12-30 22:38:53 +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
db40b6046b remove tab 2004-12-25 19:03:48 +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
b00502ad31 changed to proper convetion naming 2004-12-10 07:26:03 +00:00
Pawel Kolodziejski
39a4b54d30 format "_" in names,
format code a bit
2004-12-09 23:55:43 +00:00
Pawel Kolodziejski
3192552d54 fixed after cvs commit conflict 2004-11-06 14:45:12 +00:00
Pawel Kolodziejski
d219ab0f50 - moved pause/unpause scripts into lua,
- add/reorder lua opcodes
2004-11-06 14:04:08 +00:00
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