Commit graph

256 commits

Author SHA1 Message Date
Marco
d6d60f0109 OperateSkelBook const IMISC_SCROLL 2019-12-28 16:25:29 +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
qndel
1414b7e2aa apply enum to max shrines 2019-11-30 14:35:23 +01:00
qndel
80ee6b2668 apply TRUE/FALSE 2019-11-30 14:34:52 +01:00
qndel
5cb4e9ad25 AddMagicCircle cleanup 2019-11-30 10:39:23 +01:00
qndel
dd7a8d7b2d Obj_Trap cleanup 2019-11-30 10:37:48 +01:00
qndel
8ab71cb98b AddL1Door cleanup 2019-11-30 10:35:35 +01:00
galaxyhaxz
67fedd9e99 Fix unknown struct field and drawpanflag 2019-10-31 22:57:15 +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
galaxyhaxz
80840b4d69 PlrHasItem: change pointer to reference 2019-10-20 20:47:00 +02:00
qndel
06e7b4dbdb more enums 2019-10-05 15:25:54 +02:00
qndel
7129558d0b apply enums 2019-10-05 15:24:44 +02:00
qndel
93f7c5f935 AddWeaponRack cleanup 2019-10-01 19:45:52 +02:00
qndel
2cef74bd57 AddArmorStand cleanup 2019-10-01 19:45:06 +02:00
qndel
7daee74e3d BreakCrux cleanup 2019-09-08 10:21:11 +02:00
Anders Jenbo
1f715f86f6 Clean up 2019-08-27 17:06:54 +02:00
Robin Eklind
f4e8860297 objects: use boolean values for fileload 2019-08-27 14:59:53 +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
5ab9f4609a Clean up signedness 2019-07-21 00:57:53 +02:00
Anders Jenbo
aa50489569 Clean up generated comments 2019-07-21 00:57:53 +02:00
Robin Eklind
7441f29867 Use TRUE value for _iIdentified. 2019-07-19 11:56:30 +02:00
Robin Eklind
105a583ce0 Use TRUE and FALSE enums for setlevel.
Also simplify if conditions to make
use of boolean values.

(If the cleanup4 PR ends up increasing
inserts/deletions, then this commit is
probably at fault.)
2019-07-17 20:42:26 +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
Joan Karadimov
fce804a09a Use the dungeon_type enum for leveltype 2019-06-28 11:58:44 +03:00
Anders Jenbo
a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Manuel K
ce1f397658 Use MAX_PLRS 2019-06-05 17:27:26 +02:00
Anders Jenbo
58bbfcf8ad Fix OperateLazStand 2019-06-05 12:56:49 +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
Sergey Semushin
6ec6e3c530 Make MonstrStruct::_msquelch and DMonstrStr::_mactive unsigned.
Also utilize UCHAR_MAX for value of 255 used extensively for those flags.
2019-05-10 21:52:23 +01:00
Sergey Semushin
33e9005239 Make OperateL{1-3}Door bin exact. 2019-05-05 23:33:28 +01:00
Sergey Semushin
187bf5844e Make ActivateTrapLine bin exact. 2019-05-05 23:33:28 +01:00
Sergey Semushin
94632eb2a6 Make Obj_Circle bin exact. 2019-05-05 23:33:28 +01:00
Sergey Semushin
43d63110f1 Make AddTorturedBody bin exact. 2019-05-05 23:33:28 +01:00
Anders Jenbo
46d96eacad Clean up objects.cpp 2019-05-02 00:16:46 +01:00
Sergey Semushin
8bc995e681 Add _uniq_monsterid enum for indexes in UniqMonst for special unique monsters.
Apply it where necessary.
2019-05-01 13:45:14 +01:00
Sergey Semushin
07f076d2fa Clean up OperateShrine. 2019-05-01 11:22:34 +01:00
galaxyhaxz
610580625e Split data from files 2019-04-29 01:40:44 +02:00
Anders Jenbo
9890fbf89e Apply itype enum 2019-04-28 21:47:09 +02:00
qndel
308c79b723 LoadMapObjects bin exact 2019-04-27 15:59:25 +02:00
Sergey Semushin
ab0bba9826 Clean up SetMapObjects. 2019-04-27 14:10:06 +02:00
Sergey Semushin
c9d10fcc4b Clean up LoadMapObjs. 2019-04-27 14:06:51 +02:00
Anders Jenbo
4c77edc67b Fix SyncL1Doors
Fixes #1050
2019-04-26 19:21:05 +02:00
Sergey Semushin
acdc7648f1 Clean up objects_set_door_piece. 2019-04-26 19:19:29 +02:00
galaxyhaxz
029b15f298 Fix type for Dungeon Micros 2019-04-26 03:17:06 +02:00
Sergey Semushin
91c602de13 Clean up Obj_Door. 2019-04-26 02:43:23 +02:00
Sergey Semushin
e032fe0f44 Fix min diff in OperateWeaponRack. 2019-04-25 23:55:14 +02:00