short WINAPI DLLExport GetRunObjectInfos(mv _far * mV, fpKpxRunInfos infoPtr) { infoPtr->conditions = (LPBYTE)ConditionJumps; infoPtr->actions = (LPBYTE)ActionJumps; infoPtr->expressions = (LPBYTE)ExpressionJumps; infoPtr->numOfConditions = Conditions.size(); infoPtr->numOfActions = Actions.size(); infoPtr->numOfExpressions = Expressions.size(); infoPtr->editDataSize = sizeof(EDITDATA); MagicFlags(infoPtr->editFlags); infoPtr->windowProcPriority = WINDOWPROC_PRIORITY; MagicPrefs(infoPtr->editPrefs); infoPtr->editFlags = OEFLAG_VALUES | OEFLAG_SPRITES | OEFLAG_MOVEMENTS | OEFLAG_BACKSAVE | OEFLAG_SCROLLINGINDEPENDANT | OEFLAG_RUNBEFOREFADEIN | OEFLAG_NEVERKILL | OEFLAG_NEVERSLEEP; infoPtr->editPrefs = OEPREFS_BACKSAVE | OEPREFS_SCROLLINGINDEPENDANT | OEPREFS_LOADONCALL | OEPREFS_KILL | OEPREFS_INKEFFECTS; infoPtr->identifier = IDENTIFIER; infoPtr->version = 1; return TRUE; }
short WINAPI DLLExport GetRunObjectInfos(mv _far *mV, fpKpxRunInfos infoPtr) { infoPtr->conditions = (LPBYTE)ConditionJumps; infoPtr->actions = (LPBYTE)ActionJumps; infoPtr->expressions = (LPBYTE)ExpressionJumps; infoPtr->numOfConditions = Conditions.size(); infoPtr->numOfActions = Actions.size(); infoPtr->numOfExpressions = Expressions.size(); infoPtr->editDataSize = sizeof(EDITDATA); MagicFlags(infoPtr->editFlags); infoPtr->windowProcPriority = WINDOWPROC_PRIORITY; MagicPrefs(infoPtr->editPrefs); infoPtr->identifier = IDENTIFIER; #ifndef UNICODE //This is used so conversion between ASCII and Unicode EDITDATA is registered infoPtr->version = 3; #else //ASCII infoPtr->version = 4; #endif return TRUE; }
short WINAPI DLLExport GetRunObjectInfos(mv _far *mV, fpKpxRunInfos infoPtr) { infoPtr->conditions = (LPBYTE)ConditionJumps; infoPtr->actions = (LPBYTE)ActionJumps; infoPtr->expressions = (LPBYTE)ExpressionJumps; infoPtr->numOfConditions = Conditions.size(); infoPtr->numOfActions = Actions.size(); infoPtr->numOfExpressions = Expressions.size(); infoPtr->editDataSize = sizeof(EDITDATA); MagicFlags(infoPtr->editFlags); infoPtr->windowProcPriority = WINDOWPROC_PRIORITY; MagicPrefs(infoPtr->editPrefs); infoPtr->identifier = IDENTIFIER; infoPtr->version = 1; return TRUE; }