Page principale | Liste des namespaces | Hiérarchie des classes | Liste par ordre alphabétique | Liste des composants | Liste des fichiers | Membres des namespaces | Composants | Déclarations

# ExCAction.h

Aller à la documentation de ce fichier.

    00001 /************************************************************************/
    00002 /* Ex Nihlo Engine by Hermanns Christophe                                                               */
    00003 /************************************************************************/
    00004 /* This program is free software; you can redistribute it and/or                */
    00005 /* modify it under the terms of the GNU General Public License                  */
    00006 /* as published by the Free Software Foundation; either version 2               */
    00007 /* of the License, or (at your option) any later version.                               */
    00008 /*                                                                                                                                              */
    00009 /* This program is distributed in the hope that it will be useful,              */
    00010 /* but WITHOUT ANY WARRANTY; without even the implied warranty of               */
    00011 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                                 */
    00012 /*                                                                                                                                              */
    00013 /* See the GNU General Public License for more details.                                 */
    00014 /*                                                                                                                                              */
    00015 /* You should have received a copy of the GNU General Public License    */
    00016 /* along with this program; if not, write to the Free Software                  */
    00017 /* Foundation, Inc., 59 Temple Place - Suite 330,                                               */
    00018 /* Boston, MA  02111-1307, USA.                                                                                 */
    00019 /*                                                                                                                                              */
    00020 /* If you use a important part of this code please send me a mail               */
    00021 /* I just want to see where my code go thks :)                                                  */
    00022 /************************************************************************/
    00023
    00024 /************************************************************************/
    00025 /* Contact                                                              */
    00026 /************************************************************************/
    00027 /* ExNihilo Website :www.ploksoftware.org                               */
    00028 /*                                                                      */
    00029 /* Hermanns Christophe ExNihilo creator and main programmer             */
    00030 /*                                                                      */
    00031 /* Mail             : Data@ploksoftware.org                                                             */
    00032 /* ICQ              : 8030901                                                                                   */
    00033 /* MSN Messenger    : Data_7@hotmail.com                                                                */
    00034 /*                                                                      */
    00035 /* Benjamin Michotte Linux port, webmaster                              */
    00036 /*                                                                      */
    00037 /* Mail             :binny@ploksoftware.org                             */
    00038 /*                                                                      */
    00039 /************************************************************************/
    00040
    00041 /************************************************************************/
    00042 /* File Description                                                                                             */
    00043 /************************************************************************/
    00044 /* File Name   :ExCAction.h                                                                             */
    00045 /*                                                                                                                                              */
    00046 /* Star Date   :03/15/2002                                                                                              */
    00047 /*                                                                                                                                              */
    00048 /* Last Update :                                                        */
    00049
    00050
    00051 #ifndef __EXCACTION_H__
    00052 #define __EXCACTION_H__
    00053 //--------------------------------
    00054 // File to include
    00055 //--------------------------------
    00056 #include "ExDefine.h"
    00057 //--------------------------------
    00058 class ExCAction
    00059 {
    00060 protected:
    00061 //--------------------------------
    00062 // Variable
    00063 //--------------------------------
    00064 public:
    00065         int                                                     m_Action;                       //action id
    00066         int                                                     m_ActionNumber;         //action number if there is more than one action chained
    00067
    00068         std::vector<std::string>        m_VecParam;                     //vecteur of param
    00069
    00070         std::string                                     m_Param;                        //action parameter
    00071         std::string                                     m_Param1;                       //action parameter
    00072         std::string                                     m_Param2;                       //action parameter
    00073
    00074         double                                          m_StartingLife;         //time when action is create
    00075         double                                          m_ExecutingLife;        //time when action will be executed
    00076         bool                                            m_executed;                     //flag if action is executed
    00077
    00078         int                                                     m_NumberOfExecution;//-1 if inf
    00079         ExCAction                                       *m_NextAction;  // to next action to chain action
    00080
    00081 //--------------------------------
    00082 // Constructor // Destructor
    00083 //--------------------------------
    00084    ExCAction();
    00085    ExCAction(const ExCAction& Action);
    00086    ExCAction(int Action);
    00087    ExCAction(int Action, std::string Param);
    00088    ExCAction(int Action, std::string Param, std::string Param1);
    00089    ExCAction(int Action, std::string Param, std::string Param1, std::string Param2);
    00090    ~ExCAction();
    00091 //--------------------------------
    00092 // Methode
    00093 //--------------------------------
    00094    inline void SetParam(std::string Param){m_Param=Param;}
    00095    inline void SetParam1(std::string Param){m_Param1=Param;}
    00096    inline void SetParam2(std::string Param){m_Param2=Param;}
    00097    inline std::string GetParam(void){return m_Param;}
    00098    inline std::string GetParam1(void){return m_Param1;}
    00099    inline std::string GetParam2(void){return m_Param2;}
    00100
    00101    void SetParam(int ParamNumber,std::string Param);
    00102
    00103    int  GetParamAsInt(int ParamNumber);
    00104    float GetParamAsFloat(int ParamNumber);
    00105    std::string GetParam(int ParamNumber);
    00106    double  GetParamAsDouble(int ParamNumber);
    00107    bool GetParamAsBool(int ParamNumber);
    00108    inline int GetNumberParam(void){return (int) m_VecParam.size();}
    00109
    00110    bool AllActionDone();
    00111    //--------------------------------
    00112 // friends
    00113 //--------------------------------
    00114         friend std::ostream& operator<<(std::ostream& s,const ExCAction &action);
    00115         friend std::ostrstream& operator<<(std::ostrstream& s,const ExCAction &action);
    00116 };
    00117 //--------------------------------------------------------------
    00118 //Action list for manager
    00119 //--------------------------------------------------------------
    00120 #define START_BASIC_ACTION_MAP                                          30000
    00121         #define NOTHING                                                                 0
    00122         #define QUIT                                                                    30001
    00123         #define RESET                                                                   30002
    00124         #define RELOAD                                                                  30003
    00125 #define END_BASIC_ACTION_MAP                                            30098
    00126 //-----------------------------
    00127 //Cammera Action start at 30100
    00128 //-----------------------------
    00129 #define START_CAMERA_ACTION_MAP                                         30099
    00130         #define CAMERA_CURRENT_START_ROTATEX_UP                 30100
    00131         #define CAMERA_CURRENT_STOP_ROTATEX_UP                  30101
    00132         #define CAMERA_CURRENT_ROTATEX_UP                               30102
    00133
    00134         #define CAMERA_CURRENT_START_ROTATEX_DOWN               30103
    00135         #define CAMERA_CURRENT_STOP_ROTATEX_DOWN                30104
    00136         #define CAMERA_CURRENT_ROTATEX_DOWN                             30105
    00137
    00138         #define CAMERA_CURRENT_START_ROTATEY_UP                 30106
    00139         #define CAMERA_CURRENT_STOP_ROTATEY_UP                  30107
    00140         #define CAMERA_CURRENT_ROTATEY_UP                               30108
    00141
    00142         #define CAMERA_CURRENT_START_ROTATEY_DOWN               30109
    00143         #define CAMERA_CURRENT_STOP_ROTATEY_DOWN                30110
    00144         #define CAMERA_CURRENT_ROTATEY_DOWN                             30111
    00145
    00146         #define CAMERA_CURRENT_START_ROTATEZ_UP                 30112
    00147         #define CAMERA_CURRENT_STOP_ROTATEZ_UP                  30113
    00148         #define CAMERA_CURRENT_ROTATEZ_UP                               30114
    00149
    00150         #define CAMERA_CURRENT_START_ROTATEZ_DOWN               30115
    00151         #define CAMERA_CURRENT_STOP_ROTATEZ_DOWN                30116
    00152         #define CAMERA_CURRENT_ROTATEZ_DOWN                             30117
    00153
    00154         #define CAMERA_CURRENT_START_INCREASE_SPEED             30121
    00155         #define CAMERA_CURRENT_STOP_INCREASE_SPEED              30122
    00156         #define CAMERA_CURRENT_INCREASE_SPEED                   30123
    00157
    00158         #define CAMERA_CURRENT_START_DECREASE_SPEED             30124
    00159         #define CAMERA_CURRENT_STOP_DECREASE_SPEED              30125
    00160         #define CAMERA_CURRENT_DECREASE_SPEED                   30126
    00161
    00162         #define CAMERA_CURRENT_FULL_STOP                                30127
    00163
    00164         #define CAMERA_NEXT_CAM                                                 30128
    00165         #define CAMERA_PREV_CAM                                                 30129
    00166
    00167         #define CAMERA_CURRENT_START_INCREASE_ZOOM              30130
    00168         #define CAMERA_CURRENT_STOP_INCREASE_ZOOM               30131
    00169         #define CAMERA_CURRENT_INCREASE_ZOOM                    30132
    00170
    00171         #define CAMERA_CURRENT_START_DECREASE_ZOOM              30133
    00172         #define CAMERA_CURRENT_STOP_DECREASE_ZOOM               30134
    00173         #define CAMERA_CURRENT_DECREASE_ZOOM                    30135
    00174
    00175         #define CAMERA_SET_POS_X                                                30136
    00176         #define CAMERA_SET_POS_Y                                                30137
    00177         #define CAMERA_SET_POS_Z                                                30138
    00178         #define CAMERA_SET_TARGET_POS_X                                 30139
    00179         #define CAMERA_SET_TARGET_POS_Y                                 30140
    00180         #define CAMERA_SET_TARGET_POS_Z                                 30141
    00181         #define CAMERA_SET_ANGLE_X                                              30142
    00182         #define CAMERA_SET_ANGLE_Y                                              30143
    00183         #define CAMERA_SET_ANGLE_Z                                              30144
    00184         //for chase cam
    00185         #define CAMERA_CURRENT_START_INCREASE_AROUND    30145
    00186         #define CAMERA_CURRENT_STOP_INCREASE_AROUND             30146
    00187         #define CAMERA_CURRENT_START_DECREASE_AROUND    30147
    00188         #define CAMERA_CURRENT_STOP_DECREASE_AROUND             30148
    00189         #define CAMERA_CURRENT_SET_AROUND                               30149
    00190
    00191         #define CAMERA_CURRENT_START_INCREASE_DISTANCE  30150
    00192         #define CAMERA_CURRENT_STOP_INCREASE_DISTANCE   30151
    00193         #define CAMERA_CURRENT_START_DECREASE_DISTANCE  30152
    00194         #define CAMERA_CURRENT_STOP_DECREASE_DISTANCE   30153
    00195         #define CAMERA_CURRENT_SET_DISTANCE                             30154
    00196
    00197         #define CAMERA_CURRENT_START_INCREASE_HEIGHT    30155
    00198         #define CAMERA_CURRENT_STOP_INCREASE_HEIGHT             30156
    00199         #define CAMERA_CURRENT_START_DECREASE_HEIGHT    30157
    00200         #define CAMERA_CURRENT_STOP_DECREASE_HEIGHT             30158
    00201         #define CAMERA_CURRENT_SET_HEIGHT                               30159
    00202
    00203         #define RELOAD_MANAGER_CAMERA                                   30160
    00204
    00205         #define CAMERA_CURRENT_SHOW_INFO                                30161
    00206         #define CAMERA_CURRENT_HIDE_INFO                                30162
    00207
    00208 #define END_CAMERA_ACTION_MAP                                           30198
    00209 //-----------------------------
    00210 //Sound Action start at 30300
    00211 //-----------------------------
    00212 #define START_SOUND_ACTION_MAP                                          30299
    00213         #define LIST_SOUND                                                              30300
    00214         #define REMOVE_SOUND                                                    30301
    00215         #define PLAY_SOUND                                                              30302
    00216         #define STOP_SOUND                                                              30303
    00217         #define SET_REPEATS_SOUND                                               30304
    00218         #define GET_REPEATS_SOUND                                               30305
    00219         #define ADD_SOUND                                                               30306
    00220         #define PAUSE_SOUND                                                             30307
    00221         #define RELOAD_MANAGER_SOUND                                    30308
    00222 #define END_SOUND_ACTION_MAP                                            30398
    00223 //-------------------------------
    00224 //Interface Action start at 30400
    00225 //-------------------------------
    00226 #define START_INTERFACE_ACTION_MAP                                      30399
    00227         #define SHOW_INTERFACE_REGION                                   30400
    00228         #define HIDE_INTERFACE_REGION                                   30401
    00229         #define LIST_INTERFACE                                                  30402
    00230         #define ENABLE_INTERFACE                                                30403
    00231         #define DISABLE_INTERFACE                                               30404
    00232         #define ADD_INTERFACE                                                   30405
    00233         #define ENABLE_ALL_INTERFACE                                    30406
    00234         #define DISABLE_ALL_INTERFACE                                   30407
    00235         #define RELOAD_MANAGER_INTERFACE                                30408
    00236 #define END_INTERFACE_ACTION_MAP                                        30498
    00237 //-------------------------------
    00238 //Map Action start at 30500
    00239 //-------------------------------
    00240 #define START_MAP_ACTION_MAP                                            30499
    00241         #define SHOW_MAP_SKY_BOX                                                30500
    00242         #define HIDE_MAP_SKY_BOX                                                30501
    00243         #define SHOW_MAP_MESH                                                   30502
    00244         #define HIDE_MAP_MESH                                                   30503
    00245         #define ENABLE_MAP_OCTREE                                               30504
    00246         #define DISABLE_MAP_OCTREE                                              30505
    00247         #define SHOW_MAP_OCTREE_SUBDIVISON                              30506
    00248         #define HIDE_MAP_OCTREE_SUBDIVISON                              30507
    00249         #define HEIGHTMAP_INCREASE_DETAIL_LEVEL                 30508
    00250         #define HEIGHTMAP_DECREASE_DETAIL_LEVEL                 30509
    00251         #define HEIGHTMAP_ENABLE_FOG                                    30510
    00252         #define HEIGHTMAP_DISABLE_FOG                                   30511
    00253         #define HEIGHTMAP_SWITCH_FOG                                    30512
    00254         #define HEIGHTMAP_INCREASE_FOG_DEPHT_LEVEL              30513
    00255         #define HEIGHTMAP_DECREASE_FOG_DEPHT_LEVEL              30514
    00256         #define HEIGHTMAP_INCREASE_TEXTURE_2_REPETITION 30515
    00257         #define HEIGHTMAP_DECREASE_TEXTURE_2_REPETITION 30516
    00258         #define RELOAD_MANAGER_MAP                                              30517
    00259 #define END_MAP_ACTION_MAP                                                      30594
    00260
    00261 //-------------------------------
    00262 //fog Action start at 30600
    00263 //-------------------------------
    00264 #define START_FOG_ACTION_MAP                                            30599
    00265         #define ENABLE_FOG                                                              30600
    00266         #define DISABEL_FOG                                                             30601
    00267         #define SET_FOG_COLOR_R                                                 30602
    00268         #define SET_FOG_COLOR_G                                                 30603
    00269         #define SET_FOG_COLOR_B                                                 30604
    00270         #define SET_FOG_START_POINT                                             30605
    00271         #define SET_FOG_END_POINT                                               30606
    00272         #define SET_FOG_DENSITY                                                 30607
    00273         #define SET_FOG_ALGO_LINEAR                                             30608
    00274         #define SET_FOG_ALGO_EXP2                                               30609
    00275         #define SET_FOG_ALGO_EXP                                                30610
    00276         #define RELOAD_MANAGER_FOG                                              30611
    00277 #define END_FOG_ACTION_MAP                                                      30698
    00278 //---------------------------------------
    00279 //Particule systeme Action start at 30700
    00280 //---------------------------------------
    00281 #define START_PARTICULESYSTEME_ACTION_MAP                       30699
    00282         #define LOAD_PARTICULESYSTEME                                   30700
    00283         #define STAR_PARTICULESYSTEME                                   30701
    00284         #define STOP_PARTICULESYSTEME                                   30702
    00285         #define PAUSE_PARTICULESYSTEME                                  30703
    00286         #define STAR_ALL_PARTICULESYSTEME                               30704
    00287         #define STOP_ALL_PARTICULESYSTEME                               30705
    00288         #define PAUSE_ALL_PARTICULESYSTEME                              30706
    00289         #define LIST_PARTICULESYSTEME                                   30707
    00290         #define RELOAD_MANAGER_PARTICULESYSTEME                 30708
    00291 #define END_PARTICULESYSTEME_ACTION_MAP                         30799
    00292
    00293 //-----------------------------
    00294 //Consol Action start at 30800
    00295 //-----------------------------
    00296 #define START_CONSOL_ACTION_MAP                                         30800
    00297         #define ENABLE_CONSOL_BACKGROUND_TEXTURE                30801
    00298         #define DISABLE_CONSOL_BACKGROUND_TEXTURE               30802
    00299         #define SET_CONSOL_BACKGROUND_TEXURE                    30803
    00300         #define SET_CONSOL_BACKGROUND_COLOR                             30804
    00301         #define SET_CONSOL_BACKGROUND_COLOR_BLUE                30805
    00302         #define SET_CONSOL_BACKGROUND_COLOR_GREEN               30806
    00303         #define SET_CONSOL_BACKGROUND_COLOR_RED                 30807
    00304         #define ENABLE_CONSOL_BACKGROUND_BLENDING               30809
    00305         #define DISABLE_CONSOL_BACKGROUND_BLENDING              30810
    00306         #define SET_CONSOL_BACKGROUND_BLENDING                  30811
    00307         #define SHOW_FULL_CONSOL                                                30812
    00308         #define SHOW_HALF_CONSOL                                                30813
    00309         #define HIDE_CONSOL                                                             30814
    00310         #define CONSOL_NEXT_AVIABLE_STATE                               30815
    00311         #define CONSOL_LINE_UP                                                  30816
    00312         #define CONSOL_LINE_DOWN                                                30817
    00313         #define RELOAD_MANAGER_CONSOL                                   30818
    00314 #define END_CONSOL_ACTION_MAP                                           30899
    00315 //-----------------------------
    00316 //Model Action start at 30900
    00317 //-----------------------------
    00318 #define START_MODEL_ACTION_MAP                                          30900
    00319         //MANAGER ACTION
    00320         #define LIST                                                                    30901
    00321         #define SET_CURRENT_OBJECT_BY_ID                                30902
    00322         #define SET_CURRENT_OBJECT_BY_NAME                              30903
    00323         //MODEL ACTION
    00324         #define NEXT_FRAME                                                              30904
    00325         #define PREVIOUS_FRAME                                                  30905
    00326         #define SET_CURENT_FRAME                                                30906
    00327         //---------------------------------------------------
    00328         #define TURN_LEFT                                                               30940
    00329         #define TURN_RIGHT                                                              30941
    00330         #define LOOK_UP                                                                 30942
    00331         #define LOOK_DOWN                                                               30943
    00332         #define START_RUN                                                               30950
    00333         #define STOP_RUN                                                                30951
    00334         #define START_ACTION                                                    30952
    00335         #define STOP_ACTION                                                             30953
    00336         //---------------------------------------------------
    00337         #define MODEL_SET_POS_X                                                 30954
    00338         #define MODEL_SET_POS_Y                                                 30955
    00339         #define MODEL_SET_POS_Z                                                 30956
    00340         #define MODEL_SET_ANGLE_X                                               30957
    00341         #define MODEL_SET_ANGLE_Y                                               30958
    00342         #define MODEL_SET_ANGLE_Z                                               30959
    00343         #define MODEL_SET_ACTION                                                30960
    00344         #define MODEL_LOAD_WITH_NAME                                    30961
    00345         #define MODEL_LOAD                                                              30962
    00346         //-----------
    00347         #define MODEL_START_ROTATE_Y_DOWN                               30963
    00348         #define MODEL_STOP_ROTATE_Y_DOWN                                30964
    00349         #define MODEL_START_ROTATE_Y_UP                                 30965
    00350         #define MODEL_STOP_ROTATE_Y_UP                                  30966
    00351
    00352         #define MODEL_START_ROTATE_Z_DOWN                               30967
    00353         #define MODEL_STOP_ROTATE_Z_DOWN                                30968
    00354         #define MODEL_START_ROTATE_Z_UP                                 30969
    00355         #define MODEL_STOP_ROTATE_Z_UP                                  30970
    00356
    00357         #define MODEL_START_ROTATE_X_DOWN                               30971
    00358         #define MODEL_STOP_ROTATE_X_DOWN                                30972
    00359         #define MODEL_START_ROTATE_X_UP                                 30973
    00360         #define MODEL_STOP_ROTATE_X_UP                                  30974
    00361
    00362         #define MODEL_START_MOVE_FORWARD                                30975
    00363         #define MODEL_STOP_MOVE_FORWARD                                 30976
    00364         #define MODEL_JUMP                                                              30977
    00365         #define MODEL_NEXT_MODEL                                                30978
    00366         #define MODEL_PREV_MODEL                                                30979
    00367         #define MODEL_STOP_ALL                                                  30980
    00368         #define MODEL_SHOW_COLLISION_SPHERE                             30981
    00369         #define MODEL_START_STRAFE_LEFT                                 30982
    00370         #define MODEL_STOP_STRAFE_LEFT                                  30983
    00371         #define MODEL_START_STRAFE_RIGHT                                30984
    00372         #define MODEL_STOP_STREFA_RIGHT                                 30985
    00373         #define MANAGER_MODEL_RELOAD                                    30986
    00374         #define MODEL_TOGGLE_VISIBLESTATE                               30987
    00375         #define MODEL_HIDE                                                              30988
    00376         #define MODEL_SHOW                                                              30989
    00377         #define MODEL_TOGGLE_ALWAYS_DRAW                                30990
    00378         #define MODEL_ALWAYS_DRAW_ON                                    30991
    00379         #define MODEL_ALWAYS_DRAW_OFF                                   30992
    00380
    00381         #define MODEL_SET_RENDER_MODE                                   30993
    00382 #define END_MODEL_ACTION_MAP                                            30999
    00383 //-----------------------------
    00384 //Main Window Action start at 31100
    00385 //-----------------------------
    00386 #define START_WINDOW_ACTION_MAP                                         31100
    00387         #define SHOW_FPS_STAT                                                   31101
    00388         #define HIDE_FPS_STAT                                                   31102
    00389         #define ENABLE_GRIDE                                                    31103
    00390         #define DISABLE_GRIDE                                                   31104
    00391         #define SWITCH_GRIDE                                                    31105
    00392         #define SET_RESOLUTION_800_600_16                               31106
    00393         #define SET_RESOLUTION_800_600_24                               31107
    00394         #define SET_RESOLUTION_800_600_32                               31108
    00395         #define SET_RESOLUTION_1024_768_16                              31109
    00396         #define SET_RESOLUTION_1024_768_24                              31110
    00397         #define SET_RESOLUTION_1024_768_32                              31111
    00398         #define SET_RESOLUTION_1600_1200_16                             31112
    00399         #define SET_RESOLUTION_1600_1200_24                             31113
    00400         #define SET_RESOLUTION_1600_1200_32                             31114
    00401         #define SET_POLYGONMODE_POINTS                                  31115
    00402         #define SET_POLYGONMODE_LINES                                   31116
    00403         #define SET_POLYGONMODE_FILL                                    31117
    00404         #define MANAGER_WINDOW_RELOAD                                   31118
    00405 #define END_WINDOW_ACTION_MAP                                           31199
    00406
    00407 //-----------------------------
    00408 //Command Action start at 31200
    00409 //-----------------------------
    00410 #define START_COMMAND_ACTION_MAP                                        31200
    00411         #define CHECK_DEVICE                                                    31201
    00412         #define LOAD_EXEC_CONFIG_FILE                                   31202
    00413         #define MANAGERCOMMAND_RELOAD                                   31203
    00414 #define END_COMMAND_ACTION_MAP                                          31299
    00415
    00416 //-----------------------------
    00417 //NetWork Action start at 31300
    00418 //-----------------------------
    00419 #define START_NETWORK_ACTION_MAP                                        31300
    00420         #define SHOW_NET_STAT                                                   31301
    00421         #define HIDE_NET_STAT                                                   31302
    00422         #define CONNECT                                                                 31303
    00423         #define DISCONNECT                                                              31304
    00424         #define SHOW_CHAT                                                               31305
    00425         #define HIDE_CHAT                                                               31306
    00426         #define SAY                                                                             31307
    00427         #define MANAGER_NETWORK_RELOAD                                  31308
    00428 #define END_NETWORK_ACTION_MAP                                          31399
    00429
    00430 //-----------------------------
    00431 //Texture Action start at 31400
    00432 //-----------------------------
    00433 #define START_TEXTURE_ACTION_MAP                                        31400
    00434         #define LIST_TEXTURE                                                    31401
    00435         #define LOAD_TEXTURE                                                    31402
    00436         #define UNLOAD_TEXTURE                                                  31403
    00437         #define SAVE_TEXTURE                                                    31404
    00438         #define MANAGER_TEXTURE_RELOAD                                  31405
    00439 #define END_TEXTURE_ACTION_MAP                                          31499
    00440
    00441 //-----------------------------
    00442 //ID Action start at 31500
    00443 //-----------------------------
    00444 #define START_ID_ACTION_MAP                                                     31500
    00445         #define ID_LIST                                                                 31501
    00446         #define MANAGER_ID_RELOAD                                               31502
    00447 #define END_ID_ACTION_MAP                                                       31599
    00448
    00449 //-----------------------------
    00450 //Object window Action start at 31600
    00451 //-----------------------------
    00452 #define START_OBJECT_WINDOW_ACTION_MAP                          31600
    00453         #define LIST_OBJECT_WINDOW                                              31601
    00454         #define CLOSE_OBJECT_WINDOW                                             31602
    00455         #define MINIMIZE_OBJECT_WINDOW                                  31603
    00456         #define MAXIMIZE_OBJECT_WINDOW                                  31604
    00457         #define MINIMIZE_TO_BAR_OBJECT_WINDOW                   31605
    00458         #define MOUVE_OBJECT_WINDOW                                             31606
    00459         #define REQUEST_FOCUS_OBJECT_WINDOW                             31607
    00460         #define RELEASE_FOCUS_OBJECT_WINDOW                             31608
    00461         #define MESSAGE_BOX                                                             31609
    00462         #define MESSAGE_BOX_QUESTION                                    31610
    00463         #define LOAD_OBJECT_WINDOW                                              31611
    00464         #define ENABLE_WINDOW                                                   31612
    00465         #define DISABLE_WINDOW                                                  31613
    00466         #define TOGGLE_WINDOW                                                   31614
    00467         #define MANAGER_OBJECT_WINDOW_RELOAD                    31615
    00468 #define END_OBJECT_WINDOW_ACTION_MAP                            31699
    00469
    00470
    00471
    00472 //-----------------------------
    00473 //Special Effect Action start at 31700
    00474 //-----------------------------
    00475 #define START_SPECIALEFFECT_ACTION_MAP                                  31700
    00476         #define START_FADE_TO_WHITE                                                     31701
    00477         #define STOP_FADE_TO_WHITE                                                      31702
    00478         #define START_WITHE_TO_FADE                                                     31703
    00479         #define STOP_WITHE_TO_FADE                                                      31704
    00480         #define START_FADE_TO_BLACK                                                     31705
    00481         #define STOP_FADE_TO_BLACK                                                      31706
    00482         #define START_BLACK_TO_FADE                                                     31707
    00483         #define STOP_BLACK_TO_FADE                                                      31708
    00484         #define START_MOTION_BLUR                                                       31709
    00485         #define STOP_MOTION_BLUR                                                        31710
    00486         #define ENABLE_ANTIALLIASING                                            31711
    00487         #define DISABLE_ANTIALLIASING                                           31712
    00488         #define MANAGER_SPECIALEFFECT_RELOAD                            31713
    00489 #define END_SPECIALEFFECT_ACTION_MAP                                    31799
    00490
    00491 //-----------------------------
    00492 //Manager Mesh Action start at 31800
    00493 //-----------------------------
    00494 #define START_MESH_ACTION_MAP                                                   31800
    00495         #define MANAGER_MESH_RELOAD                                                     31801
    00496         #define MANAGER_MESH_RESET                                                      31802
    00497 #define END_MESH_ACTION_MAP                                                             31899
    00498 //-----------------------------
    00499 //Manager Load Action start at 31900
    00500 //-----------------------------
    00501 #define START_LOAD_ACTION_MAP                                                   31900
    00502         #define LOAD_COMMAND_CONFIG_FILE                                        31901
    00503         #define LOAD_FILE                                                                       31902
    00504         #define LOAD_SET_OF_FILE                                                        31903
    00505         #define LOAD_ENTITY_FILE                                                        31904
    00506         #define LOAD_MODELE_FILE                                                        31905
    00507         #define LOAD_MAP_FILE                                                           31906
    00508         #define LOAD_INTERFACE_FILE                                                     31907
    00509         #define LOAD_SOUND_FILE                                                         31908
    00510         #define LOAD_CONSOLE_CONFIG_FILE                                        31909
    00511         #define LOAD_PART_CONFIG_FILE                                           31910
    00512         #define NEXT_ANIMATION_FRAME                                            31911
    00513         #define PREV_ANIMATION_FRAME                                            31912
    00514         #define LAST_ANIMATION_FRAME                                            31913
    00515         #define FIRST_ANIMATION_FRAME                                           31914
    00516         #define ENABLE_LOADING_ANIMATION                                        31915
    00517         #define DISABLE_LOADING_ANIMATION                                       31916
    00518         #define MANAGER_LOADING_RELOAD                                          31917
    00519 #define END_LOAD_ACTION_MAP                                                             31999
    00520 //-----------------------------
    00521 //Manager PVS Action start at 32000
    00522 //-----------------------------
    00523 #define START_PVS_ACTION_MAP                                            32000
    00524         #define MANAGER_PVS_RELOAD                                              32001
    00525 #define END_PVS_ACTION_MAP                                                      32099
    00526
    00527 //-----------------------------
    00528 //Manager PVS Action start at 32000
    00529 //-----------------------------
    00530 #define START_ANIMATION_ACTION_MAP                                                      32100
    00531         #define MANAGER_ANIMATION_RELOAD                                                32101
    00532         #define MANAGER_ANIMATION_PAUSE_ALL_ANIMATION                   32102
    00533         #define MANAGER_ANIMATION_UNPAUSE_ALL_ANIMATION                 32103
    00534         #define MANAGER_ANIMATION_TOGGLE_PAUSE_ALL_ANIMATION    32104
    00535         #define MANAGER_ANIMATION_PAUSE_ANIMATION                               32105
    00536         #define MANAGER_ANIMATION_UNPAUSE_ANIMATION                             32106
    00537         #define MANAGER_ANIMATION_TOGGLE_ANIMATION                              32107
    00538         #define MANAGER_ANIMATION_SET_CURRENT_OBJECT_BY_ID              32108
    00539         #define MANAGER_ANIMATION_SET_CURRENT_OBJECT_BY_NAME    32109
    00540 #define END_ANIMATION_ACTION_MAP                                                        32199
    00541
    00542 //-----------------------------
    00543 //Manager ENTITY Action start at 32100
    00544 //-----------------------------
    00545 #define START_ENTITY_ACTION_MAP                                                 32200
    00546         #define MANAGER_ENTITY_RELOAD                                           32201
    00547         #define MANAGER_ENTITY_SET_CURRENT_OBJECT_BY_ID         32202
    00548         #define MANAGER_ENTITY_SET_CURRENT_OBJECT_BY_NAME       32203
    00549         #define ENTITY_TOGGLE_VISIBLESTATE                                      32204
    00550         #define ENTITY_HIDE                                                                     32205
    00551         #define ENTITY_SHOW                                                                     32206
    00552         #define MANAGER_ENTITY_RESET                                            32207
    00553 #define END_ENTITY_ACTION_MAP                                                   32299
    00554
    00555 //-----------------------------
    00556 //CUSTOM Action start at 50000
    00557 //-----------------------------
    00558 #define START_CUSTOM_ACTION_ACTION_MAP                                  50000
    00559         #define CUSTOM_ACTION_1                                                         50001
    00560         #define CUSTOM_ACTION_2                                                         50002
    00561         #define CUSTOM_ACTION_3                                                         50003
    00562         #define CUSTOM_ACTION_4                                                         50004
    00563 #define END_CUSTOM_ACTION_ACTION_MAP                                    60000
    00564
    00565 //--------------------------------------------------------------
    00566 //Action list for object
    00567 //--------------------------------------------------------------
    00568 #define ROTATE_Z_UP                                                                     60000
    00569 #define ROTATE_Y_UP                                                                     60001
    00570 #define ROTATE_X_UP                                                                     60002
    00571 #define ROTATE_Z_DOWN                                                           60003
    00572 #define ROTATE_Y_DOWN                                                           60004
    00573 #define ROTATE_X_DOWN                                                           60005
    00574 #define ZOOM_UP                                                                         60006
    00575 #define ZOOM_DOWN                                                                       60007
    00576 #define SPEED_UP                                                                        60008
    00577 #define SPEED_DOWN                                                                      60009
    00578 #define ANGLE_AROUND_TARGET_UP                                          60010
    00579 #define ANGLE_AROUND_TARGET_DOWN                                        60011
    00580 #define DISTANCE_FROM_TARGET_UP                                         60012
    00581 #define DISTANCE_FROM_TARGET_DOWN                                       60013
    00582 #define HEIGHT_FROM_TARGET_UP                                           60014
    00583 #define HEIGHT_FROM_TARGET_DOWN                                         60015
    00584 #endif //__EXCACTION_H__