Commit graph

73 commits

Author SHA1 Message Date
galaxyhaxz
c632e2d1d0
Names and bug fixes (#1974) 2020-03-12 04:32:53 +01:00
Anders Jenbo
0383f9abcd Add documentation to more files 2020-03-02 02:29:28 +01:00
Anders Jenbo
21b62274b9 Document .SOL value tables 2020-02-29 18:32:02 +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
qndel
3008439bc7 enums and stuff 2020-01-15 15:46:21 +01:00
galaxyhaxz
f620c0f34e Fix function order [gendung.cpp] 2019-11-06 22:24:52 +01:00
Robin Eklind
cc70c392e4 fix naming of setloadflag and pSetPiece (#1841) 2019-11-05 00:37:09 +01: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
qndel
06e7b4dbdb more enums 2019-10-05 15:25:54 +02:00
Anders Jenbo
68d51e7d27 Implementing Spawned Shareware version 2019-08-12 16:04:20 +02:00
Anders Jenbo
9d3ce818f0 Correct BOOLS 2019-07-21 19:11:11 +02:00
Anders Jenbo
b023104434 Remove u from values 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
Xadhoom
3b203f7c50 BUGFIX comments for drlg_l?.cpp, gendung.cpp, monster.cpp 2019-07-10 01:21:48 +02: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
7c071924ad Format recently cleaned code 2019-07-06 05:13:01 +02:00
Joan Karadimov
fce804a09a Use the dungeon_type enum for leveltype 2019-06-28 11:58:44 +03:00
Anders Jenbo
a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Anders Jenbo
121eebdea5 Clean up DRLG_PlaceThemeRooms 2019-06-15 13:59:22 +02:00
Sergey Semushin
2aa37dccc1 Make MakeSpeedCels bin exact. 2019-06-15 13:57:00 +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
galaxyhaxz
6a68d6b271 DRLG_MRectTrans 2019-05-27 08:44:22 +01:00
galaxyhaxz
87c63ffb34 DRLG_HoldThemeRooms 2019-05-26 21:39:17 -05:00
galaxyhaxz
31cbaed01e fix name type 2019-05-22 08:30:59 +01:00
galaxyhaxz
6d308fe088 DRLG_CreateThemeRoom 2019-05-12 15:12:54 +01:00
Anders Jenbo
5cc368376f Clean up drlg_l1.cpp 2019-05-02 00:16:46 +01:00
Sergey Semushin
908720efa1 Clean up InitMonsters. 2019-05-01 10:12:50 +01:00
galaxyhaxz
029b15f298 Fix type for Dungeon Micros 2019-04-26 03:17:06 +02: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
Robin Eklind
cc40bbfbe3 Cleanup DRLG_RectTrans, already bin exact 2019-04-13 19:18:35 +09:00
Anders Jenbo
a34eb2bfc8 Clean up SkipThemeRoom 2019-04-09 17:06:50 +02:00
galaxyhaxz
4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
JustAnotherGuid
5dbbb0cafa DRLG_AreaTrans bin exact 2019-04-08 21:54:28 +02:00
JustAnotherGuid
7c9c78de09 DRLG_ListTrans bin exact 2019-04-08 21:53:16 +02:00
galaxyhaxz
b4460ae55b Clean DRLG_L3.cpp spawn 2019-04-06 04:21:26 +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
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
galaxyhaxz
a29c75a3a2
Fix a few func/var names (#731) 2019-03-24 05:54:44 -05:00
galaxyhaxz
f59fd7de20
Fix gendung.cpp headache (#722) 2019-03-23 04:26:23 -05:00
galaxyhaxz
5ed313ad99 Cleanup gendung crap 2019-03-21 21:16:14 +01:00
Anders Jenbo
5ef1c76289 Clean up ItemPlace (#683) 2019-03-19 15:33:20 +09:00
galaxyhaxz
aeb111c5fc Cleanup DRLG_L1Pass3 (#662) 2019-03-17 10:01:02 +09:00
galaxyhaxz
d23f9db123 Cleanup FSBT (#631)
* Cleanup FSBT

* Update gendung.cpp
2019-03-12 11:03:51 +09:00
Anders Jenbo
6d5c9619a7 Clean up town_draw_town_all (#544)
* Clean up town_draw_town_all

* Clean up town_draw_e_flag

* Clean up InitPlayerLoc

* Fix VS 2015 builds

* Clean up gendung_get_dpiece_num_from_coord

* Clean up town_draw_clipped_e_flag

* Clean up town_draw_clipped_e_flag_2

* Remove HIDWORD() as it is now unused
2019-01-06 01:36:59 +01:00
Anders Jenbo
4a62a7c678 Code style 2018-12-29 02:15:20 +01:00