Robin Eklind
a2cdf16b28
Remove unused variable k in AddInitItems.
7 years ago
Anders Jenbo
ae43ac56e9
Update Source/items.cpp
...
Co-Authored-By: mewmew <mewmew@users.noreply.github.com>
7 years ago
Anders Jenbo
d2174e3454
Apply code style
7 years ago
Robin Eklind
9254e760c4
Revert "Update Source/items.cpp"
...
This reverts commit f966a5ca5b .
7 years ago
Anders Jenbo
f966a5ca5b
Update Source/items.cpp
...
Co-Authored-By: mewmew <mewmew@users.noreply.github.com>
7 years ago
Robin Eklind
fd6aee3d28
Update Source/items.cpp
7 years ago
Robin Eklind
4d7dd01886
Update Source/items.cpp
7 years ago
qndel
5237870bb5
AddInitItems almost bin exact
7 years ago
qndel
1012aada11
AddInitItems almost bin exact
7 years ago
Anders Jenbo
54c73f740c
clean up redundant code
7 years ago
qndel
ea8167582e
items.cpp - SpawnQuestItem bin exact ( #797 )
7 years ago
qndel
86ba2dc2ae
items.cpp - SetupItem bin exact + changed some flags from int to BOOL
7 years ago
qndel
21f60b9ae5
items.cpp - GetItemAttrs bin exact
7 years ago
Anders Jenbo
2d8ca24220
Clean up ItemSpaceOk ( #757 )
7 years ago
galaxyhaxz
a29c75a3a2
Fix a few func/var names ( #731 )
7 years ago
galaxyhaxz
9cb7cd15b8
Cleanup DrawSLine/ULine ( #690 )
7 years ago
Anders Jenbo
5ef1c76289
Clean up ItemPlace ( #683 )
7 years ago
galaxyhaxz
87a0846a38
Clean CPrintString + Font index ( #687 )
7 years ago
Anders Jenbo
aff6ff86d1
Clean up Items.cpp
...
* Clean up ItemMinStats
* Clean up CalcPlrItemMin
7 years ago
galaxyhaxz
befd52c003
Fix type for 'gpBuffer' ( #672 )
7 years ago
Anders Jenbo
b209bebcaf
StoreStatOk bin exact ( #670 )
7 years ago
galaxyhaxz
81f3f5daa2
Cleaning Engine CEL functions ( #652 )
...
* Cleaning Engine CEL functions
* Fix C functions
7 years ago
Xadhoom
5283a9ffd1
Put everything into namespace dvl
7 years ago
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
7 years ago
Anders Jenbo
518134dd33
Clean up SortSmith, SortWitch & SortHealer
7 years ago
Xadhoom
be85b3f9c5
64-bit clean items.cpp, lighting.cpp
7 years ago
Xadhoom
fa90e6720a
Revert random_ to random and remove extern "C" linkage
7 years ago
Xadhoom
3dd6cf1671
First try, merge compiles, but immediate crash
7 years ago
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
7 years ago
Anders Jenbo
3812287dd5
Clean up AllItemsList related code ( #565 )
...
* Clean up ItemMiscIdIdx
* Clean up RndItem
* Clean up RndUItem
7 years ago
Anders Jenbo
eb0b4047be
Correct registeres used in GetItemSpace
7 years ago
Anders Jenbo
220849d10b
Clean up GetItemSpace
7 years ago
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}_(' '{}'
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
Anders Jenbo
4a62a7c678
Code style
7 years ago
Anders Jenbo
5bc5da3597
Clean up DeltaLoadLevel
7 years ago
Anders Jenbo
b4fe143e29
Add player_weapon_type
7 years ago
Anders Jenbo
23897a640b
Correct types
7 years ago
Anders Jenbo
ab3a6208d2
Use "BOOLEAN" instead of "bool"
...
bool is not defined in C
7 years ago
galaxyhaxz
83e817a9bb
Fix CreateMagicItem and cheat cmd ( #460 )
7 years ago
galaxyhaxz
86f00145f8
Remove empty_string garbage
7 years ago
Anders Jenbo
507d12082f
Use MAXDUR* in most instances
7 years ago
Anders Jenbo
c0fd7b65fe
Correct some BOOL types
7 years ago
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.
7 years ago
galaxyhaxz
b4e158a29d
Cleanup UseItem ( #445 )
7 years ago
Anders Jenbo
0fb5c0bf9c
Additional tab indentation
7 years ago
Anders Jenbo
480bbe8c63
Apply missile_id and align spells table
7 years ago
Anders Jenbo
b1f6d3698f
Update style to use tabs
7 years ago
Anders Jenbo
596f244f50
Align structured data tables
8 years ago
Anders Jenbo
0f3091efac
Format items.cpp
8 years ago