Commit Graph

70 Commits

Author SHA1 Message Date
Anders Jenbo adf5f8f504 Clean up hellfire related code 2021-01-31 13:37:42 +01:00
Anders Jenbo 38dbcf7641 Format source 2020-12-02 00:52:38 +01:00
Anders Jenbo 3157885502 Correct shareware ifdefs 2020-10-13 07:42:35 +02:00
Anders Jenbo 7e04c63977 Merge branch 'hellfire' of github.com:diasurgical/devilution 2020-10-11 23:53:07 +02:00
pionere 92646a8950 townwarps count has nothing to do with MAX_PLRS 2020-10-11 06:41:11 +02:00
Anders Jenbo c1b4d3d8b5 Copy documentation from sanctuary/notes 2020-07-06 05:43:25 +02:00
Anders Jenbo 1ba96a6777 Add doxygen description to remaining engine files 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 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 cc0f92d45b Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-06 06:09:30 +02:00
Anders Jenbo f217b14e3e Order variables logically 2020-04-06 05:43:20 +02:00
Anders Jenbo 8f635b779c Correct style of checks 2020-04-06 05:43:20 +02:00
Anders Jenbo 10febf7e15 Decompose a few numbers 2020-04-06 05:43:20 +02:00
Anders Jenbo cab3ebddf5 Avoid some arrays being of predefined size
This makes it easier to change the array size via content
2020-04-06 05:43:20 +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 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 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 36e8cd5bec Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-12-15 07:13:24 +01:00
Anders Jenbo 5fa0c5781b Backport cleanups from Hellfire branch 2019-12-15 06:14:57 +01:00
Anders Jenbo 0bdd819ca9 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-09-18 01:00:24 +02:00
qndel 13c957a445 Freeupstairs cleanup 2019-09-18 00:46:00 +02:00
galaxyhaxz d0d6a8d051 Cleanup trigs.cpp 2019-09-17 01:32:28 +02:00
Anders Jenbo 68d51e7d27 Implementing Spawned Shareware version 2019-08-12 16:04:20 +02:00
Anders Jenbo aa50489569 Clean up generated comments 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
Robin Eklind 105a583ce0 Use TRUE and FALSE enums for setlevel.
Also simplify if conditions to make
use of boolean values.

(If the cleanup4 PR ends up increasing
inserts/deletions, then this commit is
probably at fault.)
2019-07-17 20:42:26 +02:00
Anders Jenbo a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Sergey Semushin 2edb45b670 Fix diff in ForceTownTrig. 2019-06-15 11:20:25 +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
JustAnotherGuid e47a2d4b5d InitL4Triggers bin exact 2019-04-21 20:03:28 +02:00
galaxyhaxz 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
JustAnotherGuid 8de3f887fa InitL2Triggers bin exact 2019-04-13 20:01:47 +02:00
JustAnotherGuid 192e9a93d1 Split up Trigflag array into separate vars 2019-04-13 17:23:41 +02:00
JustAnotherGuid 0c8e0e64d6 InitL3Triggers bin exact 2019-04-13 14:56:28 +02:00
JustAnotherGuid e5a2fc9219 CheckTriggers [bin exact] (#925) 2019-04-13 01:38:18 +02:00
Anders Jenbo 5794c40f27 Clean up ForceL4Trig 2019-04-11 03:44:42 +02:00
Anders Jenbo ebba03c2e9 Clean up ForceL3Trig 2019-04-11 03:12:59 +02:00
Anders Jenbo 6fd36ad7fb Clean up ForceL2Trig 2019-04-11 03:00:14 +02:00
Anders Jenbo 8ad834d9fb Clean up ForceL1Trig 2019-04-11 02:49:46 +02:00
galaxyhaxz 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Anders Jenbo d2174e3454 Apply code style 2019-04-05 21:54:45 +02:00
galaxyhaxz 5238265702 Implement assert support (#791) 2019-03-29 21:26:37 -05:00
JustAnotherGuid 2e4f206306 ForceTownTrig bin exact 2019-03-24 19:11:55 +01:00