Anders Jenbo
78eca7c892
[hellfire] NetInit
5 years ago
Anders Jenbo
5bb5d842d3
[hellfire] multi_process_network_packets
5 years ago
Anders Jenbo
3a8dab462e
[hellfire] multi_send_msg_packet
5 years ago
Anders Jenbo
0c96e32f19
Unify all defines, enums and structs
5 years ago
Anders Jenbo
6f8f4c3293
Unify another chunk of simple Hellfire code paths
5 years ago
Anders Jenbo
043d15db66
[hellfire] PackPlayer and frinds
5 years ago
Anders Jenbo
c19a15471b
Reorder multi.cpp
5 years ago
Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
5 years ago
qndel
36dba1cc1c
cleanup ( #2127 )
5 years ago
Anders Jenbo
e073422ce7
Unify executable for Spawn and Retail
...
The game will now autodetect if it should run in shareware mode or full
retail based on the found mpq file. Additionally it can beforced in the
shareware mode with --spawn even if the retail data is found.
This simplifies a lot of the spagetty code and lets us better refactor,
also worth noteing is that we won't have to setup a secound set of build
tests.
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
e0a94686b0
Add game speed to multiplayer
...
Speed can only be set on game creation
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
Gleb Mazovetskiy
4e29a4b8aa
Single-player: Use loopback instead of TCP
...
Previously, single-player games initialized a TCP connection!
Changes this to loopback.
Refs #555
6 years ago
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
6 years ago
Anders Jenbo
cc4d6b57d8
Remove unused miniwin IO
6 years ago
galaxyhaxz
6743f3b7ba
Fix hellfire hive/crypt
6 years ago
galaxyhaxz
6605e1de5e
Fix variable 'gbSelectProvider'
6 years ago
Anders Jenbo
40cea40aa4
Remove windows call types collisions
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
73a7a1ae6d
Remove unimplemented functions that aren't needed with SDL
7 years ago
Anders Jenbo
683a50527d
Correct missmatched bool types
7 years ago
Anders Jenbo
06bcd3c3f9
Handle file paths in a clean way
...
Belated birthday present for @mewmew
Functions for gettings paths have sensible names
It's using snprintf for safe? string concat
Paths don't use \ as path reporator, or magic marker
Drop code for copying pre 1.09 save games from the windows folder
7 years ago
Gleb Mazovetskiy
2cc0c2cfbb
Clang: Remove -fms-extensions -fms-compatibility
7 years ago
Robin Eklind
0b7fca12af
multi: use sizeof(sgGameInitInfo) for initdatabytes
7 years ago
Anders Jenbo
cf359d9ea2
Remove server chat
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
Alex Yatskov
6dffe84f67
Fix drive-letter relative path log path ( #221 )
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