Commit Graph
221 Commits
Author SHA1 Message Date
Paweł Kołodziejski 2a9b36cd5a Merge pull request #598 from YakBizzarro/res
GRIM: Little modifications in ResourceLoader
2012-04-12 22:29:27 -07:00
Paweł Kołodziejski 640889b805 ALL: disabled compiler warnings 2012-04-12 02:54:10 +02:00
Andrea Corna ee71476748 GRIM: Remove ResourceLoader::getFileExist and use SearchMan::hasFile instead 2012-04-11 14:43:53 +02:00
Joel Teichroeb 0dcfaf8fb1 GRIM: Do not include unneeded headers 2012-04-04 16:11:05 -07:00
Joel Teichroeb f1c3964f5f GRIM: Properly sort the save games as grim tries to, but does not seem to be able to 2012-04-03 19:39:22 -07:00
Joel Teichroeb b478e120ae GRIM: Properly move the light from Chepito's lantern 2012-04-03 11:28:06 -07:00
Joel Teichroeb 15c04bd2d6 GRIM: Fix a memory leak when loading imcompatible saves 2012-03-24 16:33:08 -07:00
Giulio Camuffo fec9c21afc GRIM: Residual->ResidualVM in warning message. 2012-03-11 16:40:36 +01:00
Giulio Camuffo 3c515489d3 GRIM: Add minor versioning of savegames, allowing compatible save versions.
Bump savegame version to 22.0.
2012-03-11 16:40:35 +01:00
Giulio Camuffo d35c504bfb GRIM: Set the values of the global joystick keys before calling BOOT. Fix #555 2012-03-08 16:41:19 +01:00
Giulio Camuffo 9408685462 GRIM: Add support for integer registry values.
Fix #520. The problem was that ReadRegistryValue("SfxVolume") was pushing
a string, which was later compared to a number, making lua complain.
2012-03-07 23:02:08 +01:00
Giulio Camuffo e885b90a72 GRIM: Make the numpad 2 key work for backward walking. 2012-03-05 16:56:33 +01:00
Andrea Corna b33c0ea346 GRIM: Blacklist version 1.00 2012-03-03 14:29:49 +01:00
Giulio Camuffo 0c68ad8a67 GRIM: Return the right sector in IsActorInSector(). Fix #538
There may be more than one sector that match the name wanted, so
we must push the one containing the actor position.
2012-02-19 16:08:01 +01:00
Joel Teichroeb b7254e6079 GRIM: Remove some unneeded code 2012-02-02 12:34:48 -08:00
Joel Teichroeb cd4adf5ac1 GRIM: Created a function out of some duplicated code 2012-02-02 12:18:11 -08:00
Giulio Camuffo 87107bc022 MATH: Remove Vector4d::scalarProduct, since that's just Vector::dotProduct. 2012-01-30 21:45:22 +01:00
Joel Teichroeb aa814e3334 GRIM: Enhance the way that colors are given to lua. 2012-01-27 11:47:28 -08:00
Paweł Kołodziejski 2900c8ad94 fix compilation warnings 2012-01-27 12:02:03 +01:00
Giulio Camuffo b42bbe5259 TinyGL: Support for different color modes, part 2. 2012-01-24 21:36:47 +01:00
Joel Teichroeb acdd0e223f GRIM: Add support for live switching of gfx engines 2012-01-21 20:18:35 -08:00
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