Commit Graph
272 Commits
Author SHA1 Message Date
Anders Jenbo c384711a5f Backport cleanups from hellfire branch 2020-04-08 20:16:32 +02:00
Anders Jenbo f1c216e688 Make player struct x/y fields match monster struct 2020-04-07 03:26:38 +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 <[email protected]>

Co-authored-by: Robin Eklind <[email protected]>
2020-03-11 21:27:40 -05:00
Robin Eklind 09e25b1e10 Merge pull request #2014 from mewpull/bug-SetupAllItems
Document BUG in SetupAllItems when recreating unique items.
2020-03-03 11:11:34 +01:00
Anders Jenbo 0383f9abcd Add documentation to more files 2020-03-02 02:29:28 +01:00
Robin Eklind 68a8f07d2b Document BUG in SetupAllItems when recreating unique items. 2020-03-01 23:33:28 +01:00
galaxyhaxz 81ff8e6287 Metallic hydrogen neural array 2020-02-28 16:35:57 -06: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
qndel 3008439bc7 enums and stuff 2020-01-15 15:46:21 +01:00
Marco df2e6b2bb9 affix_item_type enum 2020-01-14 19:12:16 +01:00
Marco 29b9c99e5a added some more values from enums (#1955) 2020-01-14 17:30:13 +01:00
Marco 4626450e11 some more item based enum consts 2019-12-30 22:03:43 +01:00
Anders Jenbo 34238dc30a UITYPE_INVALID 2019-12-25 04:10:26 +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
galaxyhaxz 9c98c1e43d Fix all "pass by ref" functions 2019-12-02 09:16:01 +01:00
galaxyhaxz 67fedd9e99 Fix unknown struct field and drawpanflag 2019-10-31 22:57:15 +01:00
Anders Jenbo 71adfe509e Document more attributes 2019-10-28 03:05:40 +01: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
Anders Jenbo 6597688eac Rename cell functions 2019-10-13 13:31:56 +02:00
qndel 7129558d0b apply enums 2019-10-05 15:24:44 +02:00
Anders Jenbo 683a50527d Correct missmatched bool types 2019-10-04 09:26:26 +02:00
qndel 6b286941f3 enums 2019-10-02 22:24:37 +02:00
qndel 23386285a9 GetStaffPower cleanup 2019-10-02 06:47:17 +02:00
qndel 8741ddc6c2 SetupItem cleanup 2019-09-16 02:51:10 +02:00
qndel afa1306e91 GetUniqueItem cleanup 2019-09-16 02:50:05 +02:00
qndel 2f6a428f4b ProcessItems cleanup 2019-09-16 02:48:07 +02:00
qndel a47a797468 RecreateEar cleanup 2019-09-16 02:26:34 +02:00
Robin Eklind 46add07dbf Merge pull request #1654 from qndel/SortSmith
SortSmith cleanup
2019-09-16 01:50:57 +02:00
Robin Eklind c9f9e70139 Merge pull request #1653 from qndel/SortHealer
SortHealer cleanup
2019-09-16 01:44:22 +02:00
qndel 33b3711662 SortSmith cleanup 2019-09-16 01:37:03 +02:00
qndel b47af60b6f SortHealer cleanup 2019-09-16 01:11:21 +02:00
qndel a5de88ab39 SortWitch cleanup 2019-09-16 01:08:30 +02:00
qndel a05071551a CalcPlrItemMin cleanup 2019-09-16 00:00:19 +02:00
qndel d9fdfdaeec RecreateHealerItem cleanup 2019-09-08 10:25:27 +02:00
qndel 9f3bb09635 RecreateSmithItem cleanup 2019-09-08 10:24:54 +02:00
qndel 607051c0b6 ItemNoFlippy cleanup 2019-09-08 10:17:31 +02:00
qndel d4ae8e5606 Clean up CreatePlrItems 2019-08-31 08:30:56 +02:00
Anders Jenbo 1f715f86f6 Clean up 2019-08-27 17:06:54 +02:00
galaxyhaxz 8a22ab6f24 Fixes to item.cpp 2019-08-27 01:57:48 -05:00
galaxyhaxz a3ce219891 Fix bug in InitItems 2019-08-24 05:18:28 -05:00
Robin Eklind 2669223cc1 items: rename ItemDropStrs to ItemDropNames
The rationate for preferring Name over Str is that Str
suggest a string for printing and Name a file name,
also based on the following associated PSX debug info:

	char *FileName;
	unsigned char mAnimName;

ItemDropNames correspond to the base file name (e.g. foo) of

	diabdat.mpq/items/foo.cel
2019-08-18 07:46:56 +02:00
Anders Jenbo 68d51e7d27 Implementing Spawned Shareware version 2019-08-12 16:04:20 +02:00
Martin Hauke 6fc09ea8a6 Fix some typos 2019-07-23 14:33:42 +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
Anders Jenbo b023104434 Remove u from values 2019-07-21 00:57:53 +02:00
Anders Jenbo 5ab9f4609a Clean up signedness 2019-07-21 00:57:53 +02:00
Robin Eklind 107282953c Use ITEM_QUALITY_MAGIC for _iMagical. 2019-07-20 13:28:39 +02:00