Go
to the documentation of this file.
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #pragma once
00019
00020 #include "imrTranslation.h"
00021 #include "..\maxheap.h"
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 class imrAdvancedTranslation : public imrTranslation {
00035
00036 public:
00037 enum miParam_type
00038 {
00039 miTYPE_BOOLEAN = 0,
00040 miTYPE_INTEGER,
00041 miTYPE_SCALAR,
00042 miTYPE_STRING,
00043 miTYPE_COLOR,
00044 miTYPE_VECTOR,
00045 miTYPE_TRANSFORM,
00046 miTYPE_SHADER,
00047 miTYPE_SCALAR_TEX,
00048 miTYPE_COLOR_TEX,
00049 miTYPE_VECTOR_TEX,
00050 miTYPE_LIGHT,
00051 miTYPE_STRUCT,
00052 miTYPE_ARRAY,
00053 miTYPE_TEX,
00054 miTYPE_MATERIAL,
00055 miTYPE_GEOMETRY,
00056 miTYPE_LIGHTPROFILE,
00057 miTYPE_DATA,
00058 miNTYPES
00059 };
00060
00061 enum miBoolean
00062 {
00063 miFALSE = 0,
00064 miTRUE = 1
00065 };
00066
00067 virtual miBoolean mi_api_parameter_name (char *) = 0;
00068 virtual miBoolean mi_api_parameter_value (miParam_type, void *, int *, int *) = 0;
00069 virtual miBoolean mi_api_parameter_push (miBoolean) = 0;
00070 virtual miBoolean mi_api_parameter_pop (void) = 0;
00071 virtual miBoolean mi_api_new_array_element (void) = 0;
00072
00073 virtual char* _mi_mem_strdup(const char*) = 0;
00074 virtual void _mi_mem_release(void*) = 0;
00075 virtual void* _mi_mem_allocate(int) = 0;
00076 };