pionere
f5c1079d6f
eliminate unused code
5 years ago
Anders Jenbo
12f4fa44b8
Add const in codec.cpp
5 years ago
Anders Jenbo
f0c80d87f1
Reorder codec.cpp
5 years ago
Anders Jenbo
2f8a52efaf
Fix Visual Studio builds ...
5 years ago
Anders Jenbo
28c1832544
Fix Visual Studio builds
5 years ago
Anders Jenbo
a3505ab904
Remove the std namespace from uint32_t
...
Again to help older compileres that aren't C++11 aware.
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
6704657e71
Apply sematic codestyle
6 years ago
Anders Jenbo
7db4ed749a
Apply more enums, defines and types
6 years ago
Gleb Mazovetskiy
8e8e7307aa
codec.cpp codec_init_key: Minor clean-up
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
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
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
3ab9b7f2d3
Inline rand
6 years ago
qndel
c629eb1e60
codec_decode cleanup ( #1661 )
7 years ago
Anders Jenbo
a7788ccddf
Format bin exact code
7 years ago
Sergey Semushin
64bcacefe8
Add CodecSignature struct to codec.cpp to simplify code.
7 years ago
Anders Jenbo
26d7327b1f
Cleanup ( #1200 )
...
* Clean up effects.cpp
* Clean up monster.cpp
* Clean up codec.cpp
7 years ago
Sergey Semushin
01bc47c7fc
Clean up codec_encode.
7 years ago
Sergey Semushin
bcacad7629
Prettify codec_get_encoded_len.
7 years ago
Sergey Semushin
9160d659b3
Clean up codec_decode.
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
5238265702
Implement assert support ( #791 )
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Xadhoom
15341fdae3
More temporary 64 bit fixes; we can walk in town
7 years ago
Anders Jenbo
1e4e826a36
Remove delta to devilution
7 years ago
aperturesecurity
c7b07fe94d
make resizing window and cleaned up a few things
7 years ago
Anders Jenbo
355d78fb84
C declaration ( #500 )
...
* Convert monster.cpp to C
* Convert automap.cpp to C
* Convert codec.cpp to C
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
c46d92be7a
Format save game related files
8 years ago
Anders Jenbo
9c85b3f0eb
clean up codec_init_key
8 years ago
nomdenom
11493e3dac
Source: MINIWIN headers support
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
nomdenom
4bb6bde99b
Use sizeof() for memset()
...
I checked that the sizes do match. (+1 squashed commits)
8 years ago
galaxyhaxz
49a6f4f9fc
Add include guards, prepare for XRef ( #28 )
...
Add definitions, other junk.
8 years ago
galaxyhaxz
bb01c6f084
Remove the "fear factor" ( #21 )
...
Snakes, spiders, Demons, what scares you?
8 years ago
galaxyhaxz
dde68ff89e
Add files via upload
8 years ago