Commit Graph
53 Commits
Author SHA1 Message Date
Anders JenboandGitHub 187a021b30 More documentation from sanctuary/notes (#2026) 2020-03-30 11:31:36 +02:00
Anders Jenbo 0383f9abcd Add documentation to more files 2020-03-02 02:29:28 +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
galaxyhaxz 81ff8e6287 Metallic hydrogen neural array 2020-02-28 16:35:57 -06:00
Anders JenboandGitHub 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 0c90ad0527 Set bool values TRUE/FALSE 2019-12-22 23:57:10 +01:00
Anders Jenbo 5fa0c5781b Backport cleanups from Hellfire branch 2019-12-15 06:14:57 +01:00
Anders Jenbo 3e7d352fde Format files 2019-10-21 20:04:14 +02:00
qndelandAnders Jenbo ee590ad129 DrawAutomapType cleanup 2019-10-04 18:53:40 +02:00
qndelandAnders Jenbo 5253e28584 InitAutomap cleanup 2019-09-26 01:13:06 +02:00
Anders Jenbo e24cbb2423 Clean up init_disable_screensaver 2019-09-01 05:59:44 +02:00
Anders Jenbo 5ab9f4609a Clean up signedness 2019-07-21 00:57:53 +02:00
Anders Jenbo 3bc8ba66b0 Use defines for more screen geometry values 2019-07-20 17:10:49 +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
Manuel K 97c1edd3a0 Use BUFFER_WIDTH 2019-06-05 20:13:34 +02:00
Manuel KandAnders Jenbo df1d049ae3 Use SCREEN_Y 2019-06-02 18:08:09 +01:00
Manuel KandAnders Jenbo 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 aa2752839a Clean up switch style 2019-05-07 00:50:07 +02:00
Anders Jenbo abeaa75c5f Clean up automap.cpp 2019-05-02 00:16:46 +01:00
Robin EklindandAnders Jenbo 0757eb4774 GetAutomapType bin exact
Fixes #224.
2019-04-25 20:48:03 +02:00
galaxyhaxzandAnders Jenbo 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
Robin EklindandAnders Jenbo 6d49faba3e StartQuestlog bin exact. Also, fix type of questlog 2019-04-13 14:21:04 +02:00
galaxyhaxzandAnders Jenbo 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
galaxyhaxzandRobin Eklind befd52c003 Fix type for 'gpBuffer' (#672) 2019-03-18 22:28:38 +09:00
Anders JenboandRobin Eklind d8c9a19601 Clean up SetAutomapView (#562) 2019-01-13 23:58:16 +01:00
Anders Jenbo 9b7da61dcf Auto format src 2019-01-13 18:55:59 +01:00
galaxyhaxzandRobin Eklind b048cac4fe InitAutomap+ScrollView (#545) 2019-01-02 12:38:40 +01:00
Anders JenboandRobin Eklind 355d78fb84 C declaration (#500)
* Convert monster.cpp to C

* Convert automap.cpp to C

* Convert codec.cpp to C
2018-12-14 13:36:39 +01:00
Anders Jenbo 0eb47e8b1a Align automap with PSX 2018-12-14 02:03:43 +01:00
Anders Jenbo b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Dennis Duda 684e77708f Minor style cleanup 2018-10-21 17:45:54 +02:00
Andrew DunstanandDennis Duda ad81a19310 Clean DrawAutomapPlr 2018-10-21 17:45:54 +02:00
Anders JenboandDennis Duda b98e855cad Format automap.cpp 2018-10-21 17:45:54 +02:00
Anders Jenbo 6576954831 Clean up types used in gamemenu.cpp 2018-10-21 03:50:52 +02:00
Anders Jenbo f1c8439c64 Change setlvlnum to BYTE 2018-10-18 20:14:58 +02:00
squidccandRobin Eklind 99f1a7c1d8 Fix AutomapZoomIn, AutomapZoomOut, AutomapZoomReset (#349)
Clean DrawAutomapGame (binary exact)
Clean GetAutomapType ("not eax" instead of "not ax")
2018-10-06 16:47:14 +02:00
galaxyhaxzandGitHub c775439589 Cleanup "loadsave.cpp" (#376) 2018-10-02 22:43:30 -05:00
Anders Jenbo 837119d581 Merge branch 'master' of github.com:diasurgical/devilution into nightly 2018-09-28 23:16:16 +02:00
nomdenom 4bb6bde99b Use sizeof() for memset()
I checked that the sizes do match. (+1 squashed commits)
2018-09-27 19:23:21 -07:00
Andrew Dunstan 9491d51ec4 fix typo in DrawAutomapType 2018-09-26 20:27:26 +10:00
squidccandRobin Eklind 49af056b14 Clean DrawAutomapType (#299)
cosmetic name corrections
2018-09-26 11:04:51 +02:00
Anders JenboandRobin Eklind 7da6f4d08a Clean up PM_DoDeath (#317)
* Clean up PM_DoDeath

* Add enum for dFlags
2018-09-24 08:13:48 +02:00
Dennis Duda 4e061cb2c9 Minor cleanups to DrawAutomap
Added missing spacing, converted to post-increment where pre-increment isn't needed
2018-09-17 21:16:35 +02:00
Andrew DunstanandDennis Duda f305559161 Clean DrawAutomap 2018-09-17 21:16:35 +02:00
Dennis Duda 5143c8dea7 Matched parameters and local variables to the PSX symbols.
Reindented the switch cases to match IDA and other cleanups.
2018-09-14 21:44:00 +02:00
Andrew DunstanandDennis Duda 1b364aa3dc Clean SetAutomapView 2018-09-14 21:44:00 +02:00
galaxyhaxzandGitHub d991f63b16 Fix type of screen_buf_end (#184) 2018-08-27 22:16:26 -05:00
galaxyhaxzandGitHub 775ae59e18 Fix function signatures and others (#158)
Fix InitObjects, themes.cpp, names
2018-08-12 18:32:48 -05:00
Stephan Unverwerthandgalaxyhaxz c8af0523ac refactor leveltype to use macros (#103) 2018-06-29 10:40:22 -05:00