Paul Gilbert
c1e8258275
MM: MM1: Added dump_roster command to create original roster.dta
2023-08-06 15:17:02 -07:00
Paul Gilbert
a6f01a7599
MM: MM1: Fix new characters to be at level 1
2023-08-06 15:17:01 -07:00
Paul Gilbert
ab25cfd0df
MM: MM1: Fix crash using Turn Undead spell
2023-08-06 14:44:32 -07:00
Miro Kropacek
f85fde7707
ENGINES: ALL: Use new CursorMan API where applicable
...
This makes code not only cleaner but also friendly to 8-bit surfaces
where pitch != width.
2023-07-19 22:22:11 +02:00
elasota
b8acbe6bee
COMMON: Archive path refactoring, add getFileName and getPathInArchive that unambiguously return the filename or the full path
2023-07-19 18:51:37 +02:00
Paul Gilbert
b64caa512a
MM: MM1: Remove dprecated | formatting for names
2023-07-07 19:29:10 -07:00
PushmePullyu
15027796b7
MM: MM1: Fix (un)equipping items in enhanced mode
...
- Switch to equipped items view when selecting the unequip action
- Switch to backpack items view when selecting the equip action
Depending on current mode, ViewsEnh::CharacterInventory holds either
a list of backpack or equipped items (BACKPACK_MODE/ARMS_MODE).
When calling the equip(/unequip) method, the index of the selected
equipment from the list is passed.
However, these methods always access the backpack(/equipped) item
list regardless of the current mode.
The use of an invalid index then leads to manipulating the wrong
item and/or the use of uninitialized/stale values.
This is fixed by setting the appropriate mode before the call.
2023-06-18 17:14:23 -07:00
PushmePullyu
aa2b1beece
MM: MM1: Fix out-of-bounds read on drawing stats
2023-06-18 17:13:05 -07:00
PushmePullyu
f8443c5e66
MM: MM1: Fix bounds check in enhanced mode inventory handling
2023-06-18 00:54:19 +03:00
PushmePullyu
1ae8852549
MM: MM1: Fix crash on roster load
...
Do not ignore EOS when loading roster save.
This prevents a comparison with an uninitialized variable.
Fixes #14509
2023-06-12 07:45:44 -07:00
Alexander Izmailov
ba5f3d9028
MM: XEEN: workaround for broken canrnage hand animation.
...
Some resource files from MM1 are opened by ID, that is hash(filename).
The ID for "049.att." file is exist and incorrect for this file.
MM4-5 games should not use IDs at all.
Not sure if here is the right place to select the way sprite loads.
But it fixes bug #14503 .
2023-06-10 16:06:16 -07:00
Alexander Izmailov
a3cfd1fabd
MM: XEEN: add hp and sp bars for QoL
2023-06-10 16:03:08 -07:00
Paul Gilbert
32bcd55d6c
MM: MM1: Add direct detection for the Graphics Overhauld Mod.
...
We don't support running the game directly from it, since doing
so would bypass the need for the original game. But at least
this way, it will be recognised, and users will be given an
informative message of why the game won't run.
2023-06-10 09:20:45 -07:00
Paul Gilbert
f13675d5e4
MM: MM1: Mark game ready for testing
2023-06-05 21:59:05 -07:00
Paul Gilbert
027d3e7a5c
MM: MM1: Allow switching party members at market
...
It doesn't do anything, since food is bought for the whole
party rather than one user at a time. But it doesn't hurt,
and may help avoid players getting confused.
2023-06-05 21:52:21 -07:00
Paul Gilbert
d205814864
MM: MM1: Fix combat round highlighting
2023-06-05 21:42:51 -07:00
Paul Gilbert
426c547a6a
MM: MM1: Add Xeen deeath laugh to death screen
2023-06-05 21:42:51 -07:00
Paul Gilbert
32cbdebb68
MM: MM1: Fix applying combat damage to correct monster
2023-06-05 20:53:54 -07:00
Paul Gilbert
021698b7e7
MM: XEEN: Better fix for Day Of Sorcery crash
2023-06-04 22:34:27 -07:00
PushmePullyu
4ec2fbdb38
MM: MM1: Fix portrait validation
2023-06-04 20:48:32 -07:00
Paul Gilbert
09bdd77215
MM: MM1: Fit combat monster list when all monsters slots are filled
2023-06-04 17:03:59 -07:00
Paul Gilbert
c03811fd22
MM: MM1: Fix text entry
2023-06-04 14:17:00 -07:00
Paul Gilbert
cf798c2d31
MM: MM1: Finished Duplication spell views
2023-06-04 14:00:52 -07:00
Paul Gilbert
9c05226f25
MM: MM1: Better glyph for Recharge Item Charge button
2023-06-04 14:00:52 -07:00
Paul Gilbert
442707aa52
MM: MM1: Added missing files from last commit
2023-06-03 22:54:47 -07:00
Paul Gilbert
e548fd5be3
MM: MM1: Finished teleport spell views
2023-06-03 22:36:50 -07:00
Paul Gilbert
30f4adf46b
MM: MM1: Added Recharge Item views
2023-06-03 20:49:22 -07:00
Paul Gilbert
c80f16628b
MM: MM1: Fixes for original Recharge Item view
2023-06-03 18:51:32 -07:00
Paul Gilbert
b1ccb1695d
MM: MM1: Added Detect Magic view
2023-06-03 16:55:59 -07:00
Paul Gilbert
94cd53cac2
MM: MM1: Implement item discarding
2023-06-03 16:55:59 -07:00
Paul Gilbert
56a99dc79f
MM: MM1: Refresh display after equipping/removing items
2023-06-03 16:55:59 -07:00
Paul Gilbert
8a469814d4
MM: XEEN: Fix using Coin of Daily Sorcery
2023-06-03 11:30:24 -07:00
D G Turner
896484600b
MM: MM1: Fix Duplicated Code Branches GCC Compiler Warning
...
The ScrollView::draw method was just calling the parent class of PartyView
so code that selects between this i.e. in combat or not, gave a GCC warning
as both paths were identical. This fixes this warning and allows the
behaviour to be varied in future.
2023-06-03 16:57:10 +01:00
D G Turner
859b2dfd11
MM: MM1: Fix Unused Variable GCC Compiler Warning
2023-06-03 16:56:51 +01:00
Paul Gilbert
da0e6444cb
MM: MM1: Fixes for original Detect Magic view
2023-06-02 22:51:25 -07:00
Paul Gilbert
fcce523edb
MM: MM1: Properly implement views for fly spell
2023-06-02 21:41:46 -07:00
Paul Gilbert
85b9fa20c7
MM: MM1: Location spell view for enhanced mode
2023-06-02 20:32:28 -07:00
Paul Gilbert
e7d1ddd36d
MM: MM1: Fix Location spell in original
2023-06-02 20:32:28 -07:00
Paul Gilbert
8d46e1c5a5
MM: MM1: Further fixes for cast spell display
2023-06-02 20:32:28 -07:00
Paul Gilbert
047be524aa
MM: MM1: Fixes for original spell casting selection
2023-06-01 21:24:54 -07:00
Paul Gilbert
088b0bc888
MM: MM1: Reset Order selections each time it's opened
2023-06-01 20:16:42 -07:00
Paul Gilbert
173a91dcbb
MM: MM1: Add secret ScummVM map
2023-06-01 20:01:30 -07:00
Paul Gilbert
6c200cc799
MM: MM1: Fix selecting spell targets
2023-06-01 19:04:05 -07:00
Paul Gilbert
46bd51bf40
MM: MM1: Proper monsters defeated view at end of combat
2023-05-31 21:30:20 -07:00
Paul Gilbert
8b4ce312d3
MM: MM1: Clarify selecting towns in main menu
2023-05-31 21:30:20 -07:00
Paul Gilbert
b80fa6a309
MM: MM1: Fix combat screen first draw for different modes
2023-05-30 22:56:26 -07:00
Paul Gilbert
ff28436797
MM: MM1: Remove deprecated stubs from combat code
2023-05-30 22:56:26 -07:00
Paul Gilbert
8c4c1fbc8c
MM: MM1: Fix declining fighting in Arena
2023-05-30 21:18:52 -07:00
Paul Gilbert
e8ed87b77b
MM: MM1: Simplify rendering enhanced title screen
2023-05-30 21:06:54 -07:00
Paul Gilbert
772f2e58fa
MM: MM1: Fix renaming characters
2023-05-30 20:01:01 -07:00