Anders Jenbo
54c73f740c
clean up redundant code
2019-03-30 17:14:16 +01:00
qndel
ea8167582e
items.cpp - SpawnQuestItem bin exact ( #797 )
2019-03-30 11:52:17 +01:00
qndel
86ba2dc2ae
items.cpp - SetupItem bin exact + changed some flags from int to BOOL
2019-03-30 11:43:31 +01:00
qndel
21f60b9ae5
items.cpp - GetItemAttrs bin exact
2019-03-30 11:35:57 +01:00
Anders Jenbo
2d8ca24220
Clean up ItemSpaceOk ( #757 )
2019-03-28 09:50:14 +09:00
galaxyhaxz
a29c75a3a2
Fix a few func/var names ( #731 )
2019-03-24 05:54:44 -05:00
galaxyhaxz
9cb7cd15b8
Cleanup DrawSLine/ULine ( #690 )
2019-03-19 15:38:57 +09:00
Anders Jenbo
5ef1c76289
Clean up ItemPlace ( #683 )
2019-03-19 15:33:20 +09:00
galaxyhaxz
87a0846a38
Clean CPrintString + Font index ( #687 )
2019-03-18 22:24:23 -05:00
Anders Jenbo
aff6ff86d1
Clean up Items.cpp
...
* Clean up ItemMinStats
* Clean up CalcPlrItemMin
2019-03-19 00:54:21 +01:00
galaxyhaxz
befd52c003
Fix type for 'gpBuffer' ( #672 )
2019-03-18 22:28:38 +09:00
Anders Jenbo
b209bebcaf
StoreStatOk bin exact ( #670 )
2019-03-18 11:28:11 +09: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
f281178672
Clean up appfat.cpp ( #585 )
...
* Clean up appfat.cpp
GetErrorStr, TraceErrorDD, TraceErrorDS, TraceLastError, DDErrMsg,
DSErrMsg, ErrDlg, ErrOkDlg, DirErrorDlg, InsertCDDlg, FuncDlg,
init_cleanup, FreeDlg, center_window
* Fix style
2019-01-27 00:31:42 +01:00
Anders Jenbo
518134dd33
Clean up SortSmith, SortWitch & SortHealer
2019-01-23 23:11:14 +01:00
Anders Jenbo
62b48e4788
All items list ( #567 )
...
* Clean up RndAllItems
* Clean up SmithItemOk
* Clean PremiumItemOk
* Clean RndSmithItem
* Clean up RndPremiumItem
* Clean up RndBoyItem
* Clean up RndHealerItem
* Clean up RndWitchItem
* Clean up WitchItemOk
2019-01-14 19:06:45 +01:00
Anders Jenbo
3812287dd5
Clean up AllItemsList related code ( #565 )
...
* Clean up ItemMiscIdIdx
* Clean up RndItem
* Clean up RndUItem
2019-01-14 16:48:59 +01:00
Anders Jenbo
eb0b4047be
Correct registeres used in GetItemSpace
2019-01-06 01:43:16 +01:00
Anders Jenbo
220849d10b
Clean up GetItemSpace
2019-01-06 01:43:16 +01:00
Robin Eklind
e915623726
rename SetCursor to SetCursor_ to avoid collision with windows.h
...
Translation done automatically using:
$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
2018-12-30 03:19:10 +01:00
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
2018-12-29 17:54:22 +01:00
Anders Jenbo
4a62a7c678
Code style
2018-12-29 02:15:20 +01:00
Anders Jenbo
5bc5da3597
Clean up DeltaLoadLevel
2018-12-22 13:23:59 +01:00
Anders Jenbo
b4fe143e29
Add player_weapon_type
2018-12-07 23:54:39 +01:00
Anders Jenbo
23897a640b
Correct types
2018-11-26 14:14:55 +01:00
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
2018-11-26 12:35:03 +01:00
galaxyhaxz
83e817a9bb
Fix CreateMagicItem and cheat cmd ( #460 )
2018-11-12 15:26:36 -06:00
galaxyhaxz
86f00145f8
Remove empty_string garbage
2018-11-06 09:42:27 +01:00
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
2018-11-04 22:27:26 +01:00
Anders Jenbo
c0fd7b65fe
Correct some BOOL types
2018-11-04 20:13:51 +01:00
Anders Jenbo
04b19f604d
Monster.cpp ( #443 )
...
* Clean up MAI_Golum
* Clean up MAI_Garbud
* Clean up MAI_Lachdanan
* Clean up DeleteMonsterList
* Clean up FreeMonsters
* Define enums for resistance
* Correct AddPanelString input
* Correct pinfoflag type
* Define monster_goal
* apply enum to _pIFlags
* Correct DeleteMonsterList
* Add TODO for possible bug fix.
2018-10-31 15:26:03 +01:00
galaxyhaxz
b4e158a29d
Cleanup UseItem ( #445 )
2018-10-30 09:06:28 +01:00
Anders Jenbo
0fb5c0bf9c
Additional tab indentation
2018-10-27 17:38:40 +02:00
Anders Jenbo
480bbe8c63
Apply missile_id and align spells table
2018-10-27 17:20:15 +02:00
Anders Jenbo
b1f6d3698f
Update style to use tabs
2018-10-25 22:53:04 +02:00
Anders Jenbo
596f244f50
Align structured data tables
2018-10-23 19:28:22 +02:00
Anders Jenbo
0f3091efac
Format items.cpp
2018-10-22 02:03:58 +02:00
Andrew Dunstan
594ef2e95b
add inline assembly code for drawing semi-transparent rectangles
2018-10-21 17:22:59 +02:00
Andrew Dunstan
47244b9f3c
clean all On_* functions
2018-10-20 14:42:59 +02:00
Andrew Dunstan
1430acc47f
msg.cpp cleanup part #0
2018-10-18 02:37:33 +02:00
Anders Jenbo
48a1035d4a
Remove unused varialbes
2018-10-12 11:04:23 +02:00
Anders Jenbo
7a5c283db2
Clean up CalcPlrStaff
2018-10-11 16:08:46 +02:00
Anders Jenbo
8ef6488acf
Clean up CalcPlrScrolls
2018-10-11 16:08:46 +02:00
Anders Jenbo
51d838841f
Clean up OperateBook
2018-10-11 16:05:12 +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
Anders Jenbo
4d8ceea32d
Types ( #395 )
...
* Apply plr_class
* Apply attribute_id
* NetSendCmd*(BOOL)
2018-10-08 14:17:05 +02:00
Anders Jenbo
411fa9f24a
Add enumds for _pgfxnum and fully use inv_body_loc ( #392 )
...
* Add enumds for _pgfxnum and fully use inv_body_loc
* _iIdentified is BOOL
* _pgfxnum
2018-10-07 11:04:22 +02:00
squidcc
7c1d00d15c
Finish cleaning player.cpp ( #365 )
...
* clean RespawnDeadItem
clean PM_ChangeLightOffset
Clean PlrDeadItem (exact)
* fix typo in PlrDeadItem
* Fix PM_ChangeLightOff (exact)
* Fix remaning issues with RespawnDeadItem
2018-10-05 19:42:03 +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