You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is for tracking the status of converting the project to C in order to get things more binary exact.
General issue
storm.h isn't loaded in a way that allows the compiler to recognize the function names.
diabloui.h isn't loaded in a way that allows the compiler to recognize the function names.
static float *_cpp_init_value = INFINITY; this was probably put here by the compiler because of crtical sections or similar and should be safe to remove for now.
ddraw.h isn't being referenced in a way that allows the compiler to recognize the structure memberse.
dsound.h isn't being referenced in a way that allows the compiler to recognize the structure memberse.
We need a C replacment for init_event, this is relatet to the _cpp_init_ structures. C init #549
dthread.cpp
dx.cpp init
logging.cpp
fault.cpp
msgcmd.cpp
nthread.cpp
Some functions still use C++ only helpers (__ROR2__, __ROR4__, __OFSUB__)
This issue is for tracking the status of converting the project to C in order to get things more binary exact.
General issue
storm.hisn't loaded in a way that allows the compiler to recognize the function names.diabloui.hisn't loaded in a way that allows the compiler to recognize the function names.static float *_cpp_init_value = INFINITY;this was probably put here by the compiler because of crtical sections or similar and should be safe to remove for now.ddraw.hisn't being referenced in a way that allows the compiler to recognize the structure memberse.dsound.hisn't being referenced in a way that allows the compiler to recognize the structure memberse.init_event, this is relatet to the_cpp_init_structures. C init #549__ROR2__,__ROR4__,__OFSUB__)DrawSpellCelReplace __ROR4__ stdlib, make _ROR2__ C frindly #540CheckChrBtnscontrol_set_gold_cursDRLG_L3RiverClean up __OFSUB__ usage #539CelDecDatLightTransReplace __ROR4__ stdlib, make _ROR2__ C frindly #540Cel2DecDatLightTransReplace __ROR4__ stdlib, make _ROR2__ C frindly #540GetItemSpaceDoLightingClean up __OFSUB__ usage #539M_TryH2HHitClean up __OFSUB__ usage #539MAI_CounselorClean up __OFSUB__ usage #539AddSarcAddBarrelObj_FlameTrapObj_TrapMonstCheckDoorsOperateL1DoorOperateL2DoorStoreSellItemClean up __OFSUB__ usage #539S_SRepairEnterClean up __OFSUB__ usage #539S_WRechargeEnterClean up __OFSUB__ usage #539HealerBuyItemClean up __OFSUB__ usage #539CheckStoreBtnClean up __OFSUB__ usage #539File issues
deleteis being overloadedio.hwinuser.hchar szValueName[] = "Intro";unsigned char Dirs[16][16] = {...}needs to be rewritten in a C friendly way.LRESULTreturn type appears to not allowNULL, use0?mpqapi_open_archive(const char *pszArchive, ...)first parameter gives the following errors C4028, C4090, C4024char password[16] = PASSWORD_SINGLE;needs to be rewritten in a C friendly way.SFileReadFile(1,2,3,4,NULL)produce an errorasm_*the C compiler is unhappy with the inline format. Make inline statments C compatible #550asm_*dst & src are passed by references, this isn't allowed in C.