Commit graph

58 commits

Author SHA1 Message Date
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
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
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
6a1ab27a1a gmenu_clear_buffer cleanup 2019-09-17 14:56:53 +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
qndel
1ee54e159a gmenu_slider_1 bin exact (#1117) 2019-05-05 13:24:53 +01:00
qndel
8db0582377 gmenu_clear_buffer cleaned - was bin exact already (#1114) 2019-05-04 19:25:54 +01:00
qndel
1ef20112f2 gmenu_get_lfont bin exact 2019-05-04 17:33:14 +01:00
qndel
5235e1498d gmenu renamed variables 2019-05-02 18:37:47 +01:00
qndel
9712874994 gmenu_up_down bin exact 2019-05-02 18:37:47 +01:00
qndel
6f7d4ee8db gmenu_left_right bin exact 2019-04-26 21:40:36 +02:00
qndel
0f1e6bba8d gmenu_left_right bin exact 2019-04-26 21:39:30 +02:00
qndel
a70c788c74 gmenu_on_mouse_move bi nexact 2019-04-26 21:03:26 +02:00
Anders Jenbo
55a0396f8f Clean up mem_free_dbg style 2019-04-22 13:22:57 +02:00
galaxyhaxz
540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
galaxyhaxz
740e91e881 rename screen_y_times_768 2019-04-19 04:05:55 +02:00
Anders Jenbo
1b58c18223 Clean up gmenu_enable 2019-04-09 20:35:39 +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
ae2630cc46 Mem free dbg (#685)
* FreeQuestText

* DRLG_FreeL2SP

* GetHall

* FreeGMenu

* FreeObjectGFX

* DRLG_FreeL1SP

* FreeControlPan

* FreeLightTable

* Clean up DRLG_LoadDiabQuads

* DRLG_FreeL4SP

* FreeInterface
2019-03-19 15:37:07 +09:00
galaxyhaxz
87a0846a38
Clean CPrintString + Font index (#687) 2019-03-18 22:24:23 -05:00
galaxyhaxz
81f3f5daa2 Cleaning Engine CEL functions (#652)
* Cleaning Engine CEL functions

* Fix C functions
2019-03-14 10:47:39 +09:00
JustAnotherGuid
62fca0f486 Cleanup gmenu_presskeys (#556) 2019-01-06 00:28:43 +01:00
Anders Jenbo
ab3a6208d2 Use "BOOLEAN" instead of "bool"
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo
b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00