Commit graph

133 commits

Author SHA1 Message Date
qndel
36dba1cc1c
cleanup (#2127) 2020-10-22 17:26:24 +02:00
qndel
fd5b12710f some defines 2020-10-12 14:16:39 +02:00
qndel
09c085b78e minor cleanup 2020-10-12 00:08:59 +02:00
Anders Jenbo
7e04c63977 Merge branch 'hellfire' of github.com:diasurgical/devilution 2020-10-11 23:53:07 +02:00
pionere
92cc9d589c Apply another bunch defines 2020-10-11 06:42:13 +02:00
pionere
f0a51ccf65 use defs instead of literals 2020-10-11 06:37:14 +02:00
Anders Jenbo
fdd7254d3e Clean up multi_handle_events 2020-09-25 06:51:14 +02:00
Anders Jenbo
8272a37aea Add connection state and player state enums 2020-09-25 06:47:11 +02:00
Anders Jenbo
aada50ec59
Use correct size of gameInitInfo 2020-09-24 20:35:53 +02:00
qndel
166029c95b apply enums 2020-09-01 07:00:49 +02:00
Anders Jenbo
c384711a5f Backport cleanups from hellfire branch 2020-04-08 20:16:32 +02:00
Anders Jenbo
e6e0ebe15a Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-07 03:46:20 +02:00
Anders Jenbo
f1c216e688 Make player struct x/y fields match monster struct 2020-04-07 03:26:38 +02:00
Anders Jenbo
b040c04a18 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-04 07:56:06 +02:00
Anders Jenbo
187a021b30
More documentation from sanctuary/notes (#2026) 2020-03-30 11:31:36 +02:00
galaxyhaxz
c632e2d1d0
Names and bug fixes (#1974) 2020-03-12 04:32:53 +01: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
0383f9abcd Add documentation to more files 2020-03-02 02:29:28 +01: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
galaxyhaxz
6743f3b7ba Fix hellfire hive/crypt 2020-01-17 22:37:53 +01:00
galaxyhaxz
6605e1de5e Fix variable 'gbSelectProvider' 2020-01-17 21:07:10 +01:00
Anders Jenbo
7369deba1b Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-12-25 20:25:56 +01:00
Anders Jenbo
0c90ad0527 Set bool values TRUE/FALSE 2019-12-22 23:57:10 +01:00
Anders Jenbo
85ab626437 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-12-15 02:22:17 +01:00
Anders Jenbo
3e7d352fde Format files 2019-10-21 20:04:14 +02:00
qndel
57f1fcce4c some enums (#1816) 2019-10-20 20:40:35 +02:00
Anders Jenbo
babddf2921 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-10-08 00:35:03 +02:00
Anders Jenbo
683a50527d Correct missmatched bool types 2019-10-04 09:26:26 +02:00
Anders Jenbo
80a90fe82f Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-09-20 20:17:16 +02:00
Robin Eklind
0b7fca12af multi: use sizeof(sgGameInitInfo) for initdatabytes 2019-09-19 03:32:40 +02:00
Anders Jenbo
d26fe48942 [hellfire] Correct player structure and related functions 2019-09-04 22:20:54 +02:00
galaxyhaxz
4658959f44 DRLG_L5 cleanups (Crypt support) (#1491) 2019-09-02 21:05:38 +02:00
Anders Jenbo
83e62ea8a1 [hellfire] Set up build intergration 2019-08-30 09:55:44 +02:00
galaxyhaxz
f13512bbb8 Clean multi_send_zero_packet right 2019-08-16 14:06:22 +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
5ab9f4609a Clean up signedness 2019-07-21 00:57:53 +02:00
Anders Jenbo
e2bff090d6 Come up with names for all remaning arguments 2019-07-21 00:57:53 +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
Robin Eklind
983d2d6769 Make _pLvlChanging into a boolean.
_pLvlChanging is only ever used in boolean contexts.
2019-07-17 12:24:07 +02:00
Robin Eklind
9b6e866878
Update Source/multi.cpp
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
2019-07-16 22:38:59 +02:00
Robin Eklind
98ac9ebaf3 multi: use name from PSX for InitLevelType 2019-07-16 14:10:40 +02:00
Robin Eklind
f47e29d60d multi: rename InitNewSeed to DTypeFromDLvl 2019-07-16 12:20:48 +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
7c071924ad Format recently cleaned code 2019-07-06 05:13:01 +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
Sergey Semushin
f614822f82 Clean up NetSendHiPri. 2019-06-08 13:40:24 +01:00
Sergey Semushin
a22259f06b Clean up multi_process_network_packets. 2019-06-08 13:39:39 +01:00
galaxyhaxz
e177fa5021 multi_handle_all_packets 2019-06-03 16:01:38 -05:00