Update of /cvsroot/simspark/simspark/contrib/rsgedit
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv29843
Modified Files:
Tag: WIN32
constants.h rsgedit.vcproj
Added Files:
Tag: WIN32
constants.cpp
Log Message:
- define default simulation stepping to 0.015s
Index: rsgedit.vcproj
===================================================================
RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/Attic/rsgedit.vcproj,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -C2 -d -r1.1.2.6 -r1.1.2.7
*** rsgedit.vcproj 18 Feb 2007 14:25:16 -0000 1.1.2.6
--- rsgedit.vcproj 21 Feb 2007 20:11:34 -0000 1.1.2.7
***************
*** 184,187 ****
--- 184,191 ----
</File>
<File
+ RelativePath=".\constants.cpp"
+ >
+ </File>
+ <File
RelativePath=".\icon1.ico"
>
Index: constants.h
===================================================================
RCS file: /cvsroot/simspark/simspark/contrib/rsgedit/Attic/constants.h,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -d -r1.1.2.4 -r1.1.2.5
*** constants.h 18 Feb 2007 13:50:48 -0000 1.1.2.4
--- constants.h 21 Feb 2007 20:11:33 -0000 1.1.2.5
***************
*** 21,24 ****
--- 21,26 ----
#define RSGEDIT_CONSTANTS_H
+ #include <wx/defs.h>
+
enum ESimState
{
***************
*** 42,44 ****
--- 44,49 ----
};
+ //! default simulation stepping [sec]
+ extern const float SIM_SIMSTEP;
+
#endif // RSGEDIT_CONSTANTS_H
--- NEW FILE: constants.cpp ---
/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*-
this file is part of rcssserver3D
Fri May 9 2003
Copyright (C) 2003 Koblenz University
$Id: constants.cpp,v 1.1.2.1 2007/02/21 20:11:34 rollmark Exp $
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "constants.h"
//! default simulation stepping [sec]
const float SIM_SIMSTEP = 0.015f;
|