Anders Jenbo
d8367365d8
Apply fade out to all colors
...
Fixes #795
6 years ago
Anders Jenbo
31ac716c3d
99 lines of documentation ( #2058 )
6 years ago
Anders Jenbo
4b46361442
Remove some unused variables
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
10febf7e15
Decompose a few numbers
6 years ago
Anders Jenbo
c540f74709
Clean up calls to WriteFile
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
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
a9e955578a
Correctly apply the red palette when taking screenshots
6 years ago
Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
6 years ago
Anders Jenbo
913de17a56
Use SDL_Color nativly instead of converting betwen it and PALETTEENTRY
6 years ago
Anders Jenbo
6a0daa6217
Fix screen shot path
6 years ago
Anders Jenbo
4ff5c8987a
Fix screen shots on big-endian
6 years ago
Gleb Mazovetskiy
c8605f79bd
capture.cpp: Replace WriteFile with <fstream>
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
galaxyhaxz
a0b0591826
Fix function order [capture.cpp]
6 years ago
galaxyhaxz
6a54a4d6fc
[capture.cpp] fix functions
6 years ago
Anders Jenbo
06bcd3c3f9
Handle file paths in a clean way
...
Belated birthday present for @mewmew
Functions for gettings paths have sensible names
It's using snprintf for safe? string concat
Paths don't use \ as path reporator, or magic marker
Drop code for copying pre 1.09 save games from the windows folder
7 years ago
Anders Jenbo
88813c4042
Strip some now unused parts of miniwin and windows api
7 years ago
Anders Jenbo
1ebf8fe27d
Remove unused fallbacks
7 years ago
galaxyhaxz
86e552a9e7
Change PCX struct to match Z-Soft Manual
7 years ago
Pyr0Byt3
4f0252fcd6
fix screenshot paths
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
Anders Jenbo
a7788ccddf
Format bin exact code
7 years ago
Manuel K
97c1edd3a0
Use BUFFER_WIDTH
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
fd53ad06ba
Rename lock_buf
7 years ago
galaxyhaxz
4e01e03711
Cleanup default calling conventions
7 years ago
galaxyhaxz
a9b8ad1d88
Update Source/capture.cpp
...
Co-Authored-By: mewmew <mewmew@users.noreply.github.com>
7 years ago
Robin Eklind
b635b80981
CapturePal bin exact ( #844 )
7 years ago
Robin Eklind
e57d5ae62b
CapturePix bin exact
7 years ago
galaxyhaxz
befd52c003
Fix type for 'gpBuffer' ( #672 )
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
Anders Jenbo
86018b174b
Make DirecX usage C compatible
7 years ago
Anders Jenbo
4a62a7c678
Code style
7 years ago
Anders Jenbo
7dee72d446
C declaration ( #498 )
...
* Convert player.cpp functions to C
* Convert capture.cpp functions to C
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
Anders Jenbo
f9a754824c
Clean up CaptureScreen, CaptureFile, CaptureEnc and CaptureHdr
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
8 years ago
Anders Jenbo
553086dca7
Format graphics related files
8 years ago
Robin Eklind
3103da7f1d
Add missing arg to j_lock_buf_priv and j_unlock_buf_priv ( #374 )
8 years ago
aperturesecurity
42ce77ce05
Rebirth and Nuke
8 years ago
Andrew Dunstan
aedf7555d1
Remove A suffix from all string-related win32 API function names
8 years ago
galaxyhaxz
5ff8756116
Fix junk ( #174 )
8 years ago
Adam Heinermann
928d40adbf
Refactored capture.cpp. ( #104 )
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
0db106a5b4
Add support for Visual C++ 5.10 ( #12 )
...
* Update stuff
8 years ago
galaxyhaxz
dde68ff89e
Add files via upload
8 years ago