Vladimir Olteanu
|
77353d2db9
|
Turn AmLine* into inline function
|
4 years ago |
ephphatha
|
2121d8dc67
|
Use position for object delta messages
Co-authored-by: Stephen C. Wills <swills@gridprotectionalliance.org>
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
|
4 years ago |
obligaron
|
439a9926e5
|
Clean up spell usage function names
Rename UseMana -> ConsumeSpell
Rename RemoveCurrentSpellScroll -> ConsumeScroll and remove unused return value
Rename UseStaffCharge -> ConsumeStaffCharge
Rename UseScroll -> CanUseScroll
|
4 years ago |
obligaron
|
6804221199
|
Store scroll/rune location in SpellCastInfo.spellFrom and remove the scroll/rune only after the spell is casted
|
4 years ago |
obligaron
|
279e92e69c
|
Checks conditions for spell again, cause initial check was done when spell was queued
|
4 years ago |
obligaron
|
1cfd1ca99d
|
Fix double casting bug - use separated info for casted and queued spells
|
4 years ago |
obligaron
|
2c7e886c85
|
Add detail log info to CompareSaves
|
4 years ago |
Andrew James
|
480ab945e7
|
Only draw towners on their base tile (#5171)
|
4 years ago |
Anders Jenbo
|
da5f392cfa
|
Merge OpenDoor and DeltaSyncDoor
|
4 years ago |
Anders Jenbo
|
b9aa2959a6
|
Split deleta sync from operate door
|
4 years ago |
Anders Jenbo
|
5f3acebe5e
|
Merge operate door functions
|
4 years ago |
Cesar Canassa
|
1bdee4523b
|
✨ Adds ignoreMovingMonsters to MonsterAtPosition (#5118)
|
4 years ago |
DakkJaniels
|
13d53a33dc
|
move gold drop checks earlier
|
4 years ago |
Anders Jenbo
|
efe6b18900
|
Move two basic crypt setpices in to dun files
|
4 years ago |
Yuvraj Tetarwal
|
59482b5e9f
|
Auto oil pickup (#5159)
* Fixed formatting
|
4 years ago |
Gleb Mazovetskiy
|
5ad03478dc
|
Missing fonts.mpq: Show an error, fall back to en
If the language is set to one of the locales that requires extra fonts
and `fonts.mpq` is missing, show an error dialog and fall back to English.
|
4 years ago |
Anders Jenbo
|
069a33749c
|
Merge sync door functions
|
4 years ago |
Anders Jenbo
|
70683bf9de
|
Add door state enum
|
4 years ago |
ephphatha
|
9309f2fe4f
|
Add enum to represent monster sound effects
|
4 years ago |
Anders Jenbo
|
3250472789
|
Clean up player references
|
4 years ago |
Anders Jenbo
|
e83c55d444
|
Clean up object references
|
4 years ago |
galaxyhaxz
|
b42c731ae5
|
Fix broken dirt tile in cathedral/crypt
|
4 years ago |
ephphatha
|
b234565f65
|
Inline functions which only set Object::_oRndSeed
|
4 years ago |
Stephen C. Wills
|
e364b7488c
|
HitMonster() cleanup (#5147)
|
4 years ago |
obligaron
|
c5ce29106e
|
Fix left sideways walking monsters draw order
|
4 years ago |
Cesar Canassa
|
f069cdc771
|
♻️ Pass objects by reference (#5148)
|
4 years ago |
obligaron
|
ca1949a87f
|
Don't recalculate leveltype (from currlevel) in SaveGameData
|
4 years ago |
ephphatha
|
0ce76a3f13
|
Add Object lookup method to mimic map::at()
|
4 years ago |
ephphatha
|
ed5d2d98e7
|
Simplify AddBookLever
|
4 years ago |
ephphatha
|
cdcccef47a
|
Return pointer from AddObject
This allows removing the immediate lookup for call sites which need further initialisation.
|
4 years ago |
Cesar Canassa
|
1d08d6b974
|
♻️ Replace dMonster usage on DoAttack (#5137)
|
4 years ago |
DakkJaniels
|
9403084d41
|
Fix ModifyPlrMag
Used BaseStr instead of BaseMag
|
4 years ago |
Cesar Canassa
|
102f4abe9b
|
♻️ Remove _misource access from AddLightningWall (#5098)
|
4 years ago |
Trihedraf
|
e10780f6d9
|
Fix Building SDL2 for MinGW
|
4 years ago |
Gleb Mazovetskiy
|
2ca6a3e8eb
|
`Player#getGraphic`: Remove `MyPlayer` check
We always have `_pSpell` when this function is called.
|
4 years ago |
ephphatha
|
2b442a73c2
|
Fix highlighting towners 1-4 after visiting the dungeon
|
4 years ago |
Gleb Mazovetskiy
|
7c0b72abc0
|
Improve demo test error message
Example:
```
file "game" is different at byte 54251:
Expected: ... 00 00 00 00 00 00 00 00 30 00 00 00 50 00 00 00 ...
Actual: ... FF FF FF FF 00 00 00 00 30 00 00 00 50 00 00 00 ...
```
|
4 years ago |
qndel
|
ed8964907a
|
fix jester's affix description (#5120)
* fix jester's affix description
|
4 years ago |
ephphatha
|
35bf79b007
|
Use Monster& in PrintDebugMonster
|
4 years ago |
Cesar Canassa
|
75756c518f
|
♻️ Send the monster reference to the monster AI functions (#5113)
|
4 years ago |
Cesar Canassa
|
07ff79cbdc
|
♻️ MonsterAttackPlayer receives monster and player as references (#5111)
|
4 years ago |
DakkJaniels
|
163ea36fa6
|
Convert ZT gamename to lower case (#5110)
|
4 years ago |
Gleb Mazovetskiy
|
b21ebffaf2
|
Clean up player graphic loading
|
4 years ago |
ephphatha
|
975eb3674b
|
Add helper to check if a monster belongs to a player
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
|
4 years ago |
Anders Jenbo
|
046f826931
|
[gamepad/touch] Fix targeting berserked
|
4 years ago |
Andrew James
|
24c57bf6c6
|
Simplify MonsterOperateDoor (#5100)
|
4 years ago |
Cesar Canassa
|
0ce0f5b7b4
|
♻️ Remove _misource access from AddSpecArrow
|
4 years ago |
Cesar Canassa
|
f5af1fa49c
|
♻️ Remove _misource access from AddRuneExplosion
|
4 years ago |
Cesar Canassa
|
71edcbed12
|
♻️ Remove _misource access from AddWarp
|
4 years ago |
Cesar Canassa
|
f12e636abb
|
♻️ Remove monsterId from AiPlanPath
|
4 years ago |