Commit graph

180 commits

Author SHA1 Message Date
Anders Jenbo
2751ecedd2 [hellfire] Add missing enums 2020-01-12 18:04:40 +01:00
qndel
402e336bd9 [hellfire] GetSBookTrans bin exact 2020-01-01 17:26:27 +01:00
Anders Jenbo
7369deba1b Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-12-25 20:25:56 +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
Anders Jenbo
85ab626437 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-12-15 02:22:17 +01:00
qndel
981c9b9c00 some cleanup (#1823) 2019-12-02 13:18:45 +01:00
galaxyhaxz
6c0bc83115 Fix type for panelstr 2019-12-01 22:15:31 -06:00
Anders Jenbo
cd0a75480d Decompose numbers in DrawSpellList 2019-11-09 21:07:54 +01:00
Anders Jenbo
505701fd48 Decompose numbers in DoSpeedBook 2019-11-09 21:07:54 +01:00
galaxyhaxz
67fedd9e99 Fix unknown struct field and drawpanflag 2019-10-31 22:57:15 +01:00
Gleb Mazovetskiy
1b24dac942 Add BUGFIX comment in DrawSpell 2019-10-30 00:30:17 +01:00
Anders Jenbo
048429b4cd Apply more constants 2019-10-28 04:29:39 +01:00
Anders Jenbo
71adfe509e Document more attributes 2019-10-28 03:05:40 +01:00
falquinho
c65060ccad Some comments on control functions. 2019-10-26 00:45:11 +02:00
Anders Jenbo
92ab05ea13 Decompose more magic numbers 2019-10-26 00:24:55 +02:00
Anders Jenbo
3e7d352fde Format files 2019-10-21 20:04:14 +02:00
Anders Jenbo
2348c3a8fd Documentations, enums and clean ups 2019-10-21 19:33:14 +02:00
Anders Jenbo
d1914efa41
Make sens of lineoffset (#1810) 2019-10-16 13:52:28 +02:00
Anders Jenbo
0502ba70ea Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-10-13 18:53:49 +02:00
Anders Jenbo
6597688eac Rename cell functions 2019-10-13 13:31:56 +02:00
Anders Jenbo
babddf2921 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-10-08 00:35:03 +02:00
Robin Eklind
9bf8332d48
Merge pull request #1360 from diasurgical/ui_consts
Ui consts
2019-10-07 22:54:54 +02:00
Anders Jenbo
ce6fc51b50 Implement CelGetFrame (CEL decoder helper)
This implements the first of the inlined CEL decoder helper functions
that are still visable in the Mac port code.

Functions are still bin exact
2019-09-27 21:02:44 +02:00
Anders Jenbo
fde6c8030b [hellfire] SpellITbl 2019-09-20 10:53:06 +02:00
qndel
fa9ee2aa45 Fix hp not showing bug (#1680) 2019-09-18 03:37:22 +02:00
Anders Jenbo
0bdd819ca9 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-09-18 01:00:24 +02:00
qndel
12435a9317 SetSpell cleanup 2019-09-18 00:35:20 +02:00
galaxyhaxz
282e42b46b Town/misc fixes 2019-09-17 05:39:16 +02:00
qndel
81f965d122 [hellfire] InitControlPan bin exact 2019-09-15 15:43:33 +02:00
qndel
8a78228aba [hellfire] DrawInfoBox bin exact 2019-09-12 11:27:22 +02:00
qndel
fdac4d19e7 [hellfire] UpdateLifeFlask bin exact 2019-09-12 11:26:27 +02:00
qndel
48006b22a8 [hellfire] DrawLifeFlask bin exact 2019-09-12 11:25:03 +02:00
qndel
74b6ac4d77 [hellfire] control_press_enter bin exact 2019-09-12 11:23:43 +02:00
qndel
9667c34f0a [hellfire] DrawManaFlask bin exact 2019-09-12 11:23:05 +02:00
qndel
522f8f07c6 DrawTalkPan cleanup 2019-09-12 11:22:07 +02:00
qndel
4605c6096f control_up_down cleanup 2019-09-12 11:21:18 +02:00
Anders Jenbo
3154ab3bd2 Merge branch 'master' of github.com:diasurgical/devilution into hellfire 2019-09-03 00:30:42 +02:00
Anders Jenbo
e24cbb2423 Clean up init_disable_screensaver 2019-09-01 05:59:44 +02:00
Anders Jenbo
83e62ea8a1 [hellfire] Set up build intergration 2019-08-30 09:55:44 +02:00
Anders Jenbo
27e3696df4 Use consts for drawing ui 2019-08-27 17:55:17 +02:00
Anders Jenbo
1f715f86f6 Clean up 2019-08-27 17:06:54 +02:00
Robin Eklind
98e97351b9 control: rename attribute_inc_rects to ChrBtnsRect
Rationale described in sanctuary/notes@541e63f85a
as included below:

Note, the ChrBtnsRect global doesn't have PSX debug info.
However, the functionality correspond to that of InvRect
of inv.h. Moreover, the we may infer the name from the
function CheckChrBtns, and simply combine the two names.
2019-08-18 07:44:52 +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
5ab9f4609a Clean up signedness 2019-07-21 00:57:53 +02:00
Anders Jenbo
e2bff090d6 Come up with names for all remaning arguments 2019-07-21 00:57:53 +02:00
Anders Jenbo
aa50489569 Clean up generated comments 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
4cbf8c9ec3 Rename global pCelBuff to pSPentSpn2Cels
This is to avoid confusion, as pCelBuff is also
commonly used as a parameter name.

The naming follows the convention used by
TextBox2.CEL and TextSlid.CEL, as seen in
stores.cpp

	pSTextBoxCels = LoadFileInMem("Data\\TextBox2.CEL", NULL);
	pSPentSpn2Cels = LoadFileInMem("Data\\PentSpn2.CEL", NULL);
	pSTextSlidCels = LoadFileInMem("Data\\TextSlid.CEL", NULL);
2019-07-16 02:13:16 +02:00