Juliano Leal Goncalves
103cde53ff
♻️ Make options struct hierarchical
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
Anders Jenbo
36a196389b
Fix remaning basic compiler errors and warnings
5 years ago
Anders Jenbo
88a715cdcc
Clean up narator sound logic
...
Also this provides a helper function for calculating the length of a
sound
5 years ago
Anders Jenbo
374e8177ef
Remove wave.cpp
5 years ago
Anders Jenbo
9b1568cc08
Startup issues with shareware version
5 years ago
Anders Jenbo
c802cbdc4d
Merge more Hellfire code paths
5 years ago
Anders Jenbo
16c00f3119
Always save sound and video settings to the same section of the ini
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
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
6 years ago
Anders Jenbo
6e9987cc93
Rename dsound and it nolonger reflects DirectSound
6 years ago
Anders Jenbo
171323b987
Make sure that sgbSaveSoundOn is initialized
...
Fixes #480
6 years ago
Anders Jenbo
16d3fa69c6
Fix checking if sound is playing
...
Fixes #392
6 years ago
Anders Jenbo
0e578ffb11
Enable assertions
6 years ago
Anders Jenbo
810b12a37d
Drop unused code
7 years ago
Anders Jenbo
a8e4db538f
Display SDL error messages in UI dialog
...
This will also end the application in most cases
7 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
97e09e3e25
Fix music in shareware
7 years ago
Anders Jenbo
d2c4b461d4
Add option to compile shareware version
7 years ago
Anders Jenbo
18532e7c9b
Format SourceX and SourceS
...
Fixes #262
7 years ago
Gleb Mazovetskiy
2bfcbbfb2f
Fix memory leak in sound.cpp
...
Also link ASAN for devilutionx
7 years ago
Anders Jenbo
1d03064fee
Clean up sound code
7 years ago
Anders Jenbo
88813c4042
Strip some now unused parts of miniwin and windows api
7 years ago
Pyr0Byt3
2c8641194d
fix multiple voices playing simultaneously
7 years ago
Gleb Mazovetskiy
85295838a4
An option to use SDL1 instead of SDL2
...
Adds a USE_SDL1 build option to use SDL v1 instead of v2.
This is useful for porting Diablo on devices that don't support SDL2,
such as the RetroFW / OpenDingux devices (e.g. RG300 Retro Gaming Handheld)
Not yet supported:
* Fullscreen
* Upscaling
* Audio
7 years ago
Anders Jenbo
6a73d98e25
Remove reamaning dummy methodes only used in sound.cpp and dx.cpp
7 years ago
Anders Jenbo
1ebf8fe27d
Remove unused fallbacks
7 years ago
Alex Yatskov
f1da6e6a38
Fix invalid file and line constants ( #222 )
...
* Fix invalid file and line constants
* add macros
* remove ASSERT_FAIL macro
7 years ago
Anders Jenbo
b919548f55
Avoid audio system conflicts during video playback
7 years ago
Anders Jenbo
4c314380ee
Correct line encoding
7 years ago
Anders Jenbo
9496f151cd
Fix bug from upstream
7 years ago
Anders Jenbo
0f8545d3c4
Clean up SDL error logging
7 years ago
Anders Jenbo
b81ca8502d
Fix some memory leaks
7 years ago
Anders Jenbo
b78a8c5ef2
Merge sound.cpp
7 years ago
Anders Jenbo
3f9691bf2c
Enable building with MSVC 2017 ( #75 )
7 years ago
Xadhoom
f00e427ed2
Remove pch.h
7 years ago
Xadhoom
545009f729
Fix merge
7 years ago
Anders Jenbo
0bd6375969
Implementing dsound wrapper
7 years ago
Xadhoom
ba0faf2d0c
miniwin fully macro-clean
7 years ago
Xadhoom
c1ba436e69
miniwin_misc.h macro-clean
7 years ago
Xadhoom
30fbfa36a1
Progress with miniwin macros
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
99f0de4dd6
Update sound.cpp
7 years ago
Anders Jenbo
4223512c72
Implement most of sound.cpp ( #34 )
...
* Implement most of sound.cpp
This fixes
- Menu sounds being cut short
- Spartial sound in game
- Memory leaks
- Sound volume
* Some minor bugfixes
7 years ago
Anders Jenbo
16ba51c20c
Clean up after audio and video
7 years ago
Anders Jenbo
ad6d83d8b2
Implement music volumne
7 years ago
Anders Jenbo
9611057b08
Some simple fixes and clean ups to better support macOS
7 years ago
Anders Jenbo
c77c97de9a
Fix some minor LLVM compatability issues
7 years ago
Xadhoom
0cf61cff5c
Finish removing SDL dependency from engine
7 years ago
Anders Jenbo
e7848c8192
Make debug less spammy
7 years ago