35 Commits

Author SHA1 Message Date
Anders Jenbo 31ac716c3d 99 lines of documentation (#2058) 2020-07-07 19:36:18 +02:00
Anders Jenbo 10febf7e15 Decompose a few numbers 2020-04-06 05:43:20 +02:00
Anders Jenbo c540f74709 Clean up calls to WriteFile 2020-04-06 05:43:20 +02:00
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++
2020-04-06 05:43:20 +02:00
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)
2020-03-01 22:18:00 +01:00
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).
2020-02-14 13:12:54 +01:00
Anders Jenbo 5fa0c5781b Backport cleanups from Hellfire branch 2019-12-15 06:14:57 +01:00
galaxyhaxz a0b0591826 Fix function order [capture.cpp] 2019-12-02 09:03:03 +01:00
galaxyhaxz 86e552a9e7 Change PCX struct to match Z-Soft Manual 2019-07-22 21:09:56 +02:00
Anders Jenbo 3bc8ba66b0 Use defines for more screen geometry values 2019-07-20 17:10:49 +02:00
Anders Jenbo a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Manuel K 97c1edd3a0 Use BUFFER_WIDTH 2019-06-05 20:13:34 +02:00
galaxyhaxz 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
galaxyhaxz fd53ad06ba Rename lock_buf 2019-04-16 20:16:35 -05:00
galaxyhaxz 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Robin Eklind 8e1a336afb Merge pull request #843 from mewpull/CapturePix
CapturePix bin exact
2019-04-08 10:43:54 +09:00
galaxyhaxz a9b8ad1d88 Update Source/capture.cpp
Co-Authored-By: mewmew <mewmew@users.noreply.github.com>
2019-04-08 10:35:46 +09:00
Robin Eklind b635b80981 CapturePal bin exact (#844) 2019-04-07 16:05:15 +02:00
Robin Eklind e57d5ae62b CapturePix bin exact 2019-04-07 16:31:55 +09:00
galaxyhaxz befd52c003 Fix type for 'gpBuffer' (#672) 2019-03-18 22:28:38 +09:00
Anders Jenbo 86018b174b Make DirecX usage C compatible 2018-12-31 03:17:08 +01:00
Anders Jenbo 4a62a7c678 Code style 2018-12-29 02:15:20 +01:00
Anders Jenbo 7dee72d446 C declaration (#498)
* Convert player.cpp functions to C
* Convert capture.cpp functions to C
2018-12-14 01:53:22 +01:00
Anders Jenbo ab3a6208d2 Use "BOOLEAN" instead of "bool"
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo f9a754824c Clean up CaptureScreen, CaptureFile, CaptureEnc and CaptureHdr 2018-10-27 17:18:02 +02:00
Anders Jenbo b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo 553086dca7 Format graphics related files 2018-10-22 01:35:07 +02:00
Robin Eklind 3103da7f1d Add missing arg to j_lock_buf_priv and j_unlock_buf_priv (#374) 2018-10-06 14:42:52 +02:00
Andrew Dunstan aedf7555d1 Remove A suffix from all string-related win32 API function names 2018-09-16 02:52:51 +10:00
galaxyhaxz 5ff8756116 Fix junk (#174) 2018-08-21 23:58:17 -05:00
Adam Heinermann 928d40adbf Refactored capture.cpp. (#104) 2018-06-30 14:41:32 -05:00
galaxyhaxz 49a6f4f9fc Add include guards, prepare for XRef (#28)
Add definitions, other junk.
2018-06-20 05:17:44 -05:00
galaxyhaxz bb01c6f084 Remove the "fear factor" (#21)
Snakes, spiders, Demons, what scares you?
2018-06-18 19:16:32 -05:00
galaxyhaxz 0db106a5b4 Add support for Visual C++ 5.10 (#12)
* Update stuff
2018-06-14 02:38:27 -05:00
galaxyhaxz dde68ff89e Add files via upload 2018-06-06 21:25:54 -05:00