Compare commits
44 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
0c911c697b | ||
|
6837ed82c3 | ||
|
b0eddb47f3 | ||
|
bfbc54879a | ||
|
0fb21c2dad | ||
|
9faafaaaa5 | ||
|
0350ac3305 | ||
|
b06a936e4b | ||
|
0ecf2eea05 | ||
|
184e5c9cde | ||
|
b90b7c805c | ||
|
38caef402e | ||
|
f08b9afde7 | ||
|
8742122103 | ||
|
ba527c17dd | ||
|
860a9844d0 | ||
|
717022258e | ||
|
2844210a1e | ||
|
d500072d52 | ||
|
025d67394b | ||
|
9a6b005651 | ||
|
3c8b1a76ce | ||
|
1b9d44607b | ||
|
1e21421c69 | ||
|
3a5b6df32e | ||
|
f80b65f032 | ||
|
e8f8510b5f | ||
|
afb92e1ae6 | ||
|
f7e02775a8 | ||
|
9ac2099e8f | ||
|
01f1475715 | ||
|
600e01a4ae | ||
|
7b7b5c4592 | ||
|
145759736f | ||
|
6d26ba5800 | ||
|
73ea4eb7b2 | ||
|
dade9763d6 | ||
|
98045b6698 | ||
|
e519754b3f | ||
|
8fcf8c0b9b | ||
|
755885c80b | ||
|
9b2c8e31da | ||
|
92aa10a427 | ||
|
a1742761c6 |
2
CHANGES
Normal file → Executable file
2
CHANGES
Normal file → Executable file
@@ -1 +1 @@
|
||||
See the ChangeLog file.
|
||||
See the NEWS file.
|
||||
|
300
CMakeLists.txt
300
CMakeLists.txt
@@ -1,300 +0,0 @@
|
||||
# root CMakeLists for the SuperTuxKart project
|
||||
project(SuperTuxKart)
|
||||
set(PROJECT_VERSION "0.8.1")
|
||||
|
||||
cmake_minimum_required(VERSION 2.8.1)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake)
|
||||
|
||||
include(BuildTypeSTKRelease)
|
||||
if (NOT CMAKE_BUILD_TYPE)
|
||||
message(STATUS "No build type selected, default to STKRelease")
|
||||
set(CMAKE_BUILD_TYPE "STKRelease")
|
||||
endif()
|
||||
|
||||
option(USE_WIIUSE "Support for wiimote input devices" ON)
|
||||
option(USE_FRIBIDI "Support for right-to-left languages" ON)
|
||||
if(UNIX)
|
||||
option(USE_CPP2011 "Activate C++ 2011 mode (GCC only)" OFF)
|
||||
endif()
|
||||
if(MSVC)
|
||||
# Normally hide the option to build wiiuse on VS, since it depends
|
||||
# on the installation of the Windows DDK (Driver Developer Kit),
|
||||
# which also needs an absolute path :(
|
||||
option(WIIUSE_BUILD "Build wiiuse lib (only for developers)" OFF)
|
||||
mark_as_advanced(WIIUSE_BUILD)
|
||||
else()
|
||||
set(WIIUSE_BUILD ON)
|
||||
endif()
|
||||
|
||||
set(STK_SOURCE_DIR "src")
|
||||
set(STK_DATA_DIR "${PROJECT_SOURCE_DIR}/data")
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${PROJECT_BINARY_DIR}/bin")
|
||||
|
||||
# Define install paths
|
||||
set(STK_INSTALL_BINARY_DIR "bin" CACHE
|
||||
STRING "Install executable to this directory, absolute or relative to CMAKE_INSTALL_PREFIX")
|
||||
set(STK_INSTALL_DATA_DIR "share/supertuxkart" CACHE
|
||||
STRING "Install data folder to this directory, absolute or relative to CMAKE_INSTALL_PREFIX")
|
||||
|
||||
# Build the Bullet physics library
|
||||
add_subdirectory("${PROJECT_SOURCE_DIR}/lib/bullet")
|
||||
include_directories("${PROJECT_SOURCE_DIR}/lib/bullet/src")
|
||||
|
||||
# Build the ENet UDP network library
|
||||
add_subdirectory("${PROJECT_SOURCE_DIR}/lib/enet")
|
||||
include_directories("${PROJECT_SOURCE_DIR}/lib/enet/include")
|
||||
|
||||
# Build the irrlicht library
|
||||
add_subdirectory("${PROJECT_SOURCE_DIR}/lib/irrlicht")
|
||||
include_directories("${PROJECT_SOURCE_DIR}/lib/irrlicht/include")
|
||||
|
||||
# Build the Wiiuse library
|
||||
# Note: wiiuse MUST be declared after irrlicht, since otherwise
|
||||
# (at least on VS) irrlicht will find wiiuse io.h file because
|
||||
# of the added include directory.
|
||||
if(USE_WIIUSE)
|
||||
if(WIIUSE_BUILD)
|
||||
add_subdirectory("${PROJECT_SOURCE_DIR}/lib/wiiuse")
|
||||
endif()
|
||||
include_directories("${PROJECT_SOURCE_DIR}/lib/wiiuse")
|
||||
endif()
|
||||
|
||||
|
||||
# Set include paths
|
||||
include_directories(${STK_SOURCE_DIR})
|
||||
|
||||
# These variables enable MSVC to find libraries located in "dependencies"
|
||||
if(MSVC)
|
||||
set(ENV{PATH} ${PROJECT_SOURCE_DIR}/dependencies/include)
|
||||
set(ENV{LIB} ${PROJECT_SOURCE_DIR}/dependencies/lib)
|
||||
set(ENV{OPENALDIR} ${PROJECT_SOURCE_DIR}/dependencies)
|
||||
add_definitions(/D_IRR_STATIC_LIB_)
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -arch i386")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -arch i386 -F/Library/Frameworks")
|
||||
elseif(MSVC)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP") # Enable multi-processor compilation (faster)
|
||||
endif()
|
||||
|
||||
# OpenAL
|
||||
if(APPLE)
|
||||
# In theory it would be cleaner to let CMake detect the right dependencies. In practice, this means that if a OSX user has
|
||||
# unix-style installs of Vorbis/Ogg/OpenAL/etc. they will be picked up over our frameworks. This is blocking when I make releases :
|
||||
# the mac I use to make STK releases does have other installs of vorbis/ogg/etc. which aren't compatible with STK, so letting
|
||||
# CMake pick the library it wants essentially means I can't build.
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -framework OpenAL")
|
||||
set(OPENAL_LIBRARY)
|
||||
else()
|
||||
find_package(OpenAL REQUIRED)
|
||||
include_directories(${OPENAL_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
# OggVorbis
|
||||
if(APPLE)
|
||||
# In theory it would be cleaner to let CMake detect the right dependencies. In practice, this means that if a OSX user has
|
||||
# unix-style installs of Vorbis/Ogg/OpenAL/etc. they will be picked up over our frameworks. This is blocking when I make releases :
|
||||
# the mac I use to make STK releases does have other installs of vorbis/ogg/etc. which aren't compatible with STK, so letting
|
||||
# CMake pick the library it wants essentially means I can't build.
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -I/Library/Frameworks/Ogg.framework/Versions/A/Headers -I/Library/Frameworks/Vorbis.framework/Versions/A/Headers")
|
||||
else()
|
||||
find_package(OggVorbis REQUIRED)
|
||||
include_directories(${OGGVORBIS_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
# CURL
|
||||
find_package(CURL REQUIRED)
|
||||
include_directories(${CURL_INCLUDE_DIRS})
|
||||
|
||||
# Fribidi
|
||||
if(USE_FRIBIDI)
|
||||
find_package(Fribidi)
|
||||
if(FRIBIDI_FOUND)
|
||||
include_directories(${FRIBIDI_INCLUDE_DIRS})
|
||||
else()
|
||||
message(FATAL_ERROR "Fribidi not found. "
|
||||
"Either install fribidi or disable bidi support with -DUSE_FRIBIDI=0 "
|
||||
"(if you don't use a right-to-left language then you don't need this).")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(UNIX)
|
||||
if(USE_CPP2011)
|
||||
add_definitions("-std=gnu++11")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# OpenGL
|
||||
find_package(OpenGL REQUIRED)
|
||||
include_directories(${OPENGL_INCLUDE_DIR})
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
find_library(IRRLICHT_XF86VM_LIBRARY Xxf86vm)
|
||||
mark_as_advanced(IRRLICHT_XF86VM_LIBRARY)
|
||||
else()
|
||||
set(IRRLICHT_XF86VM_LIBRARY "")
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
# Set some compiler options
|
||||
if(UNIX)
|
||||
add_definitions(-Wall)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
# By default windows.h has macros defined for min and max that screw up everything
|
||||
add_definitions(-DNOMINMAX)
|
||||
|
||||
# And shut up about unsafe stuff
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
endif()
|
||||
|
||||
# TODO: remove this switch
|
||||
add_definitions(-DHAVE_OGGVORBIS)
|
||||
|
||||
if(CMAKE_BUILD_TYPE MATCHES Debug)
|
||||
add_definitions(-DDEBUG)
|
||||
else()
|
||||
add_definitions(-DNDEBUG)
|
||||
endif()
|
||||
|
||||
|
||||
# Provides list of source and header files (STK_SOURCES and STK_HEADERS)
|
||||
include(sources.cmake)
|
||||
|
||||
# Generate source groups useful for MSVC project explorer
|
||||
include(cmake/SourceGroupFunctions.cmake)
|
||||
source_group_hierarchy(STK_SOURCES STK_HEADERS)
|
||||
|
||||
|
||||
if(APPLE)
|
||||
# icon files to copy in the bundle
|
||||
set(OSX_ICON_FILES ${PROJECT_SOURCE_DIR}/data/supertuxkart.icns)
|
||||
set_source_files_properties(${OSX_ICON_FILES} PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
|
||||
set(STK_SOURCES ${STK_SOURCES} ${OSX_ICON_FILES})
|
||||
|
||||
# build the executable and create an app bundle
|
||||
add_executable(supertuxkart MACOSX_BUNDLE ${STK_SOURCES})
|
||||
|
||||
find_library(IOKIT_LIBRARY IOKit)
|
||||
find_library(QUICKTIME_LIBRARY QuickTime)
|
||||
find_library(CARBON_LIBRARY Carbon)
|
||||
find_library(AUDIOUNIT_LIBRARY AudioUnit)
|
||||
find_library(COCOA_LIBRARY Cocoa)
|
||||
|
||||
target_link_libraries(supertuxkart
|
||||
${IOKIT_LIBRARY}
|
||||
${QUICKTIME_LIBRARY}
|
||||
${CARBON_LIBRARY}
|
||||
${AUDIOUNIT_LIBRARY}
|
||||
${COCOA_LIBRARY})
|
||||
|
||||
# configure CMake to use a custom Info.plist
|
||||
set_target_properties(supertuxkart PROPERTIES
|
||||
MACOSX_BUNDLE_INFO_PLIST ${PROJECT_SOURCE_DIR}/data/SuperTuxKart-Info.plist)
|
||||
|
||||
if(CMAKE_GENERATOR MATCHES "Xcode")
|
||||
add_custom_command(TARGET supertuxkart POST_BUILD
|
||||
COMMAND ln -f -s ${PROJECT_SOURCE_DIR}/data ${CMAKE_BINARY_DIR}/bin/\${CONFIGURATION}/supertuxkart.app/Contents/Resources)
|
||||
else()
|
||||
add_custom_command(TARGET supertuxkart POST_BUILD
|
||||
COMMAND ln -f -s ${PROJECT_SOURCE_DIR}/data ${CMAKE_BINARY_DIR}/bin/supertuxkart.app/Contents/Resources)
|
||||
endif()
|
||||
else()
|
||||
find_library(PTHREAD_LIBRARY NAMES pthread pthreadVC2 PATHS ${PROJECT_SOURCE_DIR}/dependencies/lib)
|
||||
mark_as_advanced(PTHREAD_LIBRARY)
|
||||
|
||||
# Set data dir (absolute or relative to CMAKE_INSTALL_PREFIX)
|
||||
get_filename_component(STK_INSTALL_DATA_DIR_ABSOLUTE ${STK_INSTALL_DATA_DIR} ABSOLUTE)
|
||||
if(${STK_INSTALL_DATA_DIR_ABSOLUTE} STREQUAL ${STK_INSTALL_DATA_DIR})
|
||||
add_definitions(-DSUPERTUXKART_DATADIR=\"${STK_INSTALL_DATA_DIR_ABSOLUTE}\")
|
||||
else()
|
||||
add_definitions(-DSUPERTUXKART_DATADIR=\"${CMAKE_INSTALL_PREFIX}/${STK_INSTALL_DATA_DIR}\")
|
||||
endif()
|
||||
|
||||
# Build the final executable
|
||||
add_executable(supertuxkart ${STK_SOURCES} ${STK_HEADERS})
|
||||
target_link_libraries(supertuxkart ${PTHREAD_LIBRARY})
|
||||
endif()
|
||||
|
||||
|
||||
# Common library dependencies
|
||||
target_link_libraries(supertuxkart
|
||||
bulletdynamics
|
||||
bulletcollision
|
||||
bulletmath
|
||||
enet
|
||||
stkirrlicht
|
||||
${CURL_LIBRARIES}
|
||||
${OGGVORBIS_LIBRARIES}
|
||||
${IRRLICHT_XF86VM_LIBRARY}
|
||||
${OPENAL_LIBRARY}
|
||||
${OPENGL_LIBRARIES})
|
||||
|
||||
if(APPLE)
|
||||
# In theory it would be cleaner to let CMake detect the right dependencies. In practice, this means that if a OSX user has
|
||||
# unix-style installs of Vorbis/Ogg/OpenAL/etc. they will be picked up over our frameworks. This is blocking when I make releases :
|
||||
# the mac I use to make STK releases does have other installs of vorbis/ogg/etc. which aren't compatible with STK, so letting
|
||||
# CMake pick the library it wants essentially means I can't build.
|
||||
set_target_properties(supertuxkart PROPERTIES LINK_FLAGS "-arch i386 -F/Library/Frameworks -framework OpenAL -framework Ogg -framework Vorbis")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I/Library/Frameworks/OpenAL.framework/Versions/A/Headers")
|
||||
endif()
|
||||
|
||||
if(USE_FRIBIDI)
|
||||
target_link_libraries(supertuxkart ${FRIBIDI_LIBRARIES})
|
||||
add_definitions(-DENABLE_BIDI)
|
||||
endif()
|
||||
|
||||
# Wiiuse
|
||||
# ------
|
||||
if(USE_WIIUSE)
|
||||
if(APPLE)
|
||||
find_library(BLUETOOTH_LIBRARY NAMES IOBluetooth PATHS /Developer/Library/Frameworks/IOBluetooth.framework)
|
||||
target_link_libraries(supertuxkart wiiuse ${BLUETOOTH_LIBRARY})
|
||||
elseif(MSVC)
|
||||
add_definitions("/DWIIUSE_STATIC")
|
||||
if(WIIUSE_BUILD)
|
||||
target_link_libraries(supertuxkart wiiuse)
|
||||
else()
|
||||
target_link_libraries(supertuxkart ${PROJECT_SOURCE_DIR}/dependencies/lib/wiiuse.lib)
|
||||
endif()
|
||||
else()
|
||||
target_link_libraries(supertuxkart wiiuse bluetooth)
|
||||
endif()
|
||||
add_definitions(-DENABLE_WIIUSE)
|
||||
|
||||
endif()
|
||||
|
||||
|
||||
# Optional tools
|
||||
add_subdirectory(tools/font_tool)
|
||||
|
||||
|
||||
# ==== Make dist target ====
|
||||
if(MSVC)
|
||||
# Don't create a dist target for VS
|
||||
else()
|
||||
add_custom_target(dist
|
||||
COMMAND rm -rf ${CMAKE_BINARY_DIR}/SuperTuxKart-${PROJECT_VERSION} && rm -f ${CMAKE_BINARY_DIR}/SuperTuxKart-${PROJECT_VERSION}.tar.bz2
|
||||
&& echo "Exporting..."
|
||||
&& svn export ${PROJECT_SOURCE_DIR} ${CMAKE_BINARY_DIR}/SuperTuxKart-${PROJECT_VERSION}
|
||||
&& echo "Compressing..."
|
||||
&& cd ${CMAKE_BINARY_DIR}
|
||||
&& tar -cjf ${CMAKE_BINARY_DIR}/SuperTuxKart-${PROJECT_VERSION}.tar.bz2 ./SuperTuxKart-${PROJECT_VERSION}
|
||||
&& echo "Done, cleaning up"
|
||||
&& rm -rf ${CMAKE_BINARY_DIR}/SuperTuxKart-${PROJECT_VERSION}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
)
|
||||
endif()
|
||||
|
||||
# ==== Install target ====
|
||||
install(TARGETS supertuxkart RUNTIME DESTINATION ${STK_INSTALL_BINARY_DIR} BUNDLE DESTINATION .)
|
||||
install(DIRECTORY ${STK_DATA_DIR} DESTINATION ${STK_INSTALL_DATA_DIR} PATTERN ".svn" EXCLUDE)
|
||||
install(FILES ${PROJECT_BINARY_DIR}/supertuxkart.desktop DESTINATION share/applications)
|
||||
install(FILES data/supertuxkart_32.png data/supertuxkart_128.png DESTINATION share/pixmaps)
|
||||
|
||||
set(PREFIX ${CMAKE_INSTALL_PREFIX})
|
||||
configure_file(data/supertuxkart_desktop.template supertuxkart.desktop)
|
||||
add_dependencies(supertuxkart supertuxkart.desktop)
|
545
COPYING
Normal file → Executable file
545
COPYING
Normal file → Executable file
@@ -1,219 +1,340 @@
|
||||
|
||||
The SuperTuxKart code is released under GNU GPL (see full text below).
|
||||
SuperTuxKart data files (textures, models, sounds, music, etc.) are released under various licenses, see 'license.txt' files
|
||||
through the various data subdirectories. Data files are released under a mixture of the following licenses :
|
||||
|
||||
Gnu GPL 2.0 and 3.0+
|
||||
Creative-Commons-BY(-SA) 3.0
|
||||
Public Domain
|
||||
|
||||
________________________________________________________________________________
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
|
||||
|
||||
"The Program!" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
* a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
|
||||
* b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices".
|
||||
* c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
|
||||
* d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
|
||||
|
||||
* a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
|
||||
* b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
|
||||
* c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
|
||||
* d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
|
||||
* e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
|
||||
|
||||
* a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
|
||||
* b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
|
||||
* c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
|
||||
* d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
|
||||
* e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
|
||||
* f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
||||
|
187
ChangeLog
Normal file → Executable file
187
ChangeLog
Normal file → Executable file
@@ -1,190 +1,5 @@
|
||||
SuperTuxkart 0.8.1
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
* New track STK Enterprise
|
||||
* Updated track The old mines
|
||||
* Updated Lighthouse track
|
||||
* Updated Zen Garden track
|
||||
* New Soccer mode
|
||||
* New Egg Hunt mode
|
||||
* New karts Xue and Sara
|
||||
* Updated Beastie kart
|
||||
* Added Tutorial
|
||||
* Added new Supertux difficulty
|
||||
* New bubblegum shield weapon
|
||||
* New Speeodmeter and nitro meter
|
||||
* Add ability to filter addons
|
||||
* Updated nitro models
|
||||
* Add ability to save and resume Grand Prix
|
||||
* Improve skid marks and nitro effects
|
||||
* Wiimote support
|
||||
|
||||
|
||||
|
||||
SuperTuxkart 0.8
|
||||
~~~~~~~~~~~~~~~
|
||||
* Story mode and new challenge set
|
||||
* Improved AI
|
||||
* Skidding and better collision physics
|
||||
* Reverse mode
|
||||
* New green valley track
|
||||
* New Blackhill Mansion track
|
||||
* Updated XR591 track
|
||||
* Updated Fort Magma track
|
||||
* Updated jungle track
|
||||
* Updates Sand track
|
||||
* Updated menus
|
||||
* New music
|
||||
|
||||
|
||||
SuperTuxKart 0.7.3
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
* New Zen Garden and Subsea tracks
|
||||
* New Island battle arena
|
||||
* New Suzanne kart
|
||||
* New graphical effects
|
||||
* New weapons 'Swatter' and 'Rubber Ball'
|
||||
* Added Thunderbird as race referee
|
||||
* 3 Strikes Battles now displays lives as spare tires
|
||||
* Improved bubble gum
|
||||
* See progression during Grand Prix
|
||||
* Improve physics for tall karts (e.g. Adiumy)
|
||||
* Lots of bug fixes
|
||||
* Improved kart control at high speeds
|
||||
* Better placement of rescued karts
|
||||
* Transition track-making to blender 2.5/2.6
|
||||
|
||||
SuperTuxKart 0.7.2
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
* Added in-game addon manager
|
||||
* Fixed major memory leaks
|
||||
* New Snow Peak track by Samuncle
|
||||
* Improved star track UFO by Rudy
|
||||
* New Beastie kart.
|
||||
* Show when you get a highscore
|
||||
* Improve gamepad configuration under Windows (add ability to tell gamepads apart)
|
||||
* Various other tweaks done and glitches fixed
|
||||
|
||||
SuperTuxkart 0.7.1b
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
* Fix circular dependency in challenges
|
||||
* Updated translations
|
||||
|
||||
SuperTuxKart 0.7.1
|
||||
~~~~~~~~~~~~~~~~~~
|
||||
* Particle (smoke, splash, fire) and weather effects
|
||||
* New Fort Magma by Samuncle, new Shiny Suburbs track by Horace
|
||||
* New Beagle kart by wolterh
|
||||
* Added internet news
|
||||
* Support for live language switch
|
||||
* Added optional minimal race UI
|
||||
* Temporary invincibility after being hit
|
||||
* Added support for full-screen anti-aliasing
|
||||
* Clearer multiplayer setup
|
||||
* Renamed many tracks to nicer names
|
||||
* Basic level-of-detail (LOD) support
|
||||
* Debug features for track makers
|
||||
* Update to bullet 2.77
|
||||
* Replace more sounds to be DFSG-compliant
|
||||
* Fixed character names that contain non-ASCII characters
|
||||
* Full RTL (right to left) support
|
||||
* Various other tweaks done and glitches fixed
|
||||
|
||||
SuperTuxKart 0.7 (December 2010)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Too many to list them all. Main points:
|
||||
* Irrlicht:
|
||||
- Ported from plib to irrlicht
|
||||
- Added animations to karts and some tracks
|
||||
* GUI
|
||||
- Completely new designed GUI
|
||||
* Other improvements
|
||||
- Allowed alternative ways/shortcuts in tracks
|
||||
- New item 'switch'
|
||||
* New art:
|
||||
- New tracks farm, hacienda, scotland, secret garden
|
||||
|
||||
SuperTuxKart 0.6.2a (October 2009)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Bugfix: STK would crash while trying to save the config file
|
||||
on Windows Vista.
|
||||
|
||||
SuperTuxKart 0.6.2 (July 2009)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Bugfix: Game could crash in rare circumstances.
|
||||
* Bugfix: Restarting a GP (with the in-race menu ESC) would
|
||||
not subtract already allocated points.
|
||||
* Bugfix: A race could be finished with an invalid shortcut.
|
||||
* Bugfix: Playing a challenge after a splitscreen game would
|
||||
play the challenge in split screen.
|
||||
* Bugfix: Items explode over void.
|
||||
* Bugfix: Grass in castle arena slowed down the kart.
|
||||
* Bugfix: GP result showed kart identifier instead of name.
|
||||
* Improvement: there is now 1 1 sec. wait period for the race
|
||||
result screen, avoiding the problem that someone
|
||||
presses space/enter at the end of a race, immediately
|
||||
quitting the menu before it can be read.
|
||||
|
||||
SuperTuxKart 0.6.1a (February 2009)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Bugfix: battle mode would not display track groups.
|
||||
|
||||
SuperTuxKart 0.6.1 (February 2009)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Added new kart ("Puffy"), new battle map ("Cave"), and new music
|
||||
for Snow Mountain.
|
||||
* Fixed bug in track selection screen that could cause a crash
|
||||
when track groups were used.
|
||||
* Fixed crash in character selection that could happen if an
|
||||
old user config file existed.
|
||||
* Fixed incorrect rescues in Fort Magma.
|
||||
* Improved track selection screen to not display empty track
|
||||
groups.
|
||||
* A plunger in the face is now removed when restarting.
|
||||
* Added slow-down for karts driving backwards.
|
||||
* Somewhat reduced 'shaking' of AI driven karts.
|
||||
|
||||
SuperTuxKart 0.6 (January 2009)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* New improved physics and kart handling
|
||||
* Added sharp turns and nitro speed boost (replacing wheelies and jump)
|
||||
* Totally rewrote powerups (plunger, bowling ball, cake, bubblegum) and new look for bananas
|
||||
* New and improved tracks : skyline, snow mountain, race track, space track, old mine, XR591
|
||||
* New game mode : 3-Strikes Battle
|
||||
* Major improvements to AI
|
||||
* New/improved karts (and removed some old ones) : wilber, eviltux, hexley
|
||||
* Improved user interface
|
||||
* Karts now have a visible suspension effect
|
||||
* Fully positional audio with OpenAL
|
||||
* New music and sound effects (including engine, braking and skidding sounds)
|
||||
* Better support for mods and add-ons (kart and track groups)
|
||||
* New/updated translations (ga fi de nl sl fr it es ro sv)
|
||||
* Allowed 'Grand Prix's of Time Trial, Follow the Leader, or any other mode
|
||||
* Challenges are now specified and config files, and are thus easy to create by users
|
||||
* Improved build system to better detect missing dependencies
|
||||
* Improved shortcut-detection
|
||||
* Initial work towards networking (disabled and hidden by default)
|
||||
* Bug fixes and code refactor/cleanup/documentation
|
||||
- Fixed 'joystick locks' (kart would turn even if the joystick is in neutral),
|
||||
thanks to Samjam for the patch.
|
||||
|
||||
SuperTuxKart 0.5 (May 2008)
|
||||
SuperTuxKart 0.4 (March 2008)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* Six new tracks and one improved track: Fort Magma, SnowTux Peak, Amazonian Journey, City,
|
||||
Canyon, Crescent Crossing and StarTrack
|
||||
* Complete Challenges to unlock game modes, new tracks and a skidding preview
|
||||
* New Follow the Leader game mode
|
||||
* New Grand Prix
|
||||
* Improved User Interface
|
||||
* Improved game pad/joystick handling
|
||||
* German, French, Dutch, Spanish, Italian and Swedish translations
|
||||
* Additional music
|
||||
* Many Bugfixes including:
|
||||
a memory leak fix (Charlie Head)
|
||||
an AI crash fix (Chris Morris)
|
||||
|
||||
|
||||
SuperTuxKart 0.4 (February 2008)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
* New physics handling using the bullet physics engine
|
||||
* New kart: wilber
|
||||
* Improved 'Shifting Sands' and 'Lighthouse' tracks
|
||||
|
86
INSTALL
Normal file → Executable file
86
INSTALL
Normal file → Executable file
@@ -7,32 +7,25 @@ General
|
||||
First, make sure that you have the following packages installed:
|
||||
|
||||
* OpenGL (or Mesa 3.0 or later)
|
||||
* OpenAL (recommended: openal-soft-devel)
|
||||
* Ogg (libogg-dev)
|
||||
* Vorbis (libvorbis-dev)
|
||||
* fribidi (fribidi-devel) - optional for right-to-left text
|
||||
* PLIB version 1.8.4 or later
|
||||
* SDL 1.2 or later
|
||||
* OpenAL (optional)
|
||||
* freealut (optional)
|
||||
* MikMod (optional)
|
||||
|
||||
Unpack the files from the tarball like this:
|
||||
|
||||
tar xzf supertuxkart-*.tar.gz
|
||||
cd supertuxkart-*
|
||||
|
||||
where '*' is the version of SuperTuxkart you downloaded - eg 0.8.0. Then:
|
||||
|
||||
* Build irrlicht (atm, this will be included in cmake soonish)
|
||||
cd lib/irrlicht/source/Irrlicht
|
||||
NDEBUG=1 make
|
||||
where '*' is the version of SuperTuxkart you downloaded - eg 0.2.0. Then:
|
||||
|
||||
* Compile SuperTuxKart:
|
||||
mkdir cmake_build
|
||||
cd cmake_build
|
||||
cmake ..
|
||||
make VERBOSE=1 -j2
|
||||
To create a debug version of STK, use:
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Debug
|
||||
./configure
|
||||
make
|
||||
|
||||
To test the compilation, supertuxkart can be run from the build
|
||||
directory by ./bin/supertuxkart
|
||||
directory by ./src/supertuxkart (./src/supertuxkart.exe on windows).
|
||||
|
||||
To install the file, as root execute:
|
||||
|
||||
@@ -41,14 +34,57 @@ To install the file, as root execute:
|
||||
The default install location is /usr/local, i.e. the data files will
|
||||
be written to /usr/local/share/games/supertuxkart, the executable
|
||||
will be copied to /usr/local/bin. To change the default installation
|
||||
location, specify CMAKE_INSTALL_PREFIX when running cmake, e.g.:
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/stk
|
||||
|
||||
Building STK on OS X
|
||||
--------------------
|
||||
See http://supertuxkart.sourceforge.net/Building_and_packaging_on_OSX
|
||||
location, use the "--prefix" option of configure, e.g. --prefix=/usr
|
||||
See the --help output of configure for further options.
|
||||
|
||||
|
||||
Building STK on Windows
|
||||
-----------------------
|
||||
See http://supertuxkart.sourceforge.net/How_to_build_the_Windows_version
|
||||
SVN STK on Ubuntu Edgy
|
||||
----------------------
|
||||
Here are the compilation instructions for the current svn(05 oct. 2006) of
|
||||
Super Tux Kart on Ubuntu Edgy, contributed by Damien:
|
||||
|
||||
install following packages:
|
||||
# apt-get install libopenal-dev libalut-dev libmikmod2-dev plib1.8.4-dev
|
||||
libglu1-mesa-dev subversion autoconf automake1.9 g++ gcc
|
||||
|
||||
do a:
|
||||
$ svn checkout http://supertuxkart.svn.sourceforge.net/svnroot/supertuxkart/trunk/supertuxkart
|
||||
|
||||
then:
|
||||
$ cd trunk
|
||||
$ ./autogen.sh && ./configure && make
|
||||
and if all went well:
|
||||
$ src/supertuxkart
|
||||
|
||||
tested with g++ 3.3 and 4.1 , both succeeded.
|
||||
|
||||
If you want to install the game system-wide, do 'make install'.
|
||||
|
||||
|
||||
But it didn't work!
|
||||
-------------------
|
||||
|
||||
Right now there is no proper windows compilation. You can still compile
|
||||
for windows using cygwin, see README.cygwin for details.
|
||||
|
||||
If you checked out your copy directly from SVN, you have to run
|
||||
'sh autogen.sh' to generate the configure script.
|
||||
|
||||
You should check the SuperTuxKart wiki at:
|
||||
|
||||
http://supertuxkart.sourceforge.net/
|
||||
|
||||
|
||||
Also, the most common (by FAR) reason for problems is that your OpenGL/Mesa
|
||||
is incorrectly installed - so before you complain to any of the PLIB or
|
||||
Supertuxkart mailing lists, first try running one of the example programs
|
||||
that comes with your OpenGL implementation - or one of the Mesa or GLUT
|
||||
sample programs.
|
||||
|
||||
If you those examples run OK - then go to the PLIB home page and download
|
||||
the PLIB examples.
|
||||
|
||||
If THOSE run correctly - but Supertuxkart doesn't then please get in touch
|
||||
with the SupertuxKart mailing list and we'll do our best to get you up and
|
||||
racing.
|
||||
|
||||
|
8
Makefile.am
Normal file → Executable file
8
Makefile.am
Normal file → Executable file
@@ -1,10 +1,6 @@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
|
||||
SUBDIRS = $(BULLETTREE) $(ENETTREE) src doc data tools
|
||||
SUBDIRS = @BULLETTREE@ src wavs images models oggs doc data fonts
|
||||
|
||||
pkgdatadir=$(datadir)/doc/$(PACKAGE)
|
||||
dist_pkgdata_DATA=AUTHORS ChangeLog COPYING README
|
||||
EXTRA_DIST=autogen.sh m4 CMakeLists.txt
|
||||
EXTRA_DIST = README README.cygwin README.macosx README.windows ChangeLog COPYING missing
|
||||
|
||||
# NEWS only contains "see changelog"
|
||||
# CHANGES only contains "see NEW"
|
||||
|
118
README
Normal file → Executable file
118
README
Normal file → Executable file
@@ -1,55 +1,98 @@
|
||||
SuperTuxKart
|
||||
============
|
||||
SuperTuxKart is a free kart racing game. It is focusing on fun and
|
||||
not on realistic kart physics. Instruction can be found on the
|
||||
in-game help page.
|
||||
|
||||
The SuperTuxKart homepage can be found at:
|
||||
==============
|
||||
SuperTuxKart is a fun kart racing game. It was originally based on
|
||||
TuxKart (http://tuxkart.sourceforge.net) by Steve Baker, but by now
|
||||
has developed a life on its own. The SuperTuxKart homepage can be found at:
|
||||
|
||||
http://supertuxkart.sourceforge.net
|
||||
|
||||
The official SuperTuxKart forum is at. If you need support,
|
||||
this would be the best place to start.
|
||||
To contact the active maintainers, please send an email to:
|
||||
|
||||
http://supertuxkart.sourceforge.net/forum
|
||||
supertuxkart-devel@lists.sourceforge.net
|
||||
|
||||
A big "thank you" to Steve Baker for designing and implementing the
|
||||
original TuxKart, and to the GotM team for their invaluable work.
|
||||
See the data/CREDITS file for individual credits.
|
||||
|
||||
Hope you enjoy the game.
|
||||
- The SuperTuxKart development team.
|
||||
|
||||
|
||||
|
||||
HARDWARE REQUIREMENTS
|
||||
=====================
|
||||
* You need a 3D graphics card that supports OpenGL or Mesa.
|
||||
* You should have a CPU that's running at 450MHz or better.
|
||||
* You'll need at least 600 MB of free RAM.
|
||||
* You'll need at least 32Mb RAM.
|
||||
* A sound card would be nice - but it's not essential.
|
||||
* Ideally, you want a joystick with at least 6 buttons.
|
||||
|
||||
PLAYING THE GAME
|
||||
================
|
||||
SuperTuxKart is a kart racing game. Basically you run around the track,
|
||||
and give your best shot at reaching the goal before your opponents. The ?
|
||||
boxes can help you, and collection coins can build up your power, so you can
|
||||
grab more than one collectable! But avoid the bananas, since they might
|
||||
give you a nasty surprise.
|
||||
|
||||
COMPILING SuperTuxkart
|
||||
======================
|
||||
Controls can be configured from the game, here are the defaults mappings:
|
||||
|
||||
WINDOWS
|
||||
-------
|
||||
A project file for Visual Studio 9 (e.g. the free 2008 express
|
||||
edition) is included in the sources in src/ide/vc9. A separate
|
||||
dependency package is available on SuperTuxKart's sourceforge
|
||||
page, which includes all necessary libraries, header files,
|
||||
and dlls to compile and run the source code.
|
||||
Player 1:
|
||||
Steer : Left / Right arrow
|
||||
Accelerate : Up arrow
|
||||
Brake : Down arrow
|
||||
Use item : Right control
|
||||
Wheelie : Right shift
|
||||
Rescue : Backspace
|
||||
Jump : - (minus key)
|
||||
Look back : Right alt
|
||||
|
||||
While compilation with cygwin is not officially supported,
|
||||
this has been done (check with the forum for details).
|
||||
Player 2:
|
||||
Steer : A / D key
|
||||
Accelerate : W key
|
||||
Brake : S key
|
||||
Use item : Left control
|
||||
Wheelie : Left shift
|
||||
Rescue : Q key
|
||||
Jump : Caps lock
|
||||
Look back : Left alt
|
||||
|
||||
MAC OSX
|
||||
-------
|
||||
The latest information about compilation on Mac are on our wiki:
|
||||
http://supertuxkart.sourceforge.net/Building_and_packaging_on_OSX
|
||||
The Xcode project file is in /src/ide/Xcode/, but it still
|
||||
requires that all dependencies are installed as explained on the wiki.
|
||||
Player 3:
|
||||
Steer : F / H key
|
||||
Accelerate : T key
|
||||
Brake : G key
|
||||
Use item : N key
|
||||
Wheelie : C key
|
||||
Rescue : R key
|
||||
Jump : V key
|
||||
Look back : N key
|
||||
|
||||
UNIX
|
||||
----
|
||||
See INSTALL for details.
|
||||
Player 4:
|
||||
Steer : J / L key
|
||||
Accelerate : I key
|
||||
Brake : K key
|
||||
Use item : . key
|
||||
Wheelie : M key
|
||||
Rescue : u key
|
||||
Jump : , key
|
||||
Look back : / key
|
||||
|
||||
The Escape key pauses the game and shows the race menu.
|
||||
|
||||
|
||||
SUPPORT
|
||||
=======
|
||||
The main webpage is at:
|
||||
|
||||
http://supertuxkart.sourceforge.net
|
||||
|
||||
If you have any problems, please contact the SuperTuxKart mailing list at:
|
||||
|
||||
supertuxkart-devel@lists.sourceforge.net
|
||||
|
||||
The archives of this mailing list can be found at:
|
||||
|
||||
http://sourceforge.net/mailarchive/forum.php?forum_name=supertuxkart-devel
|
||||
|
||||
LICENSE
|
||||
=======
|
||||
@@ -57,18 +100,3 @@ This software is released under the GNU General Public License (GPL) which
|
||||
can be found in the file 'LICENSE' in the same directory as this file.
|
||||
Information about the licenses for artwork are contained in
|
||||
data/licenses.
|
||||
|
||||
|
||||
3D COORDINATES
|
||||
==============
|
||||
A reminder for those looking at the code and 3d models:
|
||||
|
||||
STK : X right, Y up, Z forwards
|
||||
Blender: X right, Y forwards, Z up
|
||||
|
||||
The exporters perform the needed transform, so in Blender you just work
|
||||
with XY plane as ground, and things will appear fine in STK (using XZ
|
||||
as ground in the code, obviously).
|
||||
|
||||
|
||||
|
||||
|
28
README.cygwin
Normal file
28
README.cygwin
Normal file
@@ -0,0 +1,28 @@
|
||||
Some short instruction on how to compile supertuxkart with cygwin:
|
||||
|
||||
1) You have to use supertuxkart revision 593 or later (which you are
|
||||
probably doing since you are reading this readme :) ).
|
||||
|
||||
2) Install freeglut
|
||||
This is part of the cygwin packages, so just select this in
|
||||
the cygwin setup program.
|
||||
|
||||
3) Compile and install plib
|
||||
This should work straight out of the box.
|
||||
|
||||
4) Unpack supteruxkart and run ./configure and make.
|
||||
|
||||
That should be all.
|
||||
|
||||
|
||||
Comments:
|
||||
1) A -DNOMINMAX is added for cygwin compilations, since otherwise
|
||||
min and max are #defined, causing problems with all std::min and
|
||||
std::max constructs.
|
||||
2) The order in which plib/pu.h and plib/pw.h are included appears
|
||||
to be important - pw should be included first.
|
||||
|
||||
If you have any problems, please post on the mailing list - I am
|
||||
not a regular windows user, so am probably not able to help you.
|
||||
|
||||
hiker
|
529
README.macosx
Normal file
529
README.macosx
Normal file
@@ -0,0 +1,529 @@
|
||||
The latest information about compilation on Mac are on our wiki:
|
||||
http://supertuxkart.sourceforge.net/Building_and_packaging_on_OSX
|
||||
|
||||
The older instructions should still work, and are quite detailed.
|
||||
Note that we supply a modified version of plib (on our download page
|
||||
at http://sourceforge.net/project/showfiles.php?group_id=202302)
|
||||
which fixes a few compilation problems on Macs. We strongly recommend
|
||||
to use this version (unless a newer plib version is released).
|
||||
|
||||
System requirements Mac:
|
||||
PowerPC- or Intel-Mac with 800 MHz or more,
|
||||
1 GHz recommended 3D-graphics card with 32 MB or more.
|
||||
100 MB free disk space. Supporting Mac OS X 10.3.9 or later.
|
||||
|
||||
Compiling SuperTuxKart on OS X 10.4.x
|
||||
|
||||
01. Install all updates for OS X.
|
||||
|
||||
02. Download xcode 2.4.1_8m1910_6936315 from http://developer.apple.com/macosx/
|
||||
|
||||
You must be an Apple Developer Connection member to download this package.
|
||||
|
||||
03. Installing XCode.
|
||||
|
||||
04. Edit "/etc/profile":
|
||||
|
||||
--------------------------------------------------------------------------------------------------------
|
||||
|
||||
# System-wide .profile for sh(1)
|
||||
|
||||
PATH="/sw/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/X11R6/bin"
|
||||
|
||||
export PATH
|
||||
|
||||
PKG_CONFIG_PATH="/sw/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig:/usr/local/lib/pkgconfig"
|
||||
|
||||
export PKG_CONFIG_PATH
|
||||
|
||||
if [ "${BASH-no}" != "no" ]; then [ -r /etc/bashrc ] && . /etc/bashrc fi
|
||||
|
||||
--------------------------------------------------------------------------------------------------------
|
||||
|
||||
05. Download Fink from http://www.finkproject.org/download/index.php?phpLang=en
|
||||
|
||||
06. Installing Fink.
|
||||
|
||||
07. Copy the FinkCommander folder to Applications and launch FinkCommander.
|
||||
|
||||
08. Run selfupdate.
|
||||
|
||||
09. Run update-all.
|
||||
|
||||
10. Run the index command.
|
||||
|
||||
11. Installing the following 'fink' packages:
|
||||
|
||||
|
||||
11.01 SDL
|
||||
|
||||
11.02 audiofile
|
||||
|
||||
11.03 esound
|
||||
|
||||
11.04 svn
|
||||
|
||||
11.05 svn-client
|
||||
|
||||
|
||||
12. Download the SDL framework from http://www.libsdl.org/download-1.2.php and copy it to /Library/Frameworks.
|
||||
|
||||
13. Installing Vorbis.framework and Ogg.framework:
|
||||
|
||||
13.01 Download SuperTux from http://developer.berlios.de/project/showfiles.php?group_id=3467&release_id=11879
|
||||
|
||||
13.02 Right-click the SuperTux icon and select Show Package Contents from the context menu.
|
||||
|
||||
13.03 Change in the folder Contents:Frameworks. And copy Vorbis.framework and Ogg.framework to <hd>:Library:Frameworks.
|
||||
|
||||
|
||||
14. Installing plib: ////////////////////////////////////////
|
||||
|
||||
|
||||
14.01 Download PLIB from http://plib.sourceforge.net/download.html
|
||||
|
||||
|
||||
14.02 Unpack plib-1.8.4.tar.gz.
|
||||
|
||||
|
||||
14.03 Change in the folder PLIB.
|
||||
|
||||
|
||||
14.04 Download "pwMacOSX.cxx"-patch from ftp://ftp.berlios.de/pub/supertuxkart/plib_patch_for_osx.zip
|
||||
|
||||
|
||||
14.05 Installing pwMacOSX.cxx-patch.
|
||||
|
||||
|
||||
14.06 Run ./configure --prefix=<..... Universal/plib_ppc>" in the folder PLIB.
|
||||
|
||||
|
||||
e.g.: /Users/christian/Desktop/Universal/plib_ppc.
|
||||
|
||||
|
||||
14.07 Modify the plib:
|
||||
|
||||
|
||||
jsMacOSX.cxx:
|
||||
|
||||
|
||||
#include <IOKit/IOkitLib.h>
|
||||
|
||||
|
||||
replace with:
|
||||
|
||||
|
||||
#include <IOKit/IOKitLib.h>
|
||||
|
||||
|
||||
14.08 jsMacOSX.cxx:
|
||||
|
||||
|
||||
static void os_specific_s::elementEnumerator( const void *element, void* vjs)
|
||||
|
||||
|
||||
replace with:
|
||||
|
||||
|
||||
void os_specific_s::elementEnumerator( const void *element, void* vjs)
|
||||
|
||||
|
||||
14.09 make
|
||||
|
||||
14.10 make install
|
||||
|
||||
14.11 make clean
|
||||
|
||||
|
||||
14.12 Run "./configure --prefix=<..... Universal/plib_x86>" in the folder PLIB.
|
||||
|
||||
e.g.: /Users/christian/Desktop/Universal/plib_x86.
|
||||
|
||||
14.13 Edit the following Makefiles:
|
||||
|
||||
<PLIB-Ordner>/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/fnt/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/js/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/net/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/psl/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/puAux/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/pui/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/pw/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/sg/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/sl/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/ssg/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/ssgAux/Makefile
|
||||
|
||||
<PLIB-Ordner>/src/util/Makefile
|
||||
|
||||
replace the line: "CXXFLAGS =" with "CXXFLAGS = -g -O2 -Wall -arch i386"
|
||||
|
||||
14.14 make install
|
||||
|
||||
14.15 Create a universal (multi-architecture) plib:
|
||||
|
||||
lipo -create /Users/christian/Desktop/Universal/plib_ppc/lib/libplibfnt.a /Users/christian/Desktop/Universal/
|
||||
|
||||
plib_x86/lib/libplibfnt.a -output /usr/lib/libplibfnt.a
|
||||
|
||||
Repeat this step for all libraries.
|
||||
|
||||
15. Installing Freealut-1.1.0 from OpenAL.org ////////////////////
|
||||
|
||||
15.01 Makefile.in:
|
||||
|
||||
Replace the line:
|
||||
|
||||
SUBDIRS = admin src include examples test_suite
|
||||
|
||||
with
|
||||
|
||||
SUBDIRS = admin src include
|
||||
|
||||
|
||||
15.02 configure:
|
||||
|
||||
Replace the line
|
||||
|
||||
for ac_header in AL/alc.h AL/al.h basetsd.h ctype.h math.h stdio.h time.h
|
||||
|
||||
with
|
||||
|
||||
for ac_header in OpenAL/alc.h OpenAL/al.h basetsd.h ctype.h math.h stdio.h time.h
|
||||
|
||||
|
||||
15.03 export CXXFLAGS="-framework OpenAL"
|
||||
|
||||
|
||||
15.04 export LDFLAGS="-framework OpenAL"
|
||||
|
||||
|
||||
15.05 ./configure --prefix=/usr
|
||||
|
||||
|
||||
15.06 make
|
||||
|
||||
|
||||
15.07 Open admin/pkgconfig/freealut.pc
|
||||
|
||||
Replace the line
|
||||
|
||||
Requires: openal
|
||||
|
||||
with
|
||||
|
||||
Requires:
|
||||
|
||||
|
||||
15.08 Replace the line:
|
||||
|
||||
Libs: -L${libdir} -lalut Cflags: -I${includedir}
|
||||
|
||||
with
|
||||
|
||||
Libs: -framework OpenAL -L${libdir} -lalut Cflags: -framework OpenAL -I${includedir}
|
||||
|
||||
|
||||
15.09 sudo make install
|
||||
|
||||
|
||||
16. Copy the plib files to "/usr/local":
|
||||
|
||||
16.01 sudo cp /usr/lib/libplib* /usr/local/lib/
|
||||
|
||||
16.02 sudo cp -R /usr/include/plib /usr/local/include/
|
||||
|
||||
|
||||
Installing SuperTuxKart //////////
|
||||
|
||||
|
||||
1. Copy the following code and paste it in the new file "buildUB.sh".
|
||||
|
||||
|
||||
buildUB.sh:
|
||||
|
||||
---------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
if [ -r ./configure ]; then
|
||||
|
||||
echo "Configure found!"
|
||||
|
||||
else
|
||||
|
||||
echo "No Config file found! Runing autogen.sh..."
|
||||
|
||||
sh autogen.sh
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if [ -r ./config.guess ]; then
|
||||
|
||||
echo "config.guess found!"
|
||||
|
||||
else
|
||||
|
||||
echo "config.guess not present! Copying it..."
|
||||
|
||||
cp /usr/share/libtool/config.guess ./config.guess
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if [ -r ./config.sub ]; then
|
||||
|
||||
echo "config.sub found!"
|
||||
|
||||
else
|
||||
|
||||
echo "config.sub not present! Copying it..."
|
||||
|
||||
cp /usr/share/libtool/config.sub ./config.sub
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if [ -r ./Makefile ]; then
|
||||
|
||||
echo "Makefile found!"
|
||||
|
||||
else
|
||||
|
||||
echo "Makefile missing! Running ./configure..."
|
||||
|
||||
./configure
|
||||
|
||||
if [ -r ./Makefile ]; then
|
||||
|
||||
echo "Makefile present, ready to compile!"
|
||||
|
||||
else
|
||||
|
||||
echo "Configure not completed, Makefile still missing! Exiting..."
|
||||
|
||||
exit 1
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
echo "Setting environment variables..."
|
||||
|
||||
export sdl_LIBS=""
|
||||
|
||||
export LDFLAGS="-framework OpenAL -Wl,-framework,Cocoa -framework SDL -framework Cocoa -lSDLmain
|
||||
|
||||
-framework Vorbis -framework Ogg -L/usr/local/lib -L/opt/local/lib -L/sw/lib"
|
||||
|
||||
export openal_LIBS="/usr/local/lib/libmikmod.a"
|
||||
|
||||
|
||||
if [ -r ./bin/supertuxkartPPC ]; then
|
||||
|
||||
echo "supertuxkartPPC is present, nothing to do."
|
||||
|
||||
else
|
||||
|
||||
echo "Cleaning up..."
|
||||
|
||||
make clean -s
|
||||
|
||||
|
||||
echo "Building PPC Binary..."
|
||||
|
||||
make -e -s
|
||||
|
||||
|
||||
echo "Copying PPC Binary..."
|
||||
|
||||
mkdir ./bin
|
||||
|
||||
if [ -r ./src/supertuxkart ]; then
|
||||
|
||||
cp ./src/supertuxkart ./bin/supertuxkartPPC
|
||||
|
||||
else
|
||||
|
||||
echo "Error!"
|
||||
|
||||
exit 1
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if [ -r ./bin/supertuxkartx86 ]; then
|
||||
|
||||
echo "supertuxkartx86 is present, nothing to do."
|
||||
|
||||
else
|
||||
|
||||
echo "Cleaning up..."
|
||||
|
||||
make clean -s
|
||||
|
||||
|
||||
echo "Building x86 Binary..."
|
||||
|
||||
export CXXFLAGS="-g -O2 -Wall -arch i386 `sdl-config --cflags`"
|
||||
|
||||
export LDFLAGS=$LDFLAGS" -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -L/usr/local/lib -L/opt/local/lib -L/sw/lib"
|
||||
|
||||
make -e -s
|
||||
|
||||
|
||||
echo "Copying x86 Binary..."
|
||||
|
||||
if [ -r ./src/supertuxkart ]; then
|
||||
|
||||
cp ./src/supertuxkart ./bin/supertuxkartx86
|
||||
|
||||
else
|
||||
|
||||
echo "Error!"
|
||||
|
||||
exit 1
|
||||
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
echo "Creating Universal Binary..."
|
||||
|
||||
lipo -create ./bin/supertuxkartPPC ./bin/supertuxkartx86 -output ./bin/supertuxkart
|
||||
|
||||
|
||||
echo "Done!"
|
||||
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
|
||||
2. Set the permissions for the script "buildUB.sh"
|
||||
|
||||
e.g.: chmod 744 buildUB.sh
|
||||
|
||||
|
||||
3. Download SuperTuxKart-Source from "http://sourceforge.net/project/showfiles.php?group_id=202302".
|
||||
|
||||
|
||||
4. Go in the folder SuperTuxKart.
|
||||
|
||||
|
||||
5. Copy the script "buildUB.sh" in the directory "SuperTuxKart".
|
||||
|
||||
|
||||
6. ./buildUB.sh
|
||||
|
||||
|
||||
7. Check-up:
|
||||
|
||||
|
||||
7.01 Go in the folder "bin".
|
||||
|
||||
|
||||
7.02 ./supertuxkart --version
|
||||
|
||||
Print version information
|
||||
|
||||
e.g.:
|
||||
-------------------------------------------------------------------------
|
||||
SuperTuxKart, 0.3alpha.
|
||||
|
||||
SuperTuxKart, SVN revision number '975M'.
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
|
||||
7.03 Is this a universal binary?
|
||||
|
||||
file supertuxkart
|
||||
|
||||
|
||||
e.g.:
|
||||
-------------------------------------------------------------------------
|
||||
supertuxkart: Mach-O fat file with 2 architectures
|
||||
|
||||
supertuxkart (for architecture ppc): Mach-O executable ppc
|
||||
|
||||
supertuxkart (for architecture i386): Mach-O executable i386
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
|
||||
7.04 otool -L supertuxkart
|
||||
|
||||
Print shared library dependencies.
|
||||
|
||||
e.g.:
|
||||
------------------------------------------------------------------------------------------------
|
||||
supertuxkart:
|
||||
|
||||
/System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL (compatibility version 1.0.0,
|
||||
|
||||
current version 1.0.0)
|
||||
|
||||
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0,
|
||||
|
||||
current version 11.0.0)
|
||||
|
||||
@executable_path/../Frameworks/SDL.framework/Versions/A/SDL (compatibility version 1.0.0, current
|
||||
|
||||
version 1.0.0)
|
||||
|
||||
@executable_path/../Frameworks/Vorbis.framework/Versions/A/Vorbis (compatibility version 1.0.0,
|
||||
|
||||
current version 1.0.0)
|
||||
|
||||
@executable_path/../Frameworks/Ogg.framework/Versions/A/Ogg (compatibility version 1.0.0, current
|
||||
|
||||
version 1.0.0)
|
||||
|
||||
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current
|
||||
|
||||
version 128.0.0)
|
||||
|
||||
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current
|
||||
|
||||
version 1.0.0)
|
||||
|
||||
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current
|
||||
|
||||
version 275.0.0)
|
||||
|
||||
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version
|
||||
|
||||
1.0.0)
|
||||
|
||||
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
|
||||
|
||||
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
|
||||
|
||||
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.8)
|
||||
---------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
************* S T A R T T H E G A M E A N D H A V E F U N! **************
|
||||
|
||||
|
||||
Please post to the development list if you have any problems.
|
||||
|
||||
|
||||
|
69
README.windows
Normal file
69
README.windows
Normal file
@@ -0,0 +1,69 @@
|
||||
NOTE
|
||||
====
|
||||
If you have downloaded the 0.4 version and it does not start, please
|
||||
install the Microsoft Visual C++ redistributable package ('vcredist_x86.exe')
|
||||
included in this directory.
|
||||
|
||||
If you don't hear any sound, you have to install OpenAL (see http://ww.openal.org).
|
||||
Simply install the OpenAL redistributable ('oalinst.exe').
|
||||
|
||||
The release comes with a full installer, which includes these redistributables.
|
||||
|
||||
|
||||
If you are downloading a source version and want to compile it yourself:
|
||||
|
||||
There are two documented ways to compile an executable for windows: using
|
||||
cygwin, and using visual c++ (tested with the free Express version).
|
||||
|
||||
If you have any problems, please post on the mailing list - I am
|
||||
not a regular windows user, so am probably not able to help you.
|
||||
|
||||
hiker
|
||||
|
||||
|
||||
Cygwin
|
||||
======
|
||||
1) Install freeglut
|
||||
This is part of the cygwin packages, so just select this in
|
||||
the cygwin setup program.
|
||||
|
||||
2) Compile and install plib
|
||||
This should work straight out of the box.
|
||||
|
||||
3) Unpack supertuxkart and run ./configure and make.
|
||||
|
||||
That should be all.
|
||||
|
||||
Comments:
|
||||
1) A -DNOMINMAX is added for cygwin compilations, since otherwise
|
||||
min and max are #defined, causing problems with all std::min and
|
||||
std::max constructs. This is done automatically by the configure
|
||||
script.
|
||||
2) The order in which plib/pu.h and plib/pw.h are included appears
|
||||
to be important - pw should be included first.
|
||||
|
||||
|
||||
|
||||
Visual C++ Express
|
||||
==================
|
||||
There are now project files included for building SuperTuxKart with
|
||||
Visual C++ - have a look at the src/ide/vc8 folder.
|
||||
Since version r793 SuperTuxKart compiles with Visual C++ Express,
|
||||
version 8.0, since rev 1267 Visual C++ project files are included.
|
||||
The main project file is .../src/ide/vc8/supertuxkart.vcproj,
|
||||
and it includes a sub project for the bullet library. More details
|
||||
can be found in .../src/ide/vc8/README.
|
||||
|
||||
You still have to install all dependencies, and:
|
||||
1) Modify plib:
|
||||
Best choice would be to use the plib version from our download page,
|
||||
since it contains all bugfixes that are necessary. Otherwise:
|
||||
In src/ssg/ssgLoadAC.cxx replace:
|
||||
loader_fd = fopen ( filename, "ra" ) ;
|
||||
with
|
||||
loader_fd = fopen ( filename, "r" ) ;
|
||||
This patch will be submitted to PLIB, but we don't know if and
|
||||
when it will be applied.
|
||||
|
||||
2) Compile plib (project files for visual c++ are included)
|
||||
|
34
SVN-CONFIG
34
SVN-CONFIG
@@ -1,34 +0,0 @@
|
||||
# Please, make sure your SVN client uses something that matches the
|
||||
# following config. Specially the autoprops part, that way new files
|
||||
# will be added with the right settings. Default config for command line
|
||||
# svn is in ~/.subversion/config. If you use SVN for multiple projects
|
||||
# simultaneously, remember you can use different configs, at least in
|
||||
# cmd line (via --config-dir and for example ~/.subversion/supertuxkart/
|
||||
# with a new config file inside).
|
||||
|
||||
[miscellany]
|
||||
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* ._* .DS_Store *.blend1 *.blend2
|
||||
enable-auto-props = yes
|
||||
|
||||
[auto-props]
|
||||
*.c = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
||||
*.cpp = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
||||
*.h = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
||||
*.hpp = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
||||
*.dsp = svn:eol-style=CRLF
|
||||
*.dsw = svn:eol-style=CRLF
|
||||
*.sh = svn:eol-style=native;svn:executable;svn:keywords=Author Date Id Revision
|
||||
*.txt = svn:eol-style=native
|
||||
*.png = svn:mime-type=image/png
|
||||
*.jpg = svn:mime-type=image/jpeg
|
||||
Makefile = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
||||
*.jpeg = svn:mime-type=image/jpeg
|
||||
*.gif = svn:mime-type=image/gif
|
||||
*.svg = svn:mime-type=image/svg+xml
|
||||
*.htm = svn:mime-type=text/html
|
||||
*.html = svn:mime-type=text/html
|
||||
*.css = svn:mime-type=text/css
|
||||
*.pdf = svn:mime-type=application/pdf
|
||||
SConstruct = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
||||
*.xml = svn:eol-style=LF;svn:mime-type=text/xml
|
||||
*.py = svn:eol-style=native;svn:keywords=Author Date Id Revision
|
86
TODO
86
TODO
@@ -39,5 +39,87 @@ Thanks in advance!
|
||||
The SuperTuxKart-Team
|
||||
|
||||
|
||||
For details, see
|
||||
http://supertuxkart.sourceforge.net/Get_involved
|
||||
********************************
|
||||
********************************
|
||||
** **
|
||||
** Incomplete(!!) TODO List **
|
||||
** **
|
||||
********************************
|
||||
********************************
|
||||
|
||||
Known bugs
|
||||
==========
|
||||
This contains either hard, or not reproducible errors.
|
||||
|
||||
- Fix keyboard bug: the first time turning left/right while
|
||||
pressing the up key is ignored. See bug 6168
|
||||
Might be difficult to fix, since it occurs (it appears) in the interface
|
||||
between X and plib.
|
||||
|
||||
Things that would be nice to fix, but are not urgent
|
||||
=====================================================
|
||||
- Write some documentation. Things to include:
|
||||
- taking shortcuts might result in not finishing a lap
|
||||
- lap display colour for all karts changes colour whenever
|
||||
a lap is finished
|
||||
- Display skid marks again (currently disabled due to problems of
|
||||
skid marks being 'in the air').
|
||||
- Added settings menu (e.g. for MPH vs KPH (vs. KM/H), ...)
|
||||
- Enable real fullscreen support
|
||||
- Top 10 lists for time trial, and grand prix.
|
||||
- Display the time difference to either the
|
||||
kart in front of the kart, or to the first kart.
|
||||
- Add track sections which must be passed in order to finish
|
||||
a lap. This would avoid karts taking shortcuts.
|
||||
That's already in the code, but currently the user does
|
||||
not get any feedback if a driveline is skipped --> after
|
||||
crossing the finishing line, the race might not end for a
|
||||
kart. Well, there is the 'wrong direction' message (?)
|
||||
- Add a tutorial course
|
||||
- Valgrind for memory bugs.
|
||||
- Update the web page, make more screen shots, ...
|
||||
- Tight/wide corner steering for AI. The AI is hitting the wall
|
||||
in very tight corners (e.g. subseatrack) [coz]
|
||||
|
||||
|
||||
long term
|
||||
=========
|
||||
- OpenAL support (optional) [patrick]
|
||||
- Improved physics to support skidding
|
||||
- Improved collision handling
|
||||
- Add network multiplayer
|
||||
- Make full use of OpenAL
|
||||
- Performance tuning
|
||||
- Support for multi-core CPUs
|
||||
(while this is not strictly necessary, it might be a nice headline
|
||||
for news entries. The physics/collision detection would be
|
||||
easy to parallelise)
|
||||
- More gadgets
|
||||
- Positive: - squirt oil on track to make karts slip, ...
|
||||
- Negative: - 'dirt on windscreen' - partial blackout of screen
|
||||
- More flexibility for items. E.g.
|
||||
- Tracks might hard code some items, change the distribution of some
|
||||
others (e.g. only a rocket at a certain location, but random choice
|
||||
which one the kart gets. Instead of just specifying
|
||||
GREENHERRING, one could write: ZIPPER:ANVIL and one of the listed
|
||||
things would be picked randomly)
|
||||
- Grand prixs might want to overwrite this, e.g.:
|
||||
"war" grand prix: only rockets for all gadgets
|
||||
- Perhaps make good and bad things indistinguishable?
|
||||
- sound/music manager needed
|
||||
Make it easy to replace sounds (which are currently hardcoded), e.g
|
||||
via a config file. Sound/music should be selectable for a track,
|
||||
but a grand prix should be able to overwrite this to create a consistent
|
||||
ambience, ...
|
||||
- More tracks
|
||||
- More grand prixs
|
||||
- Support for translations(?)
|
||||
- Support for easy-to-plugin different AIs, and allow different karts
|
||||
to have different AIs
|
||||
- Code cleanup
|
||||
- Consistent style (which needs to be defined)
|
||||
- Replace (as far as possible) all char* with std::string
|
||||
- Rather complicated way of passing information to world, a
|
||||
mixture of CupData, raceSetup, race_manager. This could
|
||||
probably all be simplified by only using the race_manager,
|
||||
removing the raceSetup class completely.
|
||||
|
0
acinclude.m4
Normal file → Executable file
0
acinclude.m4
Normal file → Executable file
47
autogen.sh
47
autogen.sh
@@ -1,4 +1,47 @@
|
||||
#!/bin/sh
|
||||
# [Re]generate autoconf files.
|
||||
|
||||
autoreconf --install "$@"
|
||||
OSTYPE=`uname -s`
|
||||
MACHINE=`uname -m`
|
||||
AUTO_MAKE_VERSION=`automake --version | head -1 | awk '{print $4}' | sed -e 's/\.\([0-9]*\).*/\1/'`
|
||||
if test $AUTO_MAKE_VERSION -lt 15; then
|
||||
echo ""
|
||||
echo "You need to upgrade to automake version 1.5 or greater."
|
||||
echo "Most distributions have packages available to install or you can"
|
||||
echo "find the source for the most recent version at"
|
||||
echo "ftp://ftp.gnu.org/gnu/automake"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Host info: $OSTYPE $MACHINE"
|
||||
echo -n " automake: `automake --version | head -1 | awk '{print $4}'`"
|
||||
echo " ($AUTO_MAKE_VERSION)"
|
||||
echo ""
|
||||
|
||||
echo "Running aclocal"
|
||||
aclocal
|
||||
|
||||
echo "Running automake --add-missing"
|
||||
automake --add-missing
|
||||
|
||||
echo "Running autoconf"
|
||||
autoconf
|
||||
|
||||
if [ ! -e configure ]; then
|
||||
echo "ERROR: configure was not created!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "======================================"
|
||||
|
||||
if [ -f config.cache ]; then
|
||||
echo "config.cache exists. Removing the config.cache file will force"
|
||||
echo "the ./configure script to rerun all it's tests rather than using"
|
||||
echo "the previously cached values."
|
||||
echo ""
|
||||
fi
|
||||
|
||||
echo "Now you are ready to run './configure'"
|
||||
echo "======================================"
|
||||
|
||||
# EOF #
|
||||
|
@@ -1,27 +0,0 @@
|
||||
# Build type STKRelease is similar to Release provided by CMake,
|
||||
# but it uses a lower optimization level
|
||||
|
||||
set(CMAKE_CXX_FLAGS_STKRELEASE "-O2 -DNDEBUG" CACHE STRING
|
||||
"Flags used by the C++ compiler during STK release builds."
|
||||
FORCE)
|
||||
set(CMAKE_C_FLAGS_STKRELEASE "-O2 -DNDEBUG" CACHE STRING
|
||||
"Flags used by the C compiler during STK release builds."
|
||||
FORCE)
|
||||
set(CMAKE_EXE_LINKER_FLAGS_STKRELEASE
|
||||
"" CACHE STRING
|
||||
"Flags used for linking binaries during STK release builds."
|
||||
FORCE)
|
||||
set(CMAKE_SHARED_LINKER_FLAGS_STKRELEASE
|
||||
"" CACHE STRING
|
||||
"Flags used by the shared libraries linker during STK release builds."
|
||||
FORCE)
|
||||
|
||||
mark_as_advanced(
|
||||
CMAKE_CXX_FLAGS_STKRELEASE
|
||||
CMAKE_C_FLAGS_STKRELEASE
|
||||
CMAKE_EXE_LINKER_FLAGS_STKRELEASE
|
||||
CMAKE_SHARED_LINKER_FLAGS_STKRELEASE)
|
||||
|
||||
set(CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING
|
||||
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel STKRelease."
|
||||
FORCE)
|
@@ -1,42 +0,0 @@
|
||||
# - Find Fribidi
|
||||
# Find the Fribidi includes and libraries
|
||||
#
|
||||
# Following variables are provided:
|
||||
# FRIBIDI_FOUND
|
||||
# True if Fribidi has been found
|
||||
# FRIBIDI_INCLUDE_DIRS
|
||||
# The include directories of Fribidi
|
||||
# FRIBIDI_LIBRARIES
|
||||
# Fribidi library list
|
||||
|
||||
if(APPLE)
|
||||
set(FRIBIDI_INCLUDE_DIR NAMES fribidi/fribidi.h PATHS /Library/Frameworks/fribidi.framework/Headers)
|
||||
find_library(FRIBIDI_LIBRARY NAMES fribidi PATHS /Library/Frameworks/fribidi.framework)
|
||||
set(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY})
|
||||
include_directories(/Library/Frameworks/fribidi.framework/Headers)
|
||||
#add_definitions(-framework fribidi)
|
||||
set(FRIBIDI_FOUND 1)
|
||||
elseif(UNIX)
|
||||
include(FindPkgConfig)
|
||||
pkg_check_modules(FRIBIDI fribidi)
|
||||
else()
|
||||
set(FRIBIDI_FOUND 0)
|
||||
endif()
|
||||
|
||||
if(NOT FRIBIDI_FOUND)
|
||||
find_path(FRIBIDI_INCLUDE_DIR NAMES fribidi/fribidi.h PATHS /Library/Frameworks/fribidi.framework/Headers "${PROJECT_SOURCE_DIR}/dependencies/include")
|
||||
find_library(FRIBIDI_LIBRARY NAMES fribidi PATHS /Library/Frameworks/fribidi.framework "${PROJECT_SOURCE_DIR}/dependencies/lib")
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(Fribidi DEFAULT_MSG FRIBIDI_INCLUDE_DIR FRIBIDI_LIBRARY)
|
||||
|
||||
if(APPLE)
|
||||
set(FRIBIDI_INCLUDE_DIR "/Library/Frameworks/fribidi.framework/Headers")
|
||||
endif()
|
||||
|
||||
# Publish variables
|
||||
set(FRIBIDI_INCLUDE_DIRS ${FRIBIDI_INCLUDE_DIR})
|
||||
set(FRIBIDI_LIBRARIES ${FRIBIDI_LIBRARY})
|
||||
endif()
|
||||
|
||||
mark_as_advanced(FRIBIDI_INCLUDE_DIR FRIBIDI_LIBRARY)
|
@@ -1,40 +0,0 @@
|
||||
# - Find OggVorbis
|
||||
# Find the OggVorbis includes and libraries
|
||||
#
|
||||
# Following variables are provided:
|
||||
# OGGVORBIS_FOUND
|
||||
# True if OggVorbis has been found
|
||||
# OGGVORBIS_INCLUDE_DIRS
|
||||
# The include directories of OggVorbis
|
||||
# OGGVORBIS_LIBRARIES
|
||||
# OggVorbis library list
|
||||
|
||||
|
||||
find_path(OGGVORBIS_OGG_INCLUDE_DIR NAMES ogg/ogg.h PATHS "${PROJECT_SOURCE_DIR}/dependencies/include")
|
||||
find_path(OGGVORBIS_VORBIS_INCLUDE_DIR NAMES vorbis/vorbisfile.h PATHS "${PROJECT_SOURCE_DIR}/dependencies/include")
|
||||
find_library(OGGVORBIS_OGG_LIBRARY NAMES ogg Ogg libogg PATHS "${PROJECT_SOURCE_DIR}/dependencies/lib")
|
||||
find_library(OGGVORBIS_VORBIS_LIBRARY NAMES vorbis Vorbis libvorbis PATHS "${PROJECT_SOURCE_DIR}/dependencies/lib")
|
||||
find_library(OGGVORBIS_VORBISFILE_LIBRARY NAMES vorbisfile libvorbisfile PATHS "${PROJECT_SOURCE_DIR}/dependencies/lib")
|
||||
|
||||
if (APPLE)
|
||||
set(OGGVORBIS_OGG_INCLUDE_DIR "/Library/Frameworks/Ogg.framework/Headers/")
|
||||
set(OGGVORBIS_VORBIS_INCLUDE_DIR "/Library/Frameworks/Vorbis.framework/Headers/")
|
||||
endif()
|
||||
|
||||
if(APPLE AND NOT OGGVORBIS_VORBISFILE_LIBRARY)
|
||||
# Seems to be the same on Apple systems
|
||||
set(OGGVORBIS_VORBISFILE_LIBRARY ${OGGVORBIS_VORBIS_LIBRARY})
|
||||
endif()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(OggVorbis DEFAULT_MSG
|
||||
OGGVORBIS_OGG_INCLUDE_DIR OGGVORBIS_VORBIS_INCLUDE_DIR
|
||||
OGGVORBIS_OGG_LIBRARY OGGVORBIS_VORBIS_LIBRARY OGGVORBIS_VORBISFILE_LIBRARY)
|
||||
|
||||
# Publish variables
|
||||
set(OGGVORBIS_INCLUDE_DIRS ${OGGVORBIS_OGG_INCLUDE_DIR} ${OGGVORBIS_VORBIS_INCLUDE_DIR})
|
||||
set(OGGVORBIS_LIBRARIES ${OGGVORBIS_OGG_LIBRARY} ${OGGVORBIS_VORBIS_LIBRARY} ${OGGVORBIS_VORBISFILE_LIBRARY})
|
||||
list(REMOVE_DUPLICATES OGGVORBIS_INCLUDE_DIRS)
|
||||
list(REMOVE_DUPLICATES OGGVORBIS_LIBRARIES)
|
||||
mark_as_advanced(OGGVORBIS_OGG_INCLUDE_DIR OGGVORBIS_VORBIS_INCLUDE_DIR)
|
||||
mark_as_advanced(OGGVORBIS_OGG_LIBRARY OGGVORBIS_VORBIS_LIBRARY OGGVORBIS_VORBISFILE_LIBRARY)
|
@@ -1,39 +0,0 @@
|
||||
# Generate source groups which mimic the original folder hierarchy.
|
||||
# This is mainly useful for MSVC's project explorer
|
||||
# - SRCS list of source files
|
||||
# - HDRS list of header files
|
||||
function(source_group_hierarchy SRCS HDRS)
|
||||
if(MSVC)
|
||||
# This removes the 'Source Files' folder, which is
|
||||
# not really necessary. Also, put header and source
|
||||
# files into the same folder
|
||||
foreach(source_file ${${SRCS}})
|
||||
source_group_file(${source_file} "")
|
||||
endforeach()
|
||||
foreach(header_file ${${HDRS}})
|
||||
source_group_file(${header_file} "")
|
||||
endforeach()
|
||||
else()
|
||||
foreach(source_file ${${SRCS}})
|
||||
source_group_file(${source_file} "Source Files\\")
|
||||
endforeach()
|
||||
foreach(header_file ${${HDRS}})
|
||||
source_group_file(${header_file} "Source Files\\")
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
endfunction()
|
||||
|
||||
# Determine source_group depending on file path
|
||||
# - FILE path to a file (header or source)
|
||||
# - GROUP_PREFIX prefix for group name
|
||||
function(source_group_file file group_prefix)
|
||||
get_filename_component(file_path ${file} PATH)
|
||||
if(${file_path} STREQUAL "src")
|
||||
source_group("${group_prefix}" FILES ${file})
|
||||
else()
|
||||
string(REGEX REPLACE "^src/(.*)$" "\\1" group_name ${file_path})
|
||||
string(REPLACE "/" "\\\\" group_name ${group_name})
|
||||
source_group("${group_prefix}${group_name}" FILES ${file})
|
||||
endif()
|
||||
endfunction()
|
666
config.rpath
666
config.rpath
@@ -1,666 +0,0 @@
|
||||
#! /bin/sh
|
||||
# Output a system dependent set of variables, describing how to set the
|
||||
# run time search path of shared libraries in an executable.
|
||||
#
|
||||
# Copyright 1996-2007 Free Software Foundation, Inc.
|
||||
# Taken from GNU libtool, 2001
|
||||
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
|
||||
#
|
||||
# This file is free software; the Free Software Foundation gives
|
||||
# unlimited permission to copy and/or distribute it, with or without
|
||||
# modifications, as long as this notice is preserved.
|
||||
#
|
||||
# The first argument passed to this file is the canonical host specification,
|
||||
# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM
|
||||
# or
|
||||
# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM
|
||||
# The environment variables CC, GCC, LDFLAGS, LD, with_gnu_ld
|
||||
# should be set by the caller.
|
||||
#
|
||||
# The set of defined variables is at the end of this script.
|
||||
|
||||
# Known limitations:
|
||||
# - On IRIX 6.5 with CC="cc", the run time search patch must not be longer
|
||||
# than 256 bytes, otherwise the compiler driver will dump core. The only
|
||||
# known workaround is to choose shorter directory names for the build
|
||||
# directory and/or the installation directory.
|
||||
|
||||
# All known linkers require a `.a' archive for static linking (except MSVC,
|
||||
# which needs '.lib').
|
||||
libext=a
|
||||
shrext=.so
|
||||
|
||||
host="$1"
|
||||
host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
|
||||
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
|
||||
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
|
||||
|
||||
# Code taken from libtool.m4's _LT_CC_BASENAME.
|
||||
|
||||
for cc_temp in $CC""; do
|
||||
case $cc_temp in
|
||||
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
|
||||
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
|
||||
\-*) ;;
|
||||
*) break;;
|
||||
esac
|
||||
done
|
||||
cc_basename=`echo "$cc_temp" | sed -e 's%^.*/%%'`
|
||||
|
||||
# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC.
|
||||
|
||||
wl=
|
||||
if test "$GCC" = yes; then
|
||||
wl='-Wl,'
|
||||
else
|
||||
case "$host_os" in
|
||||
aix*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
darwin*)
|
||||
case $cc_basename in
|
||||
xlc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
mingw* | cygwin* | pw32* | os2*)
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
newsos6)
|
||||
;;
|
||||
linux* | k*bsd*-gnu)
|
||||
case $cc_basename in
|
||||
icc* | ecc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
pgcc | pgf77 | pgf90)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
ccc*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
como)
|
||||
wl='-lopt='
|
||||
;;
|
||||
*)
|
||||
case `$CC -V 2>&1 | sed 5q` in
|
||||
*Sun\ C*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
rdos*)
|
||||
;;
|
||||
solaris*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sunos4*)
|
||||
wl='-Qoption ld '
|
||||
;;
|
||||
sysv4 | sysv4.2uw2* | sysv4.3*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
;;
|
||||
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
unicos*)
|
||||
wl='-Wl,'
|
||||
;;
|
||||
uts4*)
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Code taken from libtool.m4's AC_LIBTOOL_PROG_LD_SHLIBS.
|
||||
|
||||
hardcode_libdir_flag_spec=
|
||||
hardcode_libdir_separator=
|
||||
hardcode_direct=no
|
||||
hardcode_minus_L=no
|
||||
|
||||
case "$host_os" in
|
||||
cygwin* | mingw* | pw32*)
|
||||
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
if test "$GCC" != yes; then
|
||||
with_gnu_ld=no
|
||||
fi
|
||||
;;
|
||||
interix*)
|
||||
# we just hope/assume this is gcc and not c89 (= MSVC++)
|
||||
with_gnu_ld=yes
|
||||
;;
|
||||
openbsd*)
|
||||
with_gnu_ld=no
|
||||
;;
|
||||
esac
|
||||
|
||||
ld_shlibs=yes
|
||||
if test "$with_gnu_ld" = yes; then
|
||||
# Set some defaults for GNU ld with shared library support. These
|
||||
# are reset later if shared libraries are not supported. Putting them
|
||||
# here allows them to be overridden if necessary.
|
||||
# Unlike libtool, we use -rpath here, not --rpath, since the documented
|
||||
# option of GNU ld is called -rpath, not --rpath.
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
case "$host_os" in
|
||||
aix3* | aix4* | aix5*)
|
||||
# On AIX/PPC, the GNU linker is very broken
|
||||
if test "$host_cpu" != ia64; then
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
|
||||
# that the semantics of dynamic libraries on AmigaOS, at least up
|
||||
# to version 4, is to share data among multiple programs linked
|
||||
# with the same dynamic library. Since this doesn't match the
|
||||
# behavior of shared libraries on other platforms, we cannot use
|
||||
# them.
|
||||
ld_shlibs=no
|
||||
;;
|
||||
beos*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
cygwin* | mingw* | pw32*)
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
interix[3-9]*)
|
||||
hardcode_direct=no
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
gnu* | linux* | k*bsd*-gnu)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
netbsd*)
|
||||
;;
|
||||
solaris*)
|
||||
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
|
||||
ld_shlibs=no
|
||||
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
|
||||
case `$LD -v 2>&1` in
|
||||
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
*)
|
||||
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
|
||||
:
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
if test "$ld_shlibs" = no; then
|
||||
hardcode_libdir_flag_spec=
|
||||
fi
|
||||
else
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
# Note: this linker hardcodes the directories in LIBPATH if there
|
||||
# are no directories specified by -L.
|
||||
hardcode_minus_L=yes
|
||||
if test "$GCC" = yes; then
|
||||
# Neither direct hardcoding nor static linking is supported with a
|
||||
# broken collect2.
|
||||
hardcode_direct=unsupported
|
||||
fi
|
||||
;;
|
||||
aix4* | aix5*)
|
||||
if test "$host_cpu" = ia64; then
|
||||
# On IA64, the linker does run time linking by default, so we don't
|
||||
# have to do anything special.
|
||||
aix_use_runtimelinking=no
|
||||
else
|
||||
aix_use_runtimelinking=no
|
||||
# Test if we are trying to use run time linking or normal
|
||||
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
|
||||
# need to do runtime linking.
|
||||
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
|
||||
for ld_flag in $LDFLAGS; do
|
||||
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
|
||||
aix_use_runtimelinking=yes
|
||||
break
|
||||
fi
|
||||
done
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_separator=':'
|
||||
if test "$GCC" = yes; then
|
||||
case $host_os in aix4.[012]|aix4.[012].*)
|
||||
collect2name=`${CC} -print-prog-name=collect2`
|
||||
if test -f "$collect2name" && \
|
||||
strings "$collect2name" | grep resolve_lib_name >/dev/null
|
||||
then
|
||||
# We have reworked collect2
|
||||
:
|
||||
else
|
||||
# We have old collect2
|
||||
hardcode_direct=unsupported
|
||||
hardcode_minus_L=yes
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_libdir_separator=
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
# Begin _LT_AC_SYS_LIBPATH_AIX.
|
||||
echo 'int main () { return 0; }' > conftest.c
|
||||
${CC} ${LDFLAGS} conftest.c -o conftest
|
||||
aix_libpath=`dump -H conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||
}'`
|
||||
if test -z "$aix_libpath"; then
|
||||
aix_libpath=`dump -HX64 conftest 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
|
||||
}'`
|
||||
fi
|
||||
if test -z "$aix_libpath"; then
|
||||
aix_libpath="/usr/lib:/lib"
|
||||
fi
|
||||
rm -f conftest.c conftest
|
||||
# End _LT_AC_SYS_LIBPATH_AIX.
|
||||
if test "$aix_use_runtimelinking" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
||||
else
|
||||
if test "$host_cpu" = ia64; then
|
||||
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
|
||||
else
|
||||
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
amigaos*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
# see comment about different semantics on the GNU ld section
|
||||
ld_shlibs=no
|
||||
;;
|
||||
bsdi[45]*)
|
||||
;;
|
||||
cygwin* | mingw* | pw32*)
|
||||
# When not using gcc, we currently assume that we are using
|
||||
# Microsoft Visual C++.
|
||||
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
||||
# no search path for DLLs.
|
||||
hardcode_libdir_flag_spec=' '
|
||||
libext=lib
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
hardcode_direct=no
|
||||
if test "$GCC" = yes ; then
|
||||
:
|
||||
else
|
||||
case $cc_basename in
|
||||
xlc*)
|
||||
;;
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
dgux*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
freebsd1*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
freebsd2.2*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
freebsd2*)
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
hpux9*)
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
hpux10*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
fi
|
||||
;;
|
||||
hpux11*)
|
||||
if test "$with_gnu_ld" = no; then
|
||||
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
case $host_cpu in
|
||||
hppa*64*|ia64*)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
*)
|
||||
hardcode_direct=yes
|
||||
# hardcode_minus_L: Not really in the search PATH,
|
||||
# but as the default location of the library.
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
netbsd*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
hardcode_direct=yes
|
||||
;;
|
||||
newsos6)
|
||||
hardcode_direct=yes
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
openbsd*)
|
||||
if test -f /usr/libexec/ld.so; then
|
||||
hardcode_direct=yes
|
||||
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
else
|
||||
case "$host_os" in
|
||||
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
else
|
||||
ld_shlibs=no
|
||||
fi
|
||||
;;
|
||||
os2*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
osf3*)
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
osf4* | osf5*)
|
||||
if test "$GCC" = yes; then
|
||||
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
|
||||
else
|
||||
# Both cc and cxx compiler support -rpath directly
|
||||
hardcode_libdir_flag_spec='-rpath $libdir'
|
||||
fi
|
||||
hardcode_libdir_separator=:
|
||||
;;
|
||||
solaris*)
|
||||
hardcode_libdir_flag_spec='-R$libdir'
|
||||
;;
|
||||
sunos4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
hardcode_direct=yes
|
||||
hardcode_minus_L=yes
|
||||
;;
|
||||
sysv4)
|
||||
case $host_vendor in
|
||||
sni)
|
||||
hardcode_direct=yes # is this really true???
|
||||
;;
|
||||
siemens)
|
||||
hardcode_direct=no
|
||||
;;
|
||||
motorola)
|
||||
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
sysv4.3*)
|
||||
;;
|
||||
sysv4*MP*)
|
||||
if test -d /usr/nec; then
|
||||
ld_shlibs=yes
|
||||
fi
|
||||
;;
|
||||
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6*)
|
||||
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
|
||||
hardcode_libdir_separator=':'
|
||||
;;
|
||||
uts4*)
|
||||
hardcode_libdir_flag_spec='-L$libdir'
|
||||
;;
|
||||
*)
|
||||
ld_shlibs=no
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Check dynamic linker characteristics
|
||||
# Code taken from libtool.m4's AC_LIBTOOL_SYS_DYNAMIC_LINKER.
|
||||
# Unlike libtool.m4, here we don't care about _all_ names of the library, but
|
||||
# only about the one the linker finds when passed -lNAME. This is the last
|
||||
# element of library_names_spec in libtool.m4, or possibly two of them if the
|
||||
# linker has special search rules.
|
||||
library_names_spec= # the last element of library_names_spec in libtool.m4
|
||||
libname_spec='lib$name'
|
||||
case "$host_os" in
|
||||
aix3*)
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
aix4* | aix5*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
amigaos*)
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
beos*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
bsdi[45]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
cygwin* | mingw* | pw32*)
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.dll.a $libname.lib'
|
||||
;;
|
||||
darwin* | rhapsody*)
|
||||
shrext=.dylib
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
dgux*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
freebsd1*)
|
||||
;;
|
||||
freebsd* | dragonfly*)
|
||||
case "$host_os" in
|
||||
freebsd[123]*)
|
||||
library_names_spec='$libname$shrext$versuffix' ;;
|
||||
*)
|
||||
library_names_spec='$libname$shrext' ;;
|
||||
esac
|
||||
;;
|
||||
gnu*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
hpux9* | hpux10* | hpux11*)
|
||||
case $host_cpu in
|
||||
ia64*)
|
||||
shrext=.so
|
||||
;;
|
||||
hppa*64*)
|
||||
shrext=.sl
|
||||
;;
|
||||
*)
|
||||
shrext=.sl
|
||||
;;
|
||||
esac
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
interix[3-9]*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
irix5* | irix6* | nonstopux*)
|
||||
library_names_spec='$libname$shrext'
|
||||
case "$host_os" in
|
||||
irix5* | nonstopux*)
|
||||
libsuff= shlibsuff=
|
||||
;;
|
||||
*)
|
||||
case $LD in
|
||||
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= ;;
|
||||
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 ;;
|
||||
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 ;;
|
||||
*) libsuff= shlibsuff= ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
linux*oldld* | linux*aout* | linux*coff*)
|
||||
;;
|
||||
linux* | k*bsd*-gnu)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
knetbsd*-gnu)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
netbsd*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
newsos6)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
nto-qnx*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
openbsd*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
os2*)
|
||||
libname_spec='$name'
|
||||
shrext=.dll
|
||||
library_names_spec='$libname.a'
|
||||
;;
|
||||
osf3* | osf4* | osf5*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
rdos*)
|
||||
;;
|
||||
solaris*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sunos4*)
|
||||
library_names_spec='$libname$shrext$versuffix'
|
||||
;;
|
||||
sysv4 | sysv4.3*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sysv4*MP*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
uts4*)
|
||||
library_names_spec='$libname$shrext'
|
||||
;;
|
||||
esac
|
||||
|
||||
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
|
||||
escaped_wl=`echo "X$wl" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
shlibext=`echo "$shrext" | sed -e 's,^\.,,'`
|
||||
escaped_libname_spec=`echo "X$libname_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
escaped_library_names_spec=`echo "X$library_names_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
escaped_hardcode_libdir_flag_spec=`echo "X$hardcode_libdir_flag_spec" | sed -e 's/^X//' -e "$sed_quote_subst"`
|
||||
|
||||
LC_ALL=C sed -e 's/^\([a-zA-Z0-9_]*\)=/acl_cv_\1=/' <<EOF
|
||||
|
||||
# How to pass a linker flag through the compiler.
|
||||
wl="$escaped_wl"
|
||||
|
||||
# Static library suffix (normally "a").
|
||||
libext="$libext"
|
||||
|
||||
# Shared library suffix (normally "so").
|
||||
shlibext="$shlibext"
|
||||
|
||||
# Format of library name prefix.
|
||||
libname_spec="$escaped_libname_spec"
|
||||
|
||||
# Library names that the linker finds when passed -lNAME.
|
||||
library_names_spec="$escaped_library_names_spec"
|
||||
|
||||
# Flag to hardcode \$libdir into a binary during linking.
|
||||
# This must work even if \$libdir does not exist.
|
||||
hardcode_libdir_flag_spec="$escaped_hardcode_libdir_flag_spec"
|
||||
|
||||
# Whether we need a single -rpath flag with a separated argument.
|
||||
hardcode_libdir_separator="$hardcode_libdir_separator"
|
||||
|
||||
# Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_direct="$hardcode_direct"
|
||||
|
||||
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
|
||||
# resulting binary.
|
||||
hardcode_minus_L="$hardcode_minus_L"
|
||||
|
||||
EOF
|
614
configure.ac
614
configure.ac
@@ -1,60 +1,69 @@
|
||||
# Process this file with autogen.sh to produce a configure script.
|
||||
dnl Process this file with autogen.sh to produce a configure script.
|
||||
|
||||
AC_INIT(supertuxkart,0.8.1)
|
||||
AC_INIT(supertuxkart, 0.4)
|
||||
AC_CONFIG_SRCDIR([src/main.cpp])
|
||||
|
||||
AC_PREREQ(2.61)
|
||||
dnl Require at least automake 2.59
|
||||
AC_PREREQ(2.59)
|
||||
|
||||
# ================================================
|
||||
# Initialize the automake stuff
|
||||
# set the $host variable based on local machine/os
|
||||
# ================================================
|
||||
AC_CANONICAL_HOST
|
||||
AM_INIT_AUTOMAKE([foreign tar-ustar])
|
||||
dnl ================================================
|
||||
dnl Initialize the automake stuff
|
||||
dnl set the $host variable based on local machine/os
|
||||
dnl ================================================
|
||||
AC_CANONICAL_TARGET
|
||||
AM_INIT_AUTOMAKE([tar-ustar])
|
||||
|
||||
|
||||
# =====================================================
|
||||
# Set the default CFLAGS/CXXFLAGS
|
||||
# If these were not set, the AC_PROG_CC and AC_PROG_CXX
|
||||
# scripts set them to "-g -O2".
|
||||
# =====================================================
|
||||
dnl =====================================================
|
||||
dnl Set the default CFLAGS/CXXFLAGS
|
||||
dnl If these were not set, the AC_PROG_CC and AC_PROG_CXX
|
||||
dnl scripts set them to "-g -O2".
|
||||
dnl =====================================================
|
||||
CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes"
|
||||
CXXFLAGS="$CXXFLAGS -Wall"
|
||||
|
||||
# ===================
|
||||
# Check for compilers
|
||||
# ===================
|
||||
dnl ===================
|
||||
dnl Check for compilers
|
||||
dnl ===================
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP
|
||||
AC_PROG_CXX
|
||||
|
||||
# This macro defines WORDS_BIGENDIAN if building for a big endian machine.
|
||||
AC_C_BIGENDIAN
|
||||
|
||||
|
||||
AC_LANG(C++)
|
||||
|
||||
# Do a quick check to ensure the c++ compiler works
|
||||
AC_RUN_IFELSE([
|
||||
int main() { return 0; }
|
||||
],[],
|
||||
[
|
||||
echo
|
||||
echo "Compiling a simple program failed, so something is broken with"
|
||||
echo "the building process. Please check that your system is setup"
|
||||
echo "so it can compile C++ code."
|
||||
echo
|
||||
echo "Configure aborted."
|
||||
exit
|
||||
])
|
||||
|
||||
# ===========================
|
||||
# Check for `configure' flags
|
||||
# ===========================
|
||||
dnl =============================================
|
||||
dnl Define debug which enables some cheats
|
||||
dnl This should be DISABLED when doing a release!
|
||||
dnl =============================================
|
||||
SUMMARY="\nSummary of optional components:\n==============================="
|
||||
|
||||
AC_ARG_ENABLE(debug, [AS_HELP_STRING(--enable-debug,
|
||||
[enable debugging info])])
|
||||
if test "x$with_plib" != "x" ; then
|
||||
echo "plib prefix is $with_plib"
|
||||
EXTRA_DIRS="${EXTRA_DIRS} $with_plib"
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(debug, [ --enable-debug Enable debugging info])
|
||||
if test x$enable_debug = xyes; then
|
||||
AC_DEFINE([DEBUG], [], [enable debugging cheats and shortcuts])
|
||||
AC_DEFINE([DEBUG], [], [Enable debugging cheats and shortcuts])
|
||||
CFLAGS="$CFLAGS -g -pg"
|
||||
CXXFLAGS="$CXXFLAGS -g -pg"
|
||||
SUMMARY="$SUMMARY\nEnabled debugging, please disable for a release!!"
|
||||
else
|
||||
CFLAGS="$CFLAGS -DNDEBUG"
|
||||
CXXFLAGS="$CXXFLAGS -DNDEBUG"
|
||||
SUMMARY="$SUMMARY\nDisabled debugging, asserts have been turned off"
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(optimization, [AS_HELP_STRING(--disable-optimization,
|
||||
[disable compiler optimizations])],,
|
||||
AC_ARG_ENABLE(optimization, [ --disable-optimization Disable compiler optimizations],,
|
||||
enable_optimization=yes)
|
||||
if test x$enable_optimization = xyes; then
|
||||
CFLAGS="$CFLAGS -O2"
|
||||
@@ -63,399 +72,352 @@ else
|
||||
SUMMARY="$SUMMARY\nDisabled compiler optimizations."
|
||||
fi
|
||||
|
||||
# ===================
|
||||
# Checks for programs.
|
||||
# ===================
|
||||
dnl ===================
|
||||
dnl Checks for programs.
|
||||
dnl ===================
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_RANLIB
|
||||
AC_PROG_INSTALL
|
||||
|
||||
# ===============================
|
||||
# Check for MS Windows environment
|
||||
# ================================
|
||||
dnl ===============================
|
||||
dnl Check for MS Windows environment
|
||||
dnl ================================
|
||||
AC_CHECK_HEADER(windows.h)
|
||||
|
||||
# ==================================
|
||||
# check for OpenGL related libraries
|
||||
# ==================================
|
||||
|
||||
dnl ================================================
|
||||
dnl Add special compiler flags for certain platforms
|
||||
dnl ================================================
|
||||
case "${host}" in
|
||||
*darwin*|*macosx*)
|
||||
AC_CHECK_PROGS(have_pkg_config,[pkg-config],"no")
|
||||
if test x$have_pkg_config != xno; then
|
||||
LDFLAGS="$LDFLAGS `pkg-config --libs freealut`"
|
||||
fi
|
||||
esac
|
||||
|
||||
|
||||
dnl ==================================
|
||||
dnl check for OpenGL related libraries
|
||||
dnl ==================================
|
||||
dnl We check for openal headers here, too - since otherwise
|
||||
dnl the test further down is even more complicated. This test
|
||||
dnl depends on the platform, since Macs are using OpenAL/al.h
|
||||
dnl instead of AL/al.h.
|
||||
case "${host}" in
|
||||
*darwin*|*macosx*)
|
||||
opengl_LIBS="$LIBS -framework Carbon -framework OpenGL -framework IOKit -framework AGL"
|
||||
;;
|
||||
|
||||
*-*-cygwin* | *-*-mingw32*)
|
||||
# CygWin under Windoze.
|
||||
dnl CygWin under Windoze.
|
||||
|
||||
echo Win32 specific hacks...
|
||||
AC_DEFINE([WIN32], 1, [Define for Win32 platforms])
|
||||
AC_DEFINE([NOMINMAX], 1, [Define for Win32 platforms])
|
||||
|
||||
opengl_LIBS="-lopengl32 -luser32 -lgdi32 -lm -lwinmm"
|
||||
opengl_LIBS="-lglut32 -lglu32 -lopengl32 -luser32 -lgdi32 -lm -lwinmm"
|
||||
joystick_LIBS="$joystick_LIBS -lwinmm"
|
||||
LDFLAGS="$LDFLAGS -mwindows"
|
||||
|
||||
echo "Will link apps with $LIBS"
|
||||
;;
|
||||
|
||||
*)
|
||||
# X-Windows based machines
|
||||
dnl X-Windows based machines
|
||||
|
||||
save_LIBS=$LIBS
|
||||
AC_SEARCH_LIBS(glNewList, [ GL GLcore MesaGL ])
|
||||
opengl_LIBS="$LIBS"
|
||||
LIBS=$save_LIBS
|
||||
if test "x$ac_cv_search_glNewList" = "x-lGLcore"; then
|
||||
# if GLcore found, then also check for GL
|
||||
dnl if GLcore found, then also check for GL
|
||||
AC_SEARCH_LIBS(glXCreateContext, GL)
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# ========================================
|
||||
# check for OpenAL libraries
|
||||
# ========================================
|
||||
save_LIBS=$LIBS
|
||||
dnl ========================================
|
||||
dnl check for OpenAL (al and alut) libraries
|
||||
dnl ========================================
|
||||
dnl FIXME: this all appears too complicated, doing unnecesary
|
||||
dnl tests etc --> needs cleanup
|
||||
|
||||
dnl The check for OpenAL headers depends on the OS, since
|
||||
dnl Apple has the headers in OpenAL/al.h instead of AL/al.h
|
||||
AC_SEARCH_LIBS(alGenBuffers, [openal alut], have_al_lib=yes)
|
||||
|
||||
dnl We also check for ogg vorbis support now.
|
||||
dnl we have 4 sound libraries to check, first we check for OpenAL
|
||||
if test x$have_al_lib = xyes; then
|
||||
case "${host}" in
|
||||
*darwin*|*macosx*)
|
||||
# search for OpenAL installed in a UNIX way first. This is necessary since OS X 10.4
|
||||
# comes with an OpenAL framework that's too old, so to retain 10.4 support we need to
|
||||
# build OpenAL from source, and can't use Apple's framework.
|
||||
AC_SEARCH_LIBS(alGenBuffers, [openal alut], have_al_lib=yes)
|
||||
|
||||
# We couldn't find OpenAL installed the UNIX way, so fall back to using frameworks
|
||||
if test x$have_al_lib != xyes; then
|
||||
LIBS="-framework OpenAL $LIBS"
|
||||
have_al_lib=yes
|
||||
fi
|
||||
AC_CHECK_HEADER(OpenAL/al.h, have_al_hdr=yes)
|
||||
;;
|
||||
*)
|
||||
AC_SEARCH_LIBS(alGenBuffers, [openal alut], have_al_lib=yes)
|
||||
AC_CHECK_HEADER(AL/al.h, have_al_hdr=yes)
|
||||
;;
|
||||
esac
|
||||
|
||||
if test x$have_al_lib = xyes; then
|
||||
# Apple has the headers in OpenAL/al.h instead of AL/al.h
|
||||
AC_CHECK_HEADERS([AL/al.h OpenAL/al.h], have_al_hdr=yes)
|
||||
fi
|
||||
|
||||
if test x$have_al_hdr != xyes; then
|
||||
AC_MSG_ERROR([[cannot find useable OpenAL installation. You need to install OpenAL.]])
|
||||
fi
|
||||
|
||||
openal_LIBS="$LIBS"
|
||||
LIBS="$save_LIBS"
|
||||
|
||||
# ====================
|
||||
# check for Ogg Vorbis
|
||||
# ====================
|
||||
case "${host}" in
|
||||
*)
|
||||
dnl default unix style machines
|
||||
|
||||
dnl check for libraries
|
||||
save_LIBS=$LIBS
|
||||
|
||||
# also check in /usr/local
|
||||
CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
|
||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
dnl AL/al.h is checked before, since Macs need a different path
|
||||
|
||||
# search for the libraries needed to use ogg vorbis
|
||||
AC_SEARCH_LIBS(ov_open, [vorbisfile], have_vorbisfile_lib=yes, have_vorbisfile_lib=no, [-lvorbis])
|
||||
dnl check for freealut
|
||||
AC_SEARCH_LIBS(alutInit, alut, have_alut_lib=yes)
|
||||
if test x$have_alut_lib = xyes; then
|
||||
AC_CHECK_HEADER(AL/alut.h, have_alut_hdr=yes)
|
||||
|
||||
if test x$have_alut_hdr = xyes; then
|
||||
AC_MSG_CHECKING([for alut version 1.0.0 or later ])
|
||||
|
||||
dnl check for right version of alut, must be at least 1.0
|
||||
AC_RUN_IFELSE([
|
||||
# include <AL/alut.h>
|
||||
# define MIN_ALUT_VERSION 1
|
||||
int main() {
|
||||
/* if(alutGetMajorVersion()<MIN_ALUT_VERSION) return -1;*/
|
||||
return 0; }
|
||||
|
||||
],
|
||||
alut_version_ok=yes
|
||||
[ AC_MSG_RESULT(yes)],
|
||||
AC_MSG_FAILURE(too old alut version - using plib instead),
|
||||
alut_version_ok=yes
|
||||
[ AC_MSG_RESULT(yes)])
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl search for the libraries needed to use ogg vorbis
|
||||
AC_SEARCH_LIBS(ov_open, vorbisfile, have_vorbisfile_lib=yes)
|
||||
|
||||
if test x$have_vorbisfile_lib = xyes; then
|
||||
# check for the headers needed by ogg vorbis
|
||||
dnl check for the headers needed by ogg vorbis
|
||||
AC_CHECK_HEADER(vorbis/vorbisfile.h, have_vorbisfile_hdr=yes)
|
||||
AC_CHECK_HEADER(ogg/ogg.h, have_ogg_hdr=yes)
|
||||
fi
|
||||
|
||||
dnl create OpenAL defines and a summary of the optional sound components
|
||||
SUMMARY="$SUMMARY\n"
|
||||
if test x$have_al_hdr != xyes; then
|
||||
SUMMARY="$SUMMARY You DO NOT have OpenAL."
|
||||
fi
|
||||
|
||||
if test x$have_alut_hdr = xyes; then
|
||||
if test x$alut_version_ok != xyes; then
|
||||
SUMMARY="$SUMMARY You need to update freealut."
|
||||
fi
|
||||
else
|
||||
SUMMARY="$SUMMARY You DO NOT have freealut."
|
||||
fi
|
||||
|
||||
if test x$have_al_hdr = xyes -a x$alut_version_ok = xyes; then
|
||||
openal_LIBS="$LIBS"
|
||||
AC_DEFINE([HAVE_OPENAL], 1, [Defined when OpenAL is available])
|
||||
SUMMARY="$SUMMARY\nUsing OpenAL for sound."
|
||||
|
||||
if test x$have_vorbisfile_hdr = xyes -a x$have_ogg_hdr = xyes; then
|
||||
AC_DEFINE([HAVE_OGGVORBIS], 1, [Defined when Ogg Vorbis is available])
|
||||
SUMMARY="$SUMMARY\nWe have Ogg Vorbis support."
|
||||
# ov_read for ogg music needs endianness flag. This macro defines
|
||||
# WORDS_BIGENDIAN if it's a big endian machine. See music_ogg.cpp
|
||||
AC_C_BIGENDIAN
|
||||
else
|
||||
AC_MSG_ERROR([[cannot find useable Ogg Vorbis installation. You need to install libogg and libvorbis.]])
|
||||
#SUMMARY="$SUMMARY\nNo Ogg Vorbis support - the game will play with sound effects, but without music."
|
||||
#SUMMARY="$SUMMARY\nPlease install ogg vorbis!"
|
||||
SUMMARY="$SUMMARY\nNo Ogg Vorbis support - the game will play with sound effects, but without music."
|
||||
SUMMARY="$SUMMARY\nPlease install ogg vorbis!"
|
||||
fi
|
||||
else
|
||||
SUMMARY="$SUMMARY\nInstall OpenAL and freealut for better sound!"
|
||||
fi
|
||||
|
||||
oggvorbis_LIBS="$LIBS"
|
||||
LIBS=$save_LIBS
|
||||
esac
|
||||
|
||||
# The following are C++ items that need to be tested for with the c++
|
||||
# compiler
|
||||
AC_LANG_PUSH(C++)
|
||||
|
||||
|
||||
# ==================
|
||||
# Check for irrlicht
|
||||
# ==================
|
||||
AC_ARG_WITH(irrlicht, [AS_HELP_STRING(--with-irrlicht=PREFIX,
|
||||
[specify the prefix path to irrlicht])])
|
||||
if test "x$with_irrlicht" != "x" ; then
|
||||
CPPFLAGS="${CPPFLAGS} -I $with_irrlicht/include -I $with_irrlicht/include/irrlicht"
|
||||
AC_CHECK_HEADER(irrlicht.h, have_irrlicht_hdr=yes)
|
||||
if test x$have_irrlicht_hdr != xyes; then
|
||||
AC_MSG_ERROR([Can not find irrlicht in $with_irrlicht.])
|
||||
fi
|
||||
else
|
||||
CPPFLAGS_Save=$CPPFLAGS
|
||||
|
||||
# check in /usr
|
||||
echo " in /usr/ : "
|
||||
|
||||
CPPFLAGS="${CPPFLAGS_Save} -I/usr/include/irrlicht"
|
||||
AC_CHECK_HEADER(irrlicht.h, irrlicht_found_in_usr=yes, irrlicht_found_in_usr=no)
|
||||
|
||||
# if it's not found there, try /usr/local instead
|
||||
if test x$irrlicht_found_in_usr == xyes; then
|
||||
with_irrlicht="/usr"
|
||||
else
|
||||
|
||||
# I'd like to fall back to check /usr/local second, but stupid autotools does not support
|
||||
# checking for a header in 2 directories because it caches results
|
||||
#AC_MSG_ERROR([Can't find irrlicht installation in /usr, use --with-irrlicht...])
|
||||
|
||||
# erase cached result
|
||||
unset ac_cv_header_irrlicht_h
|
||||
|
||||
echo " in /usr/local/ : "
|
||||
CPPFLAGS="${CPPFLAGS_Save} -I/usr/local/include/irrlicht"
|
||||
AC_CHECK_HEADER(irrlicht.h, irrlicht_found_in_usr_local=yes, irrlicht_found_in_usr_local=no)
|
||||
|
||||
if test x$irrlicht_found_in_usr_local == xyes; then
|
||||
with_irrlicht="/usr/local"
|
||||
else
|
||||
AC_MSG_ERROR([Can not find irrlicht installation in standard prefixes, use --with-irrlicht...])
|
||||
fi
|
||||
# ==============================================
|
||||
# Check for "plib" without which we cannot go on
|
||||
# ==============================================
|
||||
# specify the plib location
|
||||
AC_ARG_WITH(plib, [ --with-plib=PREFIX Specify the prefix path to plib])
|
||||
if test "x$with_plib" != "x" ; then
|
||||
echo "plib prefix is $with_plib"
|
||||
EXTRA_DIRS="${EXTRA_DIRS} $with_plib"
|
||||
fi
|
||||
|
||||
CPPFLAGS="${CPPFLAGS_Save} -I ${with_irrlicht}/include/irrlicht"
|
||||
|
||||
AC_CHECK_HEADER(plib/ul.h)
|
||||
if test "x$ac_cv_header_plib_ul_h" != "xyes"; then
|
||||
echo
|
||||
echo "You *must* have the plib library installed on your system to build!"
|
||||
echo
|
||||
echo "Please see README for more details."
|
||||
echo
|
||||
echo "configure aborted."
|
||||
exit
|
||||
fi
|
||||
|
||||
case "${host}" in
|
||||
*-*-linux* )
|
||||
irrlicht_LIBS="-L/$with_irrlicht/lib/Linux -L/$with_irrlicht/lib -lIrrlicht -lX11 -lpthread"
|
||||
;;
|
||||
*darwin*|*macosx*)
|
||||
irrlicht_LIBS="-L/$with_irrlicht/lib/ -lIrrlicht -framework Cocoa"
|
||||
;;
|
||||
*freebsd*)
|
||||
irrlicht_LIBS="-L/$with_irrlicht/lib/ -lIrrlicht -lpthread"
|
||||
esac
|
||||
|
||||
# ---- Check these flags do work by building a small irrLicht sample
|
||||
echo "checking for irrlicht libraries..."
|
||||
save_LIBS=$LIBS
|
||||
LIBS="$LIBS $irrlicht_LIBS $opengl_LIBS"
|
||||
|
||||
irrlicht_sample_built_fine="false"
|
||||
|
||||
AC_TRY_RUN(
|
||||
[
|
||||
# include "irrlicht.h"
|
||||
int main() {
|
||||
irr::createDevice(irr::video::EDT_NULL);
|
||||
return 0;
|
||||
}
|
||||
],
|
||||
irrlicht_sample_built_fine="true",
|
||||
irrlicht_sample_built_fine="false"
|
||||
)
|
||||
|
||||
case "${host}" in
|
||||
*-*-linux* )
|
||||
# If base irrLicht flags failed, try again with Xxf86vm
|
||||
# FIXME: this program when run prints out two lines (version numbers) to stdout
|
||||
if test x$irrlicht_sample_built_fine = xfalse; then
|
||||
LIBS="$LIBS -lXxf86vm"
|
||||
works_with_Xxf86vm="false"
|
||||
AC_MSG_CHECKING([for plib 1.8.4 or newer])
|
||||
AC_TRY_RUN([
|
||||
# include "irrlicht.h"
|
||||
# include <plib/ul.h>
|
||||
|
||||
# define MIN_PLIB_VERSION 184
|
||||
int main() {
|
||||
irr::createDevice(irr::video::EDT_NULL);
|
||||
if ( PLIB_VERSION < MIN_PLIB_VERSION ) {
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
],
|
||||
works_with_Xxf86vm="true",
|
||||
AC_MSG_RESULT(yes),
|
||||
[ AC_MSG_RESULT(wrong version);
|
||||
AC_MSG_ERROR([Install plib 1.8.4 or later first...])],
|
||||
AC_MSG_RESULT(yes)
|
||||
)
|
||||
|
||||
if test x$works_with_Xxf86vm = xtrue; then
|
||||
irrlicht_LIBS="$irrlicht_LIBS -lXxf86vm"
|
||||
irrlicht_sample_built_fine="true"
|
||||
|
||||
|
||||
dnl =======================
|
||||
dnl check for SDL libraries
|
||||
dnl =======================
|
||||
dnl Potentially sdl-config could be used, but apparently that might not
|
||||
dnl exist on all platforms, so doing the 'classical' test is safer :(
|
||||
case "${host}" in
|
||||
*)
|
||||
dnl default unix style machines
|
||||
|
||||
dnl check for libraries
|
||||
save_LIBS=$LIBS
|
||||
AC_SEARCH_LIBS(SDL_Init, SDL, have_SDL_lib=yes)
|
||||
sdl_LIBS="$LIBS"
|
||||
LIBS=$save_LIBS
|
||||
|
||||
dnl check for header files
|
||||
AC_CHECK_HEADER(SDL/SDL.h, have_SDL_hdr=yes)
|
||||
|
||||
if test x$have_SDL_hdr != xyes -o x$have_SDL_lib != xyes; then
|
||||
AC_MSG_ERROR([Install SDL first...])
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
||||
AC_TRY_RUN([
|
||||
# include <SDL/SDL.h>
|
||||
int main() {
|
||||
if ( SDL_VERSION_ATLEAST(1,2,10)) {
|
||||
return 0;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
],
|
||||
:,
|
||||
AC_MSG_WARN([Your SDL version uses deprecated
|
||||
headers update to version 1.2.10 or higher if possible. Currently this
|
||||
doesn't affects the game at all.])
|
||||
)
|
||||
|
||||
esac
|
||||
|
||||
if test x$irrlicht_sample_built_fine = xfalse; then
|
||||
AC_MSG_ERROR([Cann not build test irrLicht program. Check config.log to see the errors])
|
||||
dnl =======================================================
|
||||
dnl Add special compiler flags for SDL on certain platforms
|
||||
dnl =======================================================
|
||||
case "${host}" in
|
||||
*darwin*|*macosx*)
|
||||
dnl SDL on Macs needs to link in SDLmain, since it includes the
|
||||
dnl actual main program (on Macs #include "SDL/SDL.h" renames
|
||||
dnl main into SDL_main, which then gets called from the new
|
||||
dnl main program included in SDLmain. This is necessary to
|
||||
dnl install a proper framework for SDL).
|
||||
dnl This can't be done earlier, since all SDL tests program
|
||||
dnl from configure do NOT include SDL/SDL.h, therefore the
|
||||
dnl main program gets not replaced, and then getting an linking
|
||||
dnl error about main defined twice :((
|
||||
LDFLAGGS="$LDFLAGS -framework OpenAL"
|
||||
AC_CHECK_PROGS(have_sdl_config,[sdl-config],"no")
|
||||
if test x$have_sdl_config != xno; then
|
||||
LDFLAGS="$LDFLAGS `sdl-config --libs`"
|
||||
CXXFLAGS="$CXXFLAGS `sdl-config --cflags`"
|
||||
fi
|
||||
esac
|
||||
|
||||
# ---- Check we have the minimum required irrLicht version
|
||||
echo -n "checking irrlicht version is recent enough... "
|
||||
|
||||
irrlicht_min_version_met="false"
|
||||
|
||||
# Note that irrlicht 1.8 potentially needs additional flags (-lXcursor, or
|
||||
# undefine _IRR_LINUX_XCURSOR_ # in IrrCompileConfig.h). Since there might
|
||||
# be other changes, for now I remove support for irrlicht trunk/1.8
|
||||
|
||||
AC_TRY_RUN(
|
||||
[
|
||||
# include "irrlicht.h"
|
||||
int main() {
|
||||
#if (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR == 7)
|
||||
#error "STK needs irrlicht 1.8* to work properly (which might be only available"
|
||||
#error "as svn trunk atm"
|
||||
#else
|
||||
// ok
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
],
|
||||
irrlicht_min_version_met="true",
|
||||
irrlicht_min_version_met="false"
|
||||
)
|
||||
|
||||
if test x$irrlicht_min_version_met = xfalse; then
|
||||
AC_MSG_ERROR([Your irrLicht is too old, please update irrLicht.
|
||||
You need irrlicht 1.8.
|
||||
While irrlicht 1.8 is not released, we recommend using version 3995 from irrlicht SVN trunk.])
|
||||
else
|
||||
echo "yes"
|
||||
fi
|
||||
|
||||
LIBS=$save_LIBS
|
||||
|
||||
# ==================
|
||||
# Check for Fribidi
|
||||
# ==================
|
||||
|
||||
save_LIBS=$LIBS
|
||||
|
||||
# also check in /usr/local
|
||||
CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
|
||||
LDFLAGS="$LDFLAGS -L/usr/local/lib"
|
||||
|
||||
# search for the libraries needed to use ogg vorbis
|
||||
AC_SEARCH_LIBS(fribidi_log2vis, [fribidi], have_fribidi=yes, have_fribidi=no)
|
||||
|
||||
if test x$have_fribidi = xyes; then
|
||||
AC_CHECK_HEADER(fribidi/fribidi.h, have_fribidi_hdr=yes)
|
||||
fi
|
||||
SUMMARY="$SUMMARY\n"
|
||||
|
||||
if test x$have_fribidi = xyes -a x$have_fribidi_hdr = xyes; then
|
||||
AC_DEFINE([ENABLE_BIDI], 1, [Defined when Fribidi is available])
|
||||
SUMMARY="$SUMMARY\nFribidi (RTL languages support) support enabled."
|
||||
fribidi_LIBS="$LIBS"
|
||||
else
|
||||
SUMMARY="$SUMMARY\nFribidi (RTL languages support) support disabled."
|
||||
fribidi_LIBS=""
|
||||
fi
|
||||
|
||||
LIBS=$save_LIBS
|
||||
|
||||
# Libcurl is needed in all build modes
|
||||
PKG_CHECK_MODULES(LIBCURL, libcurl >= 0.1)
|
||||
|
||||
# ======================================================
|
||||
# Try to supply the SVN revision number for the compiler
|
||||
# ======================================================
|
||||
dnl ======================================================
|
||||
dnl Try to supply the SVN revision number for the compiler
|
||||
dnl ======================================================
|
||||
AC_CHECK_PROGS(have_svnversion,[svnversion],"no")
|
||||
if test x$have_svnversion != xno; then
|
||||
SVNVERSION="`svnversion $srcdir`"
|
||||
SVNVERSION="`svnversion .`"
|
||||
AC_DEFINE_UNQUOTED([SVNVERSION],"$SVNVERSION",["SVN revision number"])
|
||||
fi
|
||||
|
||||
# ==============
|
||||
# Bullet physics
|
||||
# ==============
|
||||
AC_DEFINE([BT_NO_PROFILE], [], [Disable bullet internal profiling])
|
||||
BULLETTREE="lib/bullet"
|
||||
bullet_LIBS="-L../lib/bullet/src -lbulletdynamics -lbulletcollision -lbulletmath"
|
||||
|
||||
|
||||
# ====
|
||||
# enet
|
||||
# ====
|
||||
AC_CHECK_FUNC(gethostbyaddr_r, [AC_DEFINE(HAS_GETHOSTBYADDR_R)])
|
||||
AC_CHECK_FUNC(gethostbyname_r, [AC_DEFINE(HAS_GETHOSTBYNAME_R)])
|
||||
AC_CHECK_FUNC(poll, [AC_DEFINE(HAS_POLL)])
|
||||
AC_CHECK_FUNC(fcntl, [AC_DEFINE(HAS_FCNTL)])
|
||||
AC_CHECK_FUNC(inet_pton, [AC_DEFINE(HAS_INET_PTON)])
|
||||
AC_CHECK_FUNC(inet_ntop, [AC_DEFINE(HAS_INET_NTOP)])
|
||||
|
||||
AC_CHECK_MEMBER(struct msghdr.msg_flags, [AC_DEFINE(HAS_MSGHDR_FLAGS)], , [#include <sys/socket.h>])
|
||||
|
||||
AC_CHECK_TYPE(socklen_t, [AC_DEFINE(HAS_SOCKLEN_T)], ,
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
)
|
||||
|
||||
AC_EGREP_HEADER(MSG_MAXIOVLEN, /usr/include/sys/socket.h, AC_DEFINE(ENET_BUFFER_MAXIMUM, [MSG_MAXIOVLEN]))
|
||||
AC_EGREP_HEADER(MSG_MAXIOVLEN, socket.h, AC_DEFINE(ENET_BUFFER_MAXIMUM, [MSG_MAXIOVLEN]))
|
||||
|
||||
case "${host}" in
|
||||
*-*-cygwin* | *-*-mingw32*)
|
||||
enet_LIBS="-Lenet -lenet -lws2_32"
|
||||
;;
|
||||
*)
|
||||
enet_LIBS="-L../lib/enet -lenet"
|
||||
;;
|
||||
esac
|
||||
ENETTREE="lib/enet"
|
||||
|
||||
# ==========================================
|
||||
# Check for a known compiler bug, details in
|
||||
# src/bullet/src/Makefile.am
|
||||
# ==========================================
|
||||
ORIGCXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS -fno-elide-constructors"
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
|
||||
AC_MSG_RESULT(yes); NOELIDE=-fno-elide-constructors,
|
||||
AC_MSG_RESULT(no); NOELIDE="")
|
||||
CXXFLAGS="$ORIGCXXFLAGS"
|
||||
AC_SUBST(NOELIDE)
|
||||
|
||||
# =========================
|
||||
# subst bars in Makefile.am
|
||||
# =========================
|
||||
|
||||
AC_SUBST(irrlicht_LIBS)
|
||||
AC_SUBST(fribidi_LIBS)
|
||||
AC_SUBST(bullet_LIBS)
|
||||
AC_SUBST(enet_LIBS)
|
||||
AC_SUBST(opengl_LIBS)
|
||||
AC_SUBST(openal_LIBS)
|
||||
AC_SUBST(oggvorbis_LIBS)
|
||||
AC_SUBST(BULLETTREE)
|
||||
AC_SUBST(ENETTREE)
|
||||
AC_SUBST(sdl_LIBS)
|
||||
|
||||
# ================
|
||||
# Create makefiles
|
||||
# ================
|
||||
AC_MSG_CHECKING([for gcc -fno-regmove option ])
|
||||
|
||||
dnl =========================
|
||||
dnl test regmove compiler bug
|
||||
dnl =========================
|
||||
dnl Test if -fno-regmove is supported, since -fregmove (which is part of -O2 on
|
||||
dnl g++) triggers an optimisation problem with static_ssg:
|
||||
ORIGCXXFLAGS="$CXXFLAGS"
|
||||
CXXFLAGS="$CXXFLAGS -fno-regmove"
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM()],
|
||||
AC_MSG_RESULT(yes); NOREGMOVE=-fno-regmove,
|
||||
AC_MSG_RESULT(no); NOREGMOVE="")
|
||||
CXXFLAGS="$ORIGCXXFLAGS"
|
||||
AC_SUBST(NOREGMOVE)
|
||||
|
||||
dnl ==============
|
||||
dnl Bullet physics
|
||||
dnl ==============
|
||||
AC_DEFINE([BT_NO_PROFILE], [], [Disable bullet internal profiling])
|
||||
CXXFLAGS="$CXXFLAGS -Ibullet/src"
|
||||
SUMMARY="$SUMMARY\nUsing bullet physics."
|
||||
BULLETTREE="src/bullet"
|
||||
|
||||
case "${host}" in
|
||||
*darwin*|*macosx*)
|
||||
bullet_LIBS="-Lbullet/Demos/OpenGL -lbulletopenglsupport -Lbullet/src -lbulletdynamics -lbulletcollision -lbulletmath -framework GLUT"
|
||||
;;
|
||||
*)
|
||||
bullet_LIBS="-Lbullet/Demos/OpenGL -lbulletopenglsupport -Lbullet/src -lbulletdynamics -lbulletcollision -lbulletmath -lglut"
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SUBST(BULLETTREE)
|
||||
|
||||
dnl ================
|
||||
dnl Create makefiles
|
||||
dnl ================
|
||||
AC_CONFIG_FILES([ \
|
||||
Makefile \
|
||||
data/Makefile \
|
||||
data/challenges/Makefile \
|
||||
data/fonts/Makefile \
|
||||
data/gfx/Makefile \
|
||||
data/grandprix/Makefile \
|
||||
data/gui/Makefile \
|
||||
data/karts/Makefile \
|
||||
data/models/Makefile \
|
||||
data/music/Makefile \
|
||||
data/po/Makefile \
|
||||
data/shaders/Makefile \
|
||||
data/sfx/Makefile \
|
||||
data/textures/Makefile \
|
||||
data/tracks/Makefile \
|
||||
doc/Makefile \
|
||||
doc/players_manual/Makefile \
|
||||
fonts/Makefile \
|
||||
images/Makefile \
|
||||
models/Makefile \
|
||||
oggs/Makefile \
|
||||
src/Makefile \
|
||||
src/ide/Makefile \
|
||||
lib/bullet/Makefile \
|
||||
lib/bullet/src/Makefile \
|
||||
lib/enet/Makefile \
|
||||
tools/Makefile
|
||||
src/robots/Makefile \
|
||||
src/bullet/Makefile \
|
||||
src/bullet/src/Makefile \
|
||||
src/bullet/Demos/OpenGL/Makefile \
|
||||
wavs/Makefile \
|
||||
wavs/radio/Makefile \
|
||||
wavs/tintagel/Makefile \
|
||||
models/herrings/Makefile
|
||||
])
|
||||
AC_OUTPUT
|
||||
echo -e $SUMMARY
|
||||
|
3
contrib/Makefile.am
Normal file
3
contrib/Makefile.am
Normal file
@@ -0,0 +1,3 @@
|
||||
# contrib/
|
||||
|
||||
EXTRA_DIST =
|
1
contrib/README.contrib
Normal file
1
contrib/README.contrib
Normal file
@@ -0,0 +1 @@
|
||||
In this directory there are unsorted files that can be useful, but aren't used inside the game yet.
|
241
contrib/black_closedbook.ac
Normal file
241
contrib/black_closedbook.ac
Normal file
@@ -0,0 +1,241 @@
|
||||
AC3Db
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
MATERIAL "ac3dmat3" rgb 0.125 0.114 0.102 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.502 0.502 0.502 shi 10 trans 0
|
||||
OBJECT world
|
||||
kids 7
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.9 0.05 -1.05
|
||||
numvert 8
|
||||
-0.7 -0.05 -1.15
|
||||
-0.7 0.05 -1.15
|
||||
0.7 0.05 -1.15
|
||||
0.7 -0.05 -1.15
|
||||
-0.7 -0.05 1.15
|
||||
-0.7 0.05 1.15
|
||||
0.7 0.05 1.15
|
||||
0.7 -0.05 1.15
|
||||
numsurf 6
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.9 0.35 -1.05
|
||||
numvert 8
|
||||
-0.7 -0.05 -1.15
|
||||
-0.7 0.05 -1.15
|
||||
0.7 0.05 -1.15
|
||||
0.7 -0.05 -1.15
|
||||
-0.7 -0.05 1.15
|
||||
-0.7 0.05 1.15
|
||||
0.7 0.05 1.15
|
||||
0.7 -0.05 1.15
|
||||
numsurf 6
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.15 0.20203 -1.05
|
||||
numvert 8
|
||||
-0.05 -0.15 -1.15
|
||||
-0.05 0.15 -1.15
|
||||
0.05 0.15 -1.15
|
||||
0.05 -0.15 -1.15
|
||||
-0.05 -0.15 1.15
|
||||
-0.05 0.15 1.15
|
||||
0.05 0.15 1.15
|
||||
0.05 -0.15 1.15
|
||||
numsurf 6
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.85 0.2 -1.05
|
||||
numvert 4
|
||||
-0.65 -0.1 -1.05
|
||||
-0.65 0.1 -1.05
|
||||
0.65 0.1 -1.05
|
||||
0.65 -0.1 -1.05
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.85 0.2 -1.05
|
||||
numvert 4
|
||||
0.65 0.1 1.05
|
||||
0.65 -0.1 1.05
|
||||
0.65 -0.1 -1.05
|
||||
0.65 0.1 -1.05
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0 1
|
||||
1 0 0
|
||||
2 1 0
|
||||
3 1 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.85 0.2 -1.05
|
||||
numvert 4
|
||||
0.65 -0.1 1.05
|
||||
0.65 0.1 1.05
|
||||
-0.65 0.1 1.05
|
||||
-0.65 -0.1 1.05
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.85 0.2 -1.05
|
||||
numvert 4
|
||||
-0.65 -0.1 1.05
|
||||
-0.65 0.1 1.05
|
||||
-0.65 0.1 -1.05
|
||||
-0.65 -0.1 -1.05
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
kids 0
|
468
contrib/black_openbook.ac
Normal file
468
contrib/black_openbook.ac
Normal file
@@ -0,0 +1,468 @@
|
||||
AC3Db
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
MATERIAL "ac3dmat3" rgb 0.133 0.153 0.122 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.502 0.502 0.502 shi 10 trans 0
|
||||
OBJECT world
|
||||
kids 3
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc 0 1.21271 -1.16783
|
||||
numvert 24
|
||||
0.889244 1.16215 -0.166283
|
||||
0.802644 1.16214 -0.216282
|
||||
0.00623977 1.16214 1.05596
|
||||
0.0928401 1.16215 1.10596
|
||||
0.889247 -1.13786 -0.166282
|
||||
0.802644 -1.13786 -0.216282
|
||||
0.00624018 -1.13786 1.05597
|
||||
0.0928425 -1.13786 1.10597
|
||||
-0.1 1.16215 1.2173
|
||||
-0.1 1.16214 1.1173
|
||||
-1.6 1.16214 1.17089
|
||||
-1.6 1.16215 1.27088
|
||||
-0.1 -1.13786 1.2173
|
||||
-0.1 -1.13786 1.1173
|
||||
-1.6 -1.13786 1.17089
|
||||
-1.6 -1.13786 1.27089
|
||||
0.166074 1.14416 1.0949
|
||||
0.0875697 1.14415 1.04957
|
||||
-0.17794 1.14415 1.18454
|
||||
-0.17794 1.14416 1.27519
|
||||
0.166069 -1.1711 1.0949
|
||||
0.0875686 -1.1711 1.04957
|
||||
-0.17794 -1.1711 1.18454
|
||||
-0.17794 -1.1711 1.27518
|
||||
numsurf 18
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
8 1 0
|
||||
9 1 1
|
||||
10 0 1
|
||||
11 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
14 0 1
|
||||
15 0 0
|
||||
11 1 0
|
||||
10 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
15 1 0
|
||||
14 1 1
|
||||
13 0 1
|
||||
12 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
12 1 0
|
||||
13 1 1
|
||||
9 0 1
|
||||
8 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
9 0 0
|
||||
13 1 0
|
||||
14 1 1
|
||||
10 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
12 0 0
|
||||
8 1 0
|
||||
11 1 1
|
||||
15 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
16 1 0
|
||||
17 1 1
|
||||
18 0 1
|
||||
19 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
22 0 1
|
||||
23 0 0
|
||||
19 1 0
|
||||
18 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
23 1 0
|
||||
22 1 1
|
||||
21 0 1
|
||||
20 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
20 1 0
|
||||
21 1 1
|
||||
17 0 1
|
||||
16 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
17 0 0
|
||||
21 1 0
|
||||
22 1 1
|
||||
18 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
20 0 0
|
||||
16 1 0
|
||||
19 1 1
|
||||
23 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "mesh"
|
||||
loc -0.724976 1.1989 -1.28171
|
||||
texture "../images/homework.rgb"
|
||||
texrep -1 1
|
||||
texoff -0.02 0
|
||||
numvert 20
|
||||
0.247142 -1.08817 1.08951
|
||||
-0.661664 -1.08817 1.20644
|
||||
-0.661964 1.08817 1.2081
|
||||
0.247142 1.08817 1.0895
|
||||
0.413804 1.08817 1.04951
|
||||
0.413804 -1.08817 1.04951
|
||||
0.580474 -1.08817 1.08424
|
||||
0.580474 1.08817 1.08424
|
||||
0.733932 1.08817 1.28801
|
||||
0.733927 -1.08817 1.28801
|
||||
0.189261 -1.08817 1.21685
|
||||
-0.723994 -1.08817 1.28994
|
||||
-0.723994 1.08817 1.28994
|
||||
0.189261 1.08817 1.21685
|
||||
0.390654 1.08816 1.17685
|
||||
0.390654 -1.08817 1.17685
|
||||
0.638354 -1.08817 1.25788
|
||||
0.638354 1.08817 1.25788
|
||||
0.666104 1.08817 1.35049
|
||||
0.666104 -1.08817 1.35049
|
||||
numsurf 19
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
0 0.670682 0
|
||||
1 0.0430446 0.000216054
|
||||
2 0.0428392 0.999303
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
3 0.670682 1
|
||||
0 0.670682 0
|
||||
2 0.0428392 0.999303
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.785785 1
|
||||
0 0.670682 0
|
||||
3 0.670682 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
5 0.785785 0
|
||||
0 0.670682 0
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
6 0.900887 0
|
||||
5 0.785785 0
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
7 0.900887 1
|
||||
6 0.900887 0
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
8 1 1
|
||||
6 0.900887 0
|
||||
7 0.900887 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
9 1 0
|
||||
6 0.900887 0
|
||||
8 1 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.670682 0
|
||||
10 0.630709 0
|
||||
11 0 0.000324094
|
||||
1 0.0430446 0.000216054
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.0428392 0.999303
|
||||
12 0 0.998606
|
||||
13 0.630709 1
|
||||
3 0.670682 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.785785 1
|
||||
14 0.769795 1
|
||||
10 0.630709 0
|
||||
0 0.670682 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.670682 1
|
||||
13 0.630709 1
|
||||
14 0.769795 1
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
5 0.785785 0
|
||||
15 0.769795 0
|
||||
10 0.630709 0
|
||||
0 0.670682 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
6 0.900887 0
|
||||
16 0.940861 0
|
||||
15 0.769795 0
|
||||
5 0.785785 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.785785 1
|
||||
14 0.769795 1
|
||||
17 0.940861 1
|
||||
7 0.900887 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
8 1 1
|
||||
18 0.960026 1
|
||||
16 0.940861 0
|
||||
6 0.900887 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
7 0.900887 1
|
||||
17 0.940861 1
|
||||
18 0.960026 1
|
||||
8 1 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
9 1 0
|
||||
19 0.960026 0
|
||||
16 0.940861 0
|
||||
6 0.900887 0
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 4
|
||||
12 0 0.998606
|
||||
2 0.0428392 0.999303
|
||||
1 0.0430446 0.000216054
|
||||
11 0 0.000324094
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "mesh"
|
||||
loc 0.724976 1.20186 -1.33573
|
||||
texture "../images/homework.rgb"
|
||||
texoff -0.02 0
|
||||
numvert 20
|
||||
-0.142032 1.08817 0.0707934
|
||||
-0.143624 -1.08816 0.0702209
|
||||
-0.699298 -1.08816 0.798807
|
||||
-0.699293 1.08817 0.79881
|
||||
-0.817265 1.08817 0.923148
|
||||
-0.817271 -1.08816 0.923144
|
||||
-0.870526 -1.08816 1.08485
|
||||
-0.870527 1.08817 1.08485
|
||||
-0.761829 1.08817 1.31332
|
||||
-0.761829 -1.08816 1.31332
|
||||
-0.0401483 -1.08816 0.0579898
|
||||
-0.560077 -1.08816 0.81235
|
||||
-0.560073 1.08817 0.812352
|
||||
-0.0401469 1.08817 0.0579908
|
||||
-0.695416 1.08817 0.966764
|
||||
-0.695415 -1.08816 0.966764
|
||||
-0.749089 -1.08816 1.2218
|
||||
-0.749085 1.08817 1.2218
|
||||
-0.682765 1.08817 1.29213
|
||||
-0.682761 -1.08816 1.29213
|
||||
numsurf 19
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
0 0.0428392 0.999303
|
||||
1 0.0430446 0.000216054
|
||||
2 0.670682 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
0 0.0428392 0.999303
|
||||
2 0.670682 0
|
||||
3 0.670682 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
3 0.670682 1
|
||||
2 0.670682 0
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.785785 1
|
||||
2 0.670682 0
|
||||
5 0.785785 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.785785 1
|
||||
5 0.785785 0
|
||||
6 0.900887 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.785785 1
|
||||
6 0.900887 0
|
||||
7 0.900887 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
7 0.900887 1
|
||||
6 0.900887 0
|
||||
8 1 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
8 1 1
|
||||
6 0.900887 0
|
||||
9 1 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
1 0.0430446 0.000216054
|
||||
10 0 0.000324094
|
||||
11 0.630709 0
|
||||
2 0.670682 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.670682 1
|
||||
12 0.630709 1
|
||||
13 0 0.998606
|
||||
0 0.0428392 0.999303
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.670682 0
|
||||
11 0.630709 0
|
||||
14 0.769795 1
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.785785 1
|
||||
14 0.769795 1
|
||||
12 0.630709 1
|
||||
3 0.670682 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.670682 0
|
||||
11 0.630709 0
|
||||
15 0.769795 0
|
||||
5 0.785785 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
5 0.785785 0
|
||||
15 0.769795 0
|
||||
16 0.940861 0
|
||||
6 0.900887 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
7 0.900887 1
|
||||
17 0.940861 1
|
||||
14 0.769795 1
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
6 0.900887 0
|
||||
16 0.940861 0
|
||||
18 0.960026 1
|
||||
8 1 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
8 1 1
|
||||
18 0.960026 1
|
||||
17 0.940861 1
|
||||
7 0.900887 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
6 0.900887 0
|
||||
16 0.940861 0
|
||||
19 0.960026 0
|
||||
9 1 0
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 4
|
||||
10 0 0.000324094
|
||||
1 0.0430446 0.000216054
|
||||
0 0.0428392 0.999303
|
||||
13 0 0.998606
|
||||
kids 0
|
241
contrib/closedbook.ac
Normal file
241
contrib/closedbook.ac
Normal file
@@ -0,0 +1,241 @@
|
||||
AC3Db
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
MATERIAL "ac3dmat3" rgb 1 0 0 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
OBJECT world
|
||||
kids 7
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.9 0.05 -1.05
|
||||
numvert 8
|
||||
-0.7 -0.05 -1.15
|
||||
-0.7 0.05 -1.15
|
||||
0.7 0.05 -1.15
|
||||
0.7 -0.05 -1.15
|
||||
-0.7 -0.05 1.15
|
||||
-0.7 0.05 1.15
|
||||
0.7 0.05 1.15
|
||||
0.7 -0.05 1.15
|
||||
numsurf 6
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.9 0.35 -1.05
|
||||
numvert 8
|
||||
-0.7 -0.05 -1.15
|
||||
-0.7 0.05 -1.15
|
||||
0.7 0.05 -1.15
|
||||
0.7 -0.05 -1.15
|
||||
-0.7 -0.05 1.15
|
||||
-0.7 0.05 1.15
|
||||
0.7 0.05 1.15
|
||||
0.7 -0.05 1.15
|
||||
numsurf 6
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.15 0.20203 -1.05
|
||||
numvert 8
|
||||
-0.05 -0.15 -1.15
|
||||
-0.05 0.15 -1.15
|
||||
0.05 0.15 -1.15
|
||||
0.05 -0.15 -1.15
|
||||
-0.05 -0.15 1.15
|
||||
-0.05 0.15 1.15
|
||||
0.05 0.15 1.15
|
||||
0.05 -0.15 1.15
|
||||
numsurf 6
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.85 0.2 -1.05
|
||||
numvert 4
|
||||
-0.65 -0.1 -1.05
|
||||
-0.65 0.1 -1.05
|
||||
0.65 0.1 -1.05
|
||||
0.65 -0.1 -1.05
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.85 0.2 -1.05
|
||||
numvert 4
|
||||
0.65 0.1 1.05
|
||||
0.65 -0.1 1.05
|
||||
0.65 -0.1 -1.05
|
||||
0.65 0.1 -1.05
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0 1
|
||||
1 0 0
|
||||
2 1 0
|
||||
3 1 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.85 0.2 -1.05
|
||||
numvert 4
|
||||
0.65 -0.1 1.05
|
||||
0.65 0.1 1.05
|
||||
-0.65 0.1 1.05
|
||||
-0.65 -0.1 1.05
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.85 0.2 -1.05
|
||||
numvert 4
|
||||
-0.65 -0.1 1.05
|
||||
-0.65 0.1 1.05
|
||||
-0.65 0.1 -1.05
|
||||
-0.65 -0.1 -1.05
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
kids 0
|
BIN
contrib/cskeogh/bucket1.blend
Normal file
BIN
contrib/cskeogh/bucket1.blend
Normal file
Binary file not shown.
78
contrib/cskeogh/geekopeak.loc
Normal file
78
contrib/cskeogh/geekopeak.loc
Normal file
@@ -0,0 +1,78 @@
|
||||
#
|
||||
# Track itself.
|
||||
#
|
||||
"geekopeak.ac",0,0,0,0,0,0
|
||||
#
|
||||
"tree1.ac",0,35,{},90,{},{}
|
||||
"tree1.ac",-10,35,{},90,{},{}
|
||||
"tree1.ac",-20,35,{},90,{},{}
|
||||
"tree1.ac",-30,35,{},90,{},{}
|
||||
"tree1.ac",-40,38,{},90,{},{}
|
||||
"tree1.ac",-50,38,{},90,{},{}
|
||||
"tree1.ac",-60,38,{},90,{},{}
|
||||
"tree1.ac",-70,38,{},90,{},{}
|
||||
"tree1.ac",-80,40,{},90,{},{}
|
||||
"tree1.ac",-90,40,{},90,{},{}
|
||||
"tree1.ac",-100,40,{},90,{},{}
|
||||
"tree1.ac",-110,40,{},90,{},{}
|
||||
"tree1.ac",-120,40,{},90,{},{}
|
||||
"tree1.ac",-130,36,{},90,{},{}
|
||||
"tree1.ac",-140,36,{},90,{},{}
|
||||
#"tree1.ac",-45,-35,{},90,{},{}
|
||||
#"tree1.ac",-152,-25,{},180,{},{}
|
||||
#"tree1.ac",-50,-90,{},90,{},{}
|
||||
#"tree1.ac",-15,-60,{},180,{},{}
|
||||
#
|
||||
#"roadblock.ac",60,-29,{},0,{},{}
|
||||
#"roadcone.ac",58,-33,{},27,{},{}
|
||||
#"roadcone.ac",56,-34,{},147,{},{}
|
||||
#"roadcone.ac",54,-35,{},47,{},{}
|
||||
#"icecreamtruck.ac",70,-30,{},-110,{},{}
|
||||
#"mytruck.ac",-60,105,{},-100,{},{}
|
||||
#
|
||||
#"multisign.ac",26,85,{},-55,{},{}
|
||||
#"multisign.ac",110,-90,{},-125,{},{}
|
||||
#"tuxsign.ac",-30,80,0,45,0,0
|
||||
#"vasign.ac",30,100,0,-90,0,0
|
||||
#"susesign.ac",130,-40,5,-90,0,0
|
||||
#
|
||||
#"explode.ac",0,0,1,0,0,0
|
||||
#
|
||||
YHERRING,-115,-95
|
||||
|
||||
RHERRING,0,25
|
||||
|
||||
RHERRING,-60,30
|
||||
RHERRING,-60,33
|
||||
RHERRING,-60,27
|
||||
|
||||
RHERRING,-150,-20
|
||||
RHERRING,-150,-40
|
||||
RHERRING,-150,-60
|
||||
RHERRING,-150,-80
|
||||
RHERRING,-150,-100
|
||||
|
||||
RHERRING,-30,-110
|
||||
RHERRING,-30,-113
|
||||
RHERRING,-33,-110
|
||||
RHERRING,-33,-113
|
||||
|
||||
RHERRING,20,-65
|
||||
RHERRING,20,-90
|
||||
|
||||
SHERRING,70,-70
|
||||
SHERRING,70,-80
|
||||
SHERRING,70,-90
|
||||
SHERRING,70,-100
|
||||
|
||||
GHERRING,0,-30
|
||||
GHERRING,5,-30
|
||||
GHERRING,-5,-30
|
||||
|
||||
GHERRING,-100,-10
|
||||
GHERRING,-100,-20
|
||||
GHERRING,-100,-30
|
||||
GHERRING,-100,-40
|
||||
|
||||
MUSIC "mods/tk2.mod"
|
||||
|
20
contrib/cskeogh/readme.txt
Normal file
20
contrib/cskeogh/readme.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
This directory contains the following files:
|
||||
tree1.blend
|
||||
A tree, created in blender 2.33a.
|
||||
(1349 Verticies, 708 Faces, 14 Objects.)
|
||||
umbrella1.blend
|
||||
An umbrella, created in blender 2.33a.
|
||||
For the beach level(s) of tuxkart.
|
||||
I haven't scaled it to the correct size yet.
|
||||
umbrella1.jpg
|
||||
Rendered image of 'umbrealla1.blend'.
|
||||
tree1.ac
|
||||
'tree1.blend' in AC format, created by blender's AC3DExport
|
||||
version 2.32-1. Place this file in tuxkart 'model' directory.
|
||||
geekopeak.loc
|
||||
An updated 'Geeko's Peak' track location file that includes the
|
||||
'tree1.ac' model. Place this file in tuxkart 'data' directory.
|
||||
Used for testing and demonstration purposes.
|
||||
|
||||
Craig Keogh
|
||||
<cskeogh@bigpond.net.au>
|
BIN
contrib/cskeogh/sandcastle1.blend
Normal file
BIN
contrib/cskeogh/sandcastle1.blend
Normal file
Binary file not shown.
BIN
contrib/cskeogh/shell1.blend
Normal file
BIN
contrib/cskeogh/shell1.blend
Normal file
Binary file not shown.
BIN
contrib/cskeogh/spade1.blend
Normal file
BIN
contrib/cskeogh/spade1.blend
Normal file
Binary file not shown.
BIN
contrib/cskeogh/starfish1.blend
Normal file
BIN
contrib/cskeogh/starfish1.blend
Normal file
Binary file not shown.
6200
contrib/cskeogh/tree1.ac
Normal file
6200
contrib/cskeogh/tree1.ac
Normal file
File diff suppressed because it is too large
Load Diff
BIN
contrib/cskeogh/tree1.blend
Normal file
BIN
contrib/cskeogh/tree1.blend
Normal file
Binary file not shown.
BIN
contrib/cskeogh/umbrella1.blend
Normal file
BIN
contrib/cskeogh/umbrella1.blend
Normal file
Binary file not shown.
BIN
contrib/cskeogh/umbrella1.jpg
Normal file
BIN
contrib/cskeogh/umbrella1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
BIN
contrib/cskeogh/yacht1.blend
Normal file
BIN
contrib/cskeogh/yacht1.blend
Normal file
Binary file not shown.
37
contrib/drvsorter.rb
Normal file
37
contrib/drvsorter.rb
Normal file
@@ -0,0 +1,37 @@
|
||||
def dist(p1, p2)
|
||||
return Math.sqrt((p2[0] - p1[0])**2 +(p2[1] - p1[1])**2)
|
||||
end
|
||||
|
||||
f = File.new("/tmp/test.drv", "r")
|
||||
|
||||
points = []
|
||||
while !f.eof?
|
||||
line = f.readline()
|
||||
(x, y) = line.scan(/(.*),(.*)/)[0]
|
||||
x = x.to_f
|
||||
y = y.to_f
|
||||
points.push([x, y])
|
||||
end
|
||||
|
||||
ppoints = points.clone()
|
||||
|
||||
p1 = points.pop
|
||||
while !points.empty?
|
||||
print p1[0], ", ", p1[1], "\n"
|
||||
|
||||
min_dist = 9999999999
|
||||
min_dist_i = -1
|
||||
points.each_index{|i|
|
||||
p2 = points[i]
|
||||
if (dist(p1, p2) < min_dist)
|
||||
min_dist = dist(p1, p2)
|
||||
min_dist_i = i
|
||||
end
|
||||
}
|
||||
|
||||
p1 = points[min_dist_i]
|
||||
points.delete_at(min_dist_i)
|
||||
end
|
||||
print p1[0], ", ", p1[1], "\n"
|
||||
|
||||
# EOF #
|
4545
contrib/geekokart.ac
Normal file
4545
contrib/geekokart.ac
Normal file
File diff suppressed because it is too large
Load Diff
3717
contrib/gownkart.ac
Normal file
3717
contrib/gownkart.ac
Normal file
File diff suppressed because it is too large
Load Diff
324
contrib/lunchbox.ac
Normal file
324
contrib/lunchbox.ac
Normal file
@@ -0,0 +1,324 @@
|
||||
AC3Db
|
||||
MATERIAL "ac3dmat0" rgb 0 0 0 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
OBJECT world
|
||||
kids 2
|
||||
OBJECT poly
|
||||
name "line"
|
||||
loc -0.0499999 1.7 -0.0500001
|
||||
texture "./../images/lunchbox.rgb"
|
||||
texrep 0.9 0.8
|
||||
texoff 0.07 -0.02
|
||||
numvert 26
|
||||
0.55 -0.6 -1.05
|
||||
0.55 -0.884701 2.11252
|
||||
0.55 0.884701 2.11252
|
||||
-0.55 -0.884701 2.11252
|
||||
-0.55 0.884701 2.11252
|
||||
-0.55 -0.6 -1.05
|
||||
0.55 -1.37782 1.82782
|
||||
-0.55 -1.37782 1.82782
|
||||
0.55 -1.66252 1.3347
|
||||
-0.55 -1.66252 1.3347
|
||||
0.55 -1.66252 -1.3347
|
||||
-0.55 -1.66252 -1.3347
|
||||
0.55 -1.37782 -1.82782
|
||||
-0.55 -1.37782 -1.82782
|
||||
0.55 -0.884701 -2.11252
|
||||
-0.55 -0.884701 -2.11252
|
||||
0.55 0.884701 -2.11252
|
||||
-0.55 0.884701 -2.11252
|
||||
0.55 1.37782 -1.82782
|
||||
-0.55 1.37782 -1.82782
|
||||
0.55 1.66252 -1.3347
|
||||
-0.55 1.66252 -1.3347
|
||||
0.55 1.66252 1.3347
|
||||
-0.55 1.66252 1.3347
|
||||
0.55 1.37782 1.82782
|
||||
-0.55 1.37782 1.82782
|
||||
numsurf 36
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
2 0 0.766073
|
||||
1 5.64299e-08 0.233928
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
3 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
3 5.64299e-08 0.233928
|
||||
4 0 0.766073
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
1 5.64299e-08 0.233928
|
||||
6 0.0673843 0.0856234
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
3 0 0
|
||||
7 1 0
|
||||
6 1 1
|
||||
1 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
7 0.0673843 0.0856234
|
||||
3 5.64299e-08 0.233928
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
6 0.0673843 0.0856234
|
||||
8 0.184097 3.5852e-08
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 0 0
|
||||
9 1 0
|
||||
8 1 1
|
||||
6 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
9 0.184097 3.5852e-08
|
||||
7 0.0673843 0.0856234
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
8 0.184097 3.5852e-08
|
||||
10 0.815903 7.1704e-08
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
9 0 0
|
||||
11 1 0
|
||||
10 1 1
|
||||
8 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
11 0.815903 7.1704e-08
|
||||
9 0.184097 3.5852e-08
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
10 0.815903 7.1704e-08
|
||||
12 0.932616 0.0856234
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
11 0 0
|
||||
13 1 0
|
||||
12 1 1
|
||||
10 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
13 0.932616 0.0856234
|
||||
11 0.815903 7.1704e-08
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
12 0.932616 0.0856234
|
||||
14 1 0.233928
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
13 0 0
|
||||
15 1 0
|
||||
14 1 1
|
||||
12 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
15 1 0.233928
|
||||
13 0.932616 0.0856234
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
14 1 0.233928
|
||||
16 1 0.766073
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
15 1 0
|
||||
17 0 0
|
||||
16 0 1
|
||||
14 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
17 1 0.766073
|
||||
15 1 0.233928
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
16 1 0.766073
|
||||
18 0.932616 0.914377
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
17 1 0
|
||||
19 0 0
|
||||
18 0 1
|
||||
16 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
19 0.932616 0.914377
|
||||
17 1 0.766073
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
18 0.932616 0.914377
|
||||
20 0.815903 1
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
19 1 0
|
||||
21 0 0
|
||||
20 0 1
|
||||
18 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
21 0.815903 1
|
||||
19 0.932616 0.914377
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
20 0.815903 1
|
||||
22 0.184097 1
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
21 1 0
|
||||
23 0 0
|
||||
22 0 1
|
||||
20 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
23 0.184097 1
|
||||
21 0.815903 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
22 0.184097 1
|
||||
24 0.0673842 0.914377
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
23 1 0
|
||||
25 0 0
|
||||
24 0 1
|
||||
22 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
25 0.0673842 0.914377
|
||||
23 0.184097 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
24 0.0673842 0.914377
|
||||
2 0 0.766073
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
25 1 0
|
||||
4 0 0
|
||||
2 0 1
|
||||
24 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
4 0 0.766073
|
||||
25 0.0673842 0.914377
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.0499998 3.6 -0.15
|
||||
numvert 8
|
||||
-0.25 0.0999999 1.25
|
||||
0.25 0.0999999 1.25
|
||||
0.25 0.0999999 -1.25
|
||||
-0.25 0.0999999 -1.25
|
||||
-0.25 -0.0999999 1.25
|
||||
0.25 -0.0999999 1.25
|
||||
0.25 -0.0999999 -1.25
|
||||
-0.25 -0.0999999 -1.25
|
||||
numsurf 6
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
322
contrib/lunchbox2.ac
Normal file
322
contrib/lunchbox2.ac
Normal file
@@ -0,0 +1,322 @@
|
||||
AC3Db
|
||||
MATERIAL "ac3dmat0" rgb 0 0 0 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
OBJECT world
|
||||
kids 2
|
||||
OBJECT poly
|
||||
name "line"
|
||||
loc 0.0500001 1.6 0.25
|
||||
texture "./../images/lunchbox2.rgb"
|
||||
numvert 26
|
||||
0.55 -0.6 -1.05
|
||||
0.55 -0.884701 2.11252
|
||||
0.55 0.884701 2.11252
|
||||
-0.55 -0.884701 2.11252
|
||||
-0.55 0.884701 2.11252
|
||||
-0.55 -0.6 -1.05
|
||||
0.55 -1.37782 1.82782
|
||||
-0.55 -1.37782 1.82782
|
||||
0.55 -1.66252 1.3347
|
||||
-0.55 -1.66252 1.3347
|
||||
0.55 -1.66252 -1.3347
|
||||
-0.55 -1.66252 -1.3347
|
||||
0.55 -1.37782 -1.82782
|
||||
-0.55 -1.37782 -1.82782
|
||||
0.55 -0.884701 -2.11252
|
||||
-0.55 -0.884701 -2.11252
|
||||
0.55 0.884701 -2.11252
|
||||
-0.55 0.884701 -2.11252
|
||||
0.55 1.37782 -1.82782
|
||||
-0.55 1.37782 -1.82782
|
||||
0.55 1.66252 -1.3347
|
||||
-0.55 1.66252 -1.3347
|
||||
0.55 1.66252 1.3347
|
||||
-0.55 1.66252 1.3347
|
||||
0.55 1.37782 1.82782
|
||||
-0.55 1.37782 1.82782
|
||||
numsurf 36
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
2 0 0.766073
|
||||
1 5.64299e-08 0.233928
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
3 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
3 5.64299e-08 0.233928
|
||||
4 0 0.766073
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
1 5.64299e-08 0.233928
|
||||
6 0.0673843 0.0856234
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
3 0 0
|
||||
7 1 0
|
||||
6 1 1
|
||||
1 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
7 0.0673843 0.0856234
|
||||
3 5.64299e-08 0.233928
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
6 0.0673843 0.0856234
|
||||
8 0.184097 3.5852e-08
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 0 0
|
||||
9 1 0
|
||||
8 1 1
|
||||
6 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
9 0.184097 3.5852e-08
|
||||
7 0.0673843 0.0856234
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
8 0.184097 3.5852e-08
|
||||
10 0.815903 7.1704e-08
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
9 0 0
|
||||
11 1 0
|
||||
10 1 1
|
||||
8 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
11 0.815903 7.1704e-08
|
||||
9 0.184097 3.5852e-08
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
10 0.815903 7.1704e-08
|
||||
12 0.932616 0.0856234
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
11 0 0
|
||||
13 1 0
|
||||
12 1 1
|
||||
10 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
13 0.932616 0.0856234
|
||||
11 0.815903 7.1704e-08
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
12 0.932616 0.0856234
|
||||
14 1 0.233928
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
13 0 0
|
||||
15 1 0
|
||||
14 1 1
|
||||
12 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
15 1 0.233928
|
||||
13 0.932616 0.0856234
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
14 1 0.233928
|
||||
16 1 0.766073
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
15 1 0
|
||||
17 0 0
|
||||
16 0 1
|
||||
14 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
17 1 0.766073
|
||||
15 1 0.233928
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
16 1 0.766073
|
||||
18 0.932616 0.914377
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
17 1 0
|
||||
19 0 0
|
||||
18 0 1
|
||||
16 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
19 0.932616 0.914377
|
||||
17 1 0.766073
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
18 0.932616 0.914377
|
||||
20 0.815903 1
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
19 1 0
|
||||
21 0 0
|
||||
20 0 1
|
||||
18 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
21 0.815903 1
|
||||
19 0.932616 0.914377
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
20 0.815903 1
|
||||
22 0.184097 1
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
21 1 0
|
||||
23 0 0
|
||||
22 0 1
|
||||
20 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
23 0.184097 1
|
||||
21 0.815903 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
22 0.184097 1
|
||||
24 0.0673842 0.914377
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
23 1 0
|
||||
25 0 0
|
||||
24 0 1
|
||||
22 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
25 0.0673842 0.914377
|
||||
23 0.184097 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
24 0.0673842 0.914377
|
||||
2 0 0.766073
|
||||
0 0.748519 0.319551
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
25 1 0
|
||||
4 0 0
|
||||
2 0 1
|
||||
24 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 3
|
||||
5 0.748519 0.319551
|
||||
4 0 0.766073
|
||||
25 0.0673842 0.914377
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc 0.0500002 3.5 0.15
|
||||
numvert 8
|
||||
-0.25 0.0999999 1.25
|
||||
0.25 0.0999999 1.25
|
||||
0.25 0.0999999 -1.25
|
||||
-0.25 0.0999999 -1.25
|
||||
-0.25 -0.0999999 1.25
|
||||
0.25 -0.0999999 1.25
|
||||
0.25 -0.0999999 -1.25
|
||||
-0.25 -0.0999999 -1.25
|
||||
numsurf 6
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
16559
contrib/nolokkart.ac
Normal file
16559
contrib/nolokkart.ac
Normal file
File diff suppressed because it is too large
Load Diff
13676
contrib/old_tuxkart.ac
Normal file
13676
contrib/old_tuxkart.ac
Normal file
File diff suppressed because it is too large
Load Diff
468
contrib/openbook.ac
Normal file
468
contrib/openbook.ac
Normal file
@@ -0,0 +1,468 @@
|
||||
AC3Db
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
MATERIAL "ac3dmat3" rgb 1 0 0 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
OBJECT world
|
||||
kids 3
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc 0 1.21271 -1.16783
|
||||
numvert 24
|
||||
0.889244 1.16215 -0.166283
|
||||
0.802644 1.16214 -0.216282
|
||||
0.00623977 1.16214 1.05596
|
||||
0.0928401 1.16215 1.10596
|
||||
0.889247 -1.13786 -0.166282
|
||||
0.802644 -1.13786 -0.216282
|
||||
0.00624018 -1.13786 1.05597
|
||||
0.0928425 -1.13786 1.10597
|
||||
-0.1 1.16215 1.2173
|
||||
-0.1 1.16214 1.1173
|
||||
-1.6 1.16214 1.17089
|
||||
-1.6 1.16215 1.27088
|
||||
-0.1 -1.13786 1.2173
|
||||
-0.1 -1.13786 1.1173
|
||||
-1.6 -1.13786 1.17089
|
||||
-1.6 -1.13786 1.27089
|
||||
0.166074 1.14416 1.0949
|
||||
0.0875697 1.14415 1.04957
|
||||
-0.17794 1.14415 1.18454
|
||||
-0.17794 1.14416 1.27519
|
||||
0.166069 -1.1711 1.0949
|
||||
0.0875686 -1.1711 1.04957
|
||||
-0.17794 -1.1711 1.18454
|
||||
-0.17794 -1.1711 1.27518
|
||||
numsurf 18
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
8 1 0
|
||||
9 1 1
|
||||
10 0 1
|
||||
11 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
14 0 1
|
||||
15 0 0
|
||||
11 1 0
|
||||
10 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
15 1 0
|
||||
14 1 1
|
||||
13 0 1
|
||||
12 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
12 1 0
|
||||
13 1 1
|
||||
9 0 1
|
||||
8 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
9 0 0
|
||||
13 1 0
|
||||
14 1 1
|
||||
10 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
12 0 0
|
||||
8 1 0
|
||||
11 1 1
|
||||
15 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
16 1 0
|
||||
17 1 1
|
||||
18 0 1
|
||||
19 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
22 0 1
|
||||
23 0 0
|
||||
19 1 0
|
||||
18 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
23 1 0
|
||||
22 1 1
|
||||
21 0 1
|
||||
20 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
20 1 0
|
||||
21 1 1
|
||||
17 0 1
|
||||
16 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
17 0 0
|
||||
21 1 0
|
||||
22 1 1
|
||||
18 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
20 0 0
|
||||
16 1 0
|
||||
19 1 1
|
||||
23 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "mesh"
|
||||
loc -0.724976 1.1989 -1.28171
|
||||
texture "../images/homework.rgb"
|
||||
texrep -1 1
|
||||
texoff -0.02 0
|
||||
numvert 20
|
||||
0.247142 -1.08817 1.08951
|
||||
-0.661664 -1.08817 1.20644
|
||||
-0.661964 1.08817 1.2081
|
||||
0.247142 1.08817 1.0895
|
||||
0.413804 1.08817 1.04951
|
||||
0.413804 -1.08817 1.04951
|
||||
0.580474 -1.08817 1.08424
|
||||
0.580474 1.08817 1.08424
|
||||
0.733932 1.08817 1.28801
|
||||
0.733927 -1.08817 1.28801
|
||||
0.189261 -1.08817 1.21685
|
||||
-0.723994 -1.08817 1.28994
|
||||
-0.723994 1.08817 1.28994
|
||||
0.189261 1.08817 1.21685
|
||||
0.390654 1.08816 1.17685
|
||||
0.390654 -1.08817 1.17685
|
||||
0.638354 -1.08817 1.25788
|
||||
0.638354 1.08817 1.25788
|
||||
0.666104 1.08817 1.35049
|
||||
0.666104 -1.08817 1.35049
|
||||
numsurf 19
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
0 0.670682 0
|
||||
1 0.0430446 0.000216054
|
||||
2 0.0428392 0.999303
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
3 0.670682 1
|
||||
0 0.670682 0
|
||||
2 0.0428392 0.999303
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.785785 1
|
||||
0 0.670682 0
|
||||
3 0.670682 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
5 0.785785 0
|
||||
0 0.670682 0
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
6 0.900887 0
|
||||
5 0.785785 0
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
7 0.900887 1
|
||||
6 0.900887 0
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
8 1 1
|
||||
6 0.900887 0
|
||||
7 0.900887 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
9 1 0
|
||||
6 0.900887 0
|
||||
8 1 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.670682 0
|
||||
10 0.630709 0
|
||||
11 0 0.000324094
|
||||
1 0.0430446 0.000216054
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.0428392 0.999303
|
||||
12 0 0.998606
|
||||
13 0.630709 1
|
||||
3 0.670682 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.785785 1
|
||||
14 0.769795 1
|
||||
10 0.630709 0
|
||||
0 0.670682 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.670682 1
|
||||
13 0.630709 1
|
||||
14 0.769795 1
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
5 0.785785 0
|
||||
15 0.769795 0
|
||||
10 0.630709 0
|
||||
0 0.670682 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
6 0.900887 0
|
||||
16 0.940861 0
|
||||
15 0.769795 0
|
||||
5 0.785785 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.785785 1
|
||||
14 0.769795 1
|
||||
17 0.940861 1
|
||||
7 0.900887 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
8 1 1
|
||||
18 0.960026 1
|
||||
16 0.940861 0
|
||||
6 0.900887 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
7 0.900887 1
|
||||
17 0.940861 1
|
||||
18 0.960026 1
|
||||
8 1 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
9 1 0
|
||||
19 0.960026 0
|
||||
16 0.940861 0
|
||||
6 0.900887 0
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 4
|
||||
12 0 0.998606
|
||||
2 0.0428392 0.999303
|
||||
1 0.0430446 0.000216054
|
||||
11 0 0.000324094
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "mesh"
|
||||
loc 0.724976 1.20186 -1.33573
|
||||
texture "../images/homework.rgb"
|
||||
texoff -0.02 0
|
||||
numvert 20
|
||||
-0.142032 1.08817 0.0707934
|
||||
-0.143624 -1.08816 0.0702209
|
||||
-0.699298 -1.08816 0.798807
|
||||
-0.699293 1.08817 0.79881
|
||||
-0.817265 1.08817 0.923148
|
||||
-0.817271 -1.08816 0.923144
|
||||
-0.870526 -1.08816 1.08485
|
||||
-0.870527 1.08817 1.08485
|
||||
-0.761829 1.08817 1.31332
|
||||
-0.761829 -1.08816 1.31332
|
||||
-0.0401483 -1.08816 0.0579898
|
||||
-0.560077 -1.08816 0.81235
|
||||
-0.560073 1.08817 0.812352
|
||||
-0.0401469 1.08817 0.0579908
|
||||
-0.695416 1.08817 0.966764
|
||||
-0.695415 -1.08816 0.966764
|
||||
-0.749089 -1.08816 1.2218
|
||||
-0.749085 1.08817 1.2218
|
||||
-0.682765 1.08817 1.29213
|
||||
-0.682761 -1.08816 1.29213
|
||||
numsurf 19
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
0 0.0428392 0.999303
|
||||
1 0.0430446 0.000216054
|
||||
2 0.670682 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
0 0.0428392 0.999303
|
||||
2 0.670682 0
|
||||
3 0.670682 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
3 0.670682 1
|
||||
2 0.670682 0
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.785785 1
|
||||
2 0.670682 0
|
||||
5 0.785785 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.785785 1
|
||||
5 0.785785 0
|
||||
6 0.900887 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.785785 1
|
||||
6 0.900887 0
|
||||
7 0.900887 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
7 0.900887 1
|
||||
6 0.900887 0
|
||||
8 1 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
8 1 1
|
||||
6 0.900887 0
|
||||
9 1 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
1 0.0430446 0.000216054
|
||||
10 0 0.000324094
|
||||
11 0.630709 0
|
||||
2 0.670682 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.670682 1
|
||||
12 0.630709 1
|
||||
13 0 0.998606
|
||||
0 0.0428392 0.999303
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.670682 0
|
||||
11 0.630709 0
|
||||
14 0.769795 1
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.785785 1
|
||||
14 0.769795 1
|
||||
12 0.630709 1
|
||||
3 0.670682 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.670682 0
|
||||
11 0.630709 0
|
||||
15 0.769795 0
|
||||
5 0.785785 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
5 0.785785 0
|
||||
15 0.769795 0
|
||||
16 0.940861 0
|
||||
6 0.900887 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
7 0.900887 1
|
||||
17 0.940861 1
|
||||
14 0.769795 1
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
6 0.900887 0
|
||||
16 0.940861 0
|
||||
18 0.960026 1
|
||||
8 1 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
8 1 1
|
||||
18 0.960026 1
|
||||
17 0.940861 1
|
||||
7 0.900887 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
6 0.900887 0
|
||||
16 0.940861 0
|
||||
19 0.960026 0
|
||||
9 1 0
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 4
|
||||
10 0 0.000324094
|
||||
1 0.0430446 0.000216054
|
||||
0 0.0428392 0.999303
|
||||
13 0 0.998606
|
||||
kids 0
|
5078
contrib/pennykart.ac
Normal file
5078
contrib/pennykart.ac
Normal file
File diff suppressed because it is too large
Load Diff
176
contrib/plibsign.ac
Normal file
176
contrib/plibsign.ac
Normal file
@@ -0,0 +1,176 @@
|
||||
AC3Db
|
||||
MATERIAL "" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
MATERIAL "" rgb 0.553 0.251 0.251 amb 0.553 0.2 0.2 emis 0 0 0 spec 0 0 0 shi 0 trans 0
|
||||
OBJECT world
|
||||
kids 2
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc 1.20452 0.8493 0.567803
|
||||
texture "../images/adverts.rgb"
|
||||
texrep -0.4 0.22
|
||||
texoff -0.58 0
|
||||
numvert 4
|
||||
-7.10453 5.1014 -1.22962
|
||||
-7.10453 12.0986 -1.22962
|
||||
4.89547 12.0986 -1.22962
|
||||
4.89547 5.1014 -1.22962
|
||||
numsurf 1
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
0 0 0
|
||||
1 0 1
|
||||
2 1 1
|
||||
3 1 0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc 0.0999994 7.1169 -0.0794191
|
||||
texrep -0.4 0.22
|
||||
texoff -0.58 0
|
||||
numvert 24
|
||||
-3.44376 -7.731 0.5824
|
||||
-3.34376 5.7972 0.5824
|
||||
-3.87616 5.7972 0.5824
|
||||
-3.97616 -7.731 0.5824
|
||||
-3.87616 5.7972 0.0500004
|
||||
-3.97616 -7.731 0.0500004
|
||||
-3.34376 5.7972 0.0500001
|
||||
-3.44376 -7.731 0.0500001
|
||||
5.99998 -1.1662 -0.049999
|
||||
5.99998 5.831 -0.049999
|
||||
-5.99998 5.831 -0.0499999
|
||||
-5.99998 -1.1662 -0.0499999
|
||||
-6 5.831 -0.582399
|
||||
-6 -1.1662 -0.582399
|
||||
6 -1.1662 -0.5824
|
||||
6 5.831 -0.5824
|
||||
3.85624 -7.731 0.5824
|
||||
3.95624 5.7972 0.5824
|
||||
3.42384 5.7972 0.5824
|
||||
3.32384 -7.731 0.5824
|
||||
3.42384 5.7972 0.0500003
|
||||
3.32384 -7.731 0.0500003
|
||||
3.85624 -7.731 0.0500001
|
||||
3.95624 5.7972 0.0500001
|
||||
numsurf 17
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 1
|
||||
5 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
5 1 0
|
||||
4 1 1
|
||||
6 0 1
|
||||
7 0 0
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
6 1 0
|
||||
4 1 1
|
||||
2 0 1
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
7 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
5 0 1
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
8 1 0
|
||||
9 1 1
|
||||
10 0 1
|
||||
11 0 0
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
12 0 1
|
||||
13 0 0
|
||||
11 1 0
|
||||
10 1 1
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
14 1 0
|
||||
15 1 1
|
||||
9 0 1
|
||||
8 0 0
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
9 0 0
|
||||
15 1 0
|
||||
12 1 1
|
||||
10 0 1
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
14 0 0
|
||||
8 1 0
|
||||
11 1 1
|
||||
13 0 1
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
16 1 0
|
||||
17 1 1
|
||||
18 0 1
|
||||
19 0 0
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
20 0 1
|
||||
21 0 0
|
||||
19 1 0
|
||||
18 1 1
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
22 1 0
|
||||
23 1 1
|
||||
17 0 1
|
||||
16 0 0
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
17 0 0
|
||||
23 1 0
|
||||
20 1 1
|
||||
18 0 1
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
22 0 0
|
||||
16 1 0
|
||||
19 1 1
|
||||
21 0 1
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
21 1 0
|
||||
20 1 1
|
||||
23 0 1
|
||||
22 0 0
|
||||
kids 0
|
BIN
contrib/railroadtrack.rgb
Normal file
BIN
contrib/railroadtrack.rgb
Normal file
Binary file not shown.
BIN
contrib/start.rgb
Normal file
BIN
contrib/start.rgb
Normal file
Binary file not shown.
1058
contrib/truck1.ac
Normal file
1058
contrib/truck1.ac
Normal file
File diff suppressed because it is too large
Load Diff
BIN
contrib/tuxkarttex.rgb
Normal file
BIN
contrib/tuxkarttex.rgb
Normal file
Binary file not shown.
BIN
contrib/tuxtex.rgb
Normal file
BIN
contrib/tuxtex.rgb
Normal file
Binary file not shown.
230
contrib/tv.ac
Normal file
230
contrib/tv.ac
Normal file
@@ -0,0 +1,230 @@
|
||||
AC3Db
|
||||
MATERIAL "ac3dmat0" rgb 0 0 0 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
OBJECT world
|
||||
kids 4
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.168385 1.225 0.308664
|
||||
texture "../images/tv.rgb"
|
||||
numvert 8
|
||||
-0.408137 -1.225 -1.41983
|
||||
-0.408137 1.225 -1.41983
|
||||
1.32739 1.225 0.648488
|
||||
1.32739 -1.225 0.648488
|
||||
-1.32739 -1.225 -0.648488
|
||||
-1.32739 1.225 -0.648488
|
||||
0.408137 1.225 1.41983
|
||||
0.408137 -1.225 1.41983
|
||||
numsurf 6
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
0 0 0
|
||||
1 0 1
|
||||
2 1 1
|
||||
3 1 0
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
6 1 1
|
||||
7 1 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
5 0 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 1
|
||||
5 0 1
|
||||
6 1 1
|
||||
2 1 1
|
||||
SURF 0x0
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 0 0
|
||||
3 1 0
|
||||
7 1 0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.168385 -0.15 0.308664
|
||||
numvert 8
|
||||
-0.46009 -0.15 -1.63732
|
||||
-0.46009 0.15 -1.63732
|
||||
1.53255 0.15 0.737418
|
||||
1.53255 -0.15 0.737418
|
||||
-1.53255 -0.15 -0.737418
|
||||
-1.53255 0.15 -0.737418
|
||||
0.46009 0.15 1.63732
|
||||
0.46009 -0.15 1.63732
|
||||
numsurf 6
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc 0.870173 2.6 0.0898512
|
||||
numvert 8
|
||||
0.7 -0.1 -0.1
|
||||
0.7 0.0999999 -0.1
|
||||
0.7 0.0999999 0.0999999
|
||||
0.7 -0.1 0.0999999
|
||||
-0.7 -0.1 -0.1
|
||||
-0.7 0.0999999 -0.1
|
||||
-0.7 0.0999999 0.1
|
||||
-0.7 -0.1 0.1
|
||||
numsurf 6
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc 0.138033 2.525 0.0515489
|
||||
numvert 8
|
||||
-0.791159 -0.125 -1.09844
|
||||
-0.791159 0.125 -1.09844
|
||||
0.944368 0.125 0.969881
|
||||
0.944368 -0.125 0.969881
|
||||
-0.944368 -0.125 -0.969881
|
||||
-0.944368 0.125 -0.969881
|
||||
0.791159 0.125 1.09844
|
||||
0.791159 -0.125 1.09844
|
||||
numsurf 6
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x0
|
||||
mat 0
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
241
contrib/yellow_closedbook.ac
Normal file
241
contrib/yellow_closedbook.ac
Normal file
@@ -0,0 +1,241 @@
|
||||
AC3Db
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
MATERIAL "ac3dmat3" rgb 1 1 0 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.502 0.502 0.502 shi 10 trans 0
|
||||
OBJECT world
|
||||
kids 7
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.9 0.05 -1.05
|
||||
numvert 8
|
||||
-0.7 -0.05 -1.15
|
||||
-0.7 0.05 -1.15
|
||||
0.7 0.05 -1.15
|
||||
0.7 -0.05 -1.15
|
||||
-0.7 -0.05 1.15
|
||||
-0.7 0.05 1.15
|
||||
0.7 0.05 1.15
|
||||
0.7 -0.05 1.15
|
||||
numsurf 6
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.9 0.35 -1.05
|
||||
numvert 8
|
||||
-0.7 -0.05 -1.15
|
||||
-0.7 0.05 -1.15
|
||||
0.7 0.05 -1.15
|
||||
0.7 -0.05 -1.15
|
||||
-0.7 -0.05 1.15
|
||||
-0.7 0.05 1.15
|
||||
0.7 0.05 1.15
|
||||
0.7 -0.05 1.15
|
||||
numsurf 6
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.15 0.20203 -1.05
|
||||
numvert 8
|
||||
-0.05 -0.15 -1.15
|
||||
-0.05 0.15 -1.15
|
||||
0.05 0.15 -1.15
|
||||
0.05 -0.15 -1.15
|
||||
-0.05 -0.15 1.15
|
||||
-0.05 0.15 1.15
|
||||
0.05 0.15 1.15
|
||||
0.05 -0.15 1.15
|
||||
numsurf 6
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.85 0.2 -1.05
|
||||
numvert 4
|
||||
-0.65 -0.1 -1.05
|
||||
-0.65 0.1 -1.05
|
||||
0.65 0.1 -1.05
|
||||
0.65 -0.1 -1.05
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.85 0.2 -1.05
|
||||
numvert 4
|
||||
0.65 0.1 1.05
|
||||
0.65 -0.1 1.05
|
||||
0.65 -0.1 -1.05
|
||||
0.65 0.1 -1.05
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0 1
|
||||
1 0 0
|
||||
2 1 0
|
||||
3 1 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.85 0.2 -1.05
|
||||
numvert 4
|
||||
0.65 -0.1 1.05
|
||||
0.65 0.1 1.05
|
||||
-0.65 0.1 1.05
|
||||
-0.65 -0.1 1.05
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc -0.85 0.2 -1.05
|
||||
numvert 4
|
||||
-0.65 -0.1 1.05
|
||||
-0.65 0.1 1.05
|
||||
-0.65 0.1 -1.05
|
||||
-0.65 -0.1 -1.05
|
||||
numsurf 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
kids 0
|
468
contrib/yellow_openbook.ac
Normal file
468
contrib/yellow_openbook.ac
Normal file
@@ -0,0 +1,468 @@
|
||||
AC3Db
|
||||
MATERIAL "ac3dmat1" rgb 1 1 1 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.5 0.5 0.5 shi 10 trans 0
|
||||
MATERIAL "ac3dmat3" rgb 1 1 0 amb 0.2 0.2 0.2 emis 0 0 0 spec 0.502 0.502 0.502 shi 10 trans 0
|
||||
OBJECT world
|
||||
kids 3
|
||||
OBJECT poly
|
||||
name "box"
|
||||
loc 0 1.21271 -1.16783
|
||||
numvert 24
|
||||
0.889244 1.16215 -0.166283
|
||||
0.802644 1.16214 -0.216282
|
||||
0.00623977 1.16214 1.05596
|
||||
0.0928401 1.16215 1.10596
|
||||
0.889247 -1.13786 -0.166282
|
||||
0.802644 -1.13786 -0.216282
|
||||
0.00624018 -1.13786 1.05597
|
||||
0.0928425 -1.13786 1.10597
|
||||
-0.1 1.16215 1.2173
|
||||
-0.1 1.16214 1.1173
|
||||
-1.6 1.16214 1.17089
|
||||
-1.6 1.16215 1.27088
|
||||
-0.1 -1.13786 1.2173
|
||||
-0.1 -1.13786 1.1173
|
||||
-1.6 -1.13786 1.17089
|
||||
-1.6 -1.13786 1.27089
|
||||
0.166074 1.14416 1.0949
|
||||
0.0875697 1.14415 1.04957
|
||||
-0.17794 1.14415 1.18454
|
||||
-0.17794 1.14416 1.27519
|
||||
0.166069 -1.1711 1.0949
|
||||
0.0875686 -1.1711 1.04957
|
||||
-0.17794 -1.1711 1.18454
|
||||
-0.17794 -1.1711 1.27518
|
||||
numsurf 18
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
0 1 0
|
||||
1 1 1
|
||||
2 0 1
|
||||
3 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
6 0 1
|
||||
7 0 0
|
||||
3 1 0
|
||||
2 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
7 1 0
|
||||
6 1 1
|
||||
5 0 1
|
||||
4 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 1 0
|
||||
5 1 1
|
||||
1 0 1
|
||||
0 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
1 0 0
|
||||
5 1 0
|
||||
6 1 1
|
||||
2 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
4 0 0
|
||||
0 1 0
|
||||
3 1 1
|
||||
7 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
8 1 0
|
||||
9 1 1
|
||||
10 0 1
|
||||
11 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
14 0 1
|
||||
15 0 0
|
||||
11 1 0
|
||||
10 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
15 1 0
|
||||
14 1 1
|
||||
13 0 1
|
||||
12 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
12 1 0
|
||||
13 1 1
|
||||
9 0 1
|
||||
8 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
9 0 0
|
||||
13 1 0
|
||||
14 1 1
|
||||
10 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
12 0 0
|
||||
8 1 0
|
||||
11 1 1
|
||||
15 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
16 1 0
|
||||
17 1 1
|
||||
18 0 1
|
||||
19 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
22 0 1
|
||||
23 0 0
|
||||
19 1 0
|
||||
18 1 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
23 1 0
|
||||
22 1 1
|
||||
21 0 1
|
||||
20 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
20 1 0
|
||||
21 1 1
|
||||
17 0 1
|
||||
16 0 0
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
17 0 0
|
||||
21 1 0
|
||||
22 1 1
|
||||
18 0 1
|
||||
SURF 0x10
|
||||
mat 1
|
||||
refs 4
|
||||
20 0 0
|
||||
16 1 0
|
||||
19 1 1
|
||||
23 0 1
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "mesh"
|
||||
loc -0.724976 1.1989 -1.28171
|
||||
texture "../images/homework.rgb"
|
||||
texrep -1 1
|
||||
texoff -0.02 0
|
||||
numvert 20
|
||||
0.247142 -1.08817 1.08951
|
||||
-0.661664 -1.08817 1.20644
|
||||
-0.661964 1.08817 1.2081
|
||||
0.247142 1.08817 1.0895
|
||||
0.413804 1.08817 1.04951
|
||||
0.413804 -1.08817 1.04951
|
||||
0.580474 -1.08817 1.08424
|
||||
0.580474 1.08817 1.08424
|
||||
0.733932 1.08817 1.28801
|
||||
0.733927 -1.08817 1.28801
|
||||
0.189261 -1.08817 1.21685
|
||||
-0.723994 -1.08817 1.28994
|
||||
-0.723994 1.08817 1.28994
|
||||
0.189261 1.08817 1.21685
|
||||
0.390654 1.08816 1.17685
|
||||
0.390654 -1.08817 1.17685
|
||||
0.638354 -1.08817 1.25788
|
||||
0.638354 1.08817 1.25788
|
||||
0.666104 1.08817 1.35049
|
||||
0.666104 -1.08817 1.35049
|
||||
numsurf 19
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
0 0.670682 0
|
||||
1 0.0430446 0.000216054
|
||||
2 0.0428392 0.999303
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
3 0.670682 1
|
||||
0 0.670682 0
|
||||
2 0.0428392 0.999303
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.785785 1
|
||||
0 0.670682 0
|
||||
3 0.670682 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
5 0.785785 0
|
||||
0 0.670682 0
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
6 0.900887 0
|
||||
5 0.785785 0
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
7 0.900887 1
|
||||
6 0.900887 0
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
8 1 1
|
||||
6 0.900887 0
|
||||
7 0.900887 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
9 1 0
|
||||
6 0.900887 0
|
||||
8 1 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
0 0.670682 0
|
||||
10 0.630709 0
|
||||
11 0 0.000324094
|
||||
1 0.0430446 0.000216054
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.0428392 0.999303
|
||||
12 0 0.998606
|
||||
13 0.630709 1
|
||||
3 0.670682 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.785785 1
|
||||
14 0.769795 1
|
||||
10 0.630709 0
|
||||
0 0.670682 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.670682 1
|
||||
13 0.630709 1
|
||||
14 0.769795 1
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
5 0.785785 0
|
||||
15 0.769795 0
|
||||
10 0.630709 0
|
||||
0 0.670682 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
6 0.900887 0
|
||||
16 0.940861 0
|
||||
15 0.769795 0
|
||||
5 0.785785 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.785785 1
|
||||
14 0.769795 1
|
||||
17 0.940861 1
|
||||
7 0.900887 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
8 1 1
|
||||
18 0.960026 1
|
||||
16 0.940861 0
|
||||
6 0.900887 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
7 0.900887 1
|
||||
17 0.940861 1
|
||||
18 0.960026 1
|
||||
8 1 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
9 1 0
|
||||
19 0.960026 0
|
||||
16 0.940861 0
|
||||
6 0.900887 0
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 4
|
||||
12 0 0.998606
|
||||
2 0.0428392 0.999303
|
||||
1 0.0430446 0.000216054
|
||||
11 0 0.000324094
|
||||
kids 0
|
||||
OBJECT poly
|
||||
name "mesh"
|
||||
loc 0.724976 1.20186 -1.33573
|
||||
texture "../images/homework.rgb"
|
||||
texoff -0.02 0
|
||||
numvert 20
|
||||
-0.142032 1.08817 0.0707934
|
||||
-0.143624 -1.08816 0.0702209
|
||||
-0.699298 -1.08816 0.798807
|
||||
-0.699293 1.08817 0.79881
|
||||
-0.817265 1.08817 0.923148
|
||||
-0.817271 -1.08816 0.923144
|
||||
-0.870526 -1.08816 1.08485
|
||||
-0.870527 1.08817 1.08485
|
||||
-0.761829 1.08817 1.31332
|
||||
-0.761829 -1.08816 1.31332
|
||||
-0.0401483 -1.08816 0.0579898
|
||||
-0.560077 -1.08816 0.81235
|
||||
-0.560073 1.08817 0.812352
|
||||
-0.0401469 1.08817 0.0579908
|
||||
-0.695416 1.08817 0.966764
|
||||
-0.695415 -1.08816 0.966764
|
||||
-0.749089 -1.08816 1.2218
|
||||
-0.749085 1.08817 1.2218
|
||||
-0.682765 1.08817 1.29213
|
||||
-0.682761 -1.08816 1.29213
|
||||
numsurf 19
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
0 0.0428392 0.999303
|
||||
1 0.0430446 0.000216054
|
||||
2 0.670682 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
0 0.0428392 0.999303
|
||||
2 0.670682 0
|
||||
3 0.670682 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
3 0.670682 1
|
||||
2 0.670682 0
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.785785 1
|
||||
2 0.670682 0
|
||||
5 0.785785 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.785785 1
|
||||
5 0.785785 0
|
||||
6 0.900887 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
4 0.785785 1
|
||||
6 0.900887 0
|
||||
7 0.900887 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
7 0.900887 1
|
||||
6 0.900887 0
|
||||
8 1 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 3
|
||||
8 1 1
|
||||
6 0.900887 0
|
||||
9 1 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
1 0.0430446 0.000216054
|
||||
10 0 0.000324094
|
||||
11 0.630709 0
|
||||
2 0.670682 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
3 0.670682 1
|
||||
12 0.630709 1
|
||||
13 0 0.998606
|
||||
0 0.0428392 0.999303
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.670682 0
|
||||
11 0.630709 0
|
||||
14 0.769795 1
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
4 0.785785 1
|
||||
14 0.769795 1
|
||||
12 0.630709 1
|
||||
3 0.670682 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
2 0.670682 0
|
||||
11 0.630709 0
|
||||
15 0.769795 0
|
||||
5 0.785785 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
5 0.785785 0
|
||||
15 0.769795 0
|
||||
16 0.940861 0
|
||||
6 0.900887 0
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
7 0.900887 1
|
||||
17 0.940861 1
|
||||
14 0.769795 1
|
||||
4 0.785785 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
6 0.900887 0
|
||||
16 0.940861 0
|
||||
18 0.960026 1
|
||||
8 1 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
8 1 1
|
||||
18 0.960026 1
|
||||
17 0.940861 1
|
||||
7 0.900887 1
|
||||
SURF 0x10
|
||||
mat 0
|
||||
refs 4
|
||||
6 0.900887 0
|
||||
16 0.940861 0
|
||||
19 0.960026 0
|
||||
9 1 0
|
||||
SURF 0x30
|
||||
mat 0
|
||||
refs 4
|
||||
10 0 0.000324094
|
||||
1 0.0430446 0.000216054
|
||||
0 0.0428392 0.999303
|
||||
13 0 0.998606
|
||||
kids 0
|
BIN
data/CREDITS
BIN
data/CREDITS
Binary file not shown.
@@ -1,25 +1,17 @@
|
||||
# data/
|
||||
|
||||
SUBDIRS = challenges fonts gfx gui karts models music po sfx textures tracks \
|
||||
grandprix shaders
|
||||
pkgdatadir = $(datadir)/games/@PACKAGE@/data
|
||||
|
||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data
|
||||
|
||||
dist_pkgdata_DATA = \
|
||||
$(shell find $(srcdir) -maxdepth 1 -name "*.challenge") \
|
||||
stk_config.xml powerup.xml items.xml \
|
||||
CREDITS run_me.sh
|
||||
pkgdata_DATA = $(wildcard *.dat) $(wildcard *.data) $(wildcard *.herring) \
|
||||
$(wildcard *.loc) $(wildcard *.drv?) $(wildcard *.projectile) \
|
||||
$(wildcard *.cup) $(wildcard *.tkkf) $(wildcard *.collectable)\
|
||||
$(wildcard *.track) CREDITS licenses \
|
||||
supertuxkart_32.xpm supertuxkart_64.xpm supertuxkart.desktop
|
||||
|
||||
desktopdir = $(prefix)/share/applications
|
||||
desktop_DATA = supertuxkart.desktop
|
||||
|
||||
icondir = $(prefix)/share/pixmaps
|
||||
dist_icon_DATA = supertuxkart_32.png supertuxkart_128.png
|
||||
icon_DATA = supertuxkart_32.xpm supertuxkart_64.xpm
|
||||
|
||||
|
||||
# The desktop file needs the absolute path to the binary
|
||||
# since e.g. /usr/games might not be in the standard path
|
||||
EXTRA_DIST = supertuxkart_desktop.template
|
||||
CLEANFILES = supertuxkart.desktop
|
||||
supertuxkart.desktop: Makefile supertuxkart_desktop.template
|
||||
sed 's#@PREFIX@#$(prefix)#' '$(srcdir)/supertuxkart_desktop.template' >supertuxkart.desktop
|
||||
EXTRA_DIST = $(pkgdata_DATA)
|
||||
|
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>SuperTuxKart</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>supertuxkart.icns</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>net.sourceforge.supertuxkart</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>SuperTuxKart</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.8.1</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>SPTK</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>0.8.1</string>
|
||||
<key>CSResourcesFileMapped</key>
|
||||
<true/>
|
||||
</dict>
|
||||
</plist>
|
10
data/all.cup
Normal file
10
data/all.cup
Normal file
@@ -0,0 +1,10 @@
|
||||
;; -*- mode: lisp -*-
|
||||
|
||||
(supertuxkart-cup
|
||||
(name "All tracks")
|
||||
(description "All 13 tracks included in SuperTuxKart")
|
||||
(tracks "beach" "startrack" "lighthouse" "volcano" "gownsbow" "islandtrack" "bsodcastle" "geekopeak" "littlevolcano" "olivermath" "race" "subseatrack" "tuxtrack")
|
||||
(laps 2 3 4 3 2 2 3 3 3 4 5 3 2)
|
||||
)
|
||||
|
||||
;; EOF ;;
|
9
data/anvil.collectable
Normal file
9
data/anvil.collectable
Normal file
@@ -0,0 +1,9 @@
|
||||
;; -*- mode: lisp -*-
|
||||
|
||||
(tuxkart-collectable
|
||||
(name "anvil")
|
||||
(model "anvil.ac")
|
||||
(icon "anvil.rgb")
|
||||
)
|
||||
|
||||
;; EOF ;;
|
292
data/beach.drvl
Normal file
292
data/beach.drvl
Normal file
@@ -0,0 +1,292 @@
|
||||
-4.029389,-0.055003,-0.623054
|
||||
-4.034726,2.271121,-0.623054
|
||||
-3.753494,8.587892,-0.623057
|
||||
-3.243392,14.697538,-0.623057
|
||||
-2.577844,20.660118,-0.623060
|
||||
-1.827775,26.542055,-0.623059
|
||||
-1.060219,32.415882,-0.623059
|
||||
-0.338121,38.359386,-0.623063
|
||||
0.278747,44.454758,-0.623062
|
||||
0.727761,50.688900,-0.623066
|
||||
0.687132,53.994175,-0.647826
|
||||
0.275653,57.454323,-0.711100
|
||||
-0.400435,61.187290,-0.796386
|
||||
-1.202684,65.151558,-0.887171
|
||||
-1.959266,69.335419,-0.966953
|
||||
-2.456973,73.763756,-1.019227
|
||||
-2.410622,78.475822,-1.027480
|
||||
-1.438832,83.428764,-0.975209
|
||||
0.830270,88.336044,-0.845911
|
||||
4.245583,92.484238,-0.623075
|
||||
7.450228,95.022247,-0.441408
|
||||
10.722488,96.771439,-0.237602
|
||||
14.162002,97.954788,-0.017130
|
||||
17.694233,98.602158,0.214534
|
||||
21.262053,98.733604,0.451914
|
||||
24.815645,98.354462,0.689540
|
||||
28.303425,97.454285,0.921935
|
||||
31.662638,96.009201,1.143623
|
||||
34.808846,93.989098,1.349132
|
||||
37.983162,90.945030,1.532987
|
||||
41.489326,85.290161,1.803536
|
||||
43.004730,78.664856,1.924916
|
||||
42.640892,72.434341,1.930515
|
||||
41.249180,66.780724,1.853731
|
||||
39.436863,61.573109,1.727956
|
||||
37.628239,56.733295,1.586586
|
||||
36.168972,52.297432,1.463009
|
||||
35.325832,48.392090,1.390624
|
||||
35.220341,45.128632,1.402822
|
||||
36.124081,41.634476,1.532999
|
||||
37.608425,38.716320,1.746061
|
||||
38.570969,37.175060,1.869322
|
||||
39.585953,35.822472,2.004395
|
||||
40.635498,34.675430,2.151773
|
||||
42.784706,33.006256,2.485422
|
||||
45.061810,32.076160,2.874215
|
||||
47.578751,31.830578,3.292289
|
||||
49.799690,32.254219,3.667414
|
||||
51.956249,33.306980,4.002507
|
||||
54.050163,35.028233,4.294969
|
||||
55.948288,37.383209,4.542205
|
||||
57.612003,40.676041,4.648048
|
||||
58.726986,44.308388,4.869840
|
||||
59.153275,50.598969,4.862028
|
||||
58.291164,57.752117,4.692232
|
||||
56.438812,65.517723,4.428065
|
||||
54.037819,73.625893,4.137151
|
||||
51.602009,81.888046,3.887111
|
||||
49.698494,90.234108,3.745559
|
||||
49.034950,98.736565,3.780116
|
||||
50.693703,107.394882,4.058402
|
||||
55.170494,114.526772,4.648031
|
||||
58.904789,117.792549,4.964519
|
||||
62.388912,119.731277,5.290312
|
||||
66.066704,121.025620,5.621506
|
||||
69.844849,121.718483,5.954197
|
||||
73.654701,121.843513,6.284478
|
||||
77.439201,121.417603,6.608445
|
||||
81.142067,120.439362,6.922195
|
||||
84.697662,118.891029,7.221821
|
||||
88.020020,116.744598,7.503417
|
||||
91.323090,113.577820,7.763081
|
||||
95.290283,106.164383,8.339469
|
||||
98.102287,97.731522,8.631271
|
||||
98.714783,89.270760,8.697178
|
||||
97.772400,81.054665,8.595872
|
||||
95.881271,73.082214,8.386044
|
||||
93.524979,65.289078,8.126381
|
||||
91.112579,57.645214,7.875565
|
||||
88.420586,50.168880,7.692289
|
||||
86.967377,42.913128,7.635239
|
||||
86.441498,35.960609,7.763099
|
||||
86.495674,30.125723,8.026981
|
||||
87.958221,26.383930,8.322536
|
||||
89.728851,24.187353,8.641855
|
||||
93.764198,23.042126,8.977028
|
||||
95.584198,22.618284,9.320149
|
||||
97.306602,22.779774,9.663307
|
||||
98.770576,23.428761,9.998596
|
||||
99.896355,24.497524,10.318104
|
||||
100.694023,26.167620,10.613926
|
||||
100.916908,29.636156,10.878148
|
||||
100.637680,34.757378,11.045553
|
||||
100.559265,40.622952,11.099834
|
||||
100.726501,46.555069,11.069462
|
||||
101.168907,52.510368,10.982906
|
||||
101.917938,58.445843,10.868641
|
||||
103.007530,64.318550,10.755136
|
||||
104.474854,70.084877,10.670860
|
||||
106.360870,75.699196,10.644290
|
||||
108.710464,81.111443,10.703892
|
||||
111.607262,86.320763,10.878138
|
||||
114.607109,90.081650,11.052052
|
||||
118.340233,93.000336,11.247209
|
||||
122.504181,94.878647,11.456635
|
||||
126.838203,95.721626,11.673359
|
||||
131.135651,95.609810,11.890411
|
||||
135.255737,94.637810,12.100819
|
||||
139.093781,92.876984,12.297611
|
||||
142.545639,90.369705,12.473817
|
||||
145.481644,87.145813,12.622466
|
||||
147.812195,83.075737,12.736583
|
||||
149.726837,76.973747,12.853476
|
||||
150.247711,70.748070,12.873077
|
||||
149.559647,64.902107,12.813189
|
||||
148.064651,59.518459,12.691612
|
||||
146.121719,54.530693,12.526153
|
||||
144.011093,49.834175,12.334611
|
||||
141.960220,45.344929,12.134791
|
||||
140.163330,41.010883,11.944495
|
||||
138.782623,36.799587,11.781529
|
||||
137.920273,32.501431,11.663692
|
||||
137.343170,26.620615,11.585139
|
||||
137.225006,24.762691,11.560068
|
||||
137.340866,22.857943,11.569404
|
||||
137.436386,20.573521,11.594067
|
||||
137.590927,17.329014,11.614985
|
||||
136.225800,-19.665028,11.693893
|
||||
136.269653,-23.298189,11.689069
|
||||
135.982895,-25.503305,11.625474
|
||||
135.605194,-27.795563,11.493755
|
||||
133.735611,-33.324600,11.693173
|
||||
130.677521,-37.830246,11.856974
|
||||
127.391739,-40.944138,11.884946
|
||||
124.601044,-43.107346,11.790741
|
||||
122.622581,-44.737785,11.615618
|
||||
120.590477,-47.781250,11.220501
|
||||
120.088104,-50.761906,11.070009
|
||||
120.324364,-55.795879,11.689891
|
||||
120.465302,-58.699268,12.066046
|
||||
121.044670,-61.342632,12.402211
|
||||
123.164612,-63.089050,12.573366
|
||||
125.656067,-63.124729,12.503674
|
||||
128.222641,-62.686199,12.367771
|
||||
133.604919,-62.043392,12.120951
|
||||
139.678009,-61.808998,11.908676
|
||||
146.370224,-62.968220,11.865281
|
||||
152.977341,-67.108063,12.497249
|
||||
157.143860,-74.387672,12.942068
|
||||
158.252228,-83.616837,13.479905
|
||||
156.379501,-95.528778,13.996491
|
||||
150.257050,-104.252533,14.122119
|
||||
141.134155,-107.715546,14.036593
|
||||
132.540314,-107.258606,13.955318
|
||||
124.765862,-105.458572,13.884703
|
||||
117.917427,-103.698494,13.807014
|
||||
114.661514,-102.714584,13.722074
|
||||
112.014389,-103.064240,13.635096
|
||||
109.820732,-105.747787,13.531611
|
||||
108.514168,-109.788162,13.339485
|
||||
108.855728,-112.551865,13.162963
|
||||
109.895226,-114.195610,12.993758
|
||||
112.123283,-115.927299,12.807145
|
||||
115.859550,-117.778320,12.601740
|
||||
120.721680,-119.637260,12.383076
|
||||
126.214920,-121.693985,12.137057
|
||||
131.940811,-124.400475,11.820692
|
||||
137.466339,-128.537643,11.381030
|
||||
141.690430,-134.946930,10.748277
|
||||
143.003326,-143.014832,9.969211
|
||||
141.215652,-151.938766,9.078010
|
||||
135.174393,-158.574432,8.371813
|
||||
127.395752,-160.131165,8.102663
|
||||
121.009354,-158.980026,8.074658
|
||||
117.952873,-158.018173,8.041975
|
||||
115.556053,-157.003769,8.015786
|
||||
112.191628,-155.284790,8.046114
|
||||
109.461731,-156.158920,7.851391
|
||||
107.178543,-158.188461,7.554277
|
||||
106.917465,-160.672165,7.219326
|
||||
106.974373,-163.611008,6.895064
|
||||
107.624611,-165.345932,6.903409
|
||||
108.805000,-166.781570,7.056297
|
||||
110.656769,-167.704971,7.218858
|
||||
113.630577,-168.748566,7.329325
|
||||
117.506439,-170.155396,7.303795
|
||||
122.063950,-172.859131,6.998570
|
||||
125.956413,-178.186279,6.232333
|
||||
126.915085,-184.998337,5.034221
|
||||
125.231743,-191.937759,3.080416
|
||||
122.623032,-198.290695,1.909567
|
||||
119.368080,-203.235672,1.049673
|
||||
115.091354,-206.906998,0.653609
|
||||
109.977127,-208.874039,0.067394
|
||||
104.898140,-209.045013,-0.254932
|
||||
100.429756,-208.080612,-0.541134
|
||||
95.821724,-207.264633,-0.835447
|
||||
92.690155,-206.190216,-1.025141
|
||||
89.540527,-205.176010,-1.239485
|
||||
86.301620,-203.983948,-1.430181
|
||||
81.629684,-202.501663,-1.576215
|
||||
77.548004,-201.244980,-1.619282
|
||||
73.856010,-200.169861,-1.380601
|
||||
70.447739,-199.201721,-1.121444
|
||||
67.010429,-198.258514,-0.841634
|
||||
63.304104,-197.263000,-0.558343
|
||||
59.098980,-196.140396,-0.312213
|
||||
54.171066,-194.817200,-0.147126
|
||||
48.296421,-193.219833,-0.010138
|
||||
41.201572,-191.260864,0.037796
|
||||
36.146530,-189.747406,0.200074
|
||||
31.063559,-187.981445,0.356275
|
||||
26.057106,-185.943893,0.692921
|
||||
21.191460,-183.599030,1.116105
|
||||
16.532654,-180.903656,1.601539
|
||||
12.152850,-177.805740,2.239667
|
||||
8.138065,-174.245468,2.918916
|
||||
4.598954,-170.163345,3.556782
|
||||
1.678567,-165.520264,4.102178
|
||||
-0.455726,-160.330429,4.519668
|
||||
-3.029223,-150.549072,5.220727
|
||||
-4.863295,-140.132889,5.889466
|
||||
-5.840156,-129.377121,6.538037
|
||||
-5.826304,-118.562973,7.178580
|
||||
-4.662090,-107.965233,7.528836
|
||||
-2.143774,-97.855011,7.385084
|
||||
2.002143,-88.532028,6.970990
|
||||
8.107559,-80.422050,6.521037
|
||||
16.389572,-74.192909,6.283665
|
||||
26.478340,-70.627106,6.487230
|
||||
34.619045,-71.048859,6.891335
|
||||
40.955109,-75.238914,7.752314
|
||||
44.624897,-80.751801,8.679776
|
||||
46.924473,-86.489250,9.491838
|
||||
48.672176,-92.196632,10.152284
|
||||
50.267746,-97.530159,10.631858
|
||||
51.909035,-101.984344,10.915263
|
||||
53.138214,-104.043419,10.944884
|
||||
54.679604,-106.187172,11.000528
|
||||
56.943668,-106.650200,10.985812
|
||||
59.311756,-106.423523,10.962811
|
||||
63.091915,-105.561455,10.886566
|
||||
66.935654,-103.996086,10.746596
|
||||
70.613953,-101.813492,10.537139
|
||||
73.910385,-99.143776,10.257086
|
||||
76.632851,-96.152222,9.914062
|
||||
78.630173,-93.033073,9.526974
|
||||
79.821945,-89.986031,9.123736
|
||||
80.220734,-87.139656,8.728348
|
||||
79.856422,-84.409798,8.335649
|
||||
78.602699,-81.553398,7.914040
|
||||
77.056671,-79.845795,7.660093
|
||||
74.869476,-78.481598,7.459802
|
||||
71.798325,-77.287430,7.289420
|
||||
67.947800,-76.219833,7.142394
|
||||
63.537987,-75.096039,6.988701
|
||||
58.749367,-73.556992,6.769196
|
||||
53.771996,-71.020119,6.386270
|
||||
49.167213,-66.773277,5.715388
|
||||
45.861256,-59.998089,4.617381
|
||||
46.046768,-50.506672,3.099642
|
||||
50.870380,-42.423965,1.892544
|
||||
57.436840,-36.514072,1.100442
|
||||
64.472473,-31.533934,0.519172
|
||||
71.001785,-26.998056,0.078220
|
||||
75.885223,-22.917606,-0.233465
|
||||
77.723389,-20.992334,-0.350345
|
||||
78.434952,-18.578861,-0.466599
|
||||
76.501106,-15.131457,-0.576003
|
||||
68.944893,-8.689670,-0.623052
|
||||
62.868793,-5.329302,-0.623054
|
||||
60.052208,-4.523453,-0.623054
|
||||
57.545734,-4.981455,-0.623053
|
||||
55.640152,-6.487322,-0.623053
|
||||
53.162144,-9.710450,-0.623051
|
||||
50.415710,-14.419190,-0.569934
|
||||
47.412392,-20.038210,-0.341213
|
||||
43.895756,-26.025656,0.080822
|
||||
39.394352,-31.874058,0.651101
|
||||
33.660923,-36.628262,1.221058
|
||||
28.259039,-39.127411,1.563250
|
||||
22.888117,-40.121243,1.720986
|
||||
17.563002,-39.734894,1.695720
|
||||
12.591328,-38.069866,1.501219
|
||||
8.180734,-35.330170,1.177734
|
||||
4.421676,-31.722088,0.774933
|
||||
1.342113,-27.403082,0.343082
|
||||
-1.042900,-22.484203,-0.066757
|
||||
-2.709332,-17.049213,-0.399891
|
||||
-3.609711,-11.285844,-0.594226
|
||||
-4.013379,-4.306990,-0.623054
|
||||
-4.024052,-2.023113,-0.623054
|
292
data/beach.drvr
Normal file
292
data/beach.drvr
Normal file
@@ -0,0 +1,292 @@
|
||||
4.089759,-0.024137,-0.623054
|
||||
4.084964,2.105770,-0.623054
|
||||
4.351340,8.069880,-0.623057
|
||||
4.839589,13.908761,-0.623057
|
||||
5.486019,19.695362,-0.623058
|
||||
6.226730,25.502050,-0.623060
|
||||
6.997450,31.400688,-0.623060
|
||||
7.733592,37.462666,-0.623063
|
||||
8.370262,43.759014,-0.623063
|
||||
8.842828,50.369003,-0.623066
|
||||
8.791586,54.518112,-0.647825
|
||||
8.308938,58.647232,-0.711100
|
||||
7.576423,62.712536,-0.796387
|
||||
6.772794,66.684021,-0.887172
|
||||
6.073907,70.529060,-0.966953
|
||||
5.652026,74.211914,-1.019226
|
||||
5.673183,77.695541,-1.027480
|
||||
6.295033,80.950050,-0.975209
|
||||
7.676107,83.966698,-0.845909
|
||||
10.020261,86.773743,-0.623075
|
||||
11.871168,88.209625,-0.441409
|
||||
13.960876,89.323647,-0.237602
|
||||
16.215298,90.097267,-0.017130
|
||||
18.575453,90.528740,0.214534
|
||||
20.980860,90.617111,0.451916
|
||||
23.370401,90.362709,0.689541
|
||||
25.683088,89.767250,0.921934
|
||||
27.858946,88.833641,1.143623
|
||||
29.839830,87.565262,1.349132
|
||||
31.539404,86.001892,1.532988
|
||||
34.007160,82.132011,1.803538
|
||||
34.905975,78.059189,1.924915
|
||||
34.620457,73.710785,1.930514
|
||||
33.471043,69.116806,1.853732
|
||||
31.799337,64.334435,1.727956
|
||||
29.962822,59.416222,1.586584
|
||||
28.325794,54.404854,1.463010
|
||||
27.259403,49.335140,1.390623
|
||||
27.147375,44.243244,1.402824
|
||||
28.360449,39.250626,1.532999
|
||||
30.564486,34.674091,1.746061
|
||||
31.875038,32.579281,1.869323
|
||||
33.338825,30.633047,2.004398
|
||||
34.961914,28.864485,2.151776
|
||||
38.708683,25.981813,2.485424
|
||||
43.147717,24.183571,2.874217
|
||||
47.959785,23.718149,3.292291
|
||||
52.370682,24.550535,3.667417
|
||||
56.355453,26.480291,4.002510
|
||||
59.828899,29.321846,4.294971
|
||||
62.717506,32.896084,4.542204
|
||||
65.136993,37.621326,4.648049
|
||||
66.674423,42.636620,4.869841
|
||||
67.272308,50.793968,4.862027
|
||||
66.287010,59.174480,4.692229
|
||||
64.286499,67.608315,4.428065
|
||||
61.826263,75.927376,4.137152
|
||||
59.455547,83.956520,3.887112
|
||||
57.718975,91.510292,3.745560
|
||||
57.148960,98.390923,3.780116
|
||||
58.245438,104.406906,4.058402
|
||||
61.559216,109.512688,4.648033
|
||||
63.480633,111.082970,4.964521
|
||||
65.714058,112.321823,5.290313
|
||||
68.145615,113.174835,5.621508
|
||||
70.708000,113.643112,5.954198
|
||||
73.331818,113.728577,6.284482
|
||||
75.946609,113.434570,6.608449
|
||||
78.481888,112.766037,6.922196
|
||||
80.867958,111.729317,7.221821
|
||||
83.036903,110.331703,7.503420
|
||||
84.894783,108.614601,7.763081
|
||||
89.056313,102.521294,8.339470
|
||||
91.158813,96.160225,8.631271
|
||||
91.620499,89.477684,8.697177
|
||||
90.801941,82.482323,8.595871
|
||||
89.067093,75.206512,8.386044
|
||||
86.790474,67.688133,8.126378
|
||||
84.353127,59.962051,7.875565
|
||||
82.139511,52.058998,7.692289
|
||||
80.537254,44.006638,7.635239
|
||||
79.938461,36.241810,7.763098
|
||||
80.797340,29.925121,8.026982
|
||||
82.283066,24.060486,8.322536
|
||||
85.196991,19.843977,8.641855
|
||||
89.289230,17.231882,8.977030
|
||||
93.057945,16.166283,9.320152
|
||||
96.112122,16.160740,9.663310
|
||||
100.094940,17.548885,9.998597
|
||||
101.871414,19.838350,10.318105
|
||||
103.408432,24.161951,10.613926
|
||||
104.339287,29.505905,10.878149
|
||||
105.337723,35.019516,11.045553
|
||||
106.748184,40.562660,11.099834
|
||||
108.244431,46.140255,11.069462
|
||||
109.249977,51.702221,10.982906
|
||||
109.942947,57.198429,10.868641
|
||||
110.940361,62.578754,10.755136
|
||||
112.266159,67.793106,10.670861
|
||||
113.943924,72.791618,10.644290
|
||||
115.996902,77.524727,10.703893
|
||||
118.444977,81.938713,10.878138
|
||||
120.353386,84.342567,11.052052
|
||||
122.552483,86.056717,11.247211
|
||||
124.963150,87.138474,11.456636
|
||||
127.502663,87.627472,11.673362
|
||||
130.083603,87.556870,11.890413
|
||||
132.612823,86.958511,12.100821
|
||||
134.994034,85.866364,12.297612
|
||||
137.130936,84.316795,12.473819
|
||||
138.929428,82.347366,12.622467
|
||||
140.291931,80.009399,12.736584
|
||||
141.764832,75.372772,12.853477
|
||||
142.127731,70.898300,12.873076
|
||||
141.595673,66.493217,12.813188
|
||||
140.364944,62.101295,12.691611
|
||||
138.635483,57.679211,12.526152
|
||||
136.614105,53.186966,12.334610
|
||||
134.512192,48.582760,12.134791
|
||||
132.544022,43.822041,11.944496
|
||||
130.926590,38.858540,11.781529
|
||||
129.882172,33.661350,11.663691
|
||||
129.243332,27.211601,11.585139
|
||||
129.106262,24.968973,11.560068
|
||||
129.219833,22.784519,11.569404
|
||||
129.336929,20.852213,11.594067
|
||||
129.475586,17.636211,11.614985
|
||||
128.109818,-19.368860,11.694026
|
||||
128.202438,-22.361778,11.659092
|
||||
127.984428,-24.095707,11.562387
|
||||
127.678619,-26.027493,11.395238
|
||||
126.431763,-29.773489,11.407889
|
||||
124.517746,-32.537449,11.344057
|
||||
122.135086,-34.753479,11.219292
|
||||
119.502922,-36.785496,11.065509
|
||||
116.875618,-38.999405,10.927876
|
||||
112.807365,-45.461792,10.940977
|
||||
111.978012,-50.388302,11.262665
|
||||
112.275948,-56.868828,12.066810
|
||||
113.142426,-63.416191,12.914230
|
||||
114.391396,-68.116631,13.518377
|
||||
117.640976,-71.034660,13.819087
|
||||
124.107376,-71.212631,13.651275
|
||||
129.091904,-70.727592,13.437026
|
||||
134.259491,-70.105026,13.198359
|
||||
139.232910,-69.885216,13.020256
|
||||
143.610458,-70.575859,12.984205
|
||||
147.055542,-72.643463,12.950165
|
||||
149.346497,-76.647949,13.145428
|
||||
150.137253,-83.294617,13.502078
|
||||
148.693726,-92.912567,13.900483
|
||||
145.194550,-97.924416,13.978729
|
||||
140.124130,-99.686974,13.935147
|
||||
133.768997,-99.260986,13.848248
|
||||
126.696648,-97.599991,13.736127
|
||||
119.490562,-95.761063,13.613481
|
||||
114.526726,-94.624550,13.501324
|
||||
106.732033,-96.013924,13.472416
|
||||
102.405434,-100.487869,13.481049
|
||||
100.425346,-109.062775,13.346668
|
||||
101.108856,-114.978279,13.060225
|
||||
103.710251,-119.437599,12.700235
|
||||
107.697746,-122.710335,12.342467
|
||||
112.554375,-125.168137,12.033260
|
||||
117.824059,-127.195045,11.762187
|
||||
123.060501,-129.148956,11.498937
|
||||
127.808990,-131.365036,11.214927
|
||||
131.617889,-134.149902,10.883813
|
||||
134.093430,-137.804962,10.479650
|
||||
134.886017,-142.757797,9.965465
|
||||
133.741287,-148.772095,9.327376
|
||||
131.257614,-151.485413,8.972682
|
||||
127.638870,-152.043762,8.803547
|
||||
123.035698,-151.145386,8.759406
|
||||
120.337280,-150.284332,8.719167
|
||||
117.245644,-149.090179,8.706316
|
||||
111.642570,-147.212051,8.743227
|
||||
104.718994,-149.589554,8.404928
|
||||
99.598999,-155.280655,7.781717
|
||||
98.815826,-160.106873,7.242289
|
||||
99.270210,-166.167923,6.718491
|
||||
101.126762,-170.448883,6.494486
|
||||
103.993454,-173.298431,6.090018
|
||||
107.398949,-175.115662,6.180177
|
||||
110.918716,-176.374527,5.991565
|
||||
114.164383,-177.493149,5.747114
|
||||
116.855865,-178.892212,5.297571
|
||||
118.367432,-180.988525,4.358009
|
||||
118.820900,-184.297409,3.673210
|
||||
117.533554,-189.389862,2.246222
|
||||
115.407227,-194.442856,1.442038
|
||||
113.127380,-197.902008,0.640602
|
||||
110.704704,-199.945938,0.358506
|
||||
108.177216,-200.897995,-0.065731
|
||||
105.454620,-200.926315,-0.238677
|
||||
102.513451,-200.261749,-0.427133
|
||||
98.696045,-199.670700,-0.670712
|
||||
95.544678,-198.589203,-0.843684
|
||||
92.514236,-197.620590,-1.068346
|
||||
88.900162,-196.290909,-1.299891
|
||||
84.048027,-194.749893,-1.505046
|
||||
79.891060,-193.470062,-1.581980
|
||||
76.118904,-192.370117,-1.489614
|
||||
72.631950,-191.379562,-1.250215
|
||||
69.137703,-190.420700,-0.975924
|
||||
65.404503,-189.417938,-0.682150
|
||||
61.199829,-188.295456,-0.400182
|
||||
56.290630,-186.977280,-0.200328
|
||||
50.443871,-185.387527,-0.043436
|
||||
43.430809,-183.451447,0.108064
|
||||
38.643139,-182.019318,0.349445
|
||||
33.925755,-180.381149,0.581685
|
||||
29.348513,-178.519379,0.957332
|
||||
24.984745,-176.417969,1.361137
|
||||
20.907621,-174.061417,1.750076
|
||||
17.189800,-171.435028,2.294379
|
||||
13.902714,-168.524857,2.927973
|
||||
11.115689,-165.316818,3.556779
|
||||
8.895209,-161.795105,4.102178
|
||||
7.305674,-157.939301,4.519668
|
||||
4.905488,-148.817886,5.220727
|
||||
3.187292,-139.062958,5.889470
|
||||
2.272995,-129.011734,6.538037
|
||||
2.283156,-119.002602,7.178580
|
||||
3.336076,-109.374489,7.587832
|
||||
5.546215,-100.466675,7.607465
|
||||
9.021993,-92.615944,7.450931
|
||||
13.866755,-86.148163,7.317650
|
||||
20.193815,-81.368172,7.373146
|
||||
28.167385,-78.570900,7.743006
|
||||
32.106411,-78.771767,8.135464
|
||||
35.055779,-80.820541,8.653912
|
||||
37.379482,-84.420670,9.262317
|
||||
39.254372,-89.158760,9.895041
|
||||
40.898724,-94.548233,10.472053
|
||||
42.567116,-100.110283,10.926557
|
||||
44.531658,-105.380081,11.223021
|
||||
46.695290,-108.987648,11.316694
|
||||
50.562523,-113.187622,11.409977
|
||||
55.213142,-114.841606,11.420095
|
||||
60.365067,-114.476303,11.401733
|
||||
65.532761,-113.307350,11.349885
|
||||
70.548904,-111.269402,11.244535
|
||||
75.253273,-108.479332,11.066192
|
||||
79.484543,-105.050156,10.796302
|
||||
83.079300,-101.091850,10.422035
|
||||
85.870552,-96.711876,9.939253
|
||||
87.685219,-92.017212,9.353965
|
||||
88.342079,-87.121017,8.683002
|
||||
87.658478,-82.154907,7.954574
|
||||
85.489006,-77.248123,7.202700
|
||||
82.370422,-73.704079,6.651195
|
||||
78.581764,-71.258331,6.274771
|
||||
74.392876,-69.591644,6.026297
|
||||
70.043472,-68.373505,5.851986
|
||||
65.763237,-67.285469,5.698453
|
||||
61.785294,-66.024399,5.514306
|
||||
58.341949,-64.306534,5.251293
|
||||
55.633282,-61.859356,4.863878
|
||||
53.827744,-58.419575,4.311135
|
||||
53.832645,-52.816822,3.413897
|
||||
57.016464,-47.732666,2.618782
|
||||
62.467739,-42.889553,1.897490
|
||||
69.134354,-38.184010,1.250855
|
||||
75.938339,-33.446869,0.674502
|
||||
81.815941,-28.465879,0.168720
|
||||
85.690880,-22.967627,-0.253092
|
||||
86.339363,-16.714197,-0.543625
|
||||
82.625328,-9.797553,-0.623052
|
||||
73.679474,-2.091157,-0.623054
|
||||
65.888229,2.209911,-0.623054
|
||||
59.480129,3.570982,-0.623054
|
||||
54.215424,2.425682,-0.623054
|
||||
49.956696,-0.686021,-0.623054
|
||||
46.437958,-5.156109,-0.623054
|
||||
43.328938,-10.452543,-0.622130
|
||||
40.324760,-16.073086,-0.508767
|
||||
37.143795,-21.512598,-0.231572
|
||||
33.523048,-26.262959,0.133020
|
||||
29.180086,-29.854874,0.481628
|
||||
25.784109,-31.392336,0.653478
|
||||
22.421780,-32.013275,0.733756
|
||||
19.167389,-31.773571,0.720790
|
||||
16.069828,-30.731155,0.621584
|
||||
13.186669,-28.935072,0.449009
|
||||
10.585649,-26.434162,0.222245
|
||||
8.339916,-23.281502,-0.032798
|
||||
6.523740,-19.534197,-0.283543
|
||||
5.210621,-15.251714,-0.491081
|
||||
4.472026,-10.484508,-0.610869
|
||||
4.104145,-4.057010,-0.623054
|
||||
4.094554,-1.980798,-0.623054
|
44
data/beach.loc
Normal file
44
data/beach.loc
Normal file
@@ -0,0 +1,44 @@
|
||||
# Created by tuxkart.py v0.2 Blender Python script.
|
||||
#
|
||||
"beachtrack.ac",0,0,0,0,0,0
|
||||
GHERRING,33.95208,-26.43557
|
||||
GHERRING,36.353733,-28.788071
|
||||
GHERRING,38.890526,-31.055712
|
||||
GHERRING,33.062881,-29.678539
|
||||
GHERRING,35.693455,-31.998974
|
||||
SHERRING,141.452301,-147.236526
|
||||
SHERRING,138.027374,-146.076462
|
||||
SHERRING,135.044373,-145.137375
|
||||
SHERRING,73.048233,115.19902
|
||||
SHERRING,72.93367,118.062706
|
||||
SHERRING,72.895775,120.736458
|
||||
YHERRING,101.574867,35.232807
|
||||
SHERRING,87.413612,-208.907532
|
||||
SHERRING,72.58783,-205.031555
|
||||
SHERRING,53.43425,-199.557495
|
||||
SHERRING,59.491722,-183.255829
|
||||
SHERRING,77.611778,-188.269485
|
||||
SHERRING,93.005547,-193.058533
|
||||
RHERRING,61.011955,-74.05072
|
||||
RHERRING,61.623039,-72.141083
|
||||
RHERRING,62.004967,-70.002289
|
||||
RHERRING,62.46328,-67.939865
|
||||
RHERRING,99.905396,-200.629471
|
||||
RHERRING,99.447083,-202.691895
|
||||
RHERRING,99.065155,-204.830688
|
||||
RHERRING,98.454071,-206.740326
|
||||
RHERRING,100.669258,-206.969482
|
||||
RHERRING,101.280342,-205.059845
|
||||
RHERRING,101.66227,-202.921051
|
||||
RHERRING,102.120583,-200.858627
|
||||
RHERRING,132.868637,-0.681217
|
||||
RHERRING,52.191956,81.662224
|
||||
RHERRING,53.06303,84.297081
|
||||
RHERRING,55.271503,82.678505
|
||||
RHERRING,56.273766,85.387238
|
||||
RHERRING,58.406429,83.763924
|
||||
RHERRING,7.727362,52.271473
|
||||
RHERRING,6.185844,54.519192
|
||||
RHERRING,4.410963,52.240696
|
||||
RHERRING,2.795755,54.45163
|
||||
RHERRING,1.168262,52.20385
|
15
data/beach.track
Normal file
15
data/beach.track
Normal file
@@ -0,0 +1,15 @@
|
||||
;; -*- mode: lisp -*-
|
||||
|
||||
(tuxkart-track
|
||||
(name "On the Beach")
|
||||
(description "Created by Ingo Ruhnke,
|
||||
modified by M. Gagnon")
|
||||
(music "oggs/CaribbeanMusic.ogg")
|
||||
(screenshot "sshot-beach.rgb")
|
||||
(topview "topview-beach.rgb")
|
||||
(AI-curve-speed-adjust 2.0)
|
||||
(AI-angle-adjust 2.7)
|
||||
)
|
||||
|
||||
;; EOF ;;
|
||||
|
58
data/bsodcastle.drvl
Normal file
58
data/bsodcastle.drvl
Normal file
@@ -0,0 +1,58 @@
|
||||
-6.113352,0.049641,-1.445433
|
||||
-5.212500,6.091060,-1.464851
|
||||
-4.766744,18.288792,-1.464853
|
||||
-4.320988,30.648514,-1.464854
|
||||
-6.182967,39.293022,-1.464856
|
||||
-12.744720,48.939056,-1.464857
|
||||
-21.230728,53.057381,-1.464857
|
||||
-31.543999,56.153458,-1.464857
|
||||
-42.041580,54.131157,-1.464857
|
||||
-50.962120,50.910957,-1.464857
|
||||
-60.338493,40.751488,-1.464856
|
||||
-65.535507,32.070786,-1.526018
|
||||
-67.039856,17.651764,-2.479830
|
||||
-68.544189,3.624161,-3.433640
|
||||
-68.468124,-15.858124,-7.559109
|
||||
-69.679398,-69.959007,-11.323462
|
||||
-65.290634,-84.585075,-10.202839
|
||||
-60.751377,-97.756973,-9.085939
|
||||
-51.025860,-119.822655,-6.996359
|
||||
-31.002945,-144.351990,-3.374430
|
||||
-12.913490,-163.725067,-0.137068
|
||||
5.209093,-172.141663,9.297212
|
||||
22.327595,-177.432251,18.129028
|
||||
41.693321,-176.097214,21.439917
|
||||
63.886795,-171.318741,24.436745
|
||||
80.518242,-161.578415,26.932121
|
||||
96.472099,-151.585495,29.137032
|
||||
101.942719,-137.960144,28.137434
|
||||
108.113663,-122.176247,27.266602
|
||||
110.524078,-113.466499,27.164806
|
||||
112.062943,-104.102386,27.142906
|
||||
114.209991,-87.580124,26.917936
|
||||
115.398621,-68.594727,26.527664
|
||||
114.003265,-54.921104,26.495075
|
||||
110.847916,-42.097401,26.466200
|
||||
101.806732,-25.100281,26.460423
|
||||
83.127899,-18.042068,26.460423
|
||||
58.386749,-17.730827,29.596260
|
||||
37.729172,-27.766325,30.849148
|
||||
34.175323,-30.518473,32.890408
|
||||
33.421371,-47.158676,31.647558
|
||||
33.105614,-60.191799,29.338621
|
||||
26.362537,-67.739494,25.654980
|
||||
-0.355533,-68.038223,22.743874
|
||||
-27.073603,-68.336952,17.854780
|
||||
-28.155479,-49.799301,15.855688
|
||||
-28.190580,-39.768089,12.896666
|
||||
-25.089970,-27.399694,10.498046
|
||||
-4.477564,-26.728392,8.204254
|
||||
-1.079127,-29.846996,7.026103
|
||||
-1.014914,-35.320473,5.434400
|
||||
2.381678,-35.524670,5.114343
|
||||
5.735185,-35.420250,4.752920
|
||||
5.631418,-31.485098,2.430431
|
||||
5.577577,-27.409603,-0.172362
|
||||
-2.475853,-20.168800,-1.380695
|
||||
-3.859564,-11.087371,-1.409788
|
||||
-6.166311,-2.005941,-1.438880
|
58
data/bsodcastle.drvr
Normal file
58
data/bsodcastle.drvr
Normal file
@@ -0,0 +1,58 @@
|
||||
8.723804,-0.323090,-1.445602
|
||||
7.576718,5.692340,-1.464850
|
||||
4.988900,19.589466,-1.464852
|
||||
2.401082,30.831398,-1.464855
|
||||
-1.269566,40.900471,-1.464856
|
||||
-9.553325,52.343845,-1.464858
|
||||
-20.252033,57.026970,-1.464858
|
||||
-32.834045,60.537445,-1.464859
|
||||
-45.444557,57.110531,-1.464858
|
||||
-56.315525,52.498947,-1.464858
|
||||
-66.426376,40.452618,-1.464856
|
||||
-71.780350,29.617151,-1.464854
|
||||
-74.179230,20.237583,-2.414852
|
||||
-76.578102,3.248300,-3.364850
|
||||
-76.620529,-16.154499,-7.489217
|
||||
-76.088791,-70.049629,-11.257778
|
||||
-71.320419,-84.785828,-9.729981
|
||||
-66.552055,-99.522026,-8.202185
|
||||
-56.742298,-122.736031,-5.362541
|
||||
-35.299072,-148.785461,-1.902264
|
||||
-15.736700,-169.118881,1.187526
|
||||
4.283912,-177.385193,10.173063
|
||||
23.301901,-182.816940,18.596216
|
||||
46.552277,-180.728302,21.681547
|
||||
68.695099,-175.598541,24.359516
|
||||
86.435730,-165.211472,27.146008
|
||||
103.182800,-152.598602,29.587414
|
||||
110.222351,-136.453873,28.035061
|
||||
116.572754,-121.514793,26.718180
|
||||
118.788254,-112.442451,26.814112
|
||||
120.352921,-103.097794,27.058102
|
||||
122.147499,-86.252502,26.777613
|
||||
123.380417,-68.655334,26.455700
|
||||
121.013397,-54.047543,26.409710
|
||||
116.879684,-38.926685,26.409708
|
||||
105.745697,-18.722363,26.409704
|
||||
82.418953,-10.385362,26.409700
|
||||
55.950298,-11.296362,29.533001
|
||||
33.287201,-22.440361,32.211899
|
||||
28.000156,-28.500635,31.528103
|
||||
27.198032,-43.838169,29.699886
|
||||
26.012438,-56.156746,27.590488
|
||||
23.348364,-59.432980,22.608665
|
||||
5.822635,-60.342937,21.106184
|
||||
-13.238270,-58.682270,17.626862
|
||||
-13.333530,-50.132999,15.855688
|
||||
-13.857923,-41.518429,13.404361
|
||||
-14.226922,-33.241150,10.042008
|
||||
-7.984883,-32.733551,9.084360
|
||||
-4.995736,-38.859859,6.582207
|
||||
-3.642850,-42.974625,5.243629
|
||||
6.584042,-44.110435,4.799431
|
||||
16.164940,-42.856461,4.111584
|
||||
18.355408,-36.216064,1.634229
|
||||
20.792120,-28.258200,-1.260696
|
||||
4.243452,-20.350201,-1.380696
|
||||
5.894081,-11.375504,-1.409797
|
||||
8.599607,-2.400806,-1.438898
|
35
data/bsodcastle.loc
Normal file
35
data/bsodcastle.loc
Normal file
@@ -0,0 +1,35 @@
|
||||
# Created by tuxkart.py v0.2 Blender Python script.
|
||||
# Track itself.
|
||||
#
|
||||
"bsodcastle.ac",0,0,0,0,0,0
|
||||
#
|
||||
YHERRING,110.73867,-92.82534
|
||||
YHERRING,120.517021,-92.846527
|
||||
GHERRING,120.326118,-94.564629
|
||||
GHERRING,110.844727,-94.522202
|
||||
SHERRING,92.630402,-21.252674
|
||||
SHERRING,94.928711,-15.993091
|
||||
SHERRING,93.558571,-18.644981
|
||||
SHERRING,-75.2901,-6.061111
|
||||
SHERRING,-67.845871,17.221897
|
||||
SHERRING,-61.827133,41.930397
|
||||
SHERRING,-41.263115,53.33432
|
||||
SHERRING,-20.144234,57.954071
|
||||
SHERRING,-6.087421,41.11314
|
||||
RHERRING,3.034321,-63.20472
|
||||
RHERRING,2.443444,29.49457
|
||||
RHERRING,-0.278974,28.380627
|
||||
RHERRING,-2.952222,27.231836
|
||||
RHERRING,117.584999,-83.013611
|
||||
RHERRING,115.748627,-83.102814
|
||||
RHERRING,113.925041,-83.038887
|
||||
#
|
||||
"zipper.ac",-70,0,{},180,{},{}
|
||||
"zipper.ac",-75,0,{},180,{},{}
|
||||
"zipper.ac",-75,-70,{},180,{},{}
|
||||
"zipper.ac",20,-180,{},90,{},{}
|
||||
"zipper.ac",-45,-132,{},-135,{},{}
|
||||
"zipper.ac",20,-180,{},-90,{},{}
|
||||
"zipper.ac",85,-160,{},-45,{},{}
|
||||
"zipper.ac",115,-110,{},0,{},{}
|
||||
|
14
data/bsodcastle.track
Normal file
14
data/bsodcastle.track
Normal file
@@ -0,0 +1,14 @@
|
||||
;; -*- mode: lisp -*-
|
||||
|
||||
(tuxkart-track
|
||||
(name "BSODs Battlements")
|
||||
(description "Created by Oliver & Steve Baker")
|
||||
(music "oggs/Lava_Lagoon_2.ogg")
|
||||
(screenshot "sshot-bsodcastle.rgb")
|
||||
(topview "topview-bsodcastle.rgb")
|
||||
(AI-curve-speed-adjust 2.0)
|
||||
(AI-angle-adjust 2.0)
|
||||
)
|
||||
|
||||
;; EOF ;;
|
||||
|
@@ -1,5 +0,0 @@
|
||||
# challenges/
|
||||
|
||||
pkgdatadir = $(datadir)/games/$(PACKAGE)/data/challenges
|
||||
|
||||
nobase_dist_pkgdata_DATA = $(shell find $(srcdir) -name "*.challenge")
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="city" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="70"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="3"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="farm" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="0"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1" time="110"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements time="125"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements time="155"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,24 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="fortmagma" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="180"/>
|
||||
|
||||
<hard>
|
||||
<karts number="2" aiIdent="nolok" superPower="nolokBoss"/>
|
||||
<requirements position="1"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="2" aiIdent="nolok" superPower="nolokBoss"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="2" aiIdent="nolok" superPower="nolokBoss"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
|
||||
<unlock kart="gnu"/>
|
||||
<unlock kart="nolok"/>
|
||||
<unlock difficulty="difficulty_best"/>
|
||||
<unlock track="fortmagma"/>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<grandprix id="1_penguinplayground"/>
|
||||
<mode major="grandprix" minor="quickrace"/>
|
||||
<requirements trophies="40"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="3"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<grandprix id="2_offthebeatentrack"/>
|
||||
<mode major="grandprix" minor="quickrace"/>
|
||||
<requirements trophies="85"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="3"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<grandprix id="3_tothemoonandback"/>
|
||||
<mode major="grandprix" minor="quickrace"/>
|
||||
<requirements trophies="125"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="3"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<grandprix id="4_atworldsend"/>
|
||||
<mode major="grandprix" minor="quickrace"/>
|
||||
<requirements trophies="165"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="3"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="hacienda" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="45"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="2" time="170"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements time="190"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements time="220"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="islandtrack" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="95"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements position="2"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="3"/>
|
||||
<requirements position="3"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="jungle" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="15"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1" time="155"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements time="170"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements time="230"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="lighthouse" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="135"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements time="110" position="1"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements time="125"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="3"/>
|
||||
<requirements time="145"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="mansion" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="110"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements time="130"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements time="145"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements time="160"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="mines" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="150"/>
|
||||
|
||||
<hard>
|
||||
<karts number="4"/>
|
||||
<requirements time="170"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements time="190"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements time="215"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="minigolf" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="150"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="3"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="olivermath" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="0"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1" time="50"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="5"/>
|
||||
<requirements position="1" time="65"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="5"/>
|
||||
<requirements position="1" time="80"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="sandtrack" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="0"/>
|
||||
|
||||
<hard>
|
||||
<karts number="1"/>
|
||||
<requirements energy="16" time="167"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="1"/>
|
||||
<requirements energy="12" time="185"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="1"/>
|
||||
<requirements energy="10" time="220"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="scotland" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="0"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1" time="165"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements time="175"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements time="225"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="snowmountain" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="60"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements time="160"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements time="175"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements time="220"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="snowtuxpeak" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="60"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1" time="145"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements time="175"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements time="195"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="startrack" laps="3"/>
|
||||
<mode major="single" minor="followtheleader"/>
|
||||
<requirements trophies="110"/>
|
||||
|
||||
<hard>
|
||||
<karts number="6"/>
|
||||
<requirements position="2"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="6"/>
|
||||
<requirements position="2"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="5"/>
|
||||
<requirements position="2"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="subsea" laps="2"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="0"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1" time="200"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements time="220"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements time="250"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="greenvalley" laps="3"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="95"/>
|
||||
|
||||
<hard>
|
||||
<karts number="5"/>
|
||||
<requirements position="1"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="4"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="4"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
@@ -1,21 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="xr591" laps="2"/>
|
||||
<mode major="single" minor="quickrace"/>
|
||||
<requirements trophies="135"/>
|
||||
|
||||
<hard>
|
||||
<karts number="1"/>
|
||||
<requirements energy="18" time="135"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="1"/>
|
||||
<requirements energy="15" time="155"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="1"/>
|
||||
<requirements energy="12" time="170"/>
|
||||
</easy>
|
||||
</challenge>
|
||||
|
||||
|
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<challenge version="2">
|
||||
<track id="zengarden" laps="3"/>
|
||||
<mode major="single" minor="timetrial"/>
|
||||
<requirements trophies="45"/>
|
||||
|
||||
<hard>
|
||||
<karts number="2"/>
|
||||
<requirements position="1"/>
|
||||
</hard>
|
||||
<medium>
|
||||
<karts number="2"/>
|
||||
<requirements position="1"/>
|
||||
</medium>
|
||||
<easy>
|
||||
<karts number="2"/>
|
||||
<requirements position="1"/>
|
||||
</easy>
|
||||
</challenge>
|
14
data/dinokart.tkkf
Normal file
14
data/dinokart.tkkf
Normal file
@@ -0,0 +1,14 @@
|
||||
;; -*- mode: lisp -*-
|
||||
|
||||
(tuxkart-kart
|
||||
(name "Dino")
|
||||
(model-file "dinokart-high.ac")
|
||||
(icon-file "dinoicon.rgb")
|
||||
(shadow-file "dinoshadow.rgb")
|
||||
|
||||
(red 1.0)
|
||||
(green 0.7)
|
||||
(blue 0.1)
|
||||
|
||||
)
|
||||
;; EOF ;;
|
14
data/eviltux.tkkf
Normal file
14
data/eviltux.tkkf
Normal file
@@ -0,0 +1,14 @@
|
||||
;; -*- mode: lisp -*-
|
||||
|
||||
(tuxkart-kart
|
||||
(name "Eviltux")
|
||||
(model-file "eviltux.ac")
|
||||
(icon-file "eviltuxicon.rgb")
|
||||
(shadow-file "tuxkartshadow.rgb")
|
||||
|
||||
(red 0.3)
|
||||
(green 0.1)
|
||||
(blue 0.6)
|
||||
|
||||
)
|
||||
;; EOF ;;
|
Binary file not shown.
Before Width: | Height: | Size: 46 KiB |
@@ -1,48 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<!-- The font STK uses is a combination of 2 fonts : "Layne Hansom" and "AR_PL_SungtiL_GB".
|
||||
|
||||
LayneHansom is released under the Open Font License
|
||||
by Scott V. Layne, with modifications by Magne Djupvik
|
||||
|
||||
AR_PL_SungtiL_GB is released under the ARPHIC PUBLIC LICENSE.
|
||||
Author: Arphic Technology Co., Ltd.
|
||||
URL: http://www.arphic.com.tw/
|
||||
|
||||
wqyMicroHei is released under the GPLv3 with font embedding exception
|
||||
and Apache-2.0 licenses
|
||||
|
||||
By Qianqian Fang and The WenQuanYi Project Contributors
|
||||
Copyright (C) 2008-2009 The WenQuanYi Project Board of Trustees
|
||||
Copyright (C) 2007 Google Corporation
|
||||
|
||||
This font contain some Chinese punctuations were imported from Ume-Font
|
||||
Copyright (c) 1990-2003 Wada Laboratory, the University of Tokyo.
|
||||
All rights reserved.
|
||||
Copyright (c) 2003-2004 Electronic Font Open Laboratory (/efont/).
|
||||
All rights reserved.
|
||||
|
||||
Comix is released under GPLv2 by Maxim Iorsh.
|
||||
|
||||
Mplus2p is released under free ssofware License from the M+ FONTS project.
|
||||
Copyright (C) 2002-2011 M+ FONTS PROJECT
|
||||
URL:http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/
|
||||
SuperTuxKart files by Tukubado(tkbd)
|
||||
-->
|
||||
|
||||
<font type="bitmap">
|
||||
|
||||
<Texture index="0" filename="LayneHansomBigDigits.png" hasAlpha="true"/>
|
||||
|
||||
<c c="0" r="5, 7, 58, 86" >
|
||||
<c c="1" r="72, 7, 122, 86" />
|
||||
<c c="2" r="132, 7, 188, 86" />
|
||||
<c c="3" r="197, 7, 250, 86" />
|
||||
<c c="4" r="5, 90, 58, 166" />
|
||||
<c c="5" r="68, 90, 122, 166" />
|
||||
<c c="6" r="132, 90, 188, 166" />
|
||||
<c c="7" r="194, 90, 254, 166" />
|
||||
<c c="8" r="6, 174, 58, 248" />
|
||||
<c c="9" r="68, 174, 122,248" />
|
||||
|
||||
</font>
|
Binary file not shown.
Before Width: | Height: | Size: 43 KiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user