Changeset 8133 for code/branches/mac_osx
- Timestamp:
- Mar 27, 2011, 12:21:55 AM (14 years ago)
- Location:
- code/branches/mac_osx
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/mac_osx/cmake/PackageConfigOSX.cmake
r8125 r8133 26 26 INCLUDE(CheckPackageVersion) 27 27 28 CHECK_PACKAGE_VERSION(1. 0)28 CHECK_PACKAGE_VERSION(1.1) 29 29 30 30 IF(NOT _INTERNAL_PACKAGE_MESSAGE) -
code/branches/mac_osx/src/Orxonox.cc
r8091 r8133 63 63 #ifndef ORXONOX_USE_WINMAIN 64 64 65 // On Apples, the kernel supplies a second argument, which we have to circumvent66 65 #ifdef ORXONOX_PLATFORM_APPLE 67 # define MAC_ARGC_HACK 2 66 // On Apples, the kernel supplies a second argument, which we have to circumvent 67 const int firstArgument = 2; 68 68 #else 69 # define MAC_ARGC_HACK 1 69 // 0 is the execution path 70 const int firstArgument = 1; 70 71 #endif 71 72 72 73 std::string strCmdLine; 73 for (int i = MAC_ARGC_HACK; i < argc; ++i)74 for (int i = firstArgument; i < argc; ++i) 74 75 strCmdLine = strCmdLine + argv[i] + ' '; 75 76 #endif -
code/branches/mac_osx/src/OrxonoxMac.h
r8083 r8133 1 // 2 // OrxonoxMac.h 3 // Orxonox 4 // 5 // Created by Kevin Jonas Young on 14.03.11. 6 // Copyright 2011 -. All rights reserved. 7 // 1 /* 2 * ORXONOX - the hottest 3D action shooter ever to exist 3 * > www.orxonox.net < 4 * 5 * 6 * License notice: 7 * 8 * This program is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU General Public License 10 * as published by the Free Software Foundation; either version 2 11 * of the License, or (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 * 22 * Author: 23 * Kevin J. Young (youngk) 2011 24 * Co-authors: 25 * Fabian Landau (x3n) 26 * 27 */ 8 28 9 29 #import <Cocoa/Cocoa.h> -
code/branches/mac_osx/src/OrxonoxMac.mm
r8090 r8133 1 // 2 // OrxonoxMac.mm 3 // Orxonox 4 // 5 // Created by Kevin Jonas Young on 14.03.11. 6 // Copyright 2011 -. All rights reserved. 7 // 1 /* 2 * ORXONOX - the hottest 3D action shooter ever to exist 3 * > www.orxonox.net < 4 * 5 * 6 * License notice: 7 * 8 * This program is free software; you can redistribute it and/or 9 * modify it under the terms of the GNU General Public License 10 * as published by the Free Software Foundation; either version 2 11 * of the License, or (at your option) any later version. 12 * 13 * This program is distributed in the hope that it will be useful, 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * GNU General Public License for more details. 17 * 18 * You should have received a copy of the GNU General Public License 19 * along with this program; if not, write to the Free Software 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 21 * 22 * Author: 23 * Kevin J. Young (youngk) 2011 24 * Co-authors: 25 * Fabian Landau (x3n) 26 * 27 */ 8 28 9 29 #import "OrxonoxMac.h"
Note: See TracChangeset
for help on using the changeset viewer.