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
75b6992233
Stub GetDiskFreeSpace for Windows
7 years ago
Anders Jenbo
142f34accc
Use SDL for tracking time
...
This should also allow the game to run for 49 dayes from game start instead of 49 dayes from system boot.
7 years ago
Max Desiatov
e748b7754f
Fix macOS compilation errors ( #28 )
...
* Fix macOS compilation errors
7 years ago
Anders Jenbo
ddfa0a1337
Cast button functions to void explicitly
7 years ago
Robin Eklind
633b4ba78d
implement itoa
...
Fixes #30 .
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
becf3397c9
Implement WM_QUERYENDSESSION to allow qutting during video playback
7 years ago
Anders Jenbo
9611057b08
Some simple fixes and clean ups to better support macOS
7 years ago
Anders Jenbo
22a3657ee4
Implement video playback in storm
...
Clean up after video should also be better now
7 years ago
Anders Jenbo
e4ae01bf1d
Do not apply gamma to videos
...
This replicates the original behaviour
7 years ago
Anders Jenbo
f93f9d984a
Backup and recover game pallet during movie playback
7 years ago
Anders Jenbo
2b2e014ee9
Fix quests getting stuck because of audio never finishing
...
This make the game instead think that the audio finished instantly, but
rather that then getting stuck in the Lazurus quest.
7 years ago
Anders Jenbo
c008b09071
Implement movie looping
7 years ago
Xadhoom
5407370e71
More header fixes
7 years ago
Xadhoom
ae60e94670
Implement proper turn syncing in the network layer
7 years ago
Anders Jenbo
5b492a5dc6
Propperly stream smk audio
7 years ago
Anders Jenbo
90c62c28b1
Fix video audio and use hardware for video presentation
7 years ago
Anders Jenbo
4472fad6fb
Unstub capture.cpp
7 years ago
Anders Jenbo
68d585c013
Unstub fault.cpp
7 years ago
Anders Jenbo
94b7ca4a3b
Unstub restrict.cpp
7 years ago
Anders Jenbo
0d1d55d8df
Make IP's configurable
7 years ago
Anders Jenbo
4a5482087e
Prevent crash when entering wrong password
7 years ago
Anders Jenbo
76290b8e23
Implement password prompt
7 years ago
Anders Jenbo
3b60b066b7
Version the network protocol
...
This is a quick solution to prevent games that are not running the same
version of devilution from joining each other.
7 years ago
Anders Jenbo
40a2e16548
Fix crash when creating multiple games in one frame
7 years ago
Anders Jenbo
413741fbb6
Improve error message
7 years ago
Anders Jenbo
2336a78a5b
Adjust error messages to devilutionX
7 years ago
Xadhoom
5b8df4bdd8
Use platform-independent sleep function
7 years ago
Xadhoom
aff8769a97
Some fixes for network
7 years ago
Anders Jenbo
c77c97de9a
Fix some minor LLVM compatability issues
7 years ago
Xadhoom
7f0fd7e0fa
Small fixes
7 years ago
Anders Jenbo
2a5a4859f3
Fix release builds
7 years ago
Xadhoom
0cf61cff5c
Finish removing SDL dependency from engine
7 years ago
Anders Jenbo
86b78a2ba5
Unstub init.cpp
...
- Internal version is now set correctly
- Much better error handeling for SDL
- mpq files must now be in the same folder as the exec
- Window name is now "DIABLO" like the original
7 years ago
Anders Jenbo
e7848c8192
Make debug less spammy
7 years ago
Anders Jenbo
eea41503f1
Implement more of the init, audio and video system
...
- Fix audio for videos with 8bit audio
- Allow muting music and audio
- Save audio volumns to ini
7 years ago
Xadhoom
781ae63ded
Start removing SDL dependency from devilution
7 years ago
Xadhoom
4d557709e0
Clean headers for network code
7 years ago
Xadhoom
af47577446
Begin restructuring headers
7 years ago