Commit Graph
200 Commits
Author SHA1 Message Date
Joel Teichroeb 4751516279 Cleaned up dependencies between files. 2011-05-13 17:55:14 -07:00
Giulio Camuffo 814f79bf06 GRIM: Actually delete the state to be freed. 2011-05-10 19:22:51 +02:00
Pawel Kolodziejski fe4f042596 GRIM: remove inline 2011-05-09 23:01:16 +02:00
Giulio Camuffo 64c37e9a99 GRIM: Do not throw the assert when opening the save/load menu with old saves. 2011-05-08 19:31:23 +02:00
Pawel Kolodziejski 0f5de71f70 sync with scummvm 2011-05-08 15:38:26 +02:00
Pawel Kolodziejski ffbfcbefab GRIM: split lua_v1.cpp 2011-05-08 12:29:41 +02:00
Pawel Kolodziejski f97670b055 make grim and monkey opcodes separate 2011-05-08 07:28:46 +02:00
Joni Vähämäki ed361dcd50 GRIM: Calculate the world position of the hierarchy node in GetActorNodeLocation() more accurately. Manny's head will now follow Charlie's movements properly when talking to him in the casino. 2011-05-08 02:04:23 +08:00
Giulio Camuffo 268d97c680 GRIM: Rename Sector's getters. 2011-05-05 12:04:09 +02:00
Giulio Camuffo 232cab4f64 GRIM: Remame Scene's getters. 2011-05-05 11:51:40 +02:00
Giulio Camuffo a87b9c6e99 GRIM: Rename ResourceLoader's getters. 2011-05-05 11:48:58 +02:00
Giulio Camuffo d7008d2514 GRIM: Rename Block's getters. 2011-05-05 11:40:10 +02:00
Giulio Camuffo 7e3e63dbbd GRIM: Rename GrimEngine's getters. 2011-05-05 11:25:08 +02:00
Giulio Camuffo 07d6e51c24 GRIM: Rename Color's getters. 2011-05-05 10:58:29 +02:00
Giulio Camuffo 4aab44d54e GRIM: Close the game in the right and clean way. 2011-05-04 19:22:49 +02:00
Giulio Camuffo 5f0bc77d8d GRIM: Don't accept negative values for the lookAt rate. Fixes #37 2011-05-03 21:49:35 +02:00
Giulio Camuffo 5e35bc9dfb GRIM: Set the actor's looking mode to false when looking at nothing. 2011-05-03 19:04:26 +02:00
Giulio Camuffo 465c3d64ec GRIM: Renamed some Actor's getters to getFoo() or isFoo(). 2011-05-03 17:14:24 +02:00
Giulio Camuffo 58ef20c897 GRIM: removed pushobject and getobject since they are unuseful now. 2011-05-03 16:59:16 +02:00
Giulio Camuffo ce716e4580 GRIM: Store USERDATAs with a new struct { int32 id; int32 tag }.
This way we don't have to deal with casts between integers and void*
anymore.
2011-05-03 16:51:30 +02:00
Joel Teichroeb 3f6fa900ab GRIM: Removed a goto to simplify a function 2011-05-03 14:30:35 +08:00
Giulio Camuffo 29d6b3c5c1 New residualptr type typedeffed to int32 or int64 depending on the arch. 2011-05-02 19:12:15 +02:00
Pawel Kolodziejski b9b7e32442 stub LightMgrStartup opcode definietely 2011-05-02 07:34:55 +02:00
Matthew Hoops 938800e170 GRIM: Silence a ton of warnings 2011-05-02 03:56:42 +08:00
Pawel Kolodziejski cc8d694d2d fixed compilation 2011-05-01 19:48:16 +02:00
Giulio Camuffo 1e868dd359 GRIM: Store ids instead of the pointers as lua's userdata objects.
Removed ObjectManager as it became useless.
2011-05-01 18:54:29 +02:00
Matthew Hoops 8a5b19dc41 GRIM: Silence shadowed variable warning 2011-04-30 23:06:10 +08:00
Vincent Pelletier 2b5bfc28c2 [valgrind] Fix new[]/delete mismatch 2011-04-30 17:39:36 +08:00
Giulio Camuffo 27ba7753c1 GRIM: Load patch05.bin after loading a savegame. Patch by Vincent Pelletier 2011-04-29 18:57:00 +02:00
Giulio Camuffo fd8035ac24 GRIM: Implemented SetActorScale() 2011-04-28 22:07:36 +02:00
Giulio Camuffo a3aca9d05a GRIM: Implemented support for fading chores. Might still need adjusting. 2011-04-25 22:08:32 +02:00
Giulio Camuffo 5ba0641a0d GRIM: Fixed unexpected behaviour of last commit. 2011-04-24 18:53:45 +02:00
Giulio Camuffo a9dd875f56 GRIM: Use destination pos in GetActorSector, if walking. Fixes #27 2011-04-24 18:14:38 +02:00
Giulio Camuffo 08252bd67b GRIM: Fixed RotateVector(). Fixes #13 2011-04-21 22:15:00 +02:00
Giulio Camuffo 1a5089a8dd GRIM: Implemented SetLightPosition. 2011-04-21 18:42:32 +02:00
Giulio Camuffo f9f256e27e GRIM: Implemented GetAngleBetweenVectors. Fixes #12 2011-04-21 18:09:34 +02:00
Giulio Camuffo daf98cb7eb GRIM: Implemented SetLightIntensity. 2011-04-21 17:12:17 +02:00
Giulio Camuffo 306444e982 GRIM: The min and max volumes set by SetSoundPosition() must be temporary. 2011-04-20 17:04:33 +02:00
Giulio Camuffo e7b7045961 GRIM: Implemented IsPointInSector. 2011-04-20 16:36:13 +02:00
Giulio Camuffo af25655e44 GRIM: Implemented footsteps sfx when walking. 2011-04-20 16:29:31 +02:00
Giulio Camuffo b1454fe84b GRIM: Still adjustments to GetAngleBetweenActors. 2011-04-19 18:43:20 +02:00
Giulio Camuffo aeb2a16112 GRIM: Fixed GetAngleBetweenActors. Using the puck vector instead of the lookAt one. 2011-04-19 17:57:12 +02:00
Pawel Kolodziejski b18b857558 cleanup headers - grim part 2011-04-16 14:12:44 +02:00
Giulio Camuffo 251d332674 Partial implementation of FadeOutChore function. 2011-04-16 12:08:27 +02:00
Giulio Camuffo 09449b6d3d Changed an assert with a warning.
It was blocking the game when trying to use the ticket printer.
2011-04-15 22:07:52 +02:00
Giulio Camuffo 5550b5e703 Implemented KillPrimitive lua opcode. 2011-04-15 22:04:49 +02:00
Pawel Kolodziejski 0640dcf2c7 synced with scummvm to 2011-Apr-13 2011-04-14 12:41:26 +02:00
Giulio Camuffo f0a4299aef GetPointSector should default the sectorType to WalkType, and not CameraType. 2011-04-13 11:49:03 +02:00
Matthew Hoops 00ee0554be GRIM: Remove global constructor usage and silence warnings 2011-04-12 20:51:55 +08:00
Matthew Hoops 37cd4d1ad4 GRIM: Remove iostream usage 2011-04-12 20:51:55 +08:00