Anders Jenbo
40cea40aa4
Remove windows call types collisions
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Gleb Mazovetskiy
ef20d1a038
Fix more UBSAN errors
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
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
1d03064fee
Clean up sound code
7 years ago
Anders Jenbo
10c33575ac
Clean ups from hellfire branch
7 years ago
Robin Eklind
fab7f1b5fa
effects: rename monster_action_sounds to MonstSndChar
...
Rationale described in f609ea371d :
as included below:
Note, the PSX sym file does not seem to include the
original name for monster_action_sounds. However, it
does include the names for very similar global
variables used for players rather than monsters, so
from these we may infer a similar name for
monster_action_sounds.
In particular, ArmourChar, WepChar and CharChar are
used for player graphics. So, following the same naming
convention we arrive at MonstSndChar.
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
aa50489569
Clean up generated comments
7 years ago
Anders Jenbo
32a51d17ca
Align function signatures with PSX symbols
...
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
7 years ago
Anders Jenbo
a7788ccddf
Format bin exact code
7 years ago
Anders Jenbo
26d7327b1f
Cleanup ( #1200 )
...
* Clean up effects.cpp
* Clean up monster.cpp
* Clean up codec.cpp
7 years ago
Anders Jenbo
f006952465
Apply sfx_flag to sgSFX
7 years ago
qndel
d2f12de6b8
sound_stop bin exact ( #1172 )
7 years ago
qndel
b94b79f8e2
RndSFX bin exact
7 years ago
galaxyhaxz
7fcbc7319c
Fix merged function `sound_update`
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
Anders Jenbo
fda317a24e
Clean up storm/sound_update ( #663 )
7 years ago
Anders Jenbo
8e6276da58
Update documentation and build script
7 years ago
Anders Jenbo
7ba8351bc3
Fully implement SFileDda*
...
fixes #24
fixes #22
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Max Desiatov
269aa345bd
Fix downstream 64-bit builds
7 years ago
Xadhoom
15341fdae3
More temporary 64 bit fixes; we can walk in town
7 years ago
Anders Jenbo
1e4e826a36
Remove delta to devilution
7 years ago
Xadhoom
fa90e6720a
Revert random_ to random and remove extern "C" linkage
7 years ago
Xadhoom
3dd6cf1671
First try, merge compiles, but immediate crash
7 years ago
Anders Jenbo
1fd31b7df5
Fix menu audio
...
Ui code is moved to the correct file so that it is initialized after the
audio. This also rebases effects.cpp on the upstream as this fixes some
issues we where having. WinMain has also been rebased.
7 years ago
Anders Jenbo
841f5af199
Compile effects.cpp and wave.cpp as C ( #530 )
...
* Correct SFileReadFile signature
* Compile as C
Source/effects.cpp
Source/wave.cpp
* Make diabloui.h C frindly
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
galaxyhaxz
24285a220f
WinMain+Direct file access from HDD ( #456 )
7 years ago
Anders Jenbo
0fb5c0bf9c
Additional tab indentation
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
596f244f50
Align structured data tables
8 years ago
Anders Jenbo
87ef2f91e7
Format mostly cleaned files
8 years ago
Anders Jenbo
8e2d0df643
Clean up some bools
8 years ago
Anders Jenbo
46897e9c6e
Correct a couple of values ( #389 )
8 years ago
Anders Jenbo
226fbc68b0
effects_cleanup_sfx & stream_update ( #375 )
...
* effects_cleanup_sfx & stream_update
* effects_play_sound
* effect_is_playing, PlaySFX, PlaySfxLoc & effects_play_sound
8 years ago
nomdenom
d14bf20467
Source: NO_GLOBALS support (for Miniwin)
8 years ago
Anders Jenbo
f269f4561b
PlaySFX_priv, stream_play ( #371 )
...
* PlaySFX_priv, stream_play
* Fix build warnings in player.cpp
* Clean up FreeMonsterSnd
* Added more enums and defines for sound and effects.
8 years ago
Anders Jenbo
5df6a0d771
Sound.cpp ( #353 )
...
* Clean up of sound.cpp
* Fix builds that don't support max()
8 years ago
Anders Jenbo
afbe7a5ffa
sfx_stop, InitMonsterSND, FreeEffects, PlayEffect and calc_snd_position
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
galaxyhaxz
38b498ac4b
Add 'const' to data to match original binary ( #200 )
8 years ago
galaxyhaxz
fa64b2148d
Add defines [W.I.P] ( #160 )
8 years ago
galaxyhaxz
a336c38226
Fix random(idx,v) calls ( #157 )
8 years ago
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
8 years ago
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
8 years ago