Commit graph

40 commits

Author SHA1 Message Date
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
e7e51abd13 Document remaning functions in render related files 2020-02-16 04:01:52 +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
2348c3a8fd Documentations, enums and clean ups 2019-10-21 19:33:14 +02:00
Anders Jenbo
b023104434 Remove u from values 2019-07-21 00:57:53 +02:00
Anders Jenbo
6ba57a2d10 Remove the last bit of garbage 2019-07-21 00:57:53 +02:00
Anders Jenbo
5ab9f4609a Clean up signedness 2019-07-21 00:57:53 +02:00
Joan Karadimov
f695061d05 Replace resolution-related hard-coded numbers with constants 2019-07-20 17:24:34 +02:00
Anders Jenbo
11b6b1f860 Remove more garbage 2019-06-03 02:20:42 +01:00
galaxyhaxz
777c517b8e Change ASM macro 2019-04-22 02:23:12 -05: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
d2174e3454 Apply code style 2019-04-05 21:54:45 +02:00
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl (#825) 2019-04-02 14:19:28 -05:00
galaxyhaxz
b59754bd64
Render.cpp bin exact (#744) 2019-03-26 08:20:46 -05:00
galaxyhaxz
a29c75a3a2
Fix a few func/var names (#731) 2019-03-24 05:54:44 -05:00
Robin Eklind
66dacd0967 render: clean up inlined asm functions (#553)
* render: clean up inlined asm functions

Now, these functions no longer use references. Instead they
use pointer to pointer.
2019-01-05 22:14:15 +01:00
galaxyhaxz
1324082090
The big cheap fix (#446) 2018-11-05 21:47:14 -06:00
Anders Jenbo
b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
galaxyhaxz
84b041cf7d Fix angular trans tiles 2018-10-25 22:18:18 +02:00
Anders Jenbo
6723acc98f Format clean render bits 2018-10-22 00:47:21 +02:00
galaxyhaxz
0f184f2b71
Move assembly to _asm.cpp (#388) 2018-10-07 00:32:36 -05:00
galaxyhaxz
2f46409b64
Add inlining to render.cpp (btm) (#383) 2018-10-05 22:12:42 -05:00
galaxyhaxz
0d0f1bc5dc T2: add inlining to render.cpp 2018-09-25 15:47:55 -05:00
galaxyhaxz
c9a6c21c5f Rename variables in render.cpp 2018-09-25 15:32:25 -05:00
galaxyhaxz
4bdd50440d
Fix lighting of some floor tiles
Devilution is now basically bug free!
2018-09-10 15:55:46 -05:00
galaxyhaxz
9f206691b0
render.cpp -> undo memset/memcpy (#186) 2018-08-31 23:55:42 -05:00
galaxyhaxz
5ed7a29e22
render.cpp -> implement memset/memcpy 2018-08-29 00:28:00 -05:00
galaxyhaxz
d991f63b16
Fix type of screen_buf_end (#184) 2018-08-27 22:16:26 -05:00
galaxyhaxz
1ec606131c
render.cpp -> add bug notes 2018-08-27 01:42:52 -05:00
galaxyhaxz
8a4196fe76
render.cpp -> remove all garbage vars 2018-08-27 00:28:23 -05:00
galaxyhaxz
d2f109801c
render.cpp -> remove last asm and cleanup 2018-08-26 22:08:45 -05:00
galaxyhaxz
14a0241d4d
render.cpp -> take out the trash 2018-08-26 19:04:35 -05:00
galaxyhaxz
5abc4058a0
render.cpp -> add comments on cel type 2018-08-25 17:21:18 -05:00
galaxyhaxz
60c065ca93
render.cpp -> i don't even remember 2018-08-25 03:37:15 -05:00
galaxyhaxz
6713958b0d
render.cpp -> fix left-shifting 2018-08-24 03:35:02 -05:00
galaxyhaxz
c255a70eac
render.cpp -> fix right-bit macro 2018-08-24 01:46:50 -05:00
galaxyhaxz
bb3ab09f9a
render.cpp -> OFSUB fix 2018-08-23 22:07:17 -05:00
galaxyhaxz
0d5a7f6878
render.cpp -> fix switch/case 2018-08-23 19:56:41 -05:00
galaxyhaxz
5ff8756116
Fix junk (#174) 2018-08-21 23:58:17 -05:00
Renamed from Source/world.cpp (Browse further)