Matthew Jimenez
1e99ce9d43
GRAPHICS: Use constexpr for palette constants
2025-02-26 11:11:43 +02:00
Hubert Maier
5a328ad181
JANITORIAL: MM: Fix typos
2024-09-23 19:26:39 +03:00
Hubert Maier
e9303cfb09
JANITORIAL: MM: Fix typos
2024-09-16 01:48:47 +03:00
Paul Gilbert
409b5809ba
MM: MM1: Actually deduct SP when casting spells in enhanced mode
2024-09-02 20:10:16 -07:00
Paul Gilbert
45ea120eb7
MM: MM1: Fix setting spell sp/gem requirements
2024-09-02 19:51:07 -07:00
Cameron Cawley
ff530edcb1
GRAPHICS: Deprecate ManagedSurface methods that implicitly copy pixel data
2024-07-02 13:31:18 +01:00
D G Turner
0d286b7081
MM: MM1: Remove Stray Semicolon From Map14 Class Code
...
This causes a warning if -Wpedantic is passed to GCC.
2024-06-04 01:11:36 +01:00
Paul Gilbert
80e83c1a4b
GRAPHICS: Support Graphics::Palette in PaletteManager
2024-06-01 11:38:27 -07:00
Paul Gilbert
2bc022fb8c
MM: MM1: Use Graphics::Palette::createEGAPalette
2024-06-01 11:26:17 -07:00
Filippos Karapetis
3bd3a29353
MM: MM1: Use true/false keywords for boolean variables
2024-05-13 09:47:29 +03:00
Paul Gilbert
cf4b595166
MM: Move engine_data.cpp into Common namespace
2024-05-05 13:27:01 +02:00
Paul Gilbert
9bf01106fd
MM: MM1: Fix crash on startup
2024-05-01 21:55:58 -07:00
Matthew Jimenez
5219c99400
GRAPHICS: Move PaletteManager definition to a separate header
2024-03-12 12:24:00 +02:00
NoSFeRaTU
7c8ed5b574
MM: MM1: Support for non-vanilla version
...
There is version of MM1 in the wild which have some differences with floppy version of vanilla. Support resources from it too.
2024-02-17 13:16:51 -10:00
Paul Gilbert
e77b114a03
MM: MM1: Remove redundant call to updateMonsterStatus
2024-01-07 11:36:28 -08:00
Le Philousophe
0512d96b47
MM: Migrate engine to Path
2023-12-24 13:19:25 +01:00
D G Turner
ccd7f65e5b
MM: MM1: Fix GCC ABI Mangling Warnings Caused By Lambda Functions
...
These warnings are emitted from GCC-13 when -Wabi is passed.
2023-12-18 19:48:02 -10:00
Eugene Sandulenko
ec2dd2726b
ENGINES: Added optional parameter to canSave/LoadGameStateCurrently() for indicating the reason
2023-12-08 12:21:16 +01:00
Paul Gilbert
228c64e04b
MM: MM1: Fix displaying character info from Inn
2023-11-05 17:43:45 -10:00
Paul Gilbert
8a48164347
MM: MM1: Fix current HP display in Character Info view
2023-11-05 17:20:44 -10:00
Paul Gilbert
141f97e735
MM: MM1: Fix setting SP for created magic casters
2023-11-05 17:01:35 -10:00
Paul Gilbert
1e2f93c252
MM: MM1: Fix restoring HP during resting
2023-11-05 11:30:34 -10:00
Paul Gilbert
06655e124b
MM: MM1: Don't freeze like original in rest if attributes reach 0
2023-11-05 11:30:34 -10:00
Paul Gilbert
ddc1a485b7
MM: MM1: Split _age into _age and _ageDayCtr
...
I originally thought _age was an attribute pair, but the second
field is actually a counter that's incremented during rest,
and when it overflows increases the character's age by a year.
As such they are distinct fields. And in fact, separating it
revealed multiple places the "current" field was being changed
when the base _age was intended. These are all fixed now.
2023-11-04 22:14:26 -10:00
Eugene Sandulenko
5a2fbed061
MM: MM1: Remove redundant copy constructor
...
Default one will work equally fine
2023-09-19 14:43:51 +02:00
Eugene Sandulenko
15866dc113
MM: MM1: Comment out unused class variables
2023-09-19 14:43:25 +02:00
Paul Gilbert
9a9f2e3faf
MM: MM1: Fixes for casting energy blast (and other iterative spells)
2023-08-15 20:11:13 -07:00
Paul Gilbert
f934b0b64f
MM: MM1: Fix monster selection after first monster killed
2023-08-14 19:09:58 -07:00
Paul Gilbert
06c1d02522
MM: MM1: Add missing param guard to getRandomNumber
2023-08-14 18:59:21 -07:00
Paul Gilbert
c599d4f861
MM: MM1: Fix setting up random monster list for combat
2023-08-13 18:56:18 -07:00
Paul Gilbert
0e3c70d523
MM: MM1: Fix enhanced mode combat crash
2023-08-13 17:58:01 -07:00
Paul Gilbert
03470bf83c
MM: MM1: Hopefully fix new deprecated InfoMessage warnings
2023-08-13 17:36:56 -07:00
D G Turner
79ac349b9c
MM: MM1: Fix Likely Oversight of Field in Custom Copy Assignment Operator
2023-08-14 01:15:55 +01:00
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
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
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
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
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