Commit Graph
40 Commits
Author SHA1 Message Date
Anders Jenbo d6f70c56ce Format files 2020-03-01 22:48:17 +01:00
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)
2020-03-01 22:18:00 +01:00
Anders JenboandGitHub 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).
2020-02-14 13:12:54 +01:00
qndelandAnders Jenbo 3770c8551d max walkpath (#1996) 2020-01-27 10:52:00 +01:00
Anders Jenbo 5fa0c5781b Backport cleanups from Hellfire branch 2019-12-15 06:14:57 +01:00
qndelandAnders Jenbo 1ea67db9e6 path_next_node cleanup 2019-09-09 00:48:17 +02:00
Anders Jenbo 7883043adc Clean up files with dirty headers 2019-07-08 04:28:31 +02:00
Anders Jenbo a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Sergey SemushinandAnders Jenbo 0641165181 Fix sneaky diff in path_get_node{1,2}. 2019-06-06 23:23:00 +01:00
Sergey SemushinandAnders Jenbo 74da7a9e7e Clean up path_next_node. 2019-06-02 22:14:09 +01:00
Sergey SemushinandAnders Jenbo c5c7bb8a44 Clean up FindPath. 2019-06-02 19:27:33 +01:00
galaxyhaxzandAnders Jenbo 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
galaxyhaxzandAnders Jenbo 00e8417f98 CheckCursMove bin exact (#961) 2019-04-16 04:08:37 +02:00
galaxyhaxzandAnders Jenbo 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Anders JenboandRobin Eklind b5f69dccdc C compatability from d-p (#519) 2018-12-29 17:54:22 +01:00
Anders Jenbo 4a62a7c678 Code style 2018-12-29 02:15:20 +01:00
Anders Jenbo ab3a6208d2 Use "BOOLEAN" instead of "bool"
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Dennis Duda e8ffd05cfd Removed unreferences var 2018-10-21 17:24:00 +02:00
Dennis Duda ee41cefd07 Reformatted path.cpp with clang-format 2018-10-21 16:14:19 +02:00
Dennis Duda b9cdfcfe65 Added MAXPATHNODES define and minor cleanups 2018-10-21 16:14:19 +02:00
Anders JenboandDennis Duda 88377a556a More path_get_h_cost clean up 2018-10-21 16:14:19 +02:00
Anders JenboandDennis Duda 83ca1bca42 Clean up path_set_coords 2018-10-21 16:14:19 +02:00
Anders JenboandDennis Duda 77e58a1771 Clean up path_*_active_step & path_new_step 2018-10-21 16:14:19 +02:00
Anders JenboandDennis Duda e4984cb351 Clean up path_get_node 2018-10-21 16:14:19 +02:00
Anders JenboandDennis Duda 4edc19a9be Further clean up of path.cpp 2018-10-21 16:14:19 +02:00
Anders JenboandDennis Duda 070a95bea0 Clean up path_parent_path 2018-10-21 16:14:19 +02:00
Anders JenboandDennis Duda 82f0839658 Clean up path_parent_path 2018-10-21 16:14:19 +02:00
Anders JenboandDennis Duda b011459ae7 Clean up path_get_path 2018-10-21 16:14:19 +02:00
Anders JenboandDennis Duda 3c0358f34f Clean up path_solid_pieces 2018-10-21 16:14:19 +02:00
Anders JenboandDennis Duda 4e2ea5d312 Clean up path.cpp 2018-10-21 16:14:19 +02:00
galaxyhaxzandGitHub 38b498ac4b Add 'const' to data to match original binary (#200) 2018-09-09 15:40:23 -05:00
Dennis DudaandRobin Eklind 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.
2018-07-22 04:49:32 +00:00
Maxandgalaxyhaxz d63deaaddf Add comments, rename variables in path.cpp (#100) 2018-06-29 10:37:17 -05:00
galaxyhaxzandGitHub a1a39ccefc Fix decompilation of pnode_vals
Was originally int[26], should be int[25] with a dword as int[0]
2018-06-26 16:33:45 -05:00
galaxyhaxzandGitHub dcd2d3dd44 Fix more decompilation in path, ughh 2018-06-26 12:19:12 -05:00
galaxyhaxzandGitHub 6ce7bb1775 Fix decompilation in path.cpp
Thanks to @silverhammermba for pointing this out. Should no longer cut corners walking south east.
2018-06-26 10:41:13 -05:00
galaxyhaxzandGitHub 49a6f4f9fc Add include guards, prepare for XRef (#28)
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxzandGitHub bb01c6f084 Remove the "fear factor" (#21)
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxzandGitHub dde68ff89e Add files via upload 2018-06-06 21:25:54 -05:00