Commit Graph
213 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
Anders Jenbo 09c41c666f Update monster.cpp 2020-02-01 13:57:53 +01:00
MarcoandAnders Jenbo 29b9c99e5a added some more values from enums (#1955) 2020-01-14 17:30:13 +01:00
MarcoandAnders Jenbo 4626450e11 some more item based enum consts 2019-12-30 22:03:43 +01:00
Anders Jenbo 0c90ad0527 Set bool values TRUE/FALSE 2019-12-22 23:57:10 +01:00
Anders Jenbo 5fa0c5781b Backport cleanups from Hellfire branch 2019-12-15 06:14:57 +01:00
galaxyhaxzandAnders Jenbo 9c98c1e43d Fix all "pass by ref" functions 2019-12-02 09:16:01 +01:00
Mathieu MaretandAnders Jenbo 982b1148d8 monster: use some enums 2019-10-31 22:55:51 +01:00
Anders Jenbo e396aafa3b Add bugfix note 2019-10-30 01:59:51 +01:00
Anders Jenbo 195ac2a4a7 Apply music enums 2019-10-28 21:42:33 +01:00
Anders Jenbo 3e7d352fde Format files 2019-10-21 20:04: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
galaxyhaxzandAnders Jenbo 80840b4d69 PlrHasItem: change pointer to reference 2019-10-20 20:47:00 +02:00
qndelandAnders Jenbo 06e7b4dbdb more enums 2019-10-05 15:25:54 +02:00
Anders Jenbo 683a50527d Correct missmatched bool types 2019-10-04 09:26:26 +02:00
qndelandAnders Jenbo 7665acfaf1 encode_enemy cleanup 2019-09-30 15:23:45 +02:00
qndelandAnders Jenbo a994a5cd0f MAI_Zhar cleanup 2019-09-30 05:53:49 +02:00
qndelandAnders Jenbo 5a9aee7b92 PreSpawnSkeleton cleanup 2019-09-30 04:12:27 +02:00
qndelandAnders Jenbo d0421621c4 InitMonsterGFX cleanup 2019-09-26 01:13:38 +02:00
qndelandAnders Jenbo f6ae3e7489 M_GetKnockback cleanup (#1579) 2019-09-10 23:19:36 +02:00
Anders Jenbo f331d3b5a4 Backport Hellfire cleanups 2019-09-05 15:20:27 +02:00
Robin EklindandAnders Jenbo 9291827eaa monster: add BUGFIX comment for monstkills
The size of the monstkills array is unnecessarily large,
as it maps from monster type to number of kills, and the
monster type enum goes from 0 to NUM_MTYPES-1.
2019-08-26 14:53:59 +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
XadhoomandAnders Jenbo 3b203f7c50 BUGFIX comments for drlg_l?.cpp, gendung.cpp, monster.cpp 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 a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Anders Jenbo 334c06c6d3 Correct type in calls to AddPanelString 2019-06-08 13:06:26 +02:00
Manuel K ce1f397658 Use MAX_PLRS 2019-06-05 17:27:26 +02:00
Sergey SemushinandAnders Jenbo ffa3d7d69d Fix M_Enemy. Incorrect index. 2019-06-01 18:26:42 +01:00
Anders Jenbo 565bb5aa7d Adust dFlag enums 2019-05-29 16:23:08 +01:00
Sergey SemushinandAnders Jenbo f7a4f0e909 Make MAI_Lachdanan bin exact. 2019-05-26 15:46:16 +01:00
Sergey SemushinandAnders Jenbo 9d0e90d26b Make MAI_SnotSpil bin exact. 2019-05-26 15:46:16 +01:00
Sergey SemushinandAnders Jenbo 3ce2a6a8c2 Make NewMonsterAnim bin exact. 2019-05-26 15:46:16 +01:00
Anders JenboandGitHub 26d7327b1f Cleanup (#1200)
* Clean up effects.cpp
* Clean up monster.cpp
* Clean up codec.cpp
2019-05-21 00:34:42 +01:00
Anders Jenbo 4898803982 Clean up monster.cpp 2019-05-19 23:46:50 +01:00
Anders Jenbo adc338b579 Clean up MissToMonst 2019-05-19 23:46:50 +01:00
Anders Jenbo 758c6ac377 Fix save games 2019-05-18 16:47:07 +02:00
Sergey Semushin 0549fc189e Clean up SyncMonsterAnim. 2019-05-16 03:39:45 +03:00
Robin EklindandGitHub 335b50c702 Merge pull request #1163 from Predelnik/PR
Clean up MAI_Lazhelp. (bin exact with volatile)
2019-05-14 15:53:51 +09:00
Robin EklindandGitHub 4bc0b26b50 Merge pull request #1166 from Predelnik/PR2
Clean up DirOK (bin exact)
2019-05-14 15:53:37 +09:00
Sergey SemushinandAnders Jenbo 0f992e1c84 Clean up LineClearF1. 2019-05-14 00:52:43 +01:00
Sergey SemushinandAnders Jenbo 80939a9527 Clean up LineClearF. 2019-05-14 00:52:43 +01:00
qndelandAnders Jenbo 6dad663868 M_FallenFear bin exact 2019-05-12 17:46:59 +01:00
qndelandAnders Jenbo 4fd9f41137 PrintMonstHistory bin exact 2019-05-12 17:46:33 +01:00
Sergey Semushin 4769ba7df0 Clean up DirOK. 2019-05-12 15:59:52 +03:00