galaxyhaxz
f89204e7dd
Fix function/var names (effects/sound)
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
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
galaxyhaxz
81ff8e6287
Metallic hydrogen neural array
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
qndel
4c62272715
[hellfire] fix jog menu
6 years ago
Anders Jenbo
cee06d07a7
Correct spelling of color
6 years ago
Anders Jenbo
458899dff7
[hellfire] Remove the color_cycling option
6 years ago
Anders Jenbo
3777219600
[hellfire] jogging menu options
6 years ago
Anders Jenbo
2f6801b524
[hellfire] PM_ChangeOffset
6 years ago
qndel
ba3537d655
[hellfire] gamemenu_music_volume bin exact ( #1903 )
6 years ago
qndel
6dd9e0dffd
gamemenu_gamma cleanup
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
qndel
7956bf81da
[hellfire] gamemenu_save_game / gamemenu_load_game bin exact ( #1772 )
7 years ago
qndel
5125bfd4fa
[hellfire] gamemenu_new_game bin exact
7 years ago
Robin Eklind
2c18133c3d
s/sp/sg/
7 years ago
Robin Eklind
bc93e9523a
use names from assert for sgSingleMenu and sgMultiMenu
...
Infer name of spOptionsMenu from PSX debug data:
struct OMENUITEM MemcardLoadOptionsMenu[4]
struct OMENUITEM MemcardSaveOptionsMenu[4]
Use "sp" prefix for spOptionsMenu to conform with assert
information.
7 years ago
Robin Eklind
7ff591bd18
s/OptionMenu/OptionsMenu
...
As per the PSX debug info:
struct OMENUITEM MemcardLoadOptionsMenu[4]
struct OMENUITEM MemcardSaveOptionsMenu[4]
7 years ago
Robin Eklind
5e7abe4239
gamemenu: rename sgFooMenu to FooMenu
...
Rationale described in sanctuary/notes@c316cef7b71958e424ebfb81e9ffcd67c4e4be43
as included below:
Note, the names of SingleMenu, MultiMenu and OptionsMenu
are inferred from the PSX debug names:
struct OMENUITEM GameMenu[8]
struct OMENUITEM GameOverMenu[3]
struct OMENUITEM GameSpeedMenu[4]
struct OMENUITEM InfoMenu[2]
struct OMENUITEM MainMenu[9]
struct OMENUITEM MemcardGameMenu[6]
struct OMENUITEM MemcardLoadGameMenu[4]
struct OMENUITEM MemcardLoadGameOverMenu[4]
struct OMENUITEM MemcardLoadOptionsMenu[4]
struct OMENUITEM MemcardSaveGameMenu[4]
struct OMENUITEM MemcardSaveOptionsMenu[4]
struct OMENUITEM MonstViewMenu[3]
struct OMENUITEM QuitMenu[4]
struct OMENUITEM SoundMenu[6]
7 years ago
Anders Jenbo
457b9186da
Clean up gmenu_draw_menu_item
7 years ago
Anders Jenbo
daec57bc38
More descriptive names for the menu slider functions
7 years ago
Anders Jenbo
7b2607c9f8
Clean up gamemenu.cpp
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
Robin Eklind
5a82f6eb02
gamemenu_color_cycling bin exact ( #900 )
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
eb1758f86a
Fix broken game menu
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
d0e3835ea1
Clean up gamemenu_enable_single ( #526 )
7 years ago
Robin Eklind
e915623726
rename SetCursor to SetCursor_ to avoid collision with windows.h
...
Translation done automatically using:
$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
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
bde33d8fef
Clean up gamemenu.cpp
8 years ago
Anders Jenbo
1806b0ff93
Format gamemenu.cpp
8 years ago
Anders Jenbo
456d651f55
Clean up more bools related to sound.cpp
8 years ago
Anders Jenbo
8e2d0df643
Clean up some bools
8 years ago
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
8 years ago
Anders Jenbo
744e225618
Clean up player.cpp ( #387 )
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
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
Anders Jenbo
3a0e40597b
Clean up InitPlayer
8 years ago
galaxyhaxz
5ff8756116
Fix junk ( #174 )
8 years ago
galaxyhaxz
775ae59e18
Fix function signatures and others ( #158 )
...
Fix InitObjects, themes.cpp, names
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
galaxyhaxz
a2e61bfb07
Revert flag fix, but still need to fix gmenu.cpp
8 years ago
mewmew
f5f76f8b8a
Fix build on Linux
8 years ago
galaxyhaxz
dde68ff89e
Add files via upload
8 years ago