Commit Graph
221 Commits
Author SHA1 Message Date
Donovan Watteau e4ed41950d GRIM: Fix luaA_passresults() int32/int discrepancy
Linking would fail with MSVC when building for win32 with 'long' used
as the int32 typedef.
2022-12-25 16:13:29 +01:00
Le Philousophe a4073b8c6f GRIM: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Paweł Kołodziejski 06902574b4 GRIM: Janitorial 2022-06-08 01:12:00 +02:00
Paweł Kołodziejski 365e7d8599 GRIM: Added comment to opcode 2022-06-07 05:42:09 +02:00
Paweł Kołodziejski 18fb7e72d8 GRIM: Implemented Lua V1 'GetCameraLookVector' opcode 2022-06-05 22:16:42 +02:00
Paweł Kołodziejski 74e5684257 GRIM: Added Lua V1 'GetCameraPosition' opcode 2022-06-05 22:14:43 +02:00
Paweł Kołodziejski 090daab519 GRIM: Implemented Lua V1 'WorldToScreen' opcode 2022-06-05 22:12:54 +02:00
Le Philousophe 1e4696f6d0 OPENGL: Rework renderer selection code
Add a class to group all renderer related (static) functions.
This allows to have getBestMatchingAvailableType inline in all engines.

The matching code is now shared between all engines but allows
customization for engines needing it (Grim, WME3D).

The new code takes runtime availability of features to select the
best renderer.
It avoid crashes when user choosed OpenGL but GLES2 is used.
2022-04-03 22:17:19 +02:00
Paweł Kołodziejski ab923d53ea GRIM: Make Lua_V1::SetCameraInterest() empty 2022-01-17 14:07:37 +01:00
Paweł Kołodziejski 5e723aa971 GRIM: Improve GrimEngine::clearEventQueue() handling 2022-01-16 21:42:13 +01:00
Paweł Kołodziejski 25f31a4989 GRIM: Make Lua_V1::SpewStartup opcode empty 2022-01-16 21:35:32 +01:00
Paweł Kołodziejski 5bb31cc425 GRIM: Implemented Lua_V1::FlushControls opcode 2022-01-16 21:21:18 +01:00
Paweł Kołodziejski 8451569f83 GRIM: Implemented Lua_V1::JustLoaded opcode 2022-01-16 20:40:47 +01:00
Paweł Kołodziejski 53ecb9d590 GRIM: Update more Lua stub functions 2022-01-16 15:37:33 +01:00
Paweł Kołodziejski ce3296e5ee GRIM: Lua_V1::NukeResources is empty 2022-01-16 15:07:15 +01:00
Paweł Kołodziejski 526a08263a GRIM: Added lua function stubs used by game 2022-01-16 12:51:32 +01:00
Paweł Kołodziejski 63faf359eb GRIM: Added newlines for lua debug traces 2022-01-16 08:57:31 +01:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paweł Kołodziejski af37825be3 ENGINES: Replace PixelBuffer with Surface 2021-11-27 20:14:44 +01:00
Cameron Cawley 757a819da9 GRIM: Remove unneeded use of Graphics::createPixelFormat 2021-06-24 11:55:54 +02:00
Orgad Shaneh a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Paweł Kołodziejski 35b9cccbde ALL: Merge ResidualVM 2020-10-09 19:44:13 +02:00
Pawel Kolodziejski 27e12d8a96 ALL: Eliminate LOCAL_PI macro 2020-09-23 23:20:23 +02:00
Bastien Bouclet f31ef249ba GRIM: Only request actual save slots in listSaves and lua. 2016-01-31 07:02:02 +01:00
Bastien Bouclet 8d5406720c ENGINES: Add a new 'renderer' option to replace 'soft_renderer'
'soft_renderer' was a bool and was not useful to select a renderer
in a list with more than two values.
2015-12-29 07:55:27 +01:00
David Cardwell 25081c42f1 EMI: Add localized save name to PS2 saves
Add a PS2-specific save section that is used to show localized save
names in ResidualVM’s save browser.
2015-02-14 14:18:09 -05:00
David Cardwell 9b1bbd61dc EMI: Change the file-extension of PS2 saves
Prevent conflicts with incompatible save files by changing the
file-extension of PS2 saves to “*.ps2”.
2015-02-14 14:18:09 -05:00
David Cardwell 79432d1621 EMI: Simplify GetDiskFreeSpace()
Report 700 KB free in the case of EMI on PS2 or 700 MB free in the case
of GRIM or EMI on PC.
2015-02-14 14:18:09 -05:00
David Cardwell 3952fda0e3 EMI: Append filename to PS2 saves
Append “.gsv” to filenames so that ResidualVM’s load screen will show
them.  However, the description text is internal names such as
“/txtsavwed/“.
2015-02-14 14:18:09 -05:00
David Cardwell c2d0941890 EMI: Allow saving in-game on the PS2 version
Change the memory card id and the reported free space so that the game
is able to save.
2015-02-14 14:18:09 -05:00
Joseph Jezak 99fa91053c MATH: Rename XYZ Rotation Functions to Euler to better describe the function. 2014-09-11 13:38:28 -04:00
Joel Teichroeb 3c564db1e3 GRIM: Lower the scope of a lua_beginblock call
In EMI, every time you restore a save game it would begin a new
block, but never close it. If you were to save and load the game
enough times lua throws an error that there are too many blocks
open.
2014-08-01 22:04:53 -07:00
Joseph Jezak 5c148743e8 EMI: Add the alpha channel to the color encoding. 2014-07-23 10:36:19 -04:00
Joseph Jezak 76d36f676b MATH: Add a selectable Euler Order to Rotation3D. 2014-06-23 09:04:25 -04:00
Vincent Pelletier e9ba4fe99c GRIM: Make lua Print(Error|Warning) use consistent debug channels. 2014-05-31 17:06:07 +02:00
Vincent Pelletier afbb526691 GRIM: Lua Print(Debug|Warning|Error) caller provides newline. 2014-05-31 17:06:07 +02:00
Joel Teichroeb 0f3da43694 GRIM: Change NULL to nullptr. 2014-05-30 17:43:08 -07:00
Pawel Kolodziejski 8759900b6a ALL: synced with ScummVM 2014-04-05 18:18:42 +02:00
Ingo van Lil 1384f6c474 EMI: Fix crash when restoring savegames
EMI does not instantiate a registry object, so the pointer must
be checked before using it in savegameRestore().
2013-11-24 15:23:26 +01:00
Andrea Corna a0d9f46f31 GRIM/EMI: Break up global config keys from Grim registry and turn off it in EMI 2013-09-09 19:38:10 +02:00
Joel Teichroeb ac9f059d70 GRIM: Use grim*.gsv istead of *.gsv to find save games.
The old version broke things as grim would often search for something like
grim00.gsv.
2013-07-12 15:56:20 -07:00
Joel Teichroeb 08d749e730 GRIM: Remove including savefile.h from savegame.h 2013-07-09 22:54:45 -07:00
Einar Johan Trøan Sømåen 5c66a4b28f GRIM: Filter savegame list to avoid EMI-saves polluting it. 2013-05-26 12:34:46 +02:00
Giulio Camuffo a1c31667f2 GRIM: Fix sfx volume when loading a savegame made during a movie. 2013-01-22 17:30:12 +01:00
Giulio Camuffo ea80bbb009 GRIM: Set the right type for integer registry keys 2013-01-22 17:19:00 +01:00
Giulio Camuffo d8d701c6dd GRIM: Implement Lua_V1::NextSetup and Lua_V1::PreviousSetup. 2013-01-08 22:10:41 +01:00
Paweł Kołodziejski 175620b62a ALL: change license headers from LGPL to GPL, and few updates 2012-12-19 23:15:43 +01:00
Giulio Camuffo 09ffb69725 GRIM: Look at the minor version too when checking if a savegame is compatible. 2012-12-14 23:04:20 +01:00
Joel Teichroeb 20b20e0afd GRIM: Move set related lua opcodes to thier own file 2012-05-05 22:48:50 -07:00
Joel Teichroeb 77f4978a42 GRIM: Remove unneeded forbidden symbol exceptions 2012-05-05 22:19:45 -07:00