30.12.2016, 17:05
viendo un fs, veo este cуdigo que no se como funciona y para que sirve
tambiйn lo tiene dentro de enumeradores
sй que es el preprocesador pero como funciona?, no me pasen el tutorial en inglйs.
Код:
#if defined COMPILE_MANGLE #include "tstudio\mangle.pwn" #endif
Код:
// Object information ENUM enum OBJECTINFO { oID, // Object id #if defined COMPILE_MANGLE oCAID, // ColAndreas index #endif oGroup, // Object group oModel, // Object Model Text3D:oTextID, // Object 3d text label Float:oX, // Position Z Float:oY, // Position Z Float:oZ, // Position Z Float:oRX, // Rotation Z Float:oRY, // Rotation Z Float:oRZ, // Rotation Z oTexIndex[MAX_MATERIALS], // Texture index ref oColorIndex[MAX_MATERIALS], // Material List ousetext, // Use text oFontFace, // Font face reference oFontSize, // Font size reference oFontBold, // Font bold oFontColor, // Font color oBackColor, // Font back color oAlignment, // Font alignment oTextFontSize, // Font text size oObjectText[MAX_TEXT_LENGTH], // Font text oAttachedVehicle, // Vehicle object is attached to }