Commit graph

124 commits

Author SHA1 Message Date
Anders Jenbo
187a021b30
More documentation from sanctuary/notes (#2026) 2020-03-30 11:31:36 +02: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
Anders Jenbo
0383f9abcd Add documentation to more files 2020-03-02 02:29:28 +01: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
qndel
c2587d9786 use enums (#1997) 2020-01-28 17:33:34 +01:00
qndel
3008439bc7 enums and stuff 2020-01-15 15:46:21 +01:00
Anders Jenbo
cee06d07a7 Correct spelling of color 2020-01-10 11:13:47 +01:00
Anders Jenbo
0c90ad0527 Set bool values TRUE/FALSE 2019-12-22 23:57:10 +01:00
Anders Jenbo
5fa0c5781b Backport cleanups from Hellfire branch 2019-12-15 06:14:57 +01:00
galaxyhaxz
eab1de117f Fix missing assert for FindGetItem 2019-12-03 23:16:12 -06:00
galaxyhaxz
67fedd9e99 Fix unknown struct field and drawpanflag 2019-10-31 22:57:15 +01:00
Anders Jenbo
92ab05ea13 Decompose more magic numbers 2019-10-26 00:24:55 +02: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
qndel
57f1fcce4c some enums (#1816) 2019-10-20 20:40:35 +02:00
galaxyhaxz
85afd0768a Add bugfix for dupe bug 2019-10-18 16:12:21 +02:00
Anders Jenbo
6597688eac Rename cell functions 2019-10-13 13:31:56 +02:00
Robin Eklind
9bf8332d48
Merge pull request #1360 from diasurgical/ui_consts
Ui consts
2019-10-07 22:54:54 +02:00
qndel
6b286941f3 enums 2019-10-02 22:24:37 +02:00
Anders Jenbo
27e3696df4 Use consts for drawing ui 2019-08-27 17:55:17 +02:00
Anders Jenbo
68d51e7d27 Implementing Spawned Shareware version 2019-08-12 16:04:20 +02:00
Anders Jenbo
6fba17eec5 Correct GLOBAL types based on PSX SYM 3 2019-07-21 04:10:31 +02:00
Anders Jenbo
3bc8ba66b0 Use defines for more screen geometry values 2019-07-20 17:10:49 +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
Duarte Alvim
6a4142fb08 Add gold constants 2019-06-16 02:24:09 +02:00
Anders Jenbo
0022702c38 Clean up CalcPlrInv calls 2019-06-09 19:42:10 +02:00
Manuel K
97c1edd3a0 Use BUFFER_WIDTH 2019-06-05 20:13:34 +02:00
Manuel K
896933f55e Replace magic number 352 with VIEWPORT_HEIGHT (#1232) 2019-06-02 17:51:33 +01:00
Sergey Semushin
85a7151d37 Fix min diff in SpecialAutoPlace. 2019-05-26 13:51:28 +01:00
Sergey Semushin
ccc72fda2e Fix min diff in UseInvItem. 2019-05-24 10:21:37 +01:00
Sergey Semushin
a549d5ebc4 Clean up CheckInvPaste (bin exact) (#1205) 2019-05-23 17:07:14 +01:00
Anders Jenbo
46d96eacad Clean up objects.cpp 2019-05-02 00:16:46 +01:00
galaxyhaxz
167a6aae4e Fix StartGoldDrop 2019-05-01 10:38:41 +01:00
Anders Jenbo
55a0396f8f Clean up mem_free_dbg style 2019-04-22 13:22:57 +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
galaxyhaxz
740e91e881 rename screen_y_times_768 2019-04-19 04:05:55 +02:00
Robin Eklind
1ae8490f98
Merge pull request #969 from diasurgical/UseInvItem
Clean up UseInvItem
2019-04-18 12:54:19 +09:00
Anders Jenbo
190106c8c5 Clean up CheckInvHLight 2019-04-18 03:19:46 +02:00
Anders Jenbo
bd12c6cce9 Clean up UseInvItem 2019-04-18 03:08:13 +02:00
Anders Jenbo
4a99a4a25b Clean up SyncPutItem 2019-04-17 16:22:13 +02:00
Anders Jenbo
1dc7f98d6d Clean up AutoGetItem 2019-04-16 02:30:48 +02:00
Anders Jenbo
c0531bfc4c Some booleans 2019-04-16 02:30:48 +02:00
Anders Jenbo
26737a1594
Clean up StoreAutoPlace (#956) 2019-04-15 19:05:23 +02:00
Robin Eklind
35a1dd2386
Merge pull request #951 from AJenbo/SpecialAutoPlace
Clean up SpecialAutoPlace
2019-04-16 01:37:07 +09:00
Anders Jenbo
051af2cacc Clean up InvPutItem 2019-04-14 03:04:06 +02:00
Anders Jenbo
310744866c Clean up SpecialAutoPlace 2019-04-14 01:11:22 +02:00
Robin Eklind
795d6b6abb
Merge pull request #949 from AJenbo/InvPutItem
Climbing mount improbable
2019-04-14 02:31:51 +09:00