qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
qndel
c0f5749728
Fix RNG diverging during level generation depending on the code path
...
The consequences has mostly mitigated after wards, but this will make things make more sens when analysing the state of the code.
5 years ago
Anders Jenbo
9c0bc202c8
Fix additional wrong checks for monsters lights
5 years ago
Anders Jenbo
247d7497ce
Unify item sync code
5 years ago
Anders Jenbo
3d93478a6c
Some additional clean up
5 years ago
Anders Jenbo
c3b4b5193f
Unify a chunk of Hellfire code
5 years ago
Anders Jenbo
dcb8bc8c2c
Unify majority of netcode
5 years ago
Anders Jenbo
869c490715
[hellfire] NetSendCmdGItem
5 years ago
Anders Jenbo
64be0eb0db
Make error message more informative
5 years ago
Anders Jenbo
8c261d0966
Merge remaning clean Hellfire code paths
5 years ago
qndel
7f7ae623df
Goe ( #2163 )
...
* proper random_ comparisons
* proper mienemy comparisons
* add mienemy/micaster enum
* GOE enum
5 years ago
Anders Jenbo
38dbcf7641
Format source
5 years ago
qndel
0947ede2fe
Cleanup11 ( #2156 )
5 years ago
qndel
6ade48e855
msg.cpp cleanup
5 years ago
qndel
0bd8b2b664
2 functions
5 years ago
qndel
6e2873c3fb
msg.cpp functions bin exact
5 years ago
SourceCodeDeleted
e5c2744b83
[hellfire] NetSendCmdGItem2 binexact ( #2148 )
...
* [hellfire] NetSendCmdGItem2 binexact
5 years ago
Anders Jenbo
75a14114bb
Reorder msg.cpp
5 years ago
qndel
1b18927bf2
fix multi quest bug
5 years ago
qndel
e31a7bc22e
enums and cleanups
5 years ago
qndel
fb81425ac6
some magic numbers cleanup
5 years ago
qndel
aa9a938665
DeltaAddItem
5 years ago
qndel
51ca45e0d6
On_SPELLXYD cleanup ( #2130 )
5 years ago
qndel
4fa00f9079
DeltaImportData bin exact and cleanup
5 years ago
qndel
2d6f5d09b8
delta_get_item cleanup
5 years ago
qndel
7dde42c89e
On_SBSPELL cleanup
5 years ago
qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
qndel
b0142637b7
Ear cleanup #2 ( #2100 )
6 years ago
Anders Jenbo
8272a37aea
Add connection state and player state enums
6 years ago
qndel
166029c95b
apply enums
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
Anders Jenbo
a291939a7d
Value types
6 years ago
galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
6 years ago
Anders Jenbo
8491a67135
[hellfire] NetSendCmdMonDmg
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
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
6 years ago
galaxyhaxz
38c748b6fd
Add network commands and cursors ( #1967 )
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
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
Anders Jenbo
3e7d352fde
Format files
6 years ago
Anders Jenbo
683a50527d
Correct missmatched bool types
7 years ago
galaxyhaxz
e49036a801
Fix net commands in hellfire
7 years ago
Sergey Semushin
e133d23946
hellfire: InvPutItem and it callers bin exact.
...
Callers:
On_GETITEM
On_AGETITEM
On_PUTITEM
On_SYNCPUTITEM
On_RESPAWNITEM
7 years ago
Anders Jenbo
bf973d0872
Use sizeof directly instead of definging TMEGAPKT_SIZE
7 years ago
Anders Jenbo
b7a4d32e91
Use sizeof(TMegaPkt)
7 years ago
Nam Nguyen
f7ceadf6dc
pack the TMegaPkt struct. define TMEGAPKT_SIZE.
...
memcpy((char *)&packeta[1] - packeta->dwSpaceLeft, packet, dwSize);
Source/msg.cpp does this calculation, which will be wrong if any padding is
added. To get this to work correctly, pack the structures, as suggested by
@AJenbo .
Also, define TMEGAPKT_SIZE because pNext can be 4 or 8 bytes.
7 years ago
Anders Jenbo
d26fe48942
[hellfire] Correct player structure and related functions
7 years ago