Commit graph

71 commits

Author SHA1 Message Date
Anders Jenbo
7e04c63977 Merge branch 'hellfire' of github.com:diasurgical/devilution 2020-10-11 23:53:07 +02:00
Anders Jenbo
31ac716c3d
99 lines of documentation (#2058) 2020-07-07 19:36:18 +02:00
Anders Jenbo
8c2fb7605e
Use defines for tile and screen related magic numbers 2020-05-11 23:21:27 +02:00
Anders Jenbo
af7f3f0f27
Bugfix for CheckCursMove (#2046) 2020-05-08 16:56:33 +02:00
Anders Jenbo
f066b57cd0 Merge master in to hellfire 2020-04-09 02:14:08 +02:00
Anders Jenbo
2ec7c78eae Format source 2020-04-08 22:28:53 +02:00
Anders Jenbo
630655d9e4 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-08 21:58:34 +02:00
Anders Jenbo
cc280eeba3 Enable asserts in files that where cleaned 2020-04-08 20:41:11 +02:00
Anders Jenbo
7db4ed749a Apply more enums, defines and types 2020-04-08 20:18:11 +02:00
Anders Jenbo
c384711a5f Backport cleanups from hellfire branch 2020-04-08 20:16:32 +02:00
Anders Jenbo
e6e0ebe15a Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-07 03:46:20 +02:00
Anders Jenbo
f1c216e688 Make player struct x/y fields match monster struct 2020-04-07 03:26:38 +02:00
Anders Jenbo
b040c04a18 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-04 07:56:06 +02:00
Anders Jenbo
f7e2283702 Reorder globals 2020-03-12 04:33:58 +01: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
galaxyhaxz
38c748b6fd
Add network commands and cursors (#1967) 2020-01-17 13:37:22 -06:00
Marco
29b9c99e5a added some more values from enums (#1955) 2020-01-14 17:30:13 +01:00
Anders Jenbo
5fa0c5781b Backport cleanups from Hellfire branch 2019-12-15 06:14:57 +01:00
Anders Jenbo
85ab626437 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-12-15 02:22:17 +01:00
Anders Jenbo
d33a814441
Update cursor.cpp 2019-11-09 20:04:44 +01:00
Anders Jenbo
92ab05ea13 Decompose more magic numbers 2019-10-26 00:24:55 +02:00
Anders Jenbo
2348c3a8fd Documentations, enums and clean ups 2019-10-21 19:33:14 +02:00
galaxyhaxz
1c56b59ae8 CheckCursMove bin exact 2019-09-09 03:30:41 +02:00
galaxyhaxz
b72670a974 Add preliminary Crypt/Hive support 2019-09-01 01:16:37 +02:00
qndel
6689a19e3e [hellfire] InitCursor and FreeCursor bin exact 2019-08-31 16:57:14 +02:00
Anders Jenbo
9d3ce818f0 Correct BOOLS 2019-07-21 19:11:11 +02:00
Anders Jenbo
6fba17eec5 Correct GLOBAL types based on PSX SYM 3 2019-07-21 04:10:31 +02:00
Anders Jenbo
3bc8ba66b0 Use defines for more screen geometry values 2019-07-20 17:10:49 +02:00
Anders Jenbo
7883043adc Clean up files with dirty headers 2019-07-08 04:28:31 +02:00
Anders Jenbo
32a51d17ca Align function signatures with PSX symbols
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
2019-07-08 04:12:12 +02:00
Anders Jenbo
a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Anders Jenbo
334c06c6d3 Correct type in calls to AddPanelString 2019-06-08 13:06:26 +02:00
Manuel K
896933f55e Replace magic number 352 with VIEWPORT_HEIGHT (#1232) 2019-06-02 17:51:33 +01:00
Anders Jenbo
565bb5aa7d Adust dFlag enums 2019-05-29 16:23:08 +01:00
Anders Jenbo
0dd98cab27 Clean up trigs 2019-05-07 00:28:49 +02:00
galaxyhaxz
82e8d6ed60 Fix trigflag, trigs.cpp bin exact 2019-05-06 23:07:59 +01:00
Anders Jenbo
07893a535a Clean up cursor.cpp 2019-05-02 00:16:46 +01:00
Anders Jenbo
55a0396f8f Clean up mem_free_dbg style 2019-04-22 13:22:57 +02:00
galaxyhaxz
540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
galaxyhaxz
00e8417f98 CheckCursMove bin exact (#961) 2019-04-16 04:08:37 +02:00
Anders Jenbo
c0531bfc4c Some booleans 2019-04-16 02:30:48 +02:00
JustAnotherGuid
192e9a93d1 Split up Trigflag array into separate vars 2019-04-13 17:23:41 +02:00
Robin Eklind
6d49faba3e StartQuestlog bin exact. Also, fix type of questlog 2019-04-13 14:21:04 +02:00
galaxyhaxz
4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Anders Jenbo
50186331f4 Apply enum and style to cursor.cpp 2019-01-12 18:05:51 +01:00
galaxyhaxz
3308bbf3eb Cleanup CheckCursMove [WIP] 2019-01-12 17:55:20 +01:00
galaxyhaxz
c3e8ff1c18 Add Assertion 2019-01-02 06:26:40 +01:00
galaxyhaxz
5bab5d12f7 cursor.cpp 2019-01-02 06:26:40 +01:00
Robin Eklind
e915623726 rename SetCursor to SetCursor_ to avoid collision with windows.h
Translation done automatically using:
	$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
	$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
2018-12-30 03:19:10 +01:00