Commit graph

74 commits

Author SHA1 Message Date
Anders Jenbo
776ab10476 Merge branch 'master' of github.com:diasurgical/devilution 2020-03-29 23:40:05 +02:00
galaxyhaxz
f89204e7dd Fix function/var names (effects/sound) 2020-03-24 00:22:36 -05:00
Anders Jenbo
0383f9abcd Add documentation to more files 2020-03-02 02:29:28 +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
40ba1e7a6f Merge branch 'master' of github.com:diasurgical/devilution 2020-02-01 14:48:39 +01:00
qndel
a6a89bca3a apply TRUE/FALSE 2020-01-31 19:22:51 +01:00
Anders Jenbo
e847108b78 Clean up event handeling 2019-12-03 01:59:13 +01:00
Mathieu Maret
bfe4759745 Loading screen (#1836) 2019-11-01 12:59:46 +01:00
Anders Jenbo
a9ffe83760 Merge branch 'centerGui' of https://github.com/mmaret/devilutionX 2019-11-01 00:30:37 +01:00
Mathieu Maret
66fe4ab77b
Use PANEL_X instead of SCREENX+PANEL_LEFT
Co-Authored-By: Anders Jenbo <anders@jenbo.dk>
2019-11-01 00:20:03 +01:00
Anders Jenbo
215ff59e65 Merge branch 'master' of github.com:diasurgical/devilution 2019-11-01 00:06:53 +01:00
Mathieu Maret
fdf4384640 Center Loading screen 2019-10-31 23:38:09 +01:00
galaxyhaxz
67fedd9e99 Fix unknown struct field and drawpanflag 2019-10-31 22:57:15 +01:00
Anders Jenbo
760aaa8b37 Smoother and faster loading
Predictable: Always have the same number of steps in the progress bar
Faster: Increate size of steps to fit with the number of steps
2019-10-20 15:59:47 +02:00
Anders Jenbo
ad7a621e5f Drop PitchTbl to avoid resolution restriction 2019-10-20 15:59:47 +02:00
Anders Jenbo
a0baa92ef0 Merge branch 'master' of github.com:diasurgical/devilution 2019-10-13 19:59:26 +02:00
Anders Jenbo
6597688eac Rename cell functions 2019-10-13 13:31:56 +02:00
Robin Eklind
d16f603537 all: remove unused storm imports
While no storm functions are called from these source files
it is determined that they included storm in the original
source files as made visible by the inclusion of infinity
in the data segments of the respective source files.

ref: diasurgical/devilution#1695.
2019-09-20 11:05:25 +02:00
Anders Jenbo
98ab9b9600 Merge branch 'master' of github.com:diasurgical/devilution 2019-08-18 08:07:33 +02:00
Robin Eklind
0e4d4104a7 interfac: rename progress_bar_colours and progress_bar_screen_pos to BarColor and BarPos
Rationale described in sanctuary/notes@cb8812d1a6
as included below:

Note, the BarColor and BarPos globals don't have
PSX debug info. However, the progress bar is
referred to as "barfoo" in other parts of the
PSX debug info, e.g.

	// register: 21
	register unsigned char barr;
	// register: 16
	register unsigned char barg;

Thus, we apply a similar naming convention for BarColor
and BarPos, using CamelCase as is conventional for global
variables in Diablo 1.
2019-08-18 07:45:07 +02:00
Anders Jenbo
60ee365dff Merge branch 'master' of github.com:diasurgical/devilution 2019-07-20 19:52:50 +02:00
Anders Jenbo
3bc8ba66b0 Use defines for more screen geometry values 2019-07-20 17:10:49 +02:00
Xadhoom
148a7be44d Merge upstream branch 'devilution/master' 2019-07-10 17:04:38 +00:00
Anders Jenbo
32a51d17ca Align function signatures with PSX symbols
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
2019-07-08 04:12:12 +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
8cb04b0d9b Merge branch 'master' of github.com:diasurgical/devilution 2019-06-02 19:11:49 +02:00
Manuel K
df1d049ae3 Use SCREEN_Y 2019-06-02 18:08:09 +01:00
Anders Jenbo
23e7737c75 Merge branch 'master' of github.com:diasurgical/devilution
Fixes #92
2019-05-05 00:27:08 +02:00
Anders Jenbo
1fd057a368 Clean up interfac.cpp 2019-05-02 00:16:46 +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
Anders Jenbo
55a0396f8f Clean up mem_free_dbg style 2019-04-22 13:22:57 +02:00
galaxyhaxz
540892ff9d Preliminary support for fixed header files 2019-04-21 17:20:38 +02:00
galaxyhaxz
740e91e881 rename screen_y_times_768 2019-04-19 04:05:55 +02:00
galaxyhaxz
fd53ad06ba Rename lock_buf 2019-04-16 20:16:35 -05:00
Anders Jenbo
5d3252a870 Clean up DrawCutscene 2019-04-09 18:01:04 +02:00
galaxyhaxz
4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
galaxyhaxz
319b6c1915 InitCutscene 2019-04-08 18:25:35 +02:00
Anders Jenbo
d8bb37349e Merge branch 'master' of github.com:diasurgical/devilution 2019-04-06 04:34:49 +02:00
Anders Jenbo
d2174e3454 Apply code style 2019-04-05 21:54:45 +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
galaxyhaxz
804ff38a0a DRLG_WillThemeRoomFit & ShowProgress 2019-03-29 09:14:11 +01:00
Anders Jenbo
189ce6ec2f Merge branch 'master' of github.com:diasurgical/devilution 2019-03-20 00:00:39 +01:00
Anders Jenbo
ae2630cc46 Mem free dbg (#685)
* FreeQuestText

* DRLG_FreeL2SP

* GetHall

* FreeGMenu

* FreeObjectGFX

* DRLG_FreeL1SP

* FreeControlPan

* FreeLightTable

* Clean up DRLG_LoadDiabQuads

* DRLG_FreeL4SP

* FreeInterface
2019-03-19 15:37:07 +09:00
Xadhoom
83d902c4a4 Merge branch 'master' 2019-03-16 12:37:02 +00:00
galaxyhaxz
81f3f5daa2 Cleaning Engine CEL functions (#652)
* Cleaning Engine CEL functions

* Fix C functions
2019-03-14 10:47:39 +09:00