Jump to content

intern35

Inactive Member
  • Posts

    6
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by intern35

  1. I don't know exactly what the problem is, because the screenshot doesn't work,
    but I can recommend adding systems as in the example below, at least you have a smaller chance to make a mistake while indexing them.

    GameType.h:

    #ifdef ENABLE_NEW_EQUIPMENT_SYSTEM
     
        const DWORD c_New_Equipment_Start = c_Equipment_Start + 21
    	#ifdef ENABLE_SASH_SYSTEM
    	+1
    	#endif
    	#ifdef ENABLE_COSTUME_WEAPON_SYSTEM
    	+1
    	#endif
    	;
     
        const DWORD c_New_Equipment_Count = 3;
        const DWORD c_Equipment_Ring1 = c_New_Equipment_Start + 0;
        const DWORD c_Equipment_Ring2 = c_New_Equipment_Start + 1;
        const DWORD c_Equipment_Belt  = c_New_Equipment_Start + 2;;
    #endif
    
    
    #ifdef ENABLE_COSTUME_SYSTEM
    	const DWORD c_Costume_Slot_Start	= c_Equipment_Start + 19;
    	const DWORD	c_Costume_Slot_Body		= c_Costume_Slot_Start + 0;
    	const DWORD	c_Costume_Slot_Hair		= c_Costume_Slot_Start + 1;
    	#ifdef ENABLE_SASH_SYSTEM
    		const DWORD	c_Costume_Slot_Sash		= c_Costume_Slot_Start + 2;
    	#endif
    	#ifdef ENABLE_COSTUME_WEAPON_SYSTEM
    		const DWORD c_Costume_Slot_Weapon 	= c_Costume_Slot_Start + 3;
    	#endif
    	
    
    	const DWORD c_Costume_Slot_Count = 2
    	#ifdef ENABLE_SASH_SYSTEM
    	+1
    	#endif
    	#ifdef ENABLE_COSTUME_WEAPON_SYSTEM
    	+1
    	#endif
    	;
    
    	const DWORD c_Costume_Slot_End		= c_Costume_Slot_Start + c_Costume_Slot_Count;
    #endif

     

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.