Commit Graph
24 Commits
Author SHA1 Message Date
Anders Jenbo f884d8b06a Fix more compiler warnings 2020-12-12 08:11:57 +01:00
Anders Jenbo 95173539ce Reorder effects.cpp 2020-11-02 15:50:09 +01:00
Gleb Mazovetskiy ec329e645c Fix all "no-write-strings" warnings 2020-10-25 15:37:51 +01:00
galaxyhaxz f89204e7dd Fix function/var names (effects/sound) 2020-03-24 00:22:36 -05:00
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)
2020-03-01 22:18:00 +01:00
Robin Eklind fab7f1b5fa effects: rename monster_action_sounds to MonstSndChar
Rationale described in https://github.com/sanctuary/notes/commit/f609ea371d0768a6927d5e8ef931d23243d73387:
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.
2019-08-18 07:44:22 +02:00
Anders Jenbo dc4f0572f6 Remove unused variables 2019-07-08 04:28:31 +02:00
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
2019-07-08 04:12:12 +02:00
Anders Jenbo 26d7327b1f Cleanup (#1200)
* Clean up effects.cpp
* Clean up monster.cpp
* Clean up codec.cpp
2019-05-21 00:34:42 +01:00
galaxyhaxz 7fcbc7319c Fix merged function sound_update 2019-05-12 22:37:11 +01:00
galaxyhaxz 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Max Desiatov 269aa345bd Fix downstream 64-bit builds 2019-03-08 03:07:21 +01:00
Anders Jenbo cfbe27f3b8 Clean up (#568)
* Clean up mana checks

* Don't expose static globals
2019-01-15 10:15:48 +01:00
Anders Jenbo 77849aea72 Remove unused init (#533) 2018-12-31 04:26:51 +01:00
Anders Jenbo b5f69dccdc C compatability from d-p (#519) 2018-12-29 17:54:22 +01:00
Anders Jenbo 87ef2f91e7 Format mostly cleaned files 2018-10-22 01:56:10 +02:00
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
2018-10-06 14:28:04 +02:00
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.
2018-10-02 00:02:12 +02:00
Anders Jenbo afbe7a5ffa sfx_stop, InitMonsterSND, FreeEffects, PlayEffect and calc_snd_position 2018-10-01 01:03:17 +02:00
galaxyhaxz 38b498ac4b Add 'const' to data to match original binary (#200) 2018-09-09 15:40:23 -05:00
galaxyhaxz fa64b2148d Add defines [W.I.P] (#160) 2018-08-15 22:13:15 -05:00
galaxyhaxz 49a6f4f9fc Add include guards, prepare for XRef (#28)
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz bb01c6f084 Remove the "fear factor" (#21)
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz dde68ff89e Add files via upload 2018-06-06 21:25:54 -05:00