69 Commits
Author SHA1 Message Date
Anders Jenbo adf5f8f504 Clean up hellfire related code 2021-01-31 13:37:42 +01:00
Anders Jenbo 38dbcf7641 Format source 2020-12-02 00:52:38 +01:00
Anders Jenbo 3d0f92f19d Reorder gamemenu.h 2020-11-02 19:32:00 +01:00
Gleb Mazovetskiy ec329e645c Fix all "no-write-strings" warnings 2020-10-25 15:37:51 +01:00
Anders Jenbo 18bec27121 Hellfire clean ups 2020-04-26 22:34:30 +02:00
Anders Jenbo c27a0a8c35 Fix bad merge 2020-04-10 10:23:11 +02:00
Anders Jenbo 30f4f1d71b Add struct for CornerStone 2020-04-10 10:08:55 +02:00
Anders Jenbo f066b57cd0 Merge master in to hellfire 2020-04-09 02:14:08 +02:00
Anders Jenbo 2ec7c78eae Format source 2020-04-08 22:28:53 +02:00
Anders Jenbo 834420c0ef Correct hellfire menu 2020-04-08 22:01:15 +02:00
Anders Jenbo 630655d9e4 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-08 21:58:34 +02:00
Anders Jenbo cee695c890 Clean up menu structures 2020-04-08 21:54:31 +02:00
Anders Jenbo edcd92e012 Misc clean ups that missed last round 2020-04-08 21:47:32 +02:00
Anders Jenbo be1a3f1503 Clean up gamemenu_on 2020-04-08 20:34:37 +02:00
Anders Jenbo 6704657e71 Apply sematic codestyle 2020-04-08 20:34:29 +02:00
Anders Jenbo 1340192b59 Correct array sizes 2020-04-08 20:34:27 +02:00
Anders Jenbo 7db4ed749a Apply more enums, defines and types 2020-04-08 20:18:11 +02:00
Anders Jenbo c384711a5f Backport cleanups from hellfire branch 2020-04-08 20:16:32 +02:00
Anders Jenbo b040c04a18 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-04 07:56:06 +02:00
Anders Jenbo 187a021b30 More documentation from sanctuary/notes (#2026) 2020-03-30 11:31:36 +02:00
galaxyhaxz f89204e7dd Fix function/var names (effects/sound) 2020-03-24 00:22:36 -05:00
Anders Jenbo 0383f9abcd Add documentation to more files 2020-03-02 02:29:28 +01: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
galaxyhaxz 81ff8e6287 Metallic hydrogen neural array 2020-02-28 16:35:57 -06:00
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).
2020-02-14 13:12:54 +01:00
qndel 4c62272715 [hellfire] fix jog menu 2020-01-17 16:17:25 +01:00
Anders Jenbo 5a469e7b97 Merge branch 'master' into hellfire 2020-01-13 00:02:47 +01:00
Anders Jenbo cee06d07a7 Correct spelling of color 2020-01-10 11:13:47 +01:00
Anders Jenbo 458899dff7 [hellfire] Remove the color_cycling option 2020-01-09 23:58:25 +01:00
Anders Jenbo 3777219600 [hellfire] jogging menu options 2020-01-09 23:58:25 +01:00
Anders Jenbo 2f6801b524 [hellfire] PM_ChangeOffset 2020-01-09 20:40:18 +01:00
qndel ba3537d655 [hellfire] gamemenu_music_volume bin exact (#1903) 2020-01-03 00:16:04 +01:00
Anders Jenbo de02a0e870 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-01-02 23:59:21 +01:00
qndel 6dd9e0dffd gamemenu_gamma cleanup 2020-01-02 15:31:18 +01:00
Anders Jenbo 85ab626437 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-12-15 02:22:17 +01:00
galaxyhaxz 67fedd9e99 Fix unknown struct field and drawpanflag 2019-10-31 22:57:15 +01:00
qndel 7956bf81da [hellfire] gamemenu_save_game / gamemenu_load_game bin exact (#1772) 2019-10-07 23:04:22 +02:00
qndel 5125bfd4fa [hellfire] gamemenu_new_game bin exact 2019-09-18 02:16:54 +02:00
Robin Eklind 2c18133c3d s/sp/sg/ 2019-08-18 07:46:30 +02:00
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.
2019-08-18 07:46:30 +02:00
Robin Eklind 7ff591bd18 s/OptionMenu/OptionsMenu
As per the PSX debug info:

	struct OMENUITEM MemcardLoadOptionsMenu[4]
	struct OMENUITEM MemcardSaveOptionsMenu[4]
2019-08-18 07:46:30 +02:00
Robin Eklind 5e7abe4239 gamemenu: rename sgFooMenu to FooMenu
Rationale described in sanctuary/notes@c316cef7b7
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]
2019-08-18 07:46:30 +02:00
Anders Jenbo 457b9186da Clean up gmenu_draw_menu_item 2019-06-22 14:28:13 +02:00
Anders Jenbo daec57bc38 More descriptive names for the menu slider functions 2019-05-13 20:47:39 +02:00
Anders Jenbo 7b2607c9f8 Clean up gamemenu.cpp 2019-05-02 00:16:46 +01:00
galaxyhaxz 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
Robin Eklind 5a82f6eb02 gamemenu_color_cycling bin exact (#900) 2019-04-10 16:30:56 +02:00
galaxyhaxz 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
galaxyhaxz eb1758f86a Fix broken game menu 2019-04-09 03:30:22 +02:00
Anders Jenbo d0e3835ea1 Clean up gamemenu_enable_single (#526) 2018-12-30 13:17:08 +01:00