qndel
29682a296e
fix pushed in buttons
6 years ago
qndel
5191237f42
enums and stuff ( #2024 )
6 years ago
Anders Jenbo
53ccf38a8c
Bool types
6 years ago
Anders Jenbo
31181b77c4
Bool comparisons
6 years ago
Anders Jenbo
a02167a648
Use correct defines for variables
...
This also defines MAXRESIST and DEBUGSEEDS
6 years ago
Anders Jenbo
8f635b779c
Correct style of checks
6 years ago
Anders Jenbo
e8454376d3
Semantically get the first item instead of the array
6 years ago
Anders Jenbo
711665ee96
Assign correct data types
6 years ago
Anders Jenbo
cab3ebddf5
Avoid some arrays being of predefined size
...
This makes it easier to change the array size via content
6 years ago
Anders Jenbo
0a1b4d347c
Create defines for spell icons
...
This will avoids a lot of Hellfire ifdef and generally makes the
caluclations cleaner
6 years ago
Anders Jenbo
c39f668deb
Enable some asserts that are helpful for testing
6 years ago
Anders Jenbo
187a021b30
More documentation from sanctuary/notes ( #2026 )
6 years ago
galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
6 years ago
Anders Jenbo
d6f70c56ce
Format 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
qndel
d51eee6916
CheckPanelInfo cleanup
6 years ago
Anders Jenbo
f1616060e5
Document CL2 render functions
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
c2587d9786
use enums ( #1997 )
6 years ago
qndel
3008439bc7
enums and stuff
6 years ago
Marco
29b9c99e5a
added some more values from enums ( #1955 )
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
qndel
981c9b9c00
some cleanup ( #1823 )
6 years ago
galaxyhaxz
6c0bc83115
Fix type for panelstr
6 years ago
Anders Jenbo
cd0a75480d
Decompose numbers in DrawSpellList
6 years ago
Anders Jenbo
505701fd48
Decompose numbers in DoSpeedBook
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Gleb Mazovetskiy
1b24dac942
Add BUGFIX comment in DrawSpell
6 years ago
Anders Jenbo
048429b4cd
Apply more constants
6 years ago
Anders Jenbo
71adfe509e
Document more attributes
6 years ago
falquinho
c65060ccad
Some comments on control functions.
6 years ago
Anders Jenbo
92ab05ea13
Decompose more magic numbers
6 years ago
Anders Jenbo
3e7d352fde
Format files
6 years ago
Anders Jenbo
2348c3a8fd
Documentations, enums and clean ups
6 years ago
Anders Jenbo
d1914efa41
Make sens of lineoffset ( #1810 )
7 years ago
Anders Jenbo
6597688eac
Rename cell functions
7 years ago
Anders Jenbo
ce6fc51b50
Implement CelGetFrame (CEL decoder helper)
...
This implements the first of the inlined CEL decoder helper functions
that are still visable in the Mac port code.
Functions are still bin exact
7 years ago
qndel
12435a9317
SetSpell cleanup
7 years ago
qndel
522f8f07c6
DrawTalkPan cleanup
7 years ago
qndel
4605c6096f
control_up_down cleanup
7 years ago
Anders Jenbo
e24cbb2423
Clean up init_disable_screensaver
7 years ago
Anders Jenbo
27e3696df4
Use consts for drawing ui
7 years ago
Anders Jenbo
1f715f86f6
Clean up
7 years ago
Robin Eklind
98e97351b9
control: rename attribute_inc_rects to ChrBtnsRect
...
Rationale described in sanctuary/notes@541e63f85a442cbb2293734c24c5868ccceec800
as included below:
Note, the ChrBtnsRect global doesn't have PSX debug info.
However, the functionality correspond to that of InvRect
of inv.h. Moreover, the we may infer the name from the
function CheckChrBtns, and simply combine the two names.
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Anders Jenbo
9d3ce818f0
Correct BOOLS
7 years ago
Anders Jenbo
5ab9f4609a
Clean up signedness
7 years ago
Anders Jenbo
e2bff090d6
Come up with names for all remaning arguments
7 years ago