Juliano Leal Goncalves
7da37da8c9
♻️ Leverage 'Point' in 'RenderTile' function
5 years ago
Juliano Leal Goncalves
1552b0971b
♻️ Leverage 'Point' in 'DrawFloor(Surface, int, int, int, int)' function
5 years ago
Juliano Leal Goncalves
b18ed891d0
♻️ Leverage 'Point' in 'DrawFloor' function
5 years ago
Juliano Leal Goncalves
072ca21405
♻️ Replace 'tileOffsetX' and 'tileOffsetY' globals with single 'tileOffset'
5 years ago
Juliano Leal Goncalves
7d62e80ca0
♻️ Replace 'tileShiftX' and 'tileShiftY' globals with single 'tileShift'
5 years ago
Juliano Leal Goncalves
17bab948c8
♻️ Leverage 'Point' in 'DrawGame' function
5 years ago
Juliano Leal Goncalves
a7c070c46a
♻️ Leverage 'Point' in 'DrawView' function
5 years ago
Juliano Leal Goncalves
1f7cfcf945
♻️ Replace 'ReturnLvlX' and 'ReturnLvlY' globals with single 'ReturnLvlPosition'
5 years ago
Juliano Leal Goncalves
ba66a9dc87
♻️ Replace 'dmaxx' and 'dmaxy' globals with single 'dmaxPosition'
5 years ago
Juliano Leal Goncalves
6583410152
♻️ Replace 'dminx' and 'dminy' globals with single 'dminPosition'
5 years ago
sheng-luwei
effee3f7bb
Update de.po
5 years ago
Juliano Leal Goncalves
940a120bf9
♻️ Replace 'ViewX' and 'ViewY' globals with single 'ViewPosition'
5 years ago
Juliano Leal Goncalves
d225202c34
🚚 Rename 'MonsterClass' members for consistency
5 years ago
Juliano Leal Goncalves
7af21d289d
♻️ Remove unnecessary 'MonsterClass' enum underlying value type override
5 years ago
Juliano Leal Goncalves
21b481bb46
♻️ Convert 'MonsterClass' enum to enum class
5 years ago
Juliano Leal Goncalves
6226f41849
🚚 Rename '_mc_id' enum to 'MonsterClass'
5 years ago
Juliano Leal Goncalves
eac08bd05f
♻️ Extract health bar border color by monster type logic into local function
...
This eliminates direct array indexing by an enum which allows us to move into enum class without casting.
5 years ago
staphen
e85101eb31
Fix NULL Cel Buffer error when blocking missiles
5 years ago
egonzalez
d9516b0389
Spanish translation: some corrections (compared against Italian translation))
5 years ago
qndel
927e773696
small debug cleanup
5 years ago
Juliano Leal Goncalves
db1026fa39
🚚 Rename 'MonsterDataStruct' to 'MonsterData'
5 years ago
Juliano Leal Goncalves
6146b828e9
🚚 Rename 'MonsterData' global to 'MonstersData'
...
This avoids conflicts with the struct name as we'll be renaming that next.
5 years ago
obligaron
be4aeca196
DebugCmdWarpToLevel: Use correct WM_DIABTOWNWARP instead of the up-to-town WM_DIABTWARPUP
5 years ago
obligaron
2e07a59582
DebugCmdLoadMap: Fix transition from level to map
5 years ago
obligaron
82a5af7332
DebugCmdWarpToLevel: Fix transition from map to level
5 years ago
qndel
a14a3ba455
add enums to monsters
5 years ago
qndel
0323b46e40
fix quest unique monster level
5 years ago
qndel
2e6f98ac2a
search cleanup
5 years ago
Siddharth singh chouhan
18125aac6a
Move documentation from implementations to declarations #2735 ( #2782 )
5 years ago
Juliano Leal Goncalves
6e1d05187e
🚚 Rename 'MissileStruct' to 'Missile'
5 years ago
Juliano Leal Goncalves
0baffa6e33
🚚 Rename 'QuestStruct' to 'Quest'
5 years ago
Juliano Leal Goncalves
ef74b6f92d
🚚 Rename 'ObjectStruct' to 'Object'
5 years ago
Juliano Leal Goncalves
20db8d1a11
🚚 Rename 'MonsterStruct' to 'Monster'
5 years ago
Robin Eklind
721460e375
missiles: add BUGFIX for PutMissile
...
Prior to this commit, if the player was standing on coodinate with
x=0 or y=0, no missile would be created when casting a spell. This
is due to an off-by-one when doing bounds-checking.
5 years ago
Robin Eklind
3626759011
gendung: update out-of-bounds BUGFIX comment of DRLG_WillThemeRoomFit
5 years ago
Robin Eklind
82133085fc
themes: add BUGFIX for Theme_Treasure
5 years ago
Juliano Leal Goncalves
35854b4668
🔥 Remove defensive check around monster mode logging logic
5 years ago
Juliano Leal Goncalves
fe95e36d90
🎨 Leverage 'IsAnyOf' on monster mode checks
5 years ago
Juliano Leal Goncalves
1cd62bbc64
🚚 Rename 'MonsterMode' members for semantic and consistency
5 years ago
Juliano Leal Goncalves
154a033e33
♻️ Remove unnecessary explicit underlying type on 'MonsterMode'
5 years ago
Juliano Leal Goncalves
69a7cb66d4
♻️ Convert 'MON_MODE' enum to 'MonsterMode' enum class
5 years ago
Juliano Leal Goncalves
cadf841e5f
♻️ Convert monster mode display name lookup to local lambda
...
This eliminates the array indexing using the enum directly, which is something we want to avoid going into enum classes for these enums.
5 years ago
Juliano Leal Goncalves
314ae59828
♻️ Leverage 'IsWalking' function for monster walking checks
5 years ago
Juliano Leal Goncalves
5a9dd86e80
🎨 Simplify monster AI walking checks using 'IsAnyOf'/'IsNoneOf'
5 years ago
Siddharth singh chouhan
6a8812c468
Move documentation from themes.cpp to themes.h
5 years ago
Siddharth singh chouhan
03eb86b118
Move documentation from implementations to declarations #2735
5 years ago
qndel
96d784912f
fix currlevel in map command
5 years ago
Robin Eklind
045cb90dbf
items: add BUGFIX for GetItemRecord when handling quest items
...
When spawing quest items (e.g. blood stone), no unique seed is set
for the item. Therefor two quest items may share the same seed, this
happens deterministically for the Valor quest, since three blood stones
are spawned, each with item seed 0x00000000.
For this reason, if two or more such quest items with identical seed are
looted within less than 6 seconds, the 2nd, 3rd, etc loot actions are
ignored.
5 years ago
qndel
3d17bfdc7d
upgrade debug item drop generation
5 years ago
qndel
60e27e2427
Merge pull request #2759 from qndel/fix_panel
...
fix panel at higher resolutions
5 years ago