Commit graph

35 commits

Author SHA1 Message Date
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
Daniel Schepler
ee96d79e10 Implement WalkActorTo and IsActorMoving (and incidentally GetActorYawToPoint). 2003-08-22 12:28:33 +00:00
Daniel Schepler
b18077ac5d Implement SetActorRot(x,y,z,TRUE) and IsActorTurning. 2003-08-22 11:37:39 +00:00
Daniel Schepler
08b3731938 Fix GetActorRot. 2003-08-22 07:08:05 +00:00
James Brown
a3e85ca254 Add textObject handling... havn't commited the drawing code yet, as it's buggy. 2003-08-21 15:42:36 +00:00
Daniel Schepler
5cd6a8369f Mark a couple stub functions more clearly as such. 2003-08-21 14:29:43 +00:00
Daniel Schepler
b8f4b90828 Implement GetActorRot. 2003-08-21 13:24:25 +00:00
Daniel Schepler
c2b246d004 Call camChangeHandler and postCamChangeHandler. This fixes the
missing Eva problem.
2003-08-21 12:31:40 +00:00
James Brown
380f95965b Just enhance the debug info for the text routines. Working on font decoding now. 2003-08-21 10:27:21 +00:00
Daniel Schepler
118f717394 Rough implementation of sector visibility. 2003-08-21 09:15:52 +00:00
James Brown
cb02f26732 Implement '.' sentence skipping, and other shutUpActor use 2003-08-21 06:51:02 +00:00
James Brown
5b1490c130 Change get_costume error to a warning, to let us get down to the garage. Me, or someone, needs to look into why knocking on the door down there freezes (Glottis never makes it out) 2003-08-20 20:04:52 +00:00
James Brown
8d6bbabb5c Stick in some basic code to let conversations 'work'. I don't know enough about LUA to work out how to typecast the userdata to a usable set of fields yet... 2003-08-20 16:01:58 +00:00
Daniel Schepler
63178ba191 Major overhaul and simplification of the construction method for
costumes.

I also added a bit of documentation on the design of the costume class,
along with how I think the bitmap objects should be handled.
2003-08-20 14:29:59 +00:00
James Brown
ba0b3a74ad Remove code duplication 2003-08-20 10:38:30 +00:00
James Brown
aa94eb9e2f Remove debug messages for implemented walkplane code, TODO updates 2003-08-20 08:10:31 +00:00
Daniel Schepler
4e7c1ef006 Implemented isPointInSector and GetActorSector. 2003-08-20 00:35:37 +00:00
Daniel Schepler
b2e44df459 Improve stub debugging info for userdata. 2003-08-19 23:46:16 +00:00
James Brown
aabbf86d03 Various bits of started code 2003-08-19 12:27:17 +00:00
James Brown
0e355abcaf Move walkplane/sector code to seperate file 2003-08-19 07:20:03 +00:00
James Brown
c31676d9a3 !(Coding && Hangover) 2003-08-17 08:30:18 +00:00
James Brown
4d94385c2e If somebody can explain what stupid thing I have done to make 0 > 11 = true... Please tell me! (getSectorName in scene.h) 2003-08-17 08:11:59 +00:00
Daniel Schepler
aebf6519bb Implement GetCurrentScript. Overrides should work better now. 2003-08-16 20:12:02 +00:00
Jonathan Gray
98d381f2dd stderr/stdin based InputDialog implementation 2003-08-16 09:48:53 +00:00
James Brown
bdd79593e9 A few random incomplete sector thingies. still have to add a cvsignore for grimdialog :P 2003-08-16 06:41:37 +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 lua.cc (Browse further)