Commit graph

67 commits

Author SHA1 Message Date
galaxyhaxz
c632e2d1d0
Names and bug fixes (#1974) 2020-03-12 04:32:53 +01: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
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
0c90ad0527 Set bool values TRUE/FALSE 2019-12-22 23:57:10 +01:00
galaxyhaxz
94a2f1e181 Nice huge commit 2019-11-04 15:30:43 -06:00
Anders Jenbo
92ab05ea13 Decompose more magic numbers 2019-10-26 00:24:55 +02:00
Anders Jenbo
86bf1fe0d5 Correct spelling 2019-10-21 19:54:32 +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
Anders Jenbo
6597688eac Rename cell functions 2019-10-13 13:31:56 +02:00
qndel
5fb15255a8 Apply enums to quests 2019-09-15 15:42:27 +02:00
Anders Jenbo
68d51e7d27 Implementing Spawned Shareware version 2019-08-12 16:04:20 +02:00
Anders Jenbo
3bc8ba66b0 Use defines for more screen geometry values 2019-07-20 17:10:49 +02:00
Anders Jenbo
55b5ce883d Clean up unformatted files 2019-07-08 04:28:31 +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
d2cb6a59e7 Apply scrollrt naming to town.cpp 2019-07-05 13:23:48 +02:00
Anders Jenbo
a7788ccddf Format bin exact code 2019-06-17 04:55:41 +02:00
Manuel K
97c1edd3a0 Use BUFFER_WIDTH 2019-06-05 20:13:34 +02:00
Manuel K
df1d049ae3 Use SCREEN_Y 2019-06-02 18:08:09 +01: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
31cbaed01e fix name type 2019-05-22 08:30:59 +01:00
galaxyhaxz
a058790a41 Add unused special CEL for town 2019-05-22 08:30:59 +01:00
Anders Jenbo
6570a02386 Clean up town.cpp 2019-05-02 00:16:46 +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
galaxyhaxz
740e91e881 rename screen_y_times_768 2019-04-19 04:05:55 +02:00
Robin Eklind
6d49faba3e StartQuestlog bin exact. Also, fix type of questlog 2019-04-13 14:21:04 +02:00
galaxyhaxz
4e01e03711 Cleanup default calling conventions 2019-04-09 12:04:00 +02:00
Robin Eklind
018c81d5aa
Merge pull request #832 from AJenbo/StartGoldDrop
Clean up inv.cpp
2019-04-08 17:10:23 +09:00
Anders Jenbo
d2174e3454 Apply code style 2019-04-05 21:54:45 +02:00
Anders Jenbo
69ad8b63e0 Clean up StartGoldDrop 2019-04-05 16:44:04 +02:00
Anders Jenbo
736181aa72 Fix warnings 2019-04-05 15:09:53 +02:00
galaxyhaxz
d879a325e1
Fix dTransVal and pLightTbl (#825) 2019-04-02 14:19:28 -05:00
Anders Jenbo
770754f1ab Apply enums to scrollrt and town 2019-03-27 15:36:05 +01:00
galaxyhaxz
09c2d8c696 Cleanup Town.cpp+scrollrt 2019-03-27 15:14:03 +01:00
galaxyhaxz
53894e43ba Cleanup town.cpp 2019-03-25 00:58:47 +01:00
galaxyhaxz
a29c75a3a2
Fix a few func/var names (#731) 2019-03-24 05:54:44 -05:00
galaxyhaxz
9afd45cbea Fix crash in draw town (#692) 2019-03-20 00:48:36 +09:00
galaxyhaxz
1f809e5b31 Cleanup T_Fill Tile/Sector (#673) 2019-03-18 22:29:49 +09:00
galaxyhaxz
befd52c003 Fix type for 'gpBuffer' (#672) 2019-03-18 22:28:38 +09:00
galaxyhaxz
068f19d523
Cleanup town_clear_x_buf (#669) 2019-03-17 20:56:38 -05:00
galaxyhaxz
0bb9f666b3
Clean remaining .CEL functions (#657) 2019-03-17 15:56:53 -05:00
galaxyhaxz
9e4885a955
Cleanup CL2 functions (#656) 2019-03-15 21:56:04 -05:00
galaxyhaxz
81f3f5daa2 Cleaning Engine CEL functions (#652)
* Cleaning Engine CEL functions

* Fix C functions
2019-03-14 10:47:39 +09:00
Anders Jenbo
9358465bb5
AddMissile bin exact (#621)
* AddMissile bin exact

* Clean up bools
2019-03-11 23:59:26 +01: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