Commit Graph
169 Commits
Author SHA1 Message Date
galaxyhaxz f89204e7dd Fix function/var names (effects/sound) 2020-03-24 00:22:36 -05: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
galaxyhaxz 81ff8e6287 Metallic hydrogen neural array 2020-02-28 16:35:57 -06: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 c2587d9786 use enums (#1997) 2020-01-28 17:33:34 +01:00
qndelandAnders Jenbo 3008439bc7 enums and stuff 2020-01-15 15:46:21 +01:00
Anders Jenbo 7ec6f39dc8 MAXQUESTS variable 2020-01-12 23:56:06 +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 67fedd9e99 Fix unknown struct field and drawpanflag 2019-10-31 22:57:15 +01:00
Mathieu MaretandAnders Jenbo e79b1afe84 Fix S_TalkEnter
To mirror commit 1c9801986c: "Fix
S_StartTalk"
2019-10-31 22:55:03 +01:00
Anders Jenbo 71adfe509e Document more attributes 2019-10-28 03:05:40 +01:00
Anders Jenbo 92ab05ea13 Decompose more magic numbers 2019-10-26 00:24:55 +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
Anders Jenbo 6597688eac Rename cell functions 2019-10-13 13:31:56 +02:00
qndelandAnders Jenbo 7129558d0b apply enums 2019-10-05 15:24:44 +02:00
qndelandAnders Jenbo 0704393bc3 StoreAutoPlace cleanup 2019-09-26 01:13:58 +02:00
qndelandAnders Jenbo d3389f3f7c DrawSLine cleanup 2019-09-25 22:53:16 +02:00
qndelandAnders Jenbo ddec3ce5bb PrintStoreItem cleanup 2019-09-25 22:06:05 +02:00
Anders Jenbo 1c9801986c Fix S_StartTalk 2019-09-17 03:25:23 +02:00
Anders Jenbo 68d51e7d27 Implementing Spawned Shareware version 2019-08-12 16:04:20 +02:00
Anders Jenbo 9d3ce818f0 Correct BOOLS 2019-07-21 19:11:11 +02:00
Anders Jenbo 6fba17eec5 Correct GLOBAL types based on PSX SYM 3 2019-07-21 04:10:31 +02:00
Robin EklindandAnders Jenbo 4cbf8c9ec3 Rename global pCelBuff to pSPentSpn2Cels
This is to avoid confusion, as pCelBuff is also
commonly used as a parameter name.

The naming follows the convention used by
TextBox2.CEL and TextSlid.CEL, as seen in
stores.cpp

	pSTextBoxCels = LoadFileInMem("Data\\TextBox2.CEL", NULL);
	pSPentSpn2Cels = LoadFileInMem("Data\\PentSpn2.CEL", NULL);
	pSTextSlidCels = LoadFileInMem("Data\\TextSlid.CEL", NULL);
2019-07-16 02:13:16 +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
Duarte AlvimandAnders Jenbo 6a4142fb08 Add gold constants 2019-06-16 02:24:09 +02:00
Anders Jenbo 3b879cc373 Fix CheckStoreBtn 2019-06-15 11:18:36 +02:00
Anders Jenbo 0022702c38 Clean up CalcPlrInv calls 2019-06-09 19:42:10 +02:00
Manuel K 97c1edd3a0 Use BUFFER_WIDTH 2019-06-05 20:13:34 +02:00
Sergey SemushinandAnders Jenbo 0f2140da4b Make S_BBuyEnter bin exact. 2019-05-31 20:18:12 +01:00
Anders Jenbo efc4be344c Fix S_BBuyEnter 2019-05-26 18:12:04 +01:00
Anders Jenbo 5c43ecbb24 Clean up PrintSString 2019-05-21 00:31:38 +01:00
Anders Jenbo c4dd7d374e Clean up stores.cpp 2019-05-21 00:31:38 +01:00
Anders Jenbo c494d938e7 Clean up PrintSString 2019-05-21 00:31:38 +01:00
Anders Jenbo aa2752839a Clean up switch style 2019-05-07 00:50:07 +02:00
Anders Jenbo ba38357e21 Clean up control.cpp pointer types 2019-05-04 12:07:08 +01:00
Anders Jenbo dce5f70485 Clean up quests.cpp 2019-04-28 22:25:19 +02:00
Anders Jenbo 9b3eb784d5 Clean up S_ScrollSPBuy 2019-04-28 21:47:09 +02:00
Anders Jenbo ed98e5f71d Clean up S_TalkEnter 2019-04-28 21:47:09 +02:00
Anders Jenbo ffc2e05bf2 Clean up stores.cpp 2019-04-28 21:47:09 +02:00
Anders Jenbo ee6c92c9f8 Clean up S_StartWBuy 2019-04-28 21:47:09 +02:00
Anders Jenbo 07e1482740 Clean up S_StartTalk 2019-04-28 21:47:09 +02:00
Anders Jenbo a8dcef4bdb Clean up STextESC 2019-04-28 21:47:09 +02:00
Anders Jenbo 774ec172e1 Clean up STextUp 2019-04-28 21:47:09 +02:00
Anders Jenbo 141fe62666 Clean up STextDown 2019-04-28 21:47:09 +02:00
Anders Jenbo d6d64b4f78 Clean up STextPrior 2019-04-28 21:47:09 +02:00
Anders Jenbo 9b077ac24f Clean up S_SmithEnter 2019-04-28 21:47:09 +02:00
Anders Jenbo 1e37dbe89e Clean up TakePlrsMoney 2019-04-28 21:47:09 +02:00