Update of /cvsroot/csp/APPLICATIONS/CSPSim/Bin In directory sc8-pr-cvs1:/tmp/cvs-serv2659 Modified Files: CSPSim.py CompileData.py RebuildData.py Shell.py ShellEnvironment.py TestObjects.py Log Message: Index: CSPSim.py =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Bin/CSPSim.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CSPSim.py 26 Jun 2003 09:26:21 -0000 1.5 --- CSPSim.py 22 Jul 2003 07:36:36 -0000 1.6 *************** *** 1,4 **** --- 1,23 ---- #!/usr/bin/python -O + # Combat Simulator Project - CSPSim + # Copyright (C) 2002 The Combat Simulator Project + # http://csp.sourceforge.net + # + # 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; either version 2 + # of the License, or (at your option) any later version. + # + # 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + import sys, os, os.path *************** *** 7,12 **** # enable lazy loading of shared library modules if available ! if hasattr(sys, "setdlopenflags"): ! sys.setdlopenflags(0x101) # is the SDL joystick environment variable isn't set, try a standard value --- 26,35 ---- # enable lazy loading of shared library modules if available ! if os.name == 'posix': ! import dl ! sys.setdlopenflags(dl.RTLD_GLOBAL|dl.RTLD_LAZY) ! ! #if hasattr(sys, "setdlopenflags"): ! # sys.setdlopenflags(0x101) # is the SDL joystick environment variable isn't set, try a standard value Index: CompileData.py =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Bin/CompileData.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CompileData.py 11 Apr 2003 18:46:29 -0000 1.3 --- CompileData.py 22 Jul 2003 07:36:36 -0000 1.4 *************** *** 1,4 **** --- 1,23 ---- #!/usr/bin/python + # Combat Simulator Project - CSPSim + # Copyright (C) 2002 The Combat Simulator Project + # http://csp.sourceforge.net + # + # 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; either version 2 + # of the License, or (at your option) any later version. + # + # 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + import sys Index: RebuildData.py =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Bin/RebuildData.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RebuildData.py 11 Apr 2003 18:46:29 -0000 1.3 --- RebuildData.py 22 Jul 2003 07:36:36 -0000 1.4 *************** *** 1,4 **** --- 1,23 ---- #!/usr/bin/python + # Combat Simulator Project - CSPSim + # Copyright (C) 2002 The Combat Simulator Project + # http://csp.sourceforge.net + # + # 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; either version 2 + # of the License, or (at your option) any later version. + # + # 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + import sys Index: Shell.py =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Bin/Shell.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Shell.py 27 Mar 2003 22:59:39 -0000 1.1 --- Shell.py 22 Jul 2003 07:36:36 -0000 1.2 *************** *** 1,2 **** --- 1,21 ---- + # Combat Simulator Project - CSPSim + # Copyright (C) 2002 The Combat Simulator Project + # http://csp.sourceforge.net + # + # 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; either version 2 + # of the License, or (at your option) any later version. + # + # 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + import traceback, sys Index: ShellEnvironment.py =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Bin/ShellEnvironment.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ShellEnvironment.py 27 Mar 2003 22:59:39 -0000 1.1 --- ShellEnvironment.py 22 Jul 2003 07:36:36 -0000 1.2 *************** *** 1,2 **** --- 1,21 ---- + # Combat Simulator Project - CSPSim + # Copyright (C) 2002 The Combat Simulator Project + # http://csp.sourceforge.net + # + # 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; either version 2 + # of the License, or (at your option) any later version. + # + # 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + import cCSP as CSP Index: TestObjects.py =================================================================== RCS file: /cvsroot/csp/APPLICATIONS/CSPSim/Bin/TestObjects.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TestObjects.py 26 Jun 2003 09:26:21 -0000 1.2 --- TestObjects.py 22 Jul 2003 07:36:36 -0000 1.3 *************** *** 1,2 **** --- 1,19 ---- + # Combat Simulator Project - CSPSim + # Copyright (C) 2002 The Combat Simulator Project + # http://csp.sourceforge.net + # + # 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; either version 2 + # of the License, or (at your option) any later version. + # + # 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. import SimData *************** *** 6,10 **** m = SimData.LLA() vehicle = app.createVehicle ! # vehicle("sim:vehicles.aircraft.m2k", v(10, 10, 1000.2), v(0, 100.0, 0), v(2.0, 2.0, 140.0)) # vehicle("sim:vehicles.aircraft.m2k", v(483010, 499010, 190.2), v(0, 100.0, 0), v(2.0, 2.0, 140.0)) --- 23,27 ---- m = SimData.LLA() vehicle = app.createVehicle ! vehicle("sim:vehicles.aircraft.f16", v(10, 10, 1000.2), v(0, 100.0, 0), v(2.0, 2.0, 140.0)) # vehicle("sim:vehicles.aircraft.m2k", v(483010, 499010, 190.2), v(0, 100.0, 0), v(2.0, 2.0, 140.0)) |