pionere
d5a0fa8e85
get rid of a few warnings
5 years ago
Anders Jenbo
8c261d0966
Merge remaning clean Hellfire code paths
5 years ago
Anders Jenbo
6f8f4c3293
Unify another chunk of simple Hellfire code paths
5 years ago
Anders Jenbo
a006a25b62
Clean up variable names
5 years ago
Anders Jenbo
d20eddf48e
Unifcy a chunk of Hellfire's code pathts
5 years ago
Anders Jenbo
dc96451ae6
Clean up gmenu_left_right
5 years ago
Anders Jenbo
fba35b6f94
Clean up gmenu_left_right
5 years ago
Anders Jenbo
38dbcf7641
Format source
5 years ago
Anders Jenbo
66f5178e93
Reorder gmenu.cpp
5 years ago
Anders Jenbo
330074e840
Clean up menu animation code
5 years ago
Gleb Mazovetskiy
ec329e645c
Fix all "no-write-strings" warnings
5 years ago
Tyler
ecde1f647e
Adjust UI to any resoution
6 years ago
Anders Jenbo
dc8be6c0ab
C++03 compatibility ( #736 )
...
* Use C++03 compatible constructors
* Remove conflicting definitions
6 years ago
Anders Jenbo
69ad34f58f
Consistently use NULL instead of nullptr
...
While nullptr does have extra checking, most of the code uses NULL and
nullptr makes it harder to port the code to some targets like the
original XBox
6 years ago
Anders Jenbo
cc280eeba3
Enable asserts in files that where cleaned
6 years ago
Anders Jenbo
6704657e71
Apply sematic codestyle
6 years ago
Anders Jenbo
1340192b59
Correct array sizes
6 years ago
Anders Jenbo
7db4ed749a
Apply more enums, defines and types
6 years ago
Anders Jenbo
a291939a7d
Value types
6 years ago
Anders Jenbo
187a021b30
More documentation from sanctuary/notes ( #2026 )
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
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
6 years ago
qndel
3008439bc7
enums and stuff
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
Robin Eklind
f9fa98984b
engine: pass tbl parameter explicitly instead of using default parameter values
...
This helps make the header files in `Source/*.h` parsable from both
C and C++.
Any headers in SourceX can easily be C++ only, but keeping
the core Devilution code parsable as both C and C++ is
useful for integration into mods.
6 years ago
Anders Jenbo
71adfe509e
Document more attributes
6 years ago
Anders Jenbo
92ab05ea13
Decompose more magic numbers
6 years ago
Anders Jenbo
2348c3a8fd
Documentations, enums and clean ups
6 years ago
Anders Jenbo
d354bd9767
Lock framerate at vsync instead of 20fps
...
Since most animations are still controlled by the game logic the only
real benefit is smoother mouse and scrolling text, but it's a start :)
6 years ago
Anders Jenbo
ad7a621e5f
Drop PitchTbl to avoid resolution restriction
6 years ago
Anders Jenbo
6597688eac
Rename cell functions
7 years ago
Gleb Mazovetskiy
69d6238a7c
Add BUGFIX comment for gmenu_call_proc
7 years ago
Gleb Mazovetskiy
bf493d8b58
Fix UB: pointer overflow gmenu.cpp:112
7 years ago
qndel
cd76096c03
[hellfire] gmenu_draw bin exact ( #1668 )
7 years ago
qndel
fb91842136
[hellfire] gmenu_draw_menu_item bin exact
7 years ago
qndel
6a1ab27a1a
gmenu_clear_buffer cleanup
7 years ago
qndel
ae85ba8023
[hellfire] gmenu_init_menu bin exact
7 years ago
galaxyhaxz
8cddb57d08
Fix returning in gmenu_lmouse
7 years ago
Anders Jenbo
e2bff090d6
Come up with names for all remaning arguments
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
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
7 years ago
Anders Jenbo
7c071924ad
Format recently cleaned code
7 years ago
Sergey Semushin
138197eb9b
Fix min diff in gmenu_draw_menu_item.
7 years ago
Anders Jenbo
ce520b395b
Fix gmenu_draw_menu_item
7 years ago
Anders Jenbo
457b9186da
Clean up gmenu_draw_menu_item
7 years ago
Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
7 years ago
qndel
66f160a962
gmenu_left_mouse bin exact
7 years ago