Anders Jenbo
b4f699f0a3
Validate item network messages
4 years ago
Anders Jenbo
a56452eec3
Validate player sync
4 years ago
Anders Jenbo
58257c7cdc
Remove unessesery null checks in multi_msg_add
5 years ago
Anders Jenbo
7001ead263
Mark network pointers as const
5 years ago
Siddharth singh chouhan
ba161f623e
Move documentation from implementations to declarations. ( #2858 )
5 years ago
Anders Jenbo
fc353fc799
Clang-tidy: FunctionCase
5 years ago
Andrew James
20190ee687
Update random number functions to avoid IB ( #2226 )
...
* Update random number functions to avoid IB
Most calls to set seed were using uint32_t already, there were a few variables which were better served by having their type changed from signed to unsigned. The one exception is ItemStruct::_iSeed. This is an identifier that also happens to be used as a seed occasionally so a comment was added documenting this exception.
Includes suggested style changes for Source/towners.h; Source/towners.cpp; Source/msg.h; Source/multi.h
5 years ago
Anders Jenbo
a095bc0bf7
♻️ Migrate more code away from miniwin
5 years ago
Anders Jenbo
f884ba5340
🔥 Remove more miniwin dependencies
5 years ago
Anders Jenbo
3b04f67194
🔥 Remove a chunk of miniwin types
5 years ago
Jmgr
c33182d6de
Modernize deprecated headers
5 years ago
Anders Jenbo
7912e510f0
🎨 Clean up overuse of SDL types
5 years ago
Anders Jenbo
a32ac83090
🎨 cleanup trivial trype comparisons
5 years ago
Anders Jenbo
f004c78824
🧹 performance-unnecessary-value-param
5 years ago
Anders Jenbo
f8e3672469
♻️ Fully apply clang-tidy rules to a few files
5 years ago
Anders Jenbo
5fdb9ce459
🎨 Format code
5 years ago
Anders Jenbo
f450d6a125
🚚 Move defines to there proper files
5 years ago
Yuri Pourre
ed1ddfdece
Exposes player id from multi_send_packet
5 years ago
Anders Jenbo
e7ae8ddd04
🚚 Move all enums to there respective headers
5 years ago
Anders Jenbo
2732aea1b2
♻️ Use GameInfo instead of individual globals
5 years ago
Anders Jenbo
61244c4d93
♻️ Rearange and apply more enums
5 years ago
Anders Jenbo
93d42b62b8
♻️ Change BOOL to bool
5 years ago
Anders Jenbo
4ee84aea1a
♻️ Change BOOLEAN to bool
...
fixup BOOLEAN
5 years ago
Anders Jenbo
b1ffdca0a3
♻️ make better use of enums
5 years ago
Anders Jenbo
433edc63ea
♻️ Consistently use pragma once to guard the headers
5 years ago
Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Anders Jenbo
bc3dc545da
🔥 Remove unused parts of game creation logic
5 years ago
Gleb Mazovetskiy
0f3951744f
diablo.ini: Rename "Fast Walk" to "Run in Town" ( #1326 )
5 years ago
Anders Jenbo
dd73ff2cf0
🚩 Add option for disabeling frindly fire ( #1104 )
5 years ago
Anders Jenbo
d37fb68809
Make header checks portable
5 years ago
Anders Jenbo
39999791b3
Revamp ini options and sync in multiplayer
...
[NetMsg]
F12=Now you DIE!
F11=Here's something for you.
F10=Follow me.
F9=I need help! Come Here!
[Game]
Speed=50
Fast Walk=1
Grab Input=0
Theo Quest=0
Cow Quest=0
[Audio]
Sound Volume=0
Music Volume=0
Walking Sound=1
[Graphics]
Fullscreen=1
Fit to Screen=1
Scaling Quality=2
Integer Scaling=0
Vertical Sync=1
Blended Transparency=1
Gamma Correction=100
Color Cycling=1
[Diablo]
Intro=0
[Hellfire]
Intro=0
SItem=
[Phone Book]
Entry1=127.0.0.1
[Network]
Bind Address=0.0.0.0
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
Anders Jenbo
c19a15471b
Reorder multi.cpp
5 years ago
Colin Pitrat
0ea1b81772
Fix typos
6 years ago
Joel Falcou
c4223d4c29
Per file basis use of extern C
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
0383f9abcd
Add documentation to more files
6 years ago
Anders Jenbo
cc4d6b57d8
Remove unused miniwin IO
6 years ago
galaxyhaxz
6605e1de5e
Fix variable 'gbSelectProvider'
6 years ago
Anders Jenbo
40cea40aa4
Remove windows call types collisions
6 years ago
Anders Jenbo
683a50527d
Correct missmatched bool types
7 years ago
galaxyhaxz
f13512bbb8
Clean multi_send_zero_packet right
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
e2bff090d6
Come up with names for all remaning arguments
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
dc4f0572f6
Remove unused variables
7 years ago
Anders Jenbo
7c071924ad
Format recently cleaned code
7 years ago
galaxyhaxz
e177fa5021
multi_handle_all_packets
7 years ago