Commit Graph
471 Commits
Author SHA1 Message Date
Juliano Leal Goncalves 84ede906a0 ♻️ Replace usages of 'ShiftGrid' against 'Point' values with direct offset/direction-based increments 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves f5e88b0d9e ♻️ Leverage 'Point' in 'DrawTileContent' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 5985bf10a0 ♻️ Leverage 'Point' in 'DrawDeadPlayer' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 184adcefea ♻️ Leverage 'Point' in 'DrawMonster' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 322d8b340e ♻️ Leverage 'Point' in 'DrawMonsterHelper' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 11a6be073c ♻️ Leverage 'Point' in 'DrawPlayerIconHelper' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 66c8bb68af ♻️ Leverage 'Point' in 'DrawPlayerIcons' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 1f264f7eb4 ♻️ Leverage 'Point' in 'DrawPlayer' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 3a9b4c02c1 ♻️ Leverage 'Point' in 'DrawPlayerHelper' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves bb093ff3a2 ♻️ Leverage 'Point' in 'DrawItem' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves db3ec3f329 ♻️ Leverage 'Point' in 'DrawObject' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 0b2f443d97 ♻️ Leverage 'Point' in 'DrawMissile' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves e997a7ae08 ♻️ Leverage 'Point' in 'DrawDungeon' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 515b427f14 ♻️ Leverage 'Point' in 'DrawCell' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 7da37da8c9 ♻️ Leverage 'Point' in 'RenderTile' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 1552b0971b ♻️ Leverage 'Point' in 'DrawFloor(Surface, int, int, int, int)' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves b18ed891d0 ♻️ Leverage 'Point' in 'DrawFloor' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 072ca21405 ♻️ Replace 'tileOffsetX' and 'tileOffsetY' globals with single 'tileOffset' 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 7d62e80ca0 ♻️ Replace 'tileShiftX' and 'tileShiftY' globals with single 'tileShift' 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 17bab948c8 ♻️ Leverage 'Point' in 'DrawGame' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves a7c070c46a ♻️ Leverage 'Point' in 'DrawView' function 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves ba66a9dc87 ♻️ Replace 'dmaxx' and 'dmaxy' globals with single 'dmaxPosition' 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 6583410152 ♻️ Replace 'dminx' and 'dminy' globals with single 'dminPosition' 2021-09-06 00:31:25 +02:00
Juliano Leal Goncalves 940a120bf9 ♻️ Replace 'ViewX' and 'ViewY' globals with single 'ViewPosition' 2021-09-04 18:06:28 -04:00
Juliano Leal Goncalves 6e1d05187e 🚚 Rename 'MissileStruct' to 'Missile' 2021-09-02 05:46:44 +02:00
Juliano Leal Goncalves 20db8d1a11 🚚 Rename 'MonsterStruct' to 'Monster' 2021-09-01 22:26:37 +02:00
Juliano Leal Goncalves 35854b4668 🔥 Remove defensive check around monster mode logging logic 2021-09-01 19:15:08 +02:00
Juliano Leal Goncalves 1cd62bbc64 🚚 Rename 'MonsterMode' members for semantic and consistency 2021-09-01 19:15:08 +02:00
Juliano Leal Goncalves 69a7cb66d4 ♻️ Convert 'MON_MODE' enum to 'MonsterMode' enum class 2021-09-01 19:15:08 +02:00
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.
2021-09-01 19:15:08 +02:00
qndel a737d72dd9 Dynamic char panel 2021-08-30 20:33:55 +02:00
Juliano Leal Goncalves 01823e1324 ♻️ Replace 'cursmx' and 'cursmy' globals with single 'cursPosition' 2021-08-30 06:45:51 +02:00
Juliano Leal Goncalves a469f7906e ♻️ Replace 'cursW' and 'cursH' globals with single 'cursSize' 2021-08-30 06:45:51 +02:00
qndel 8436e1f641 Merge pull request #2711 from qndel/show_coords 2021-08-28 17:15:24 +02:00
Anders Jenbo 866bc56008 Clean up remaning usages of Missiles[] 2021-08-28 09:16:48 +02:00
obligaron 3c45149cef Introduce IsDiabloMsgAvailable and hide msgflag 2021-08-26 08:28:46 +02:00
BC Ko 4df798808e 2435 refactor global variable Items part 2 (#2673) 2021-08-26 08:06:48 +02:00
Anders Jenbo 4a1e4c599b Port debug vision to a command 2021-08-19 20:36:12 +02:00
Anders Jenbo f289fbcec5 Remove dead missile code 2021-08-13 03:59:29 +02:00
Vladimir Olteanu 040ca7b1e9 Remove logic related to unused MFLAG_ALLOW_SPECIAL 2021-08-12 00:19:09 +02:00
Vladimir Olteanu 3364a4e00c Refactor MisFileData
MisFileData: make pinnedMem private
2021-08-12 00:19:09 +02:00
obligaron 82cea78def Apply clang-format 2021-08-11 20:52:32 +02:00
Aaron Sun 3ee90ca629 Add options for sub-panel alignment 2021-08-07 16:09:32 +02:00
4aron5un 4c8210df21 Center the sub-panels (Quest, Character, Spell and Inventory) (#2498) 2021-08-05 21:27:07 +02:00
Anders Jenbo d523fc1e81 Cleanups 2021-08-02 10:12:40 +02:00
ephphatha 0575716eac Rename UiFlags members to group related options 2021-07-31 20:22:40 +02:00
ephphatha 4ad53232a0 Convert the UiFlags enum to a scoped enum type
Replace operator&& with named function
2021-07-31 20:22:40 +02:00
obligaron 7d9891b249 ADL GetOffsetForWalking: remove diagonal special 2021-07-25 21:23:32 +02:00
Anders Jenbo a07b30a0c7 Get Towners by reference 2021-07-20 03:12:15 +02:00
Anders Jenbo de0b3a38b8 Apply code style 2021-07-20 02:51:39 +02:00