Anders Jenbo
22b632f04a
♻️ Clean up implicit bool conversions
5 years ago
Anders Jenbo
f8a8684471
Clean up shareware endgame speach
5 years ago
Anders Jenbo
8a7ec56d3a
Player by reference part 2
...
This mostly change player to be by reference instead of by index.
But additionally it does stript checks for gold in the belt, move some
value types to the initialization and short circute a few functiongs.
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
Jmgr
bbd39aa513
Replace sprintfs with strcpy for translatable strings
5 years ago
Jmgr
6e85cde978
Update format strings
5 years ago
Jmgr
0c27e756f7
Add fmt::format
5 years ago
Anders Jenbo
5745f099ba
♻️ Use Point for positions in msg.cpp functions
5 years ago
Anders Jenbo
bd515ac75d
♻️ Apply Point equality operator
5 years ago
John Törnblom
e0dddf508a
Add automatically translated string literals ( #1694 )
5 years ago
Anders Jenbo
2bd13451a1
♻️ Apply point positioning to all remaning entities
5 years ago
Anders Jenbo
e4cfad3196
♻️ Use points instead of individual fileds for player structure
5 years ago
qndel
ec74917cb4
class sounds cleanup
5 years ago
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
5 years ago
Anders Jenbo
c89bd9c001
🚨 Fix remaning warnings for clang and gcc
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
67a7ff98c5
🚨 Clean up compiler warnings
5 years ago
Yuri Pourre
ed1ddfdece
Exposes player id from multi_send_packet
5 years ago
Juliano Leal Goncalves
28ad9d43c5
🎨 Rename 'plr_class' enum to 'HeroClass'
...
Members were renamed as well for readability.
5 years ago
Juliano Leal Goncalves
7d95bfed39
♻️ Convert 'plr_class' to a scoped enumeration
5 years ago
Anders Jenbo
61244c4d93
♻️ Rearange and apply more enums
5 years ago
Anders Jenbo
20186e0370
🎨 Replace TRUE/FALSE with true/false
...
fix
Fix
fix
5 years ago
Anders Jenbo
93d42b62b8
♻️ Change BOOL to bool
5 years ago
Anders Jenbo
b1ffdca0a3
♻️ make better use of enums
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Anders Jenbo
ca2c2ba5e7
🚨 Handle a bunch of warnings from CLang
5 years ago
Anders Jenbo
fbd86cd3c5
🎨 Mark noreturn functions as such
5 years ago
Gleb Mazovetskiy
7be943195e
Fix undefined debug_mode_key_j
5 years ago
Anders Jenbo
72ebba0591
🚩 Implement -j debug command
5 years ago
Andi
7368778cb2
Remove items dropping before entering level ( #1010 )
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
Anders Jenbo
9cd6bd96a9
[hellfire] Fix monster eating logic
...
- Nolonger drop health when not on normal difficulty
- Uniques will nolonger drop health
- All monsters heal at the same rate
5 years ago
Anders Jenbo
8c261d0966
Merge remaning clean Hellfire code paths
5 years ago
Anders Jenbo
01590d3757
Merge a section of the Hellfire item and quest code
5 years ago
Anders Jenbo
e609e170d0
Merge a large chunk of Hellfire the code paths
5 years ago
Anders Jenbo
38dbcf7641
Format source
5 years ago
Anders Jenbo
e073422ce7
Unify executable for Spawn and Retail
...
The game will now autodetect if it should run in shareware mode or full
retail based on the found mpq file. Additionally it can beforced in the
shareware mode with --spawn even if the retail data is found.
This simplifies a lot of the spagetty code and lets us better refactor,
also worth noteing is that we won't have to setup a secound set of build
tests.
5 years ago
Anders Jenbo
3157885502
Correct shareware ifdefs
6 years ago
pionere
92646a8950
townwarps count has nothing to do with MAX_PLRS
6 years ago
Anders Jenbo
c1b4d3d8b5
Copy documentation from sanctuary/notes
6 years ago
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
6 years ago
Anders Jenbo
7e45f8bcc8
More cleanups
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
Anders Jenbo
f217b14e3e
Order variables logically
6 years ago
Anders Jenbo
8f635b779c
Correct style of checks
6 years ago
Anders Jenbo
10febf7e15
Decompose a few numbers
6 years ago
Anders Jenbo
cab3ebddf5
Avoid some arrays being of predefined size
...
This makes it easier to change the array size via content
6 years ago