Commit Graph
59 Commits
Author SHA1 Message Date
galaxyhaxzandGitHub c632e2d1d0 Names and bug fixes (#1974) 2020-03-12 04:32:53 +01:00
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 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
Robin EklindandAnders Jenbo cc70c392e4 fix naming of setloadflag and pSetPiece (#1841) 2019-11-05 00:37:09 +01:00
galaxyhaxzandAnders Jenbo 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 EklindandAnders Jenbo e155a9423e rename random to random_ to avoid collision with random in stdlib.h
Fixes #1813.
2019-10-21 09:56:36 +02:00
qndelandAnders Jenbo 6b286941f3 enums 2019-10-02 22:24:37 +02:00
qndelandAnders Jenbo 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 NewgasandAnders Jenbo c55c61f23a Update comments to doxygen style. 2019-07-16 02:12:37 +02:00
Adam NewgasandAnders Jenbo 79ad7b9d9e Add some comments to some tricky to understand functions. 2019-07-16 02:12:37 +02:00
Adam NewgasandAnders Jenbo fc8882b7db Add some bugfix notes. 2019-07-16 02:12:37 +02:00
Adam NewgasandAnders Jenbo 66a1c246e6 Add dlrg_flag enum. 2019-07-16 02:12:37 +02:00
Adam NewgasandAnders Jenbo 3d1d01ce86 More use of DMAXX/DMAXY 2019-07-16 02:12:37 +02:00
Adam NewgasandAnders Jenbo f363cfa85f Use DMAXX/DMAXY and BFLAG_EXPLORED in drlg_l2.cpp 2019-07-16 02:12:37 +02:00
XadhoomandAnders Jenbo 3b203f7c50 BUGFIX comments for drlg_l?.cpp, gendung.cpp, monster.cpp 2019-07-10 01:21:48 +02:00
XadhoomandAnders Jenbo 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 KaradimovandAnders Jenbo 5279141836 Use the DMAXX/DMAXY constants where possible 2019-07-02 03:42:04 +02:00
Sergey SemushinandAnders Jenbo 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 EklindandGitHub 80acb43cbe Merge pull request #1040 from galaxyhaxz/CreateRoom
KreateRoom
2019-04-26 17:33:45 +09:00
Robin EklindandGitHub 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
galaxyhaxzandAnders Jenbo 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
galaxyhaxzandAnders Jenbo 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
galaxyhaxzandAnders Jenbo 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
galaxyhaxzandGitHub d879a325e1 Fix dTransVal and pLightTbl (#825) 2019-04-02 14:19:28 -05:00
Anders Jenbo 54c73f740c clean up redundant code 2019-03-30 17:14:16 +01:00
galaxyhaxzandAnders Jenbo 992d521b31 DRLG_L1/2 Load Dungeon 2019-03-29 21:23:52 +01:00
galaxyhaxzandRobin Eklind b10b206efd Cleanup DRLG Pass3 (#719) 2019-03-21 10:19:44 +09:00
Anders JenboandRobin Eklind ae2630cc46 Mem free dbg (#685)
* FreeQuestText

* DRLG_FreeL2SP

* GetHall

* FreeGMenu

* FreeObjectGFX

* DRLG_FreeL1SP

* FreeControlPan

* FreeLightTable

* Clean up DRLG_LoadDiabQuads

* DRLG_FreeL4SP

* FreeInterface
2019-03-19 15:37:07 +09: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
Anders Jenbo 6723acc98f Format clean render bits 2018-10-22 00:47:21 +02:00