Commit Graph

93 Commits

Author SHA1 Message Date
Anders Jenbo adf5f8f504 Clean up hellfire related code 2021-01-31 13:37:42 +01: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
Anders Jenbo 38dbcf7641 Format source 2020-12-02 00:52:38 +01:00
qndel c94c04d049 some cleanup (#2146) 2020-11-04 03:33:40 +01:00
Gleb Mazovetskiy ec329e645c Fix all "no-write-strings" warnings 2020-10-25 15:37:51 +01:00
qndel b81d2eb831 some cleanups (#2099) 2020-10-12 00:42:02 +02:00
Anders Jenbo 7e04c63977 Merge branch 'hellfire' of github.com:diasurgical/devilution 2020-10-11 23:53:07 +02:00
Tyler c803c6aa66 Calculate position of screen elements 2020-09-27 00:21:54 +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 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 cc0f92d45b Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2020-04-06 06:09:30 +02:00
Anders Jenbo a291939a7d Value types 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
Anders Jenbo f7e2283702 Reorder globals 2020-03-12 04:33:58 +01: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
galaxyhaxz 81ff8e6287 Metallic hydrogen neural array 2020-02-28 16:35:57 -06: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 2751ecedd2 [hellfire] Add missing enums 2020-01-12 18:04:40 +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 b3d1283844 Enum for Lazarus stairs 2019-12-07 01:45:52 +01:00
Anders Jenbo 2348c3a8fd Documentations, enums and clean ups 2019-10-21 19:33:14 +02: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 0502ba70ea Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-10-13 18:53:49 +02:00
Anders Jenbo 6597688eac Rename cell functions 2019-10-13 13:31:56 +02:00
Anders Jenbo 0bdd819ca9 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-09-18 01:00:24 +02:00
Anders Jenbo b22e2451e3 Merge pull request #1618 from qndel/SetReturnLvlPos
SetReturnLvlPos cleanup
2019-09-15 15:42:53 +02:00
qndel 3ae471f6b9 [hellfire] ResyncMPQuests bin exact 2019-09-15 15:42:40 +02:00
qndel 10e3d5a355 [hellfire] CheckQuestKill bin exact 2019-09-15 13:44:48 +02:00
qndel eab02de82f ResyncQuests cleanup 2019-09-15 12:48:41 +02:00
qndel 72883c0621 SetReturnLvlPos cleanup 2019-09-15 12:11:54 +02:00
Sergey Semushin 4c6c0116b5 hellfire: update QuestStruct + InitQuests bin exact. 2019-09-14 19:21:21 +03:00
Sergey Semushin ec7baa3296 Add hellfire quests to questlist array. 2019-09-14 18:02:05 +03:00
Anders Jenbo 1f715f86f6 Clean up 2019-08-27 17:06:54 +02:00
Anders Jenbo 68d51e7d27 Implementing Spawned Shareware version 2019-08-12 16:04:20 +02:00
Anders Jenbo b023104434 Remove u from values 2019-07-21 00:57:53 +02:00
Robin Eklind 4cbf8c9ec3 Rename global pCelBuff to pSPentSpn2Cels
This is to avoid confusion, as pCelBuff is also
commonly used as a parameter name.

The naming follows the convention used by
TextBox2.CEL and TextSlid.CEL, as seen in
stores.cpp

	pSTextBoxCels = LoadFileInMem("Data\\TextBox2.CEL", NULL);
	pSPentSpn2Cels = LoadFileInMem("Data\\PentSpn2.CEL", NULL);
	pSTextSlidCels = LoadFileInMem("Data\\TextSlid.CEL", NULL);
2019-07-16 02:13:16 +02:00
Anders Jenbo 7c071924ad Format recently cleaned code 2019-07-06 05:13:01 +02:00
Joan Karadimov f16bc267fc Use the dungeon_type enum for ReturnLvlT 2019-06-28 11:59:11 +03:00
Sergey Semushin 81ec719e1b Fix min diff in ResyncQuests. 2019-06-15 01:10:17 +02:00
Anders Jenbo 64e5fa2f05 Apply enums to NetSendCmdQuest 2019-06-07 00:28:10 +02:00
Anders Jenbo 635deebbd4 Apply enums to SpawnQuestItem 2019-06-05 03:15:23 +02:00
galaxyhaxz 82e8d6ed60 Fix trigflag, trigs.cpp bin exact 2019-05-06 23:07:59 +01:00
Sergey Semushin 02acf7629b Make ResyncQuests bin exact. 2019-05-06 23:03:54 +01:00
Anders Jenbo ba38357e21 Clean up control.cpp pointer types 2019-05-04 12:07:08 +01:00
galaxyhaxz 8db166bac8 CheckQuests 2019-05-01 19:54:00 -05:00
Sergey Semushin 8bc995e681 Add _uniq_monsterid enum for indexes in UniqMonst for special unique monsters.
Apply it where necessary.
2019-05-01 13:45:14 +01:00