00001 //=================================================================================================// 00002 // filename: RmMFCUtilities.h // 00003 // // 00004 // author: Natasha Tatarchuk // 00005 // ATI Research, Inc. // 00006 // 3D Application Research Group // 00007 // // 00008 // Description: declaration file for RenderMonkey MFC internal utility classes (not exposed to the // 00009 // SDK developers) // 00010 // // 00011 //=================================================================================================// 00012 // (C) 2004 ATI Research, Inc. All rights reserved. // 00013 //=================================================================================================// 00014 00015 #include <MFCUtilities/RmMFCTypes.h> 00016 00017 //=================================================================================================// 00018 // Character Type for Parser 00019 //=================================================================================================// 00020 enum RmShaderCharType 00021 { 00022 RMSHADER_CHAR_WHITESPACE = 0, // tab, line feed, space 00023 RMSHADER_CHAR_NORMAL = 1, // Normal character ( a~z and underscore ), used for names, etc 00024 RMSHADER_CHAR_NUMBER = 2, // Number character ( 0~9 ), used for names, etc 00025 RMSHADER_CHAR_OPERATOR = 3 // +,-,* etc 00026 }; // End of RmShaderCharType 00027 00028 //============================================================================================== 00029 // Helper Functions 00030 //============================================================================================== 00031 00032 // Initialize chartypes 00033 void RmMFCShaderEditorSetupDefaultCharTypes( RmShaderCharType* pRmShaderCharTypeTable ); 00034 00035 #include <MFCUtilities/RmMFCEditorTextCtrl.h> 00036 #include <MFCUtilities/RmMFCShaderKeywordLoader.h> 00037 #include <MFCUtilities/RmMFCShaderSyntaxParser.h> 00038 #include <MFCUtilities/RmMFCShaderASMParser.h> 00039 #include <MFCUtilities/RmMFCShaderHLSLParser.h> 00040 #include <MFCUtilities/RmMFCShaderGLSLParser.h>
1.3.6