Gleb Mazovetskiy
a66ca44695
Zero-based frame indexing
...
Index frames starting at 0 instead of 1.
4 years ago
Anders Jenbo
3c54925a84
Fix cow quest getting stuck in multiplayer
4 years ago
Anders Jenbo
55a0b71b1c
Only spawn loot once
4 years ago
staphen
30a9595020
Fix Hork Demon and Nakrul drops in multiplayer
4 years ago
ephphatha
8b07f27bde
Remove CowOffsets, always treat cows as 4 tile sprites
4 years ago
Anders Jenbo
f13e66ad04
Mark all names as translatable
5 years ago
ephphatha
b62ee6a66e
Remove use of direction for towners with a single facing
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
Juliano Leal Goncalves
8940ede1ab
🚚 Rename 'TownerStruct' struct to 'Towner' ( #2813 )
5 years ago
Juliano Leal Goncalves
bbf529c65a
🚚 Rename 'PlayerStruct' to 'Player'
5 years ago
Anders Jenbo
7ff4261252
Correct hellfire towners being loaded in diablo
...
Fixes #2723
5 years ago
Anders Jenbo
21963add95
Clean up hellfire differences
5 years ago
Anders Jenbo
0034ddd5b1
Clean up IsTownerPresent
5 years ago
qndel
e9c711dc9a
add IsTownerPresent
5 years ago
qndel
e75ea30ece
fix hellfire/cows crash
5 years ago
obligaron
9a6895352c
Remember last frame when animation is changed for towners (girl & cow farmer)
5 years ago
qndel
58367c7e32
talkto debug command ( #2666 )
5 years ago
qndel
d76d58bcc2
fix wrong cleanup of farmer value ( #2250 )
5 years ago
Anders Jenbo
5ddcd90ff9
Make NetSendCmdQuest() take a quest structure as input
5 years ago
Anders Jenbo
17f1991b45
Clean up towners.cpp
5 years ago
Anders Jenbo
6ba7895956
Fix farmer not leaving town after finishing his quest
5 years ago
Anders Jenbo
fcbf2802cb
Fix Celia's dialog when reciving Theodor
5 years ago
Anders Jenbo
3878c06bd0
Fix Complete Nut's dialog when reciving the gray suit
5 years ago
Anders Jenbo
a8a16d6083
Make Celia go home after stating so
...
When reciving Theodor Celia stats that she will be going home.
This makes her not spawn after the quest is done, same as the farmer.
5 years ago
Anders Jenbo
a3527b5f54
Update towner graphics when compleating quests
...
Previously Celia and the Complete Nut would not update there graphics
before your next visit to down, despite reciving there descried item.
5 years ago
vladtepesch
54b60101f5
No More Tears ( #2589 )
5 years ago
vladtepesch
7b33e8e856
Make farmer not wondering about explosion forever ( #2592 )
5 years ago
Robin Eklind
b2e94e2d8a
towners: add BUGFIX for Griswold custom towner order animation
...
Issue located by Andi and Anders if my memory serves me right.
5 years ago
Anders Jenbo
d523fc1e81
Cleanups
5 years ago
Anders Jenbo
9b8bf92575
Rename quest globals
5 years ago
Anders Jenbo
96bf75b502
Rename player globals
5 years ago
Anders Jenbo
bc59218d0d
More clang-tidy/Android Studio cleanups
5 years ago
Anders Jenbo
d9e0658643
Clang-tidy: basic naming
5 years ago
Juliano Leal Goncalves
cbb84199c2
♻️ Replace Point addition with 'Point + Displacement'
5 years ago
ephphatha
357f6f1dc3
Move RNG functions to their own header/source files
5 years ago
Andrew James
20190ee687
Update random number functions to avoid IB ( #2226 )
...
* Update random number functions to avoid IB
Most calls to set seed were using uint32_t already, there were a few variables which were better served by having their type changed from signed to unsigned. The one exception is ItemStruct::_iSeed. This is an identifier that also happens to be used as a seed occasionally so a comment was added documenting this exception.
Includes suggested style changes for Source/towners.h; Source/towners.cpp; Source/msg.h; Source/multi.h
5 years ago
ephphatha
f4f6a8a51e
Refactor PlaySfxLoc to take a Point instead of x/y params
...
Because of the heavy usage of this function in objects.cpp and the mixed use of aliases and direct references to the active object in Operate*Door functions I've done some refactoring of those areas beyond what is strictly necessary. Hopefully this makes sense and is reasonable to include in this change.
5 years ago
Anders Jenbo
22b632f04a
♻️ Clean up implicit bool conversions
5 years ago
Gleb Mazovetskiy
8a9618aea2
♻️ Clean up `cel_header.hpp`
...
1. Rename `CelGetFrameStart` to `CelGetFrame`, in line with the other 2
functions with the same name and load the `uint32_t` safely.
2. Remove redundant `FrameHeader`, simply use `LoadLE16`.
3. Document all the functions.
5 years ago
Gleb Mazovetskiy
14218080b6
🚚 engine.h: Extract `CelGetFrame` and friends
5 years ago
Gleb Mazovetskiy
e40b1963f9
🚚 engine.h: Extract `CelSprite` and file loading
5 years ago
qndel
816b244689
HasItem/RemoveInvItem combo refactor
5 years ago
qndel
8aec2faed0
Fix clang format in towners.cpp
5 years ago
Vladimir Olteanu
cc9783b8d9
Use WalkingDistance in TalkToTowner
5 years ago
Juliano Leal Goncalves
b04047ba4d
♻️ Leverage 'Point' struct on 'SpawnUnique'
5 years ago
Juliano Leal Goncalves
d55cd99dd5
🚚 Rename 'direction' enum to 'Direction'
5 years ago
Juliano Leal Goncalves
07e6a98fc4
✏️ Fix typos and spelling mistakes on 'HeroSpeech' members
5 years ago
Juliano Leal Goncalves
15c46b9eb0
💬 Rename HeroSpeech members to improve discoverability
5 years ago
Juliano Leal Goncalves
5350250a76
🚚 Rename speech functions to 'Say' variations
5 years ago
Juliano Leal Goncalves
8c620ce29e
♻️ Extract 'HeroSpeech' enum class for hero sounds instead of using raw `int`s
5 years ago