Commit graph

96 commits

Author SHA1 Message Date
WinterSun23
a5a6057198 WAGE : Fix 2 issues with "New" and "Revert":
- Fix issue with "New" option after game over screen

    Fix issue, where clicking the new option after the game over screen
    causes the scene window to be not visible until scummvm is
    restarted.
    Fix by resetting game related variables in engine class
    when the new option is clicked.

- Fix issue with "Revert" option

    Fix issue, where using "Revert" when the previous save is in the
    current scene, causes the current scene to not redraw. The objects
    in the scene do not have correct ownership. They are both in the
    scene objects and in player inventory.
    Fix by forcing redraw and clearing scene objects and characters
    during loading the previous save.
2025-03-11 21:24:39 +01:00
Cameron Cawley
35138892c2 GRAPHICS: MACGUI: Use a const pointer for MacPatterns arrays 2024-11-26 00:32:00 +01:00
Donovan Watteau
cbe7aec966 WAGE: Fix -Wformat warning 2024-08-11 16:33:53 +02:00
Le Philousophe
ca31647aeb WAGE: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Le Philousophe
4c18545085 WAGE: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
Avijeet
e61f47e07d WAGE: Add comments 2022-08-05 20:15:03 +02:00
Avijeet
4099e49a70 WAGE: Fix font type in Dune Eternity 2022-08-05 20:15:03 +02:00
Pragyansh Chaturvedi
5c17fe70b8 JANITORIAL: Fix conventions and reimplement MacFontManager::rectifyId() 2022-07-17 13:04:14 +02:00
Eugene Sandulenko
92c0c20e6a
WAGE: Made loading patterns from Enhanced Scepters more robust 2022-07-11 12:53:21 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
djsrv
909595176a COMMON: Use Path type in MacResManager functions 2021-08-07 10:44:37 +02:00
Cameron Cawley
d8dc31a673 WAGE: Don't require the data fork for the external sound file 2019-08-11 18:58:40 +03:00
Eugene Sandulenko
31eb4724d3 WAGE: Correctly specify target name for dumped scripts 2017-08-29 20:15:19 +02:00
Eugene Sandulenko
5eaa48ec96 WAGE: Dump scripts by request 2017-08-29 19:21:20 +02:00
Eugene Sandulenko
90aca034df WAGE: Properly set the character when player is not defined 2017-08-28 19:13:49 +02:00
Eugene Sandulenko
265fc48d15 WAGE: Do something when player is not defined instead of crashes 2017-08-24 09:25:25 +02:00
Eugene Sandulenko
5e9b72fbd9 WAGE: Do not dump the interpreter code 2017-08-22 10:25:00 +02:00
Eugene Sandulenko
bca79db96b WAGE: Set default values for DITL messages 2017-08-08 23:45:26 +02:00
Eugene Sandulenko
0ecaa79f08 GRAPHICS: Renamed Menu to MacMenu to avoid potential name collision 2017-01-14 13:17:38 +01:00
Eugene Sandulenko
8690fe444e WAGE: Switch menu reading to common code 2017-01-14 13:04:40 +01:00
Eugene Sandulenko
95d0477674 WAGE: Switch to the common readPascalString 2017-01-14 12:46:27 +01:00
Eugene Sandulenko
086963fd23 GRAPHICS: Search for font substitution for MacFonts 2016-10-07 19:42:55 +02:00
Eugene Sandulenko
b2dcd1bb1e GRAPHICS: Move font-related MacGUI code to MacFontManager 2016-10-06 23:49:39 +02:00
Eugene Sandulenko
fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Borja Lorente
9ce6fbd0d7 GRAPHICS: Move MacMenu constants 2016-07-31 14:05:14 +02:00
Alexander Tkachev
3588351799 WAGE: Refine saveGame() once more
_resourceId is added to entities, so saveGame() can access these ids and
save them.
2016-07-27 17:51:00 +06:00
Alexander Tkachev
6b21b1f893 WAGE: Add World's _signature 2016-07-27 17:38:43 +06:00
Eugene Sandulenko
a2e4157114 JANITORIAL: Fix indentation 2016-07-20 23:11:08 +03:00
Torbjörn Andersson
246d48b467 WAGE: Free memory used by loadWorld() debug code 2016-07-15 11:41:50 +02:00
Eugene Sandulenko
5fbac749e2 WAGE: Moved patterns to WindowManager 2016-04-28 12:37:03 +02:00
Eugene Sandulenko
f5979abaa2 WAGE: Fix object sorting. Fixes many glitches 2016-04-12 10:59:53 +02:00
Eugene Sandulenko
f65b31437b WAGE: Fix sorting of objects during move 2016-04-11 10:49:47 +02:00
Eugene Sandulenko
3bac16d57d WAGE: Added debug code for dumping CODE resource fork 2016-04-09 15:54:21 +02:00
Eugene Sandulenko
23bc6bb846 WAGE: Initialize class variables 2016-02-22 18:45:58 +01:00
Eugene Sandulenko
dd6119bdad WAGE: Fix buffer overrun 2016-02-22 18:45:58 +01:00
Eugene Sandulenko
c3bae66b56 WAGE: Plug memory leak 2016-02-18 10:30:34 +01:00
Eugene Sandulenko
b01fb9f3f3 WAGE: Plug memory leak 2016-02-18 10:30:34 +01:00
Eugene Sandulenko
a2dcddc06d WAGE: Safer string concatenation 2016-02-18 10:30:34 +01:00
Eugene Sandulenko
ab9e2fdca3 WAGE: Initialize class variables 2016-02-18 10:30:18 +01:00
Eugene Sandulenko
57449d32d4 WAGE: Moved Sound class definition to sound.h 2016-02-16 21:41:41 +01:00
Eugene Sandulenko
499519fec3 WAGE: Fix int/uint comparison 2016-02-14 17:13:25 +01:00
Eugene Sandulenko
b09e70d1ca WAGE: Consistently use .empty() instead of .size() == 0 2016-02-14 17:13:23 +01:00
Eugene Sandulenko
362557935b WAGE: Use String::clear() for emptying stings 2016-02-14 17:13:22 +01:00
Eugene Sandulenko
13da5d5376 WAGE: Renames to follow our conventions 2016-02-14 17:13:22 +01:00
Eugene Sandulenko
c0697f7f2b WAGE: const goodness 2016-02-14 17:13:21 +01:00
Eugene Sandulenko
b0941e247c WAGE: Hid more debug messages 2016-02-14 17:13:00 +01:00
Eugene Sandulenko
34f9a1375d WAGE: Get rid of Common::String import 2016-02-14 17:12:53 +01:00
Eugene Sandulenko
f428f59788 WAGE: Remove now useess warning 2016-02-14 17:12:47 +01:00
Eugene Sandulenko
c3824f40ba WAGE: Hide debug output 2016-02-14 17:12:46 +01:00
Eugene Sandulenko
84b382db00 WAGE: Fix about menu 2016-02-14 17:12:45 +01:00