Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions addons/compat_cfp/compat_cfp_wardrobe/ace_wardrobe.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
class ace_wardrobe {
class ACEWARDROBE(base);
class ACEWARDROBE(base_H_goggles_on);
class ACEWARDROBE(base_H_goggles_off);
class ACEWARDROBE(base_U_sleeves_up);
class ACEWARDROBE(base_U_sleeves_down);
class ACEWARDROBE(base_U_gloves_on);

#include "ace_wardrobe_headgear.hpp"
#include "ace_wardrobe_uniforms.hpp"
#include "ace_wardrobe_goggles.hpp"
};
36 changes: 36 additions & 0 deletions addons/compat_cfp/compat_cfp_wardrobe/ace_wardrobe_goggles.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
class CFP_UA_Thermals_Blk: ACEWARDROBE(base) {
class modifiableTo {
class CFP_UA_Thermals_Blk_GPS {};
};
};
class CFP_UA_Thermals_Blk_GPS: ACEWARDROBE(base) {
class modifiableTo {
class CFP_UA_Thermals_Blk {};
};
components[] = {QUOTE(CFP_Foretex)};
};

#define NECKWRAP_GLASSES(NeckwrapBase,NeckwrapGlasses,Glasses)\
class NeckwrapBase: ACEWARDROBE(base) {\
class modifiableTo {\
class NeckwrapGlasses {};\
};\
};\
class NeckwrapGlasses: ACEWARDROBE(base) {\
class modifiableTo {\
class NeckwrapBase {};\
};\
components[] = {QUOTE(Glasses)};\
}

NECKWRAP_GLASSES(CFP_Neck_Plain_Atacs,CFP_Neck_Wrap_Atacs,CUP_G_Oakleys_Clr);
NECKWRAP_GLASSES(CFP_Neck_Plain_Atacs2,CFP_Neck_Wrap_Atacs2,CUP_G_Oakleys_Clr);
NECKWRAP_GLASSES(CFP_Neck_Plain2,CFP_Neck_Wrap2,CUP_G_Oakleys_Clr);
NECKWRAP_GLASSES(CFP_Neck_Plain4,CFP_Neck_Wrap4,CUP_G_Oakleys_Clr);
NECKWRAP_GLASSES(CFP_Neck_Plain3,CFP_Neck_Wrap3,CUP_G_Oakleys_Clr);

// Shemags, but same structure
NECKWRAP_GLASSES(CFP_Scarfbeard_green,CFP_Scarfbeardshades_green,CUP_G_Oakleys_Clr);
NECKWRAP_GLASSES(CFP_Scarfbeard_grey,CFP_Scarfbeardshades_grey,CUP_G_Oakleys_Clr);
NECKWRAP_GLASSES(CFP_Scarfbeard_tan,CFP_Scarfbeardshades_tan,CUP_G_Oakleys_Clr);
NECKWRAP_GLASSES(CFP_Scarfbeard_white,CFP_Scarfbeardshades_white,CUP_G_Oakleys_Clr);
Loading