Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
5 years ago
qndel
36dba1cc1c
cleanup ( #2127 )
5 years ago
qndel
fd5b12710f
some defines
6 years ago
qndel
09c085b78e
minor cleanup
6 years ago
pionere
92cc9d589c
Apply another bunch defines
6 years ago
pionere
f0a51ccf65
use defs instead of literals
6 years ago
Anders Jenbo
fdd7254d3e
Clean up multi_handle_events
6 years ago
Anders Jenbo
8272a37aea
Add connection state and player state enums
6 years ago
Anders Jenbo
aada50ec59
Use correct size of gameInitInfo
6 years ago
qndel
166029c95b
apply enums
6 years ago
Anders Jenbo
c384711a5f
Backport cleanups from hellfire branch
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
Anders Jenbo
187a021b30
More documentation from sanctuary/notes ( #2026 )
6 years ago
galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
6 years ago
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>
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
6 years ago
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).
6 years ago
galaxyhaxz
6743f3b7ba
Fix hellfire hive/crypt
6 years ago
galaxyhaxz
6605e1de5e
Fix variable 'gbSelectProvider'
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
3e7d352fde
Format files
6 years ago
qndel
57f1fcce4c
some enums ( #1816 )
6 years ago
Anders Jenbo
683a50527d
Correct missmatched bool types
7 years ago
Robin Eklind
0b7fca12af
multi: use sizeof(sgGameInitInfo) for initdatabytes
7 years ago
Anders Jenbo
d26fe48942
[hellfire] Correct player structure and related functions
7 years ago
galaxyhaxz
4658959f44
DRLG_L5 cleanups (Crypt support) ( #1491 )
7 years ago
Anders Jenbo
83e62ea8a1
[hellfire] Set up build intergration
7 years ago
galaxyhaxz
f13512bbb8
Clean multi_send_zero_packet right
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Martin Hauke
6fc09ea8a6
Fix some typos
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Anders Jenbo
e2bff090d6
Come up with names for all remaning arguments
7 years ago
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.)
7 years ago
Robin Eklind
983d2d6769
Make _pLvlChanging into a boolean.
...
_pLvlChanging is only ever used in boolean contexts.
7 years ago
Robin Eklind
9b6e866878
Update Source/multi.cpp
...
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
7 years ago
Robin Eklind
98ac9ebaf3
multi: use name from PSX for InitLevelType
7 years ago
Robin Eklind
f47e29d60d
multi: rename InitNewSeed to DTypeFromDLvl
7 years ago
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
7 years ago
Anders Jenbo
7c071924ad
Format recently cleaned code
7 years ago
Joan Karadimov
fce804a09a
Use the dungeon_type enum for leveltype
7 years ago
Anders Jenbo
a7788ccddf
Format bin exact code
7 years ago
Sergey Semushin
f614822f82
Clean up NetSendHiPri.
7 years ago
Sergey Semushin
a22259f06b
Clean up multi_process_network_packets.
7 years ago
galaxyhaxz
e177fa5021
multi_handle_all_packets
7 years ago
Anders Jenbo
11b6b1f860
Remove more garbage
7 years ago
Sergey Semushin
13ff40e3ff
Clean up multi_recv_packet.
7 years ago
galaxyhaxz
e404c62473
multi_begin_timeout
7 years ago
Anders Jenbo
565bb5aa7d
Adust dFlag enums
7 years ago
Anders Jenbo
1d7a548cd7
Clean up nthread.cpp
7 years ago
qndel
91c77db865
multi_send_zero_packet bin exact ( #1201 )
7 years ago