Commit Graph
92 Commits
Author SHA1 Message Date
Martin Gerhardy f2c9137979 COMMON: removed foreach.h
now that we are using c++11 we don't need this wrapper anymore
2023-01-07 02:40:44 +02: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 74e5684257 GRIM: Added Lua V1 'GetCameraPosition' opcode 2022-06-05 22:14:43 +02:00
Paweł Kołodziejski 526a08263a GRIM: Added lua function stubs used by game 2022-01-16 12:51:32 +01:00
Paweł Kołodziejski 20cb0ae228 ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +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
Thunderforge 35c3668275 COMMON: Fixing misspellings "occured" -> "occurred"
Fixing this misspelled word across multiple parts of the codebase.
2021-09-25 21:36:42 +03: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
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Dries Harnie f393929c6f EMI: Always enable subtitles for the demo
Fixes #1161.
Tested on the German and Spanish demo.
2020-05-17 13:49:54 +02:00
Bastien Bouclet f31ef249ba GRIM: Only request actual save slots in listSaves and lua. 2016-01-31 07:02:02 +01:00
Christian Krause 09bb2d7b0d EMI: Fix sanity check in Lua_V2::SetLayerSortOrder
Correct typo in sanity check and add an error message for
wrong parameters.
2015-05-05 23:22:42 +02: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 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
Christian Krause ad2ce4a87e EMI: Fix memleaks caused by specialtyTextures
- delete screenshot after texture is created
- free _data[] entries in BitmapData::freeData()
- destroy _specialtyTextures[] entries in
  graphic driver's destructors
2014-12-31 15:47:36 +01:00
Joseph Jezak 68bf45f373 EMI: Additional conversions from interest/roll to _rot. 2014-08-19 21:15:18 -04:00
Joseph Jezak 32a41525ee EMI: Implement Lua functions for getting camera rotation. 2014-08-19 18:35:32 -04:00
Joel Teichroeb 67440488ff Merge pull request #964 from JoseJX/FixTextPositions
EMI: Correct problems with text positions and word wrapping.
2014-08-06 09:51:58 -07:00
Joni Vähämäki 7a3cdcdca2 EMI: Pause sounds in draw mode. 2014-08-06 19:43:04 +03:00
Joseph Jezak 5478023fae EMI: Remove warning from GetFontDimensions. 2014-08-04 22:01:21 -04:00
Joseph Jezak febd94c8db EMI: WorldToScreen returns a float representation of the screen position. 2014-08-04 21:12:23 -04:00
Joseph Jezak e638c09ba6 GRIM/EMI: Adjust the width and height names to better reflect usage. 2014-08-04 11:14:28 -04:00
Joel Teichroeb bed29f07b3 EMI: Stub SetReplayMode 2014-07-29 14:53:18 -07:00
Joni Vähämäki 2e3cf9ac2d EMI: Implement WalkActorVector. 2014-07-29 13:37:44 -07:00
Pawel Kolodziejski a39576d921 GRIM/EMI: attempt to fix over read buffer. cleanup types 2014-07-24 15:37:11 +02:00
Christian Krause 1e82136592 EMI: Implement screenshot thumbnails for savegames 2014-07-16 23:18:43 +02:00
Dries Harnie df517ea6fc EMI: Implement WorldToScreen 2014-06-05 07:50:49 -07: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
Christian Krause 446f56eb67 GRIM/EMI: Fix compile warnings 2014-02-15 18:40:19 +01:00
Christian Krause ff930b84de EMI: use enableSubtitles parameter of StartMovie lua function 2014-01-05 12:58:19 +01:00
Ingo van Lil 4788a21e0a EMI: Improve pause handling
Both EMI and Grim call RenderModeUser when entering the menus or dialogs,
but EMI does not use special "blast" commands to display text or images,
so we cannot suspend regular screen updates. The current implementation
does not switch engine modes in RenderModeUser, which has the drawback
that the frame time is not stopped during pause or menu.

With this patch, EMI handles draw mode like normal mode with frozen frame
time.
2013-12-12 01:17:27 +01:00
Christian Krause e8ffe93119 EMI: save/restore layer pool
- this fixes one crash after savegame restore when
Lua_V2::AdvanceLayerFrame() was trying to dereference a non-existing
layer object
2013-12-04 00:55:14 +01:00
Ingo van Lil 5d2e2240b7 EMI: Rework text stack handling
The text stack in EMI must be saved and restored in save games because
the game will call PopText after returning from the menu. Instead of
managing separate lists for each text stack level this patch adds a
_stackLevel field that is incremented for PushText and decremented for
PopText. Only text objects from the stack top (level 0) are rendered.
2013-12-01 23:45:07 +01:00
Dries Harnie 14ee118208 EMI: Un-stub Lua_v2#NukeAllScriptLocks 2013-11-05 07:40:22 -08:00
Andrea Corna fcadc4af48 EMI: Add functions to handle saving preferences outside efmi.cfg and relative hooks in scripts 2013-09-10 00:00:24 +02:00
Joel Teichroeb 46eec672a8 EMI: Properly initialize msgId in Lua_V2::LocalizeString. Fixes a memory corruption crash 2013-07-14 12:11:58 -07:00
Joel Teichroeb 7a4b847fdf Revert "EMI: Allow lighting to be enabled"
This reverts commit 48bc8de2c8.
2013-07-12 12:08:14 -07:00
Joel Teichroeb 2772e8fb3b EMI: Implement Layer. Still need to draw it though 2013-07-12 09:29:30 -07:00
Einar Johan Trøan Sømåen 2b5a11db72 Merge pull request #747 from somaen/stubs
EMI: Stub more Lua_V2-functions, and read most parameters.
2013-07-12 09:22:40 -07:00
Einar Johan Trøan Sømåen ec697300b3 EMI: Stub more Lua_V2-functions, and read most parameters.
CompleteChore
GetSoundVolume
SetSoundVolume
UpdateSoundPosition
ImStateHasLooped
GetCameraPitch
PitchCamera
RollCamera
YawCamera
NukeAllScriptLocks
FRUTEY_Begin
FRUTEY_End
2013-07-12 17:34:37 +02:00
Einar Johan Trøan Sømåen 03002c97e7 EMI: Add casts to Layer-functions, to get rid of warnings. 2013-07-12 17:10:45 +02:00
Joel Teichroeb 8637a4adfe EMI: Stub functions related to layers 2013-07-11 20:58:57 -07:00
Joel Teichroeb 48bc8de2c8 EMI: Allow lighting to be enabled 2013-07-10 15:08:47 -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 fe3883cecd GRIM: Reformat code to be closer to convention. 2013-07-09 21:12:55 +02:00