Commit graph

863 commits

Author SHA1 Message Date
aunnoman1
bae4055216 WAGE: Fix extra newlines by skipping empty strings in appendtext
Sometimes empty strings are passed to `appendtext` caused unintended newlines. Added a check to ignore them, preventing extra newlines.
2025-03-25 12:04:51 +08:00
aunnoman1
0b467ee3c6 WAGE: Fix missing hit text by setting default aim to chest
Previously, hitting an enemy did not print any text because the `_aim`
variable had a placeholder default value. This commit sets the default `_aim` to
"chest," ensuring that hit feedback is always displayed.
2025-03-25 12:04:51 +08:00
aunnoman1
cb6328c225 WAGE: Fix missing head armor names
Fixes head armor names not being printed when games are describing what
armor enemies/monsters are wearing
2025-03-25 12:04:51 +08:00
aunnoman1
93992fa572 WAGE: Fix crash due to outdated sound queue timestamps
Clear `_soundQueue` when re-entering a scene with stale timestamps.
Previously, if a player left and later returned to a scene, the
sound queue could contain old timestamps. This caused `installTimerProc`
to compute a negative delay, triggering an assertion failure
(`interval > 0`) in `DefaultTimerManager`.

Fixed by clearing the sound queue when the player moves to another
scene.

Tested by re-entering scenes with sound timers and confirming no crashes.
2025-03-25 04:59:11 +02:00
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
D G Turner
f20a589a74 WAGE: Fix Enumerated vs. Non-Enumerated Type Comparison GCC Compiler Warnings 2025-02-17 13:17:58 +00:00
Le Philousophe
9b89dd6fa7 WAGE: Don't use deprecated primitives 2025-01-24 12:11:17 +01:00
Eugene Sandulenko
fdecb6afca ENGINES: Add components to configure.engine's explanatory comment 2024-12-25 00:34:39 +01:00
Cameron Cawley
8d9614ccd5 GRAPHICS: MACGUI: Extend the font ID enum 2024-12-09 23:24:23 +02:00
Cameron Cawley
35138892c2 GRAPHICS: MACGUI: Use a const pointer for MacPatterns arrays 2024-11-26 00:32:00 +01:00
Eugene Sandulenko
0c67d7fb57
WAGE: Fix potential use after free. CID 1559336 2024-10-25 15:59:56 +02:00
Hubert Maier
1adbf3feab JANITORIAL: WAGE: Fix typos 2024-09-16 09:41:27 +03:00
Donovan Watteau
cbe7aec966 WAGE: Fix -Wformat warning 2024-08-11 16:33:53 +02:00
Le Philousophe
b61bd3ff85 ENGINES: Create a type aware advanced meta engine 2024-06-30 18:39:06 +02:00
Le Philousophe
90b886097f ENGINES: Create a type aware advanced detector 2024-06-30 18:39:06 +02:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Le Philousophe
ca31647aeb WAGE: Migrate engine to Path 2023-12-24 13:19:25 +01:00
Eugene Sandulenko
ec2dd2726b ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason 2023-12-08 12:21:16 +01:00
Eugene Sandulenko
1a74c9eb30
WAGE: Remove leftover include 2023-10-29 01:14:29 +02:00
Cameron Cawley
6ee5aad258 GRAPHICS: Remove use of TransparentSurface in NinePatch code 2023-10-24 20:16:34 +02:00
Eugene Sandulenko
0b53d3c115
WAGE: Implemented periodic scene sounds 2023-09-10 21:38:58 +02:00
Eugene Sandulenko
d40bf2ce6c
WAGE: Implemented the rest of menu commands 2023-09-10 18:09:43 +02:00
Eugene Sandulenko
745b3e3124
WAGE: Implemented saving on exit 2023-09-10 17:03:30 +02:00
Eugene Sandulenko
14eb8e339c
WAGE: Implemented Quit command 2023-09-10 15:43:08 +02:00
Eugene Sandulenko
41386aa5c4
WAGE: Implemented "Save" command 2023-09-10 15:40:14 +02:00
Eugene Sandulenko
9aa16fa5d9
WAGE: Remove now redundant info from the saves 2023-09-10 15:01:55 +02:00
Eugene Sandulenko
b7b7808b37
WAGE: Support extended save states 2023-09-10 14:18:14 +02:00
Wyatt Radkiewicz
41a942c5ce ALL: Renamed TS_ARGB to MS_ARGB 2023-08-13 00:22:10 +02:00
Vladimir Serbinenko
af7d9cb850 COMMON: Move punycode_*codepath to path.cpp
This allows to reduce access to DIR_SEPARATOR from outside of Common::Path
2022-12-14 05:08:46 +01:00
eientei
b508fcc8d9 WAGE: Add games from "Wayzata's Best of Shareware for Macintosh" shareware disc 2022-11-07 00:35:30 +01:00
Le Philousophe
4c18545085 WAGE: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +02:00
eientei
ac15210b27 WAGE: Simplify armor check 2022-08-27 22:27:19 +03:00
eientei
63d29ae809 WAGE: Add some forgotten games, fix ADGF_DEMO for BIGGAMED 2022-08-27 22:27:19 +03:00
Eugene Sandulenko
c2d4c92241
WAGE: Fix warning 2022-08-05 20:20:26 +02:00
Avijeet
4f3dc247e4 GRAPHICS: MACGUI: Handle EVENT_QUIT properly in MacDialog 2022-08-05 20:15:03 +02:00
Avijeet
f9fd3b699c WAGE: Move pollEvent's definition to wage.cpp 2022-08-05 20:15:03 +02:00
Avijeet
eac2717abb WAGE: Move getFeatures() to metaengine.cpp 2022-08-05 20:15:03 +02:00
Avijeet
033bc00cd1 GRAPHICS: MACGUI: Poll events in MacDialog itself 2022-08-05 20:15:03 +02:00
Avijeet
223258af81 WAGE: Better error message in isInBounds() 2022-08-05 20:15:03 +02:00
Avijeet
83f8eb7b19 WAGE: Rewrite object detection 2022-08-05 20:15:03 +02:00
Avijeet
0824d1ad58 WAGE: Use bounding box for click detection 2022-08-05 20:15:03 +02:00
Avijeet
fe7aa6eefd WAGE: Update detection table 2022-08-05 20:15:03 +02:00
Avijeet
e1c1413222 WAGE: Fix buttons in Explorer 2022-08-05 20:15:03 +02:00
Avijeet
f0894c277e WAGE: Fix cropped graphics in Intro to Gothic 2022-08-05 20:15:03 +02:00
Avijeet
1b955dc90c GRAPHICS: MACGUI: Refactor MacDialog to not use WAGE functions 2022-08-05 20:15:03 +02:00
Avijeet
9f6d054f5d WAGE: Refactor getFeatures() 2022-08-05 20:15:03 +02:00
Avijeet
e8fee0ccc2 JANITORIAL: Formatting fix 2022-08-05 20:15:03 +02:00
Avijeet
e61f47e07d WAGE: Add comments 2022-08-05 20:15:03 +02:00
Avijeet
0e8c75359d WAGE: Formatting fixes 2022-08-05 20:15:03 +02:00
Avijeet
3b96ffd875 WAGE: Add comment 2022-08-05 20:15:03 +02:00