Anders Jenbo
7e45f8bcc8
More cleanups
2020-04-26 21:33:56 +02:00
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
2020-04-07 03:26:38 +02:00
Anders Jenbo
f217b14e3e
Order variables logically
2020-04-06 05:43:20 +02:00
Anders Jenbo
8f635b779c
Correct style of checks
2020-04-06 05:43:20 +02:00
Anders Jenbo
10febf7e15
Decompose a few numbers
2020-04-06 05:43:20 +02:00
Anders Jenbo
cab3ebddf5
Avoid some arrays being of predefined size
...
This makes it easier to change the array size via content
2020-04-06 05:43:20 +02:00
galaxyhaxz
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
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
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
qndel
13c957a445
Freeupstairs cleanup
2019-09-18 00:46:00 +02:00
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
2019-08-12 16:04:20 +02:00
Anders Jenbo
aa50489569
Clean up generated comments
2019-07-21 00:57:53 +02:00
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
2019-07-20 17:10:49 +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
a7788ccddf
Format bin exact code
2019-06-17 04:55:41 +02:00
Sergey Semushin
2edb45b670
Fix diff in ForceTownTrig.
2019-06-15 11:20:25 +02:00
Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
2019-06-02 17:51:33 +01:00
Anders Jenbo
565bb5aa7d
Adust dFlag enums
2019-05-29 16:23:08 +01:00
Anders Jenbo
0dd98cab27
Clean up trigs
2019-05-07 00:28:49 +02:00
galaxyhaxz
82e8d6ed60
Fix trigflag, trigs.cpp bin exact
2019-05-06 23:07:59 +01:00
JustAnotherGuid
e47a2d4b5d
InitL4Triggers bin exact
2019-04-21 20:03:28 +02:00
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
2019-04-21 17:20:38 +02:00
JustAnotherGuid
8de3f887fa
InitL2Triggers bin exact
2019-04-13 20:01:47 +02:00
JustAnotherGuid
192e9a93d1
Split up Trigflag array into separate vars
2019-04-13 17:23:41 +02:00
JustAnotherGuid
0c8e0e64d6
InitL3Triggers bin exact
2019-04-13 14:56:28 +02:00
JustAnotherGuid
e5a2fc9219
CheckTriggers [bin exact] ( #925 )
2019-04-13 01:38:18 +02:00
Anders Jenbo
5794c40f27
Clean up ForceL4Trig
2019-04-11 03:44:42 +02:00
Anders Jenbo
ebba03c2e9
Clean up ForceL3Trig
2019-04-11 03:12:59 +02:00
Anders Jenbo
6fd36ad7fb
Clean up ForceL2Trig
2019-04-11 03:00:14 +02:00
Anders Jenbo
8ad834d9fb
Clean up ForceL1Trig
2019-04-11 02:49:46 +02:00
galaxyhaxz
4e01e03711
Cleanup default calling conventions
2019-04-09 12:04:00 +02:00
Anders Jenbo
d2174e3454
Apply code style
2019-04-05 21:54:45 +02:00
galaxyhaxz
5238265702
Implement assert support ( #791 )
2019-03-29 21:26:37 -05:00
JustAnotherGuid
2e4f206306
ForceTownTrig bin exact
2019-03-24 19:11:55 +01:00
JustAnotherGuid
47d1cc954d
Freeupstairs bin exact
2019-03-23 22:12:14 +01:00
JustAnotherGuid
7df2cebe45
Clean-up InitL1Triggers (minimal differences) ( #588 )
...
* Clean-up AddChest.
* (Work in progress) Clean-up InitL1Triggers
* Clean-up InitL1Triggers (Binary-exact version)
2019-01-29 12:30:16 +01:00
Anders Jenbo
db3805ae05
Clean up Force*Trig ( #495 )
2018-12-11 02:24:38 +01:00
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
2018-11-04 22:27:26 +01:00
Anders Jenbo
b1f6d3698f
Update style to use tabs
2018-10-25 22:53:04 +02:00
Anders Jenbo
2e9475f381
Format quest related files
2018-10-22 21:00:31 +02:00
Anders Jenbo
6576954831
Clean up types used in gamemenu.cpp
2018-10-21 03:50:52 +02:00
Anders Jenbo
5394f63dd7
Define diablo_message enum
2018-10-21 02:27:48 +02:00
Anders Jenbo
f1c8439c64
Change setlvlnum to BYTE
2018-10-18 20:14:58 +02:00
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
2018-10-08 14:17:05 +02:00
squidcc
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
Anders Jenbo
5931fbe1f9
Enum ( #340 )
...
* Use MAX_PLRS in player.cpp
* Use WALK_NONE in player.cpp
* CMD_WALKXY
2018-09-27 00:52:30 +02:00
Anders Jenbo
7da6f4d08a
Clean up PM_DoDeath ( #317 )
...
* Clean up PM_DoDeath
* Add enum for dFlags
2018-09-24 08:13:48 +02:00
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
2018-08-15 22:13:15 -05:00
Stephan Unverwerth
c8af0523ac
refactor leveltype to use macros ( #103 )
2018-06-29 10:40:22 -05:00