Commit Graph

78 Commits

Author SHA1 Message Date
Anders Jenbo a006a25b62 Clean up variable names 2021-01-03 03:05:42 +01:00
Anders Jenbo dc96451ae6 Clean up gmenu_left_right 2020-12-06 01:15:56 +01:00
Anders Jenbo fba35b6f94 Clean up gmenu_left_right 2020-12-05 22:05:18 +01:00
Anders Jenbo 38dbcf7641 Format source 2020-12-02 00:52:38 +01:00
Anders Jenbo 66f5178e93 Reorder gmenu.cpp 2020-11-02 20:01:42 +01:00
Gleb Mazovetskiy ec329e645c Fix all "no-write-strings" warnings 2020-10-25 15:37:51 +01:00
Anders Jenbo 630655d9e4 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-08 21:58:34 +02:00
Anders Jenbo cc280eeba3 Enable asserts in files that where cleaned 2020-04-08 20:41:11 +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 cc0f92d45b Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-06 06:09:30 +02:00
Anders Jenbo a291939a7d Value types 2020-04-06 05:43:20 +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
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 3008439bc7 enums and stuff 2020-01-15 15:46:21 +01:00
Anders Jenbo 5fa0c5781b Backport cleanups from Hellfire branch 2019-12-15 06:14:57 +01:00
Anders Jenbo 85ab626437 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-12-15 02:22:17 +01:00
Anders Jenbo 71adfe509e Document more attributes 2019-10-28 03:05:40 +01:00
Anders Jenbo 92ab05ea13 Decompose more magic numbers 2019-10-26 00:24:55 +02:00
Anders Jenbo 2348c3a8fd Documentations, enums and clean ups 2019-10-21 19:33:14 +02:00
Anders Jenbo 0502ba70ea Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-10-13 18:53:49 +02:00
Anders Jenbo 6597688eac Rename cell functions 2019-10-13 13:31:56 +02:00
Gleb Mazovetskiy 69d6238a7c Add BUGFIX comment for gmenu_call_proc 2019-10-12 16:14:45 +02:00
qndel cd76096c03 [hellfire] gmenu_draw bin exact (#1668) 2019-09-18 01:03:12 +02:00
Anders Jenbo 0bdd819ca9 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-09-18 01:00:24 +02:00
qndel fb91842136 [hellfire] gmenu_draw_menu_item bin exact 2019-09-18 00:49:16 +02:00
qndel 6a1ab27a1a gmenu_clear_buffer cleanup 2019-09-17 14:56:53 +02:00
qndel ae85ba8023 [hellfire] gmenu_init_menu bin exact 2019-09-17 14:56:16 +02:00
galaxyhaxz 8cddb57d08 Fix returning in gmenu_lmouse 2019-08-31 08:10:49 +02:00
Anders Jenbo e2bff090d6 Come up with names for all remaning arguments 2019-07-21 00:57:53 +02:00
Anders Jenbo 3bc8ba66b0 Use defines for more screen geometry values 2019-07-20 17:10:49 +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 7c071924ad Format recently cleaned code 2019-07-06 05:13:01 +02:00
Sergey Semushin 138197eb9b Fix min diff in gmenu_draw_menu_item. 2019-06-28 00:32:40 +02:00
Anders Jenbo ce520b395b Fix gmenu_draw_menu_item 2019-06-22 18:12:20 +02:00
Anders Jenbo 457b9186da Clean up gmenu_draw_menu_item 2019-06-22 14:28:13 +02:00
Manuel K 896933f55e Replace magic number 352 with VIEWPORT_HEIGHT (#1232) 2019-06-02 17:51:33 +01:00
qndel 66f160a962 gmenu_left_mouse bin exact 2019-05-27 21:04:17 +01:00
qndel 844845f0b0 gmenu_call_proc bin exact (#1179) 2019-05-14 13:04:24 +01:00
Anders Jenbo daec57bc38 More descriptive names for the menu slider functions 2019-05-13 20:47:39 +02:00
qndel 5047da4997 gmenu_slider_get bin exact (#1174) 2019-05-13 19:42:49 +01:00
Anders Jenbo 6733cb1b2e Update Source/gmenu.cpp 2019-05-06 23:07:06 +01:00
qndel 41767ae5ef gmenu_draw bin exact 2019-05-06 23:07:06 +01:00
qndel 94c075d87c gmenu_print_text bin exact 2019-05-05 13:31:08 +01:00
qndel ce366c9e7e gmenu_slider_3 bin exact 2019-05-05 13:26:22 +01:00