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
c540f74709
Clean up calls to WriteFile
6 years ago
Anders Jenbo
0f514f25de
Apply WinAPI enums and macros
6 years ago
Anders Jenbo
c39f668deb
Enable some asserts that are helpful for testing
6 years ago
Anders Jenbo
660405505f
Remove C compat
...
It's unmaintained and clear that we won't be going back since some
functions can only be solved with C++
6 years ago
Anders Jenbo
187a021b30
More documentation from sanctuary/notes ( #2026 )
6 years ago
Anders Jenbo
312168d4c1
Reformat the .clang-format files
...
These files are YAML, changes to a more idiomatic YAML syntax
6 years ago
galaxyhaxz
f89204e7dd
Fix function/var names (effects/sound)
6 years ago
galaxyhaxz
c632e2d1d0
Names and bug fixes ( #1974 )
6 years ago
Anders Jenbo
e7bd82b44a
A handful of param names and consts
6 years ago
galaxyhaxz
71565b9c02
Several updates [enums+names] ( #2002 )
...
* Several updates
* Correct msg_get_next_packet
* Update enums.h
Co-Authored-By: Robin Eklind <mewmew@users.noreply.github.com>
Co-authored-by: Robin Eklind <mewmew@users.noreply.github.com>
6 years ago
Robin Eklind
038666db18
nthread: add parameter name to nthread_handler
...
Fixes the following error when compiling as C with Clang:
Source/dthread.cpp:92:46: error: parameter name omitted
unsigned int __stdcall dthread_handler(void *)
^
Related to #2017 .
6 years ago
Robin Eklind
dce389599e
dthread: add parameter name to dthread_handler
...
This fixes a build error in dthread_handler when compiling as C.
Source/dthread.cpp:92:46: error: parameter name omitted
unsigned int __stdcall dthread_handler(void *)
^
6 years ago
Robin Eklind
f6e6b4b56f
dthread: use INFINITE enum for second argument to WaitForSingleObject
6 years ago
Robin Eklind
3130ae3593
codec: fix build error of codec.cpp when compiling as C
...
Prior to this commit, the following error was encountered when compiling
as C using Clang:
Source/codec.cpp:20:2: error: must use 'struct' tag to refer to type 'CodecSignature'
CodecSignature *sig;
^
struct
6 years ago
Anders Jenbo
0383f9abcd
Add documentation to more files
6 years ago
Robin Eklind
68a8f07d2b
Document BUG in SetupAllItems when recreating unique items.
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
Anders Jenbo
21b62274b9
Document .SOL value tables
6 years ago
galaxyhaxz
81ff8e6287
Metallic hydrogen neural array
6 years ago
qndel
34caded4de
fix hotkeys
6 years ago
qndel
d51eee6916
CheckPanelInfo cleanup
6 years ago
Anders Jenbo
ab453a5bb0
Correct some documentation
6 years ago
Anders Jenbo
e7e51abd13
Document remaning functions in render related files
6 years ago
Anders Jenbo
a29d64b923
Document engine.cpp functions
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
Anders Jenbo
09c41c666f
Update monster.cpp
6 years ago
qndel
a1321539fb
enums
6 years ago
qndel
a6a89bca3a
apply TRUE/FALSE
6 years ago
qndel
c2587d9786
use enums ( #1997 )
6 years ago
qndel
3770c8551d
max walkpath ( #1996 )
6 years ago
Anders Jenbo
e724668be5
Apply enum MFILE_FIREWAL
6 years ago
Anders Jenbo
bc2ab2289c
Apply enum MFILE_NONE
...
Thanks to @ MaxDesiatov
6 years ago
qndel
6214779459
DrawZoom cleanup
6 years ago
galaxyhaxz
6605e1de5e
Fix variable 'gbSelectProvider'
6 years ago
qndel
f57af2fa7d
tMsgSaid type change
6 years ago
qndel
3008439bc7
enums and stuff
6 years ago
galaxyhaxz
1657af4b08
Missing blood boil+FreeMissGFX
6 years ago
Marco
df2e6b2bb9
affix_item_type enum
6 years ago
Marco
29b9c99e5a
added some more values from enums ( #1955 )
6 years ago
Anders Jenbo
7ec6f39dc8
MAXQUESTS variable
6 years ago
Anders Jenbo
aedf8c993b
PressKey clean up
6 years ago
Anders Jenbo
8a2cd19d95
DisableInputWndProc clean up
6 years ago
Anders Jenbo
cee06d07a7
Correct spelling of color
6 years ago
Anders Jenbo
bae579ab90
Align PM_DoWalk, PM_DoWalk2 and PM_DoWalk3
...
Hellfire shows that World* was the correct param
6 years ago
Anders Jenbo
4be0564bda
SyncPlrAnim clean up
6 years ago
qndel
f9558c81c4
AddObject cleanup
6 years ago