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
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
17803d5923
♻️ Apply proper types to PlayerStruct
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
qndel
83f8fc5a90
path_get_node2 cleanup
6 years ago
qndel
77c64b99d5
path_get_node1 cleanup
6 years ago
Anders Jenbo
d6f70c56ce
Format files
6 years ago
Anders Jenbo
3c276a3cd3
Add documentation
...
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
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
3770c8551d
max walkpath ( #1996 )
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
galaxyhaxz
e9e70b2092
PindFath
7 years ago
qndel
1ea67db9e6
path_next_node cleanup
7 years ago
Anders Jenbo
7883043adc
Clean up files with dirty headers
7 years ago
Anders Jenbo
a7788ccddf
Format bin exact code
7 years ago
Sergey Semushin
0641165181
Fix sneaky diff in path_get_node{1,2}.
7 years ago
Sergey Semushin
74da7a9e7e
Clean up path_next_node.
7 years ago
Sergey Semushin
c5c7bb8a44
Clean up FindPath.
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
00e8417f98
CheckCursMove bin exact ( #961 )
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
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
b5f69dccdc
C compatability from d-p ( #519 )
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
b1f6d3698f
Update style to use tabs
8 years ago
Dennis Duda
e8ffd05cfd
Removed unreferences var
8 years ago
Dennis Duda
ee41cefd07
Reformatted path.cpp with clang-format
8 years ago
Dennis Duda
b9cdfcfe65
Added MAXPATHNODES define and minor cleanups
8 years ago
Anders Jenbo
88377a556a
More path_get_h_cost clean up
8 years ago
Anders Jenbo
83ca1bca42
Clean up path_set_coords
8 years ago
Anders Jenbo
77e58a1771
Clean up path_*_active_step & path_new_step
8 years ago
Anders Jenbo
e4984cb351
Clean up path_get_node
8 years ago
Anders Jenbo
4edc19a9be
Further clean up of path.cpp
8 years ago
Anders Jenbo
070a95bea0
Clean up path_parent_path
8 years ago
Anders Jenbo
82f0839658
Clean up path_parent_path
8 years ago
Anders Jenbo
b011459ae7
Clean up path_get_path
8 years ago
Anders Jenbo
3c0358f34f
Clean up path_solid_pieces
8 years ago
Anders Jenbo
4e2ea5d312
Clean up path.cpp
8 years ago
nomdenom
d14bf20467
Source: NO_GLOBALS support (for Miniwin)
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
8 years ago
Dennis Duda
0200a2abba
Refactored spells.cpp ( #147 )
...
Finished refactoring spells.cpp, modifying other files only as needed.
Some functions are 99% binary exact now, like PlacePlayer, for example.
Added notes/TODOs for places with remaining discrepancies.
8 years ago
Max
d63deaaddf
Add comments, rename variables in path.cpp ( #100 )
8 years ago
galaxyhaxz
a1a39ccefc
Fix decompilation of pnode_vals
...
Was originally int[26], should be int[25] with a dword as int[0]
8 years ago
galaxyhaxz
dcd2d3dd44
Fix more decompilation in path, ughh
8 years ago