Vladimir Olteanu
53603da836
Use Point::Absolute in sync_monster
5 years ago
Vladimir Olteanu
16e78bb559
Use ManhattanDistance in sync_monster
5 years ago
Vladimir Olteanu
f0ccb562fa
Use ManhattanDistance in sync_one_monster
5 years ago
Juliano Leal Goncalves
d55cd99dd5
🚚 Rename 'direction' enum to 'Direction'
5 years ago
Anders Jenbo
a095bc0bf7
♻️ Migrate more code away from miniwin
5 years ago
Anders Jenbo
f884ba5340
🔥 Remove more miniwin dependencies
5 years ago
Anders Jenbo
3b04f67194
🔥 Remove a chunk of miniwin types
5 years ago
Anders Jenbo
f77c52941a
♻️ Make GetDirection take Points instead of ints
5 years ago
Anders Jenbo
2bd13451a1
♻️ Apply point positioning to all remaning entities
5 years ago
Anders Jenbo
efbe8a8338
♻️ add possition points to monsters
5 years ago
Anders Jenbo
7912e510f0
🎨 Clean up overuse of SDL types
5 years ago
Anders Jenbo
e4cfad3196
♻️ Use points instead of individual fileds for player structure
5 years ago
Anders Jenbo
373f28736f
🎨 Acceptable parts of modernize-*
5 years ago
Anders Jenbo
61d15e23db
🎨 Apply direction enum to monsters and relations
...
Missiles _mimfnum is being used for a lot more then just directions and
can also be a 16 degree direction so can't apply enum verbs and
restricitons to it in most cases. This in turns also affects SetMissDir
and some other functions that have to stay int.
5 years ago
Anders Jenbo
997c1dba55
🚚 Split up all.h in to proper header relations
5 years ago
Anders Jenbo
ba6b031fa1
✅ Enable all remaning assertions ( #1453 )
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Juliano Leal Goncalves
9021f8daa5
♻️ Pluralize global 'item' array variable
5 years ago
Anders Jenbo
8f09cc3034
[diablo] 🐛 Correct spelling of Sorcerer
...
Fixes #1074
5 years ago
Semperfis96
cd8d26ac8f
Rename sync_word_6AA708 to sgnMonsterPriority in Source/sync.cpp for clarity ( #1202 )
5 years ago
Juliano Leal Goncalves
37466890e0
♻️ Extract 'ItemStruct.isEmpty()' function
5 years ago
Anders Jenbo
3d93478a6c
Some additional clean up
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago
qndel
d68b829776
codefix message ( #2155 )
5 years ago
Anders Jenbo
4bd9023bcf
Reorder sync.cpp
5 years ago
qndel
218a832ece
[hellfire] sync_monster cleanup
6 years ago
qndel
ff4f783bc7
apply ear enum
6 years ago
Anders Jenbo
1ba96a6777
Add doxygen description to remaining engine files
6 years ago
Anders Jenbo
3b8bcf98bf
Enable assertions
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
Anders Jenbo
20621a0642
add all.h and use in place of diablo.h ( #2005 )
...
Now diablo.h is treated in the same way as all other header files of
Source, as it only contains the declarations of global variables and
functions of diablo.cpp.
Besides consistency, this also enables mods to include diablo.h just
like any other header file without having to include every header file
(and without having to include C++ specific aspects of the now all.h).
6 years ago
qndel
c2587d9786
use enums ( #1997 )
6 years ago
Sergey Semushin
6ec6e3c530
Make MonstrStruct::_msquelch and DMonstrStr::_mactive unsigned.
...
Also utilize UCHAR_MAX for value of 255 used extensively for those flags.
7 years ago
Anders Jenbo
5f069f6a0a
Clean up sync.cpp
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
Anders Jenbo
d2174e3454
Apply code style
7 years ago
galaxyhaxz
40ffc0d00c
Clean the dirty sink
7 years ago
galaxyhaxz
ec2029e0ba
Fix sync.cpp names p1 ( #828 )
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
1e4e826a36
Remove delta to devilution
7 years ago
Anders Jenbo
4a62a7c678
Code style
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
8276252e6e
Foarmat multiplayer related files
8 years ago
nomdenom
d14bf20467
Source: NO_GLOBALS support (for Miniwin)
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago