Commit Graph

96 Commits

Author SHA1 Message Date
Robin Eklind 82133085fc themes: add BUGFIX for Theme_Treasure 2021-09-01 19:42:50 +02:00
qndel 7f7ae623df Goe (#2163)
* proper random_ comparisons
* proper mienemy comparisons
* add mienemy/micaster enum
* GOE enum
2020-12-04 19:16:58 +01:00
qndel c94c04d049 some cleanup (#2146) 2020-11-04 03:33:40 +01:00
qndel 7c2ee3333f Theme_MonstPit cleanup 2020-10-12 03:22:03 +02:00
Anders Jenbo 7e04c63977 Merge branch 'hellfire' of github.com:diasurgical/devilution 2020-10-11 23:53:07 +02:00
Anders Jenbo c1b4d3d8b5 Copy documentation from sanctuary/notes 2020-07-06 05:43:25 +02:00
Anders Jenbo 659dc41aa5 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-26 22:10:34 +02:00
Anders Jenbo 7e45f8bcc8 More cleanups 2020-04-26 21:33:56 +02:00
Anders Jenbo d008af43b0 Semantic code style cleanups 2020-04-11 15:22:40 +02:00
Anders Jenbo b040c04a18 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-04 07:56:06 +02:00
galaxyhaxz 71565b9c02 Several updates [enums+names] (#2002)
* Several updates

* Correct msg_get_next_packet

* Update enums.h

Co-Authored-By: Robin Eklind <mewmew@users.noreply.github.com>

Co-authored-by: Robin Eklind <mewmew@users.noreply.github.com>
2020-03-11 21:27:40 -05: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
qndel 3008439bc7 enums and stuff 2020-01-15 15:46:21 +01:00
Anders Jenbo 7369deba1b Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-12-25 20:25:56 +01:00
Anders Jenbo 0c90ad0527 Set bool values TRUE/FALSE 2019-12-22 23:57:10 +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 1372d0f6b0 Update themes.cpp 2019-11-29 01:15:35 +01:00
Robin Eklind e155a9423e rename random to random_ to avoid collision with random in stdlib.h
Fixes #1813.
2019-10-21 09:56:36 +02:00
Anders Jenbo babddf2921 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-10-08 00:35:03 +02:00
qndel ea5c8bd23a SpecialThemeFit cleanup 2019-09-27 15:49:48 +02:00
Anders Jenbo 0bdd819ca9 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-09-18 01:00:24 +02:00
qndel d269ef5045 InitThemes cleanup 2019-09-15 11:26:41 +02:00
Anders Jenbo 4e1f67233f Merge pull request #1543 from diasurgical/master
merge master in to hellfire
2019-09-05 08:33:06 +02:00
qndel 70726ba2aa Theme_Library cleanup 2019-09-05 08:18:02 +02:00
qndel 6b2097b602 [hellfire] PlaceThemeMonsts bin exact 2019-09-05 08:12:25 +02:00
galaxyhaxz 12b9e8e8f7 Fix logic in themes.cpp 2019-08-27 15:16:36 +02:00
Joan Karadimov fce804a09a Use the dungeon_type enum for leveltype 2019-06-28 11:58:44 +03:00
Anders Jenbo a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Anders Jenbo 565bb5aa7d Adust dFlag enums 2019-05-29 16:23:08 +01:00
galaxyhaxz 82e8d6ed60 Fix trigflag, trigs.cpp bin exact 2019-05-06 23:07:59 +01:00
Anders Jenbo d70bd3a1e9 Fix CheckThemeRoom 2019-05-04 22:44:47 +02:00
Anders Jenbo 918a997854 Clean up themes.cpp 2019-05-02 00:16:46 +01:00
galaxyhaxz 87d20ef4d6 themes.cpp bin exact 2019-04-30 05:08:09 +02:00
Anders Jenbo fcadb84daa Correct size of ThemeGoodIn 2019-04-26 19:16:54 +02:00
Robin Eklind d59b8dfafa Merge pull request #996 from diasurgical/CheckThemeReqs
Clean up CheckThemeReqs
2019-04-23 03:44:04 +09:00
Anders Jenbo be3526054c Apply theme_id enums 2019-04-22 19:18:02 +02:00
galaxyhaxz 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
Anders Jenbo 9c7001c8e2 Clean up CheckThemeReqs 2019-04-21 17:16:54 +02:00
Anders Jenbo dade490e9f Clean up InitThemes 2019-04-21 03:11:51 +02:00
Anders Jenbo 85921ce416 Clean up CheckThemeRoom 2019-04-21 01:55:47 +02:00
Anders Jenbo 66314fe1d3 Themes.cpp (#989)
* Clean up TFit_Shrine

* Clean up TFit_Obj5

* Clean up SpecialThemeFit
2019-04-20 11:56:34 +02:00
JustAnotherGuid 192e9a93d1 Split up Trigflag array into separate vars 2019-04-13 17:23:41 +02:00
galaxyhaxz 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Anders Jenbo ba9cf89a9e Clean up TFit_Obj3 2019-04-06 02:46:48 +02:00
Anders Jenbo ad22f6a216 Clean up TFit_GoatShrine 2019-04-06 02:41:26 +02:00
Anders Jenbo adf3685c1e Clean up TFit_SkelRoom 2019-04-06 02:37:37 +02:00
galaxyhaxz d879a325e1 Fix dTransVal and pLightTbl (#825) 2019-04-02 14:19:28 -05:00
Anders Jenbo 54c73f740c clean up redundant code 2019-03-30 17:14:16 +01:00
Anders Jenbo df61fc06b0 CheckThemeObj3 bin exact
This also fixes ThemeStruct and there by most functions in themes.cpp
(again)
2019-03-30 17:14:05 +01:00