Juliano Leal Goncalves
4ea9cd539e
🚚 Rename 'PortalStruct' struct to 'Portal'
5 years ago
Juliano Leal Goncalves
9f4438fa22
🚚 Rename 'TextDataStruct' struct to 'Speech' ( #2805 )
5 years ago
Juliano Leal Goncalves
d82b3b542f
🚚 Rename 'MissileDataStruct' struct to 'MissileData' ( #2803 )
...
* 🚚 Rename 'MissileDataStruct' struct to 'MissileData'
* 🚚 Rename 'MissileData' global array to 'MissilesData'
5 years ago
Juliano Leal Goncalves
5bb7b0bf23
♻️ Reduce visibility of 'Displacement::fromDirection' to 'private'
...
This will enforce the new constructor conversion approach over the use of the static method.
5 years ago
Juliano Leal Goncalves
32e22a16b3
♻️ Leverage conversion constructor for 'Direction' to 'Displacement'
...
This makes code more consistent overall as we use the same pattern for dealing with Sizes.
5 years ago
Juliano Leal Goncalves
244235d1de
🏷️ Add explicit conversion constructor on 'Displacement' from 'Direction'
...
We'll leverage this for consistency with other conversions which similarly use a conversion constructor instead of a static method like 'fromDirection'.
5 years ago
Juliano Leal Goncalves
ce40344ae9
🚚 Rename 'QuestDataStruct' struct to 'QuestData'
5 years ago
Juliano Leal Goncalves
ce23cd6bce
🚚 Rename 'QuestData' global array to 'QuestsData'
...
This will allow us to disambiguate from the 'QuestDataStruct' after the 'Struct' suffix is removed.
5 years ago
Juliano Leal Goncalves
d4a5868a89
🚚 Rename 'ObjDataStruct' struct to 'ObjectData'
5 years ago
Juliano Leal Goncalves
4431e3a823
🚚 Rename 'UItemStruct' struct to 'UniqueItem' ( #2806 )
...
* 🚚 Rename 'UItemStruct' struct to 'UniqueItem'
* 🚚 Rename 'UniqueItemList' global array to 'UniqueItems'
New name is more concise and follows the standard of pluralizing the base name for collections.
5 years ago
Juliano Leal Goncalves
a91074d470
🚚 Rename 'LightStruct' struct to 'Light'
5 years ago
Juliano Leal Goncalves
0d3d4c14f6
🚚 Rename 'Dead' concept to 'Corpse' everywhere ( #2808 )
5 years ago
Juliano Leal Goncalves
84ede906a0
♻️ Replace usages of 'ShiftGrid' against 'Point' values with direct offset/direction-based increments
5 years ago
Juliano Leal Goncalves
f5e88b0d9e
♻️ Leverage 'Point' in 'DrawTileContent' function
5 years ago
Juliano Leal Goncalves
5985bf10a0
♻️ Leverage 'Point' in 'DrawDeadPlayer' function
5 years ago
Juliano Leal Goncalves
184adcefea
♻️ Leverage 'Point' in 'DrawMonster' function
5 years ago
Juliano Leal Goncalves
322d8b340e
♻️ Leverage 'Point' in 'DrawMonsterHelper' function
5 years ago
Juliano Leal Goncalves
11a6be073c
♻️ Leverage 'Point' in 'DrawPlayerIconHelper' function
5 years ago
Juliano Leal Goncalves
66c8bb68af
♻️ Leverage 'Point' in 'DrawPlayerIcons' function
5 years ago
Juliano Leal Goncalves
1f264f7eb4
♻️ Leverage 'Point' in 'DrawPlayer' function
5 years ago
Juliano Leal Goncalves
3a9b4c02c1
♻️ Leverage 'Point' in 'DrawPlayerHelper' function
5 years ago
Juliano Leal Goncalves
bb093ff3a2
♻️ Leverage 'Point' in 'DrawItem' function
5 years ago
Juliano Leal Goncalves
db3ec3f329
♻️ Leverage 'Point' in 'DrawObject' function
5 years ago
Juliano Leal Goncalves
0b2f443d97
♻️ Leverage 'Point' in 'DrawMissile' function
5 years ago
Juliano Leal Goncalves
e997a7ae08
♻️ Leverage 'Point' in 'DrawDungeon' function
5 years ago
Juliano Leal Goncalves
515b427f14
♻️ Leverage 'Point' in 'DrawCell' function
5 years ago
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
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
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