ephphatha
851fb87e24
Remove mi argument from DeleteMissile
...
This value is always the current value of ActiveMissiles[i], while the caller has retrieved the index for its own use it's easier to track what the function does by just passing i.
5 years ago
Andrew James
784057780c
Prevent OOB access when initialising quest pools ( #2775 )
5 years ago
Vladimir Olteanu
f530535a58
Simplify PlaceMiniSetRandom
5 years ago
Vladimir Olteanu
3193c077a6
Introduce Miniset::matches
5 years ago
Vladimir Olteanu
82584b2c54
Introduce Miniset::place
5 years ago
Vladimir Olteanu
9b8aec8a42
drlg_l2.cpp: introduce Miniset
5 years ago
Anders Jenbo
2ea317c178
Clean up missile code
5 years ago
Anders Jenbo
ddddb44587
🐛 Fix search spell affecting all players
5 years ago
Anders Jenbo
e848bf77df
🐛 Fix teleport not working in all locations
...
- Player cannot TP to current location
- Cannot teleport to any object location (including doors)
- Can teleport to void locations
- Cannot teleport to dead monsters
5 years ago
qndel
22ff664dee
golem assert fix
5 years ago
Anders Jenbo
5bffa14e70
Define type for MonsterClass
...
Reverts 7af21d289d
5 years ago
Anders Jenbo
8766946bec
[Android] Fix input not being in view for 5.1 - 7.0
...
This is still broken in Android 7.1.1+
5 years ago
Juliano Leal Goncalves
5430672477
🚚 Rename 'UniqMonstStruct' struct to 'UniqueMonsterData' ( #2814 )
5 years ago
Juliano Leal Goncalves
8940ede1ab
🚚 Rename 'TownerStruct' struct to 'Towner' ( #2813 )
5 years ago
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