obligaron
9678d002d3
Reduce exported functions in debug.h
5 years ago
Vladimir Olteanu
d4d89077cd
Don't free PalSurface when it was obtained from SDL_GetVideoSurface
5 years ago
qndel
a0461bd1c0
stop displaying 0's in tiledata debug command
5 years ago
qndel
d05316c67d
tiledata debug command
5 years ago
ephphatha
87a33097a0
Rename ScrollDirection enum to follow convention
...
Pretty sure the backing type can be left to the default as well but I haven't had the time to investigate where it's used fully.
5 years ago
ephphatha
b12de6fe12
Use scoped enum for Direction
...
Identified and removed an instance of Direction being used as an argument for a bool parameter
Removed a single-use temporary variable being cast from sprite frame to direction to size_t
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Fix alignment of WalkSettings array
5 years ago
Anders Jenbo
7169882b1f
✨ Implement new font rendering
5 years ago
Siddharth singh chouhan
ec1850e295
Move documentation from implementations to declarations #2735 ( #2836 )
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
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
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
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
6e1d05187e
🚚 Rename 'MissileStruct' to 'Missile'
5 years ago
Juliano Leal Goncalves
20db8d1a11
🚚 Rename 'MonsterStruct' to 'Monster'
5 years ago
Juliano Leal Goncalves
35854b4668
🔥 Remove defensive check around monster mode logging logic
5 years ago
Juliano Leal Goncalves
1cd62bbc64
🚚 Rename 'MonsterMode' members for semantic and consistency
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
qndel
a737d72dd9
Dynamic char panel
5 years ago
Juliano Leal Goncalves
01823e1324
♻️ Replace 'cursmx' and 'cursmy' globals with single 'cursPosition'
5 years ago
Juliano Leal Goncalves
a469f7906e
♻️ Replace 'cursW' and 'cursH' globals with single 'cursSize'
5 years ago
qndel
8436e1f641
Merge pull request #2711 from qndel/show_coords
5 years ago
Anders Jenbo
866bc56008
Clean up remaning usages of Missiles[]
5 years ago
obligaron
3c45149cef
Introduce IsDiabloMsgAvailable and hide msgflag
5 years ago
BC Ko
4df798808e
2435 refactor global variable Items part 2 ( #2673 )
5 years ago
Anders Jenbo
4a1e4c599b
Port debug vision to a command
5 years ago
Anders Jenbo
f289fbcec5
Remove dead missile code
5 years ago