Anders Jenbo
bfb3c11c2b
🎨 Change namespace to devilution
5 years ago
Anders Jenbo
630e507f63
🚚 Apply namespace
5 years ago
Anders Jenbo
501c536017
🎨 Clean up appfat
5 years ago
Anders Jenbo
ca2c2ba5e7
🚨 Handle a bunch of warnings from CLang
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
MrHuu
1fa8b6f4e4
[3DS] Initial port
5 years ago
pionere
f5c1079d6f
eliminate unused code
5 years ago
pionere
d5a0fa8e85
get rid of a few warnings
5 years ago
qndel
ab9911064f
unify checks for single and multiplayer
5 years ago
Anders Jenbo
b31da5aec3
Reorder nthread.h
5 years ago
Anders Jenbo
5a8f8eadb1
Clean up appfat.cpp
5 years ago
Anders Jenbo
064173fef1
Add description for nthread_has_500ms_passed ( #2141 )
5 years ago
Anders Jenbo
c54cc2013c
Calculate tick related values based on current game speed
5 years ago
qndel
e31a7bc22e
enums and cleanups
5 years ago
qndel
52cf0bc54d
[hellfire] nthread_recv_turns bin exact
6 years ago
qndel
fe291d7d8a
[hellfire] nthread_terminate_game bin exact
6 years ago
qndel
629d53750c
nthread_send_and_recv_turn cleanup
6 years ago
Anders Jenbo
e0a94686b0
Add game speed to multiplayer
...
Speed can only be set on game creation
6 years ago
luk
f98651d1b8
implement variable game speed #525
6 years ago
Anders Jenbo
660405505f
Remove C compat
...
It's unmaintained and clear that we won't be going back since some
functions can only be solved with C++
6 years ago
Anders Jenbo
e7bd82b44a
A handful of param names and consts
6 years ago
Robin Eklind
038666db18
nthread: add parameter name to nthread_handler
...
Fixes the following error when compiling as C with Clang:
Source/dthread.cpp:92:46: error: parameter name omitted
unsigned int __stdcall dthread_handler(void *)
^
Related to #2017 .
6 years ago
Anders Jenbo
3c276a3cd3
Add documentation
...
- Add file documentation to about 1/4 of the files in Source
- Copy over a lot of the documentation from the sanctuary/notes repo
- Standardise all the existing documentation
- Create a configuration for Doxygen
- Add more documentation (engine.cpp is now fully documented)
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
c26fa8fa3f
Remove threading from miniwin
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
qndel
3008439bc7
enums and stuff
6 years ago
Anders Jenbo
40cea40aa4
Remove windows call types collisions
6 years ago
Anders Jenbo
ba9288c6cf
Unify error dialogs, for looks and portability
...
- Use UiOkDialog() to display all error messages
- Add SDL simple message, and console fallbacks to UiOkDialog()
- Boot graphics early on to facilitate most error messages with build in
gui
- Some more miniwin clean ups
7 years ago
Anders Jenbo
683a50527d
Correct missmatched bool types
7 years ago
Nam Nguyen
f707e696db
glpMsgTbl stores 64-bit pointers to turn_t variables. This won't fit inside int.
7 years ago
Anders Jenbo
1ebf8fe27d
Remove unused fallbacks
7 years ago
Anders Jenbo
e2bff090d6
Come up with names for all remaning arguments
7 years ago
Anders Jenbo
1d7a548cd7
Clean up nthread.cpp
7 years ago
qndel
addde67e56
nthread_start bin exact
7 years ago
qndel
bca7111fc4
nthread_send_and_recv_turn bin exact
7 years ago
Anders Jenbo
b797cdf0cf
Use INVALID_HANDLE_VALUE
7 years ago
qndel
68463704d9
nthread_recv_turns bin exact
7 years ago
Anders Jenbo
4a8f9fb964
Clean up nthread_terminate_game
7 years ago
Anders Jenbo
175f66a6d3
Correct sghThread value
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
cef65ea0b6
Implement Critical section constructor
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
390c51f4fa
Use consts instead of hardcoded values
7 years ago
Xadhoom
df55ce352c
Clarify glpMsgTbl and gdwMsgLenTbl
7 years ago
Anders Jenbo
9d44169ac7
multi_upgrade ( #583 )
...
* Clean up multi_upgrade
* Correct variable names
* Correct variable types
7 years ago
Anders Jenbo
b048de798a
SetMissAnim & SetMissDir ( #584 )
...
* Clean up SetMissAnim & SetMissDir
* Use enums for _miAnimType
* Use const for gdwMsgLenTbl & glpMsgTbl
7 years ago