Commit Graph
52 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
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 f57af2fa7d tMsgSaid type change 2020-01-17 17:44:40 +01:00
Anders Jenbo 7ec6f39dc8 MAXQUESTS variable 2020-01-12 23:56:06 +01:00
Anders Jenbo 5fa0c5781b Backport cleanups from Hellfire branch 2019-12-15 06:14:57 +01: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
Anders Jenbo da78f54712 Apply plr_class 2019-09-24 19:07:17 +02:00
qndelandAnders Jenbo 5fb15255a8 Apply enums to quests 2019-09-15 15:42:27 +02:00
qndelandAnders Jenbo 3668c20fe3 NewTownerAnim cleanup 2019-09-15 14:18:12 +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 aa50489569 Clean up generated comments 2019-07-21 00:57:53 +02:00
Sergey SemushinandAnders Jenbo 54e66e08a0 Remove workaround goto from TalkToTowner. 2019-07-20 18:24:58 +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
Sergey SemushinandAnders Jenbo 20260f11e7 Fix min diffs in init functions for towner. 2019-06-01 02:19:40 +01:00
Sergey SemushinandAnders Jenbo cb05f8f3e4 Clean up InitQstSnds. 2019-06-01 02:18:16 +01:00
galaxyhaxzandAnders Jenbo 9bcf71ca38 TalkToTowner + debug 2019-04-28 22:00:28 +02:00
galaxyhaxzandAnders Jenbo bb37ed9120 SetTownerGPtrs 2019-04-27 13:32:53 +02:00
Anders Jenbo 55a0396f8f Clean up mem_free_dbg style 2019-04-22 13:22:57 +02:00
galaxyhaxzandAnders Jenbo 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
Anders Jenbo f3a140b047 Clean up TownDead 2019-04-19 03:57:55 +02:00
Anders Jenbo 3b646a6ec4 Clean up InitCows 2019-04-11 04:56:46 +02:00
galaxyhaxzandAnders Jenbo 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Anders Jenbo 7a084eebf8 Clean up SetTownerGPtrs 2019-01-19 02:20:17 +01:00
Anders JenboandRobin Eklind 20758aae83 Clean up PlrHasItem (#573) 2019-01-17 03:31:16 +01:00
Anders JenboandRobin Eklind 3d1159fa9c Clean up ProcessTowners (#572) 2019-01-17 01:26:09 +01:00
Anders Jenbo 574a8b14f0 Clean up InitCows 2019-01-16 16:24:27 +01:00
Anders JenboandRobin Eklind d4bc8a394c Init towner (#569)
* Clean up InitSmith

* Clean up Init<Towner>
2019-01-16 02:10:39 +01:00
Anders JenboandRobin Eklind d26d307194 Towners.cpp (#513)
* Clean up FreeTownerGFX

* Apply talk_id
2018-12-22 15:26:50 +01:00
Anders Jenbo 7924c04acb Use TSFX_COW2 2018-12-13 19:45:15 +01:00
Anders JenboandRobin Eklind 13c5af29ed clean up towners.cpp (#496) 2018-12-13 10:44:41 +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 507d12082f Use MAXDUR* in most instances 2018-11-04 22:27:26 +01:00
Anders Jenbo c0fd7b65fe Correct some BOOL types 2018-11-04 20:13:51 +01:00
Anders Jenbo 0fb5c0bf9c Additional tab indentation 2018-10-27 17:38:40 +02:00
Anders Jenbo b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo 596f244f50 Align structured data tables 2018-10-23 19:28:22 +02:00
Anders Jenbo ec2f95bdf2 Format town files 2018-10-22 02:02:52 +02:00
Anders JenboandRobin Eklind 4d8ceea32d Types (#395)
* Apply plr_class

* Apply attribute_id

* NetSendCmd*(BOOL)
2018-10-08 14:17:05 +02:00
Anders JenboandRobin Eklind 744e225618 Clean up player.cpp (#387) 2018-10-06 00:33:58 +02:00
squidccandRobin Eklind 51bfa2353b Use quest enum values (#362)
* add/assign enums related to Black Mushroom quests

* plug in more quest enum values
2018-09-29 11:37:54 +02:00
galaxyhaxzandGitHub 38b498ac4b Add 'const' to data to match original binary (#200) 2018-09-09 15:40:23 -05:00
galaxyhaxzandGitHub 5ed2336e90 Fix types of animation data (#176) 2018-08-22 23:15:16 -05:00
galaxyhaxzandGitHub a336c38226 Fix random(idx,v) calls (#157) 2018-08-10 22:45:32 -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