Commit graph

55 commits

Author SHA1 Message Date
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
Anders Jenbo
ab3a6208d2 Use "BOOLEAN" instead of "bool"
bool is not defined in C
2018-11-26 12:35:03 +01:00
Anders Jenbo
507d12082f Use MAXDUR* in most instances 2018-11-04 22:27:26 +01:00
Anders Jenbo
b1f6d3698f Update style to use tabs 2018-10-25 22:53:04 +02:00
Anders Jenbo
ec2f95bdf2 Format town files 2018-10-22 02:02:52 +02:00
Anders Jenbo
f80de53b14 _iMagical enum (#393)
* _iMagical enum

* Color enum
2018-10-11 08:39:17 +02:00
Anders Jenbo
96ab38730f Control.cpp (#396)
* Clean up ToggleSpell

* Clean up DrawLifeFlask and UpdateLifeFlask

* Clean up DrawManaFlaskm, control_update_life_mana and UpdateManaFlask

* Clean up CheckSBook

* Clean up DoSpeedBook

* Decompose magic numbers

* Clean up GetSBookTrans

* Apply spell_type

* Slight clean up of DrawSpellList

This improves the bin diff a little bit but more importantly gets rid of
_p*Spells[] usage in control.cpp
2018-10-11 08:37:14 +02:00
squidcc
51bfa2353b Use quest enum values (#362)
* add/assign enums related to Black Mushroom quests

* plug in more quest enum values
2018-09-29 11:37:54 +02:00
Anders Jenbo
837119d581 Merge branch 'master' of github.com:diasurgical/devilution into nightly 2018-09-28 23:16:16 +02:00
nomdenom
4bb6bde99b Use sizeof() for memset()
I checked that the sizes do match. (+1 squashed commits)
2018-09-27 19:23:21 -07:00
Anders Jenbo
7da6f4d08a Clean up PM_DoDeath (#317)
* Clean up PM_DoDeath

* Add enum for dFlags
2018-09-24 08:13:48 +02:00
galaxyhaxz
d991f63b16
Fix type of screen_buf_end (#184) 2018-08-27 22:16:26 -05:00
galaxyhaxz
472de22f81
Annotated and fixed World.cpp (#129) 2018-07-07 22:55:56 -05:00