qndel
b81d2eb831
some cleanups ( #2099 )
6 years ago
qndel
ed92ca7861
fix sync struct
6 years ago
Anders Jenbo
e0a94686b0
Add game speed to multiplayer
...
Speed can only be set on game creation
6 years ago
Tyler
d7ca28ff8e
Added single-player difficulty menu.
6 years ago
Troy Bronzan
5b1b5fa8ae
Fixed monster to hit and unique monster ac difficulty bonus.
6 years ago
Anders Jenbo
2b5b5ca785
Remove problematic packing
...
This should help to compile for some ARM systems like Nintendo 3DS
6 years ago
Joel Falcou
64d26a7934
Sanitize use of namespace
...
Wrap individual headers in dvl namespace to prevent
including standard header in another namespace.
6 years ago
Anders Jenbo
30f4f1d71b
Add struct for CornerStone
6 years ago
Anders Jenbo
f1c216e688
Make player struct x/y fields match monster struct
6 years ago
qndel
5191237f42
enums and stuff ( #2024 )
6 years ago
Anders Jenbo
53ccf38a8c
Bool types
6 years ago
Gleb Mazovetskiy
82845004cc
Ensure _HASH/BLOCKENTRY are 16-bytes and aligned
6 years ago
Anders Jenbo
8491a67135
[hellfire] NetSendCmdMonDmg
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
6 years ago
Anders Jenbo
d6f70c56ce
Format files
6 years ago
Anders Jenbo
6e9987cc93
Rename dsound and it nolonger reflects DirectSound
6 years ago
qndel
3770c8551d
max walkpath ( #1996 )
6 years ago
qndel
f57af2fa7d
tMsgSaid type change
6 years ago
Anders Jenbo
a7c8750e92
[hellfire] Add QuestTalkData data
6 years ago
Anders Jenbo
9d028a418d
Correct _SNETUIDATA struct
...
UiProfileGetString returns a list of pointer to strings (4), not an int
6 years ago
Anders Jenbo
40cea40aa4
Remove windows call types collisions
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
Robin Eklind
c29030d6f6
use uint64_t instead of unsigned __int64 in structs.h
...
Updates #449 .
6 years ago
Robin Eklind
1ccbdc63fb
declare _SNETVERSIONDATA before use in structs.h
...
Fixes #455 .
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Gleb Mazovetskiy
c2056c6cbf
SHA: Fix some implementation-defined behaviour ( #343 )
...
* SHA: Fix negative base shift UB
* SHA: Avoid signed integer overflow
We do cast from uint32_t to int32_t but that should be OK everywhere.
* SHA: Always use portable arithmetic right shift
7 years ago
qndel
7129558d0b
apply enums
7 years ago
Anders Jenbo
1d03064fee
Clean up sound code
7 years ago
Anders Jenbo
049178cb2e
Clean up load/save code
...
Remove most call to memcpy in preperation for Big Endian support
Document what pointers are being skipped
Align save and load code (easier to verify that both are correct)
7 years ago
galaxyhaxz
8ad915da83
Fix monsters
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
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
Sergey Semushin
4c6c0116b5
hellfire: update QuestStruct + InitQuests bin exact.
7 years ago
galaxyhaxz
1c56b59ae8
CheckCursMove bin exact
7 years ago
Anders Jenbo
d26fe48942
[hellfire] Correct player structure and related functions
7 years ago
galaxyhaxz
05dc981905
Fix Hellfire Structs
7 years ago
galaxyhaxz
798e551ec3
[hellfire] fix PlayerStruct
7 years ago
galaxyhaxz
8a22ab6f24
Fixes to item.cpp
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Martin Hauke
6fc09ea8a6
Fix some typos
7 years ago
galaxyhaxz
86e552a9e7
Change PCX struct to match Z-Soft Manual
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Robin Eklind
b727d158ab
Make _pSLvlVisited into a boolean.
...
_pSLvlVisited is only ever used in boolean contexts.
7 years ago
Robin Eklind
29eb52b6d0
Make _pLvlVisited into a boolean.
...
_pLvlVisited is only ever used in boolean contexts.
7 years ago
Robin Eklind
a443e5091e
Make _pInfraFlag a boolean.
...
_pInfraFlag is only ever used in boolean contexts.
7 years ago
Robin Eklind
983d2d6769
Make _pLvlChanging into a boolean.
...
_pLvlChanging is only ever used in boolean contexts.
7 years ago
Robin Eklind
f59439a8ff
Make _pInvincible into a boolean.
...
_pInvincible is only ever used in boolean contexts.
7 years ago
Robin Eklind
3f4a539bf7
Make _pBlockFlag into a boolean.
...
_pBlockFlag is only ever used in boolean contexts.
7 years ago
Alex Sweet
e1bc0c40eb
Undo style changes
7 years ago