Commit Graph
200 Commits
Author SHA1 Message Date
Joel Teichroeb 1eb4bdfe5c GRIM: Better handle invalid savegames. 2012-01-19 14:02:16 -08:00
Andrea Corna 58313515ef GRIM: Fix a wrong delete in lua and get rid of single_dofile 2012-01-10 14:48:03 +01:00
Paweł Kołodziejski e350c7f777 renames 2012-01-06 23:29:45 +01:00
jj ffebf9212c Fixed Win32 build on Visual Studio. 2011-12-18 07:27:28 +08:00
Joel Teichroeb 423b308c20 GRIM: Fixed a memory leak where savegame images were not being deallocated. 2011-12-12 12:20:27 -08:00
Giulio Camuffo a98c561668 GRIM: Do not create a new ObjectState if it exists already.
This way commit 075c1cae is practically reverted without reintroducing #296
and fixing #423. Fix #423
2011-11-19 19:31:32 +01:00
Giulio Camuffo 386fa37b32 GRIM: The axis x and y were swapped by 46a8d46, so swap pitch and roll here. Fix #400 2011-10-29 16:21:06 +02:00
Giulio Camuffo cbeccc9fa6 GRIM: Move some lua related code into LuaBase. 2011-10-13 20:25:50 +02:00
Giulio Camuffo 782bfdecf7 GRIM: Lua_L1 -> Lua_V1 and Lua_L2 -> Lua_V2. 2011-10-13 15:41:22 +02:00
Giulio Camuffo 5ca9cae83c GRIM: Incapsulate the lua opcodes in a class hierarchy. 2011-10-12 17:57:31 +02:00
Giulio Camuffo 7b1f87f928 GRIM: Boost of the debug system, using debug channels. 2011-10-10 18:17:22 +02:00
Giulio Camuffo 0685fce70d GRIM: Implemented the lua opcode L1_ActorPuckOrient(). 2011-10-02 18:41:52 +02:00
Giulio Camuffo c2e10f32bd GRIM: RotateVector() sends the angles roll, yaw, pitch in this order. Fix #375 2011-09-29 15:31:57 +02:00
Giulio Camuffo 73684f1fbc GRIM: Rename Scene to Set, and scene.{h,cpp} to set.{h, cpp}. 2011-09-19 16:53:08 +02:00
Giulio Camuffo a900a5ab10 MATH: Further work on the Matrix class.
The vectors are now matrices.
2011-09-14 23:06:14 +02:00
Giulio Camuffo 34a7398293 MATH: Moved Rotation3D to its own file. 2011-09-14 23:06:06 +02:00
Giulio Camuffo 0083c8619c MATH: Move the math classes to their own math/ dir and Math namespace. 2011-09-14 23:05:52 +02:00
Giulio Camuffo 1fbbd24aee GRIM: Port Actor, Bitmap, Color, Font, Primitive, ObjectState, Scene, TextObj to PoolObject.
These are the classes that go into Lua, and so are kept in a pool,
indexed with an id.
2011-09-07 23:08:59 +02:00
Giulio Camuffo f0bd13f006 GRIM: Stubbed L1_SetActorCollisionMode and L1_SetActorCollisionScale. 2011-08-01 15:12:57 +02:00
Giulio Camuffo b83d432dd7 GRIM: Implemented L1_PreRender(). 2011-07-29 23:02:52 +02:00
Giulio Camuffo 59b6af4d18 GRIM: Simplify L1_RotateVector() by using Matrix3. 2011-07-29 21:58:14 +02:00
Giulio Camuffo 5f59fff5b3 GRIM: Move the debug levels enum in a separate header. 2011-07-23 15:37:14 +02:00
Giulio Camuffo 692ce7685f GRIM: Some header cleanups. 2011-07-22 22:40:49 +02:00
Giulio Camuffo 9b11f73bc0 GRIM: New static functions to create a SaveGame object that deal with failures. 2011-07-18 14:35:16 +02:00
Giulio Camuffo 6fa334dd3c GRIM: Silence. 2011-07-17 18:47:08 +02:00
Giulio Camuffo 68427fdad4 GRIM: Implemented iris animation. 2011-07-17 18:17:07 +02:00
Giulio Camuffo 93001ecf1b GRIM: Make the ObjectState handling more straightforward and similar to original. 2011-07-14 16:11:14 +02:00
Giulio Camuffo e5cde576b9 GRIM: Load the requested scene if it was not in GetCurrentSetup(). Fix #261 2011-07-10 12:23:23 +02:00
Joni Vähämäki 554bd2648f GRIM: Implement ShrinkBoxes(), UnShrinkBoxes() and GetShrinkPos(). 2011-06-10 15:20:19 +02:00
Giulio Camuffo b05a8c8e31 GRIM: Typo. 2011-06-07 17:38:27 +02:00
Giulio Camuffo 5be512e484 GRIM: Comment++ 2011-06-07 17:36:06 +02:00
Giulio Camuffo 8d6bebfa30 GRIM: Stubbed ShrinkBoxes() and UnShrinkBoxes(). 2011-06-07 17:31:20 +02:00
Joni Vähämäki a5c79f1ae7 GRIM: Change assert to a warning. 2011-06-07 17:12:59 +02:00
Joni Vähämäki 2dd098bede GRIM: Fix GetSectorOppositeEdge(). 2011-06-07 17:12:51 +02:00
Giulio Camuffo eb43b379d1 GRIM: When looking for a sector by name look for "*$name*" and not "$name". Fix #203 2011-06-07 16:43:44 +02:00
Giulio Camuffo 2970960267 GRIM: Implemented SetActorTimeScale(). 2011-06-06 15:11:50 +02:00
Giulio Camuffo 34ba001bdd GRIM: Implemented TurnLightOn(). 2011-06-03 19:24:54 +02:00
Giulio Camuffo 5b2cbce1bb GRIM: Be a little more verbose. 2011-05-31 16:12:00 +02:00
Giulio Camuffo e48e9669e7 GRIM: Remove some broken and unuseful code. 2011-05-29 18:27:40 +02:00
Giulio Camuffo 7c952ff420 GRIM: Clean up some code. 2011-05-28 14:46:36 +02:00
Giulio Camuffo 3ec45e19ad GRIM: Clean up a bit some save/restore code. 2011-05-28 11:31:12 +02:00
Giulio Camuffo 6ccd546689 GRIM: Implemented GetSectorOppositeEdge. Fix #110 2011-05-27 19:27:08 +02:00
Giulio Camuffo 4a6afd4844 GRIM: Don't cast directly from float to SpeechMode. 2011-05-23 18:21:54 +02:00
Giulio Camuffo 18c38f3a09 GRIM: New GrimEngine::SpeechMode enum. 2011-05-23 17:06:16 +02:00
Pawel Kolodziejski 07bb4ad790 GRIM: change image savegame code to be write always in little endian 2011-05-20 21:02:30 +02:00
Pawel Kolodziejski 65c7986882 EMI: reuse L1_MakeCurrentSet and L1_GetCurrentSetup.
Partial implement L2_MakeCurrentSetup
2011-05-20 11:12:32 +02:00
Giulio Camuffo 56463a5b7b GRIM: Do not use the setup for the destination just after starting walking. 2011-05-19 19:31:22 +02:00
Pawel Kolodziejski 356c9c8c07 sync with scummvm 2011-05-18 23:33:39 +02:00
Joel Teichroeb dad8eee553 GRIM: Added support for loading savegames from the launcher. 2011-05-17 20:48:58 -07:00
Giulio Camuffo adb0eaa39d GRIM: Fix possible error on archs with sizeof(int) != 4. 2011-05-16 22:31:16 +02:00