67 Commits
Author SHA1 Message Date
Anders Jenbo f06427a1eb drlg_l1 bugfix notes (#2276) 2022-08-04 22:47:51 +02:00
Anders Jenbo 38dbcf7641 Format source 2020-12-02 00:52:38 +01:00
Anders Jenbo 6580222d1c Add enums for level entrances 2020-10-26 01:41:54 +01:00
Gleb Mazovetskiy ec329e645c Fix all "no-write-strings" warnings 2020-10-25 15:37:51 +01:00
qndel b81d2eb831 some cleanups (#2099) 2020-10-12 00:42:02 +02:00
pionere 198d8a1142 BOOLs 2020-09-28 01:55:01 +02:00
Anders Jenbo 9821ff72d1 Document variables in drlg files 2020-07-06 05:43:25 +02:00
Anders Jenbo c384711a5f Backport cleanups from hellfire branch 2020-04-08 20:16:32 +02:00
galaxyhaxz c632e2d1d0 Names and bug fixes (#1974) 2020-03-12 04:32:53 +01:00
galaxyhaxzandRobin Eklind 71565b9c02 Several updates [enums+names] (#2002)
* Several updates

* Correct msg_get_next_packet

* Update enums.h

Co-Authored-By: Robin Eklind <mewmew@users.noreply.github.com>

Co-authored-by: Robin Eklind <mewmew@users.noreply.github.com>
2020-03-11 21:27:40 -05: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 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).
2020-02-14 13:12:54 +01:00
Robin Eklind cc70c392e4 fix naming of setloadflag and pSetPiece (#1841) 2019-11-05 00:37:09 +01:00
galaxyhaxz 02b40e27c5 Fix function order [drlg_l2.cpp] 2019-10-21 19:49:22 +02:00
Anders Jenbo 2348c3a8fd Documentations, enums and clean ups 2019-10-21 19:33:14 +02:00
Robin Eklind e155a9423e rename random to random_ to avoid collision with random in stdlib.h
Fixes #1813.
2019-10-21 09:56:36 +02:00
qndel 6b286941f3 enums 2019-10-02 22:24:37 +02:00
qndel 5fb15255a8 Apply enums to quests 2019-09-15 15:42:27 +02:00
Anders Jenbo 68d51e7d27 Implementing Spawned Shareware version 2019-08-12 16:04:20 +02:00
Anders Jenbo b023104434 Remove u from values 2019-07-21 00:57:53 +02:00
Anders Jenbo aa50489569 Clean up generated comments 2019-07-21 00:57:53 +02:00
Adam Newgas c55c61f23a Update comments to doxygen style. 2019-07-16 02:12:37 +02:00
Adam Newgas 79ad7b9d9e Add some comments to some tricky to understand functions. 2019-07-16 02:12:37 +02:00
Adam Newgas fc8882b7db Add some bugfix notes. 2019-07-16 02:12:37 +02:00
Adam Newgas 66a1c246e6 Add dlrg_flag enum. 2019-07-16 02:12:37 +02:00
Adam Newgas 3d1d01ce86 More use of DMAXX/DMAXY 2019-07-16 02:12:37 +02:00
Adam Newgas f363cfa85f Use DMAXX/DMAXY and BFLAG_EXPLORED in drlg_l2.cpp 2019-07-16 02:12:37 +02:00
Xadhoom 3b203f7c50 BUGFIX comments for drlg_l?.cpp, gendung.cpp, monster.cpp 2019-07-10 01:21:48 +02:00
Xadhoom 63847b0f33 Use DMAXX and DMAXY constants 2019-07-10 01:21:48 +02:00
Anders Jenbo 32a51d17ca Align function signatures with PSX symbols
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
2019-07-08 04:12:12 +02:00
Anders Jenbo f71471eab7 Correct types related to glSeedTbl
Reference:
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/global_0.cpp#L2431
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l1.cpp#L542
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l2.cpp#L538
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l3.cpp#L499
https://github.com/diasurgical/scalpel/blob/master/psx/_dump_/3/_dump_c_src_/diabpsx/source/drlg_l4.cpp#L484
2019-07-06 19:33:30 +02:00
Anders Jenbo 7c071924ad Format recently cleaned code 2019-07-06 05:13:01 +02:00
Joan Karadimov 5279141836 Use the DMAXX/DMAXY constants where possible 2019-07-02 03:42:04 +02:00
Sergey Semushin 83a9cd065c Fix min diff in DL2_FillVoids. 2019-06-22 14:11:25 +02:00
Anders Jenbo 565bb5aa7d Adust dFlag enums 2019-05-29 16:23:08 +01:00
Anders Jenbo 5cc368376f Clean up drlg_l1.cpp 2019-05-02 00:16:46 +01:00
Robin Eklind 80acb43cbe Merge pull request #1040 from galaxyhaxz/CreateRoom
KreateRoom
2019-04-26 17:33:45 +09:00
Robin Eklind 9f3eb9eb88 Merge pull request #1039 from galaxyhaxz/Lockoutfix
L2Lockoutfix
2019-04-26 17:27:56 +09:00
galaxyhaxz 2a7f2b1d2d KonnectHall 2019-04-26 01:02:05 -05:00
galaxyhaxz 624ff58e69 KreateRoom 2019-04-25 23:33:48 -05:00
galaxyhaxz 3a78eec6f2 L2Lockoutfix 2019-04-25 21:43:41 -05:00
galaxyhaxz 1db78d96ef DRLG_L2 CreateDungeon 2019-04-24 23:18:32 -05:00
Anders Jenbo 55a0396f8f Clean up mem_free_dbg style 2019-04-22 13:22:57 +02:00
galaxyhaxz 777c517b8e Change ASM macro 2019-04-22 02:23:12 -05:00
galaxyhaxz 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
galaxyhaxz ebe8e75639 Cleanup DRLG_L2.cpp 2019-04-10 23:18:53 -05:00
galaxyhaxz 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
galaxyhaxz b4460ae55b Clean DRLG_L3.cpp spawn 2019-04-06 04:21:26 +02:00
Anders Jenbo d2174e3454 Apply code style 2019-04-05 21:54:45 +02:00
galaxyhaxz d879a325e1 Fix dTransVal and pLightTbl (#825) 2019-04-02 14:19:28 -05:00