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
Robin Eklind
a6d948f87d
Use hex literal for iCreateInfo and boolean values for _iPostDraw.
2019-07-19 11:43:56 +02:00
Robin Eklind
3c182c7135
Remove u suffix from integer literals.
2019-07-19 01:53:23 +02:00
Robin Eklind
d4d466b30c
Use FALSE value for _iAnimFlag and update comment of ghit.
2019-07-19 01:49:36 +02:00
Robin Eklind
5371d13154
Make use of item_special_effect enums.
2019-07-18 00:30:49 +02:00
Robin Eklind
a443e5091e
Make _pInfraFlag a boolean.
...
_pInfraFlag is only ever used in boolean contexts.
2019-07-17 15:12:11 +02:00
Robin Eklind
3f4a539bf7
Make _pBlockFlag into a boolean.
...
_pBlockFlag is only ever used in boolean contexts.
2019-07-17 12:10:34 +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
87d8588f67
Compare int to numbers
2019-07-07 03:47:06 +02:00
Anders Jenbo
7c071924ad
Format recently cleaned code
2019-07-06 05:13:01 +02:00
Duarte Alvim
6a4142fb08
Add gold constants
2019-06-16 02:24:09 +02:00
Anders Jenbo
0022702c38
Clean up CalcPlrInv calls
2019-06-09 19:42:10 +02:00
Anders Jenbo
334c06c6d3
Correct type in calls to AddPanelString
2019-06-08 13:06:26 +02:00
Manuel K
97c1edd3a0
Use BUFFER_WIDTH
2019-06-05 20:13:34 +02:00
Anders Jenbo
635deebbd4
Apply enums to SpawnQuestItem
2019-06-05 03:15:23 +02:00
Anders Jenbo
565bb5aa7d
Adust dFlag enums
2019-05-29 16:23:08 +01:00
Anders Jenbo
5818618e3a
Clean up RespawnItem
2019-05-07 22:24:19 +01:00
Sergey Semushin
c917609784
Make GetItemStr bin exact.
...
Inverted if like a boss.
2019-05-07 20:45:02 +01:00
Sergey Semushin
1faa84481b
Make SpawnUnique bin exact.
2019-05-07 20:45:02 +01:00
Anders Jenbo
95d45d1c35
Fix SpawnRock
2019-05-05 20:45:08 +02:00
Anders Jenbo
6e8f0ffa5b
Fix SetupAllUseful
2019-05-05 18:00:34 +02:00
Sergey Semushin
2d008ead01
CreateRndUseful: Fix mistake leading to incorrect handling of item ids.
2019-05-05 13:38:07 +01:00
Sergey Semushin
c6d33532a1
Fix SaveItemPower generating +damage from enemies items instead of -damage.
...
Found by @Manuel-K
2019-05-05 12:39:30 +01:00
Sergey Semushin
95e5312dd5
Fix CalcPlrBooksVals
...
Fixes bug with books magic requirement found by @dp112
2019-05-05 12:20:05 +01:00
Anders Jenbo
46d96eacad
Clean up objects.cpp
2019-05-02 00:16:46 +01:00
Anders Jenbo
528f8873cf
Clean up CheckUnique
2019-04-30 15:27:50 +02:00
Robin Eklind
157d31d64b
SaveItemPower bin perfect ( #1085 )
2019-04-30 15:25:21 +02:00
Robin Eklind
3ac4164be9
Merge pull request #1069 from AJenbo/PrintItemPower
...
Clean up PrintItemPower
2019-04-30 14:24:18 +09:00
Anders Jenbo
4b1a6b797d
Clean up items.cpp
2019-04-30 05:16:10 +02:00
Anders Jenbo
1893fc9e1c
Clean up GetStaffSpell
2019-04-30 05:16:10 +02:00
Anders Jenbo
045667a8a2
Clean up RndTypeItems
2019-04-30 05:16:10 +02:00
Anders Jenbo
414b679165
Clean up SpawnItem
2019-04-30 05:16:10 +02:00
Anders Jenbo
71953d00a3
Clean up CreateItem
2019-04-30 05:16:10 +02:00
Anders Jenbo
d7593fd125
Clean up CreateRndItem
2019-04-30 05:16:10 +02:00
Anders Jenbo
62df604ce9
Clean up SetupAllUseful
2019-04-30 05:16:10 +02:00
Sergey Semushin
1e50dae5ca
Update Source/items.cpp
...
Co-Authored-By: AJenbo <anders@jenbo.dk>
2019-04-30 00:44:23 +02:00
Sergey Semushin
9104b5ec9c
Update Source/items.cpp
...
Co-Authored-By: AJenbo <anders@jenbo.dk>
2019-04-29 23:14:59 +02:00