Commit Graph
58 Commits
Author SHA1 Message Date
Anders Jenbo a095bc0bf7 ♻️Migrate more code away from miniwin 2021-05-13 02:30:18 +02:00
Anders Jenbo f884ba5340 🔥 Remove more miniwin dependencies 2021-04-29 23:04:56 +02:00
Anders Jenbo 373f28736f 🎨 Acceptable parts of modernize-* 2021-04-19 22:42:19 +02:00
Anders Jenbo bb4e1960e7 🎨 modernize-use-nullptr 2021-04-19 16:02:05 +02:00
Anders Jenbo c89bd9c001 🚨 Fix remaning warnings for clang and gcc 2021-04-19 02:44:39 +02:00
Anders Jenbo 8c821e98d3 🚚 Restructure files 2021-04-16 03:57:22 +02:00
Anders Jenbo 997c1dba55 🚚 Split up all.h in to proper header relations 2021-04-16 01:04:54 +02:00
Anders Jenbo bfb3c11c2b 🎨 Change namespace to devilution 2021-04-06 15:21:25 +02:00
Anders Jenbo 630e507f63 🚚 Apply namespace 2021-04-06 15:21:25 +02:00
pionere f5c1079d6f eliminate unused code 2021-02-19 22:04:11 +01:00
Anders Jenbo 4794c8357c Merge branch 'master' of github.com:diasurgical/devilution 2020-11-02 03:59:47 +01:00
Anders Jenbo f0c80d87f1 Reorder codec.cpp 2020-11-02 01:12:28 +01:00
Anders Jenbo 2f8a52efaf Fix Visual Studio builds ... 2020-10-20 19:53:56 +02:00
Anders Jenbo 28c1832544 Fix Visual Studio builds 2020-10-20 19:47:39 +02:00
Anders Jenbo a3505ab904 Remove the std namespace from uint32_t
Again to help older compileres that aren't C++11 aware.
2020-05-14 11:44:15 +02:00
Anders Jenbo 69ad34f58f Consistently use NULL instead of nullptr
While nullptr does have extra checking, most of the code uses NULL and
nullptr makes it harder to port the code to some targets like the
original XBox
2020-05-14 11:44:15 +02:00
Anders Jenbo 7108145a04 Merge branch 'master' of github.com:diasurgical/devilution 2020-04-14 15:30:49 +02:00
Anders Jenbo 6704657e71 Apply sematic codestyle 2020-04-08 20:34:29 +02:00
Anders Jenbo 7db4ed749a Apply more enums, defines and types 2020-04-08 20:18:11 +02:00
Anders Jenbo 776ab10476 Merge branch 'master' of github.com:diasurgical/devilution 2020-03-29 23:40:05 +02:00
Gleb Mazovetskiy 8e8e7307aa codec.cpp codec_init_key: Minor clean-up 2020-03-11 23:11:23 +01:00
Robin Eklind 3130ae3593 codec: fix build error of codec.cpp when compiling as C
Prior to this commit, the following error was encountered when compiling
as C using Clang:

	Source/codec.cpp:20:2: error: must use 'struct' tag to refer to type 'CodecSignature'
			  CodecSignature *sig;
			  ^
			  struct
2020-03-08 15:59:29 +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 25993b4043 Merge branch 'master' of github.com:diasurgical/devilution 2020-02-14 23:03:31 +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
Anders Jenbo 3ab9b7f2d3 Inline rand 2020-02-01 15:23:03 +01:00
Anders Jenbo fae2be813a Merge branch 'master' of github.com:diasurgical/devilution 2019-09-28 04:31:04 +02:00
qndel c629eb1e60 codec_decode cleanup (#1661) 2019-09-18 00:51:49 +02:00
Anders Jenbo f187fe7d3a Merge branch 'master' of github.com:diasurgical/devilution 2019-06-22 18:14:48 +02:00
Anders Jenbo a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Anders Jenbo 6439861554 Merge branch 'master' of github.com:diasurgical/devilution 2019-05-26 14:59:30 +02:00
Sergey Semushin 64bcacefe8 Add CodecSignature struct to codec.cpp to simplify code. 2019-05-25 17:03:22 +01:00
Anders Jenbo f1d54cee52 Merge branch 'master' of github.com:diasurgical/devilution 2019-05-23 18:12:54 +02:00
Anders Jenbo 26d7327b1f Cleanup (#1200)
* Clean up effects.cpp
* Clean up monster.cpp
* Clean up codec.cpp
2019-05-21 00:34:42 +01:00
Anders Jenbo 66278600ba Merge branch 'master' of github.com:diasurgical/devilution 2019-05-19 15:38:34 +02:00
Sergey Semushin 01bc47c7fc Clean up codec_encode. 2019-05-18 20:14:00 +01:00
Sergey Semushin bcacad7629 Prettify codec_get_encoded_len. 2019-05-18 20:14:00 +01:00
Sergey Semushin 9160d659b3 Clean up codec_decode. 2019-05-18 16:17:26 +01:00
Xadhoom 6856fb74e2 Merge upstream beanch 'devilution/master' 2019-04-25 20:44:01 +00:00
Anders Jenbo 65b9fb87a8 Merge branch 'TownDead' 2019-04-24 14:08:25 +02:00
galaxyhaxz 540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
galaxyhaxz 4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Anders Jenbo a907a4d49b Merge branch 'master' of github.com:diasurgical/devilution 2019-04-05 15:21:53 +02:00
galaxyhaxz 5238265702 Implement assert support (#791) 2019-03-29 21:26:37 -05:00
Xadhoom 5283a9ffd1 Put everything into namespace dvl 2019-03-11 20:10:23 +00:00
Xadhoom 15341fdae3 More temporary 64 bit fixes; we can walk in town 2019-01-27 20:45:27 +00:00
Anders Jenbo 1e4e826a36 Remove delta to devilution 2019-01-23 17:11:52 +01:00
Xadhoom cadef0d942 Merge upstream branch 'devilution/master' 2019-01-21 09:44:54 +00:00
aperturesecurity c7b07fe94d make resizing window and cleaned up a few things 2019-01-15 19:45:42 +02:00
Anders Jenbo 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