From: Markus R. <rol...@us...> - 2007-03-31 13:25:19
|
Update of /cvsroot/simspark/simspark/contrib/rsgedit In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv32113 Modified Files: constants.cpp constants.h Log Message: - added FPS_UPDATE_INTERVAL that defines the default timer interval to update the FPS controller while the simulation is paused Index: constants.h =================================================================== RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/constants.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** constants.h 15 Mar 2007 07:26:24 -0000 1.2 --- constants.h 31 Mar 2007 13:25:13 -0000 1.3 *************** *** 22,25 **** --- 22,26 ---- #include <wx/defs.h> + #include <wx/string.h> enum ESimState *************** *** 57,62 **** --- 58,69 ---- extern const int LOGWND_UPDATE_INTERVAL; + // the update interval of fps controller while the simulation is paused */ + extern const int FPS_UPDATE_INTERVAL; + // the default width of the tree window pane [pixel] extern const int TREEWND_DEFAULT_WIDTH; + // the default path to the fps controller + extern const wxString MAINFRAME_FPS_CONTROLLER; + #endif // RSGEDIT_CONSTANTS_H Index: constants.cpp =================================================================== RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/constants.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** constants.cpp 15 Mar 2007 07:26:24 -0000 1.2 --- constants.cpp 31 Mar 2007 13:25:13 -0000 1.3 *************** *** 29,32 **** --- 29,38 ---- const int LOGWND_UPDATE_INTERVAL = 100; + // the update interval of fps controller while the simulation is paused */ + const int FPS_UPDATE_INTERVAL = 40; + // the default width of the tree window pane [pixel] const int TREEWND_DEFAULT_WIDTH = 270; + + // the default path to the fps controller + const wxString MAINFRAME_FPS_CONTROLLER = "/usr/scene/camera/physics/controller"; |