Removed obsolete Xcode templates and documentation
authorSam Lantinga <slouken@libsdl.org>
Mon, 17 Jun 2013 06:35:41 -0700
changeset 7310439855755e0f
parent 7309 eae894fafea0
child 7311 56e66417dcee
Removed obsolete Xcode templates and documentation
Xcode/SDL/SDL.xcodeproj/project.pbxproj
Xcode/SDL/pkg-support/Readme SDL Developer.txt
Xcode/SDL/pkg-support/SDL-devel.info
Xcode/SDL/pkg-support/devel-resources/ReadMe.txt
Xcode/SDL/pkg-support/devel-resources/Welcome.txt
Xcode/SDL/pkg-support/devel-resources/install.sh
Xcode/SDL/pkg-support/resources/ReadMe.txt
Xcode/SDL/pkg-support/resources/ReadMeDevLite.txt
Xcode/TemplatesForXcodeLeopard/SDL Application/English.lproj/InfoPlist.strings
Xcode/TemplatesForXcodeLeopard/SDL Application/Info.plist
Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch
Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns
Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist
Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/project.pbxproj
Xcode/TemplatesForXcodeLeopard/SDL Application/main.c
Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/InfoPlist.strings
Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib
Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib
Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib
Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/Info.plist
Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch
Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns
Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist
Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/project.pbxproj
Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/main.c
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/English.lproj/InfoPlist.strings
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/Info.plist
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/project.pbxproj
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/atlantis.c
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/atlantis.h
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/dolphin.c
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/shark.c
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/swim.c
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/whale.c
Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/main.c
Xcode/TemplatesForXcodeSnowLeopard/SDL Application/English.lproj/InfoPlist.strings
Xcode/TemplatesForXcodeSnowLeopard/SDL Application/Info.plist
Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch
Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns
Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist
Xcode/TemplatesForXcodeSnowLeopard/SDL Application/___PROJECTNAME___.xcodeproj/project.pbxproj
Xcode/TemplatesForXcodeSnowLeopard/SDL Application/main.c
Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/InfoPlist.strings
Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib
Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib
Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib
Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/Info.plist
Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch
Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns
Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist
Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/project.pbxproj
Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/main.c
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/English.lproj/InfoPlist.strings
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/Info.plist
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/project.pbxproj
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/atlantis.c
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/atlantis.h
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/dolphin.c
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/shark.c
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/swim.c
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/atlantis/whale.c
Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/main.c
Xcode/TemplatesForXcodeTiger/SDL Application/English.lproj/InfoPlist.strings
Xcode/TemplatesForXcodeTiger/SDL Application/Info.plist
Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp.xcodeproj/TemplateInfo.plist
Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp.xcodeproj/project.pbxproj
Xcode/TemplatesForXcodeTiger/SDL Application/SDLApp_Prefix.pch
Xcode/TemplatesForXcodeTiger/SDL Application/main.c
Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/InfoPlist.strings
Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib
Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib
Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib
Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/Info.plist
Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLApp_Prefix.pch
Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLCocoaApp.xcodeproj/TemplateInfo.plist
Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/SDLCocoaApp.xcodeproj/project.pbxproj
Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/main.c
Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/English.lproj/InfoPlist.strings
Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/Info.plist
Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLApp_Prefix.pch
Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLOpenGLApp.xcodeproj/TemplateInfo.plist
Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/SDLOpenGLApp.xcodeproj/project.pbxproj
Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/atlantis.c
Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/atlantis.h
Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/dolphin.c
Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/shark.c
Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/swim.c
Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/atlantis/whale.c
Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/main.c
Xcode/package
Xcode/stationary.csh
Xcode/uninstall.csh
     1.1 --- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Sun Jun 16 12:00:54 2013 +0200
     1.2 +++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Mon Jun 17 06:35:41 2013 -0700
     1.3 @@ -6,20 +6,6 @@
     1.4  	objectVersion = 46;
     1.5  	objects = {
     1.6  
     1.7 -/* Begin PBXAggregateTarget section */
     1.8 -		0083103F1072EA5700A531F1 /* Generate Doxygen DocSet */ = {
     1.9 -			isa = PBXAggregateTarget;
    1.10 -			buildConfigurationList = 008310471072EAAE00A531F1 /* Build configuration list for PBXAggregateTarget "Generate Doxygen DocSet" */;
    1.11 -			buildPhases = (
    1.12 -				0083103E1072EA5700A531F1 /* ShellScript */,
    1.13 -			);
    1.14 -			dependencies = (
    1.15 -			);
    1.16 -			name = "Generate Doxygen DocSet";
    1.17 -			productName = "Generate Doxygen DocSet";
    1.18 -		};
    1.19 -/* End PBXAggregateTarget section */
    1.20 -
    1.21  /* Begin PBXBuildFile section */
    1.22  		007317A20858DECD00B2BC32 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179B0858DECD00B2BC32 /* AudioToolbox.framework */; };
    1.23  		007317A30858DECD00B2BC32 /* AudioUnit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179C0858DECD00B2BC32 /* AudioUnit.framework */; };
    1.24 @@ -789,13 +775,6 @@
    1.25  /* End PBXBuildFile section */
    1.26  
    1.27  /* Begin PBXContainerItemProxy section */
    1.28 -		008310451072EA9000A531F1 /* PBXContainerItemProxy */ = {
    1.29 -			isa = PBXContainerItemProxy;
    1.30 -			containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
    1.31 -			proxyType = 1;
    1.32 -			remoteGlobalIDString = 0083103F1072EA5700A531F1;
    1.33 -			remoteInfo = "Generate Doxygen DocSet";
    1.34 -		};
    1.35  		BECDF6C50761BA81005FE872 /* PBXContainerItemProxy */ = {
    1.36  			isa = PBXContainerItemProxy;
    1.37  			containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
    1.38 @@ -1069,7 +1048,6 @@
    1.39  		BECDF66C0761BA81005FE872 /* SDL2.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SDL2.framework; sourceTree = BUILT_PRODUCTS_DIR; };
    1.40  		BECDF6B30761BA81005FE872 /* libSDL2.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL2.a; sourceTree = BUILT_PRODUCTS_DIR; };
    1.41  		BECDF6BE0761BA81005FE872 /* Standard DMG */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Standard DMG"; sourceTree = BUILT_PRODUCTS_DIR; };
    1.42 -		BECDF6C30761BA81005FE872 /* Developer Extras Package */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Developer Extras Package"; sourceTree = BUILT_PRODUCTS_DIR; };
    1.43  		DB31407717554B71006C0E22 /* libSDL2.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libSDL2.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
    1.44  		F59C70FF00D5CB5801000001 /* ReadMe.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ReadMe.txt; sourceTree = "<group>"; };
    1.45  		F59C710000D5CB5801000001 /* Welcome.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = Welcome.txt; sourceTree = "<group>"; };
    1.46 @@ -1200,7 +1178,6 @@
    1.47  				BECDF66C0761BA81005FE872 /* SDL2.framework */,
    1.48  				BECDF6B30761BA81005FE872 /* libSDL2.a */,
    1.49  				BECDF6BE0761BA81005FE872 /* Standard DMG */,
    1.50 -				BECDF6C30761BA81005FE872 /* Developer Extras Package */,
    1.51  				DB31407717554B71006C0E22 /* libSDL2.dylib */,
    1.52  			);
    1.53  			name = Products;
    1.54 @@ -2222,23 +2199,6 @@
    1.55  			productReference = BECDF6BE0761BA81005FE872 /* Standard DMG */;
    1.56  			productType = "com.apple.product-type.tool";
    1.57  		};
    1.58 -		BECDF6C00761BA81005FE872 /* Developer Extras Package */ = {
    1.59 -			isa = PBXNativeTarget;
    1.60 -			buildConfigurationList = 0073178A0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Developer Extras Package" */;
    1.61 -			buildPhases = (
    1.62 -				BECDF6C20761BA81005FE872 /* ShellScript */,
    1.63 -			);
    1.64 -			buildRules = (
    1.65 -			);
    1.66 -			dependencies = (
    1.67 -				008310461072EA9000A531F1 /* PBXTargetDependency */,
    1.68 -			);
    1.69 -			name = "Developer Extras Package";
    1.70 -			productInstallPath = /usr/local/bin;
    1.71 -			productName = "Devel Package";
    1.72 -			productReference = BECDF6C30761BA81005FE872 /* Developer Extras Package */;
    1.73 -			productType = "com.apple.product-type.tool";
    1.74 -		};
    1.75  		DB313F7217554B71006C0E22 /* Shared Library */ = {
    1.76  			isa = PBXNativeTarget;
    1.77  			buildConfigurationList = DB31407417554B71006C0E22 /* Build configuration list for PBXNativeTarget "Shared Library" */;
    1.78 @@ -2286,8 +2246,6 @@
    1.79  				BECDF66D0761BA81005FE872 /* Static Library */,
    1.80  				DB313F7217554B71006C0E22 /* Shared Library */,
    1.81  				BECDF6BB0761BA81005FE872 /* Standard DMG */,
    1.82 -				BECDF6C00761BA81005FE872 /* Developer Extras Package */,
    1.83 -				0083103F1072EA5700A531F1 /* Generate Doxygen DocSet */,
    1.84  			);
    1.85  		};
    1.86  /* End PBXProject section */
    1.87 @@ -2320,19 +2278,6 @@
    1.88  /* End PBXRezBuildPhase section */
    1.89  
    1.90  /* Begin PBXShellScriptBuildPhase section */
    1.91 -		0083103E1072EA5700A531F1 /* ShellScript */ = {
    1.92 -			isa = PBXShellScriptBuildPhase;
    1.93 -			buildActionMask = 2147483647;
    1.94 -			files = (
    1.95 -			);
    1.96 -			inputPaths = (
    1.97 -			);
    1.98 -			outputPaths = (
    1.99 -			);
   1.100 -			runOnlyForDeploymentPostprocessing = 0;
   1.101 -			shellPath = /bin/sh;
   1.102 -			shellScript = "# DOXYGEN_EXE is defined in the Enclosing Target's Build Tab\n# DOXYGEN_EXE=/Applications/Doxygen.app/Contents/Resources/doxygen\n#echo DOXYGEN_EXE dir is $DOXYGEN_EXE\n\nDOC_DIR=$SRCROOT/../XcodeDocSet\n#echo Doc dir is $DOC_DIR\ncd $DOC_DIR\n$DOXYGEN_EXE $DOC_DIR/Doxyfile\ncd html\nmake\nif [ -d $SRCROOT/../XcodeDocSet/org.libsdl.sdl.docset ] ; then\n\t# remove previous docset\n\trm -rf $SRCROOT/../XcodeDocSet/org.libsdl.sdl.docset\nfi\nmv org.libsdl.sdl.docset ..\ncd ..\nrm -rf html\nexit 0";
   1.103 -		};
   1.104  		BECDF6BD0761BA81005FE872 /* ShellScript */ = {
   1.105  			isa = PBXShellScriptBuildPhase;
   1.106  			buildActionMask = 12;
   1.107 @@ -2340,17 +2285,7 @@
   1.108  			);
   1.109  			runOnlyForDeploymentPostprocessing = 0;
   1.110  			shellPath = /bin/sh;
   1.111 -			shellScript = "# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\nmkdir -p build/dmg-tmp/devel-lite\n`xcode-select -print-path`/Tools/CpMac -r $TARGET_BUILD_DIR/SDL2.framework build/dmg-tmp/\n\ncp pkg-support/resources/License.txt build/dmg-tmp\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\ncp pkg-support/resources/ReadMeDevLite.txt build/dmg-tmp/devel-lite\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL2 -srcfolder build/dmg-tmp build/SDL2.dmg\n\n# clean up\nrm -rf build/dmg-tmp";
   1.112 -		};
   1.113 -		BECDF6C20761BA81005FE872 /* ShellScript */ = {
   1.114 -			isa = PBXShellScriptBuildPhase;
   1.115 -			buildActionMask = 2147483647;
   1.116 -			comments = "The old .pkg generator script:\n\n# make a copy of the framework to work with\nmkdir -p build/pkg-tmp\n\n## We're changing this to follow OS X conventions, where the headers and\n## framework are bundled together. Thus this development package won't \n## actually contain any direct framework elements.\n#/Developer/Tools/CpMac -r build/SDL.framework build/pkg-tmp/\n\n# copy in some files they might want around...\ncp ../../docs.html build/pkg-tmp\ncp -r ../../docs build/pkg-tmp\n#cp -r ../../src/main/macosx build/pkg-tmp/\n#rm -rf build/pkg-tmp/main/exports\ncp -r \"../Project Stationary\" build/pkg-tmp/\ncp \"pkg-support/Readme SDL Developer.txt\" build/pkg-tmp/\n#cp \"../uninstall.csh\" build/pkg-tmp/\n\n## We shouldn't have any framework stuff to deal with now\n# clean up the framework, remove extra files\n# rm -rf build/pkg-tmp/SDL.framework/Resources/pbdevelopment.plist\n\n# remove the .DS_Store file to keep tool from crapping out\nfind pkg-support -name \".DS_Store\" -exec rm -rf \"{}\" \";\" \n\n# create the .pkg\n../package build/pkg-tmp pkg-support/SDL-devel.info -d build -r pkg-support/devel-resources \n#\"/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker\" -build -p build/ -f build/pkg-tmp -r pkg-support/devel-resources -i Info.plist -d Description.plist\n\n# create install scripts\nDIR=build/SDL-devel.pkg/\ncp $DIR/install.sh $DIR/SDL-devel.post_install\nmv $DIR/install.sh $DIR/SDL-devel.post_upgrade\n\n# add execute flag to scripts\nchmod 755 $DIR/SDL-devel.post_install $DIR/SDL-devel.post_upgrade\n\n# remove temporary files\n#rm -rf build/pkg-tmp\n\n# compress\n(cd build; gnutar -zcvf SDL-devel.pkg.tar.gz SDL-devel.pkg)";
   1.117 -			files = (
   1.118 -			);
   1.119 -			runOnlyForDeploymentPostprocessing = 0;
   1.120 -			shellPath = /bin/sh;
   1.121 -			shellScript = "# make a directory to hold the stuff we're going to package up\nmkdir -p build/devel-extras-tmp\nmkdir -p build/devel-extras-tmp/Documentation\nmkdir -p build/devel-extras-tmp/Documentation/docs/XcodeDocSet\nmkdir -p build/devel-extras-tmp/XcodeTemplates\n#mkdir -p build/devel-extras-tmp/SDLMain\n#mkdir -p build/devel-extras-tmp/SDLMain/NIBless\n#mkdir -p build/devel-extras-tmp/SDLMain/CocoaMenus\n\n# copy the docs\ncp ../../docs.html build/devel-extras-tmp/Documentation\ncp -r ../../docs build/devel-extras-tmp/Documentation\n\n# Copy Doxyfile for DocSet\ncp $SRCROOT/../XcodeDocSet/Doxyfile build/devel-extras-tmp/Documentation/docs/XcodeDocSet\n\n# Copy DocSet (if it exists)\nif [ -d $SRCROOT/../XcodeDocSet/org.libsdl.sdl.docset ] ; then\n#\techo Found docset directory\n\tmv $SRCROOT/../XcodeDocSet/org.libsdl.sdl.docset build/devel-extras-tmp/Documentation/docs/XcodeDocSet/\nelse\n\techo Warning: Could not find DocSet and will be omitted from package\nfi\n\n# copy the Xcode Project user templates\ncp -r \"../TemplatesForXcodeTiger\" build/devel-extras-tmp/XcodeTemplates\ncp -r \"../TemplatesForXcodeLeopard\" build/devel-extras-tmp/XcodeTemplates\ncp -r \"../TemplatesForXcodeSnowLeopard\" build/devel-extras-tmp/XcodeTemplates\n\ncp \"pkg-support/Readme SDL Developer.txt\" build/devel-extras-tmp\n\n\n# readme file\n#cp pkg-support/resources/ReadMe.txt build/devel-extras-tmp\n\n#cp pkg-support/resources/UniversalBinaryNotes.rtf build/devel-extras-tmp\n\n# Copy the devel-lite stuff just in case the user didn't notice it in the main package\n# I should copy all the different SDLMain versions (and nibs) instead.\n# I'm assuming the default is the same as the SDL App and SDL/OpenGL templates\n\n#cp pkg-support/resources/ReadMeDevLite.txt build/devel-extras-tmp/SDLMain/NIBless\n#cp ../../src/main/macosx/SDLMain.h build/devel-extras-tmp/SDLMain/NIBless\n#cp ../../src/main/macosx/SDLMain.m build/devel-extras-tmp/SDLMain/NIBless\n\n# Nib stuff from SDL-Cocoa App\n#/Developer/Tools/CpMac -r \"../TemplatesForXcodeSnowLeopard/SDL Cocoa Application/#SDLMain.h\" build/devel-extras-tmp/SDLMain/CocoaMenus\n#/Developer/Tools/CpMac -r \"../TemplatesForXcodeSnowLeopard/SDL Cocoa Application/#SDLMain.m\" build/devel-extras-tmp/SDLMain/CocoaMenus\n#/Developer/Tools/CpMac -r \"../TemplatesForXcodeSnowLeopard/SDL Cocoa Application/#English.lproj/SDLMain.nib\" build/devel-extras-tmp/SDLMain/CocoaMenus\n\n# Copy precompiled libSDLmain.a's here??? We have potentially 3 different ones?\n# /Developer/Tools/CpMac -r $TARGET_BUILD_DIR/libSDLmain.a build/devel-extras-tmp/SDLMain/NIBless\n#\n#\n\n# Copy sdl-config's for those who've been wanting one? Will need to document that it may\n# require manual changes if you don't install the framework to /Library/Frameworks\n# <<sdl-config here>>\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/devel-extras-tmp -name .DS_Store -exec rm -f \"{}\" \\;\n# remove CVS stuff\nfind build/devel-extras-tmp -name .cvsignore -exec rm -f \"{}\" \\;\n# depth first traversal, type=directory, remove recursively\nfind -d build/devel-extras-tmp -type d -name CVS -exec rm -rf \"{}\" \\;\nfind -d build/devel-extras-tmp -type d -name .svn -exec rm -rf \"{}\" \\;\n\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL-devel-extras -srcfolder build/devel-extras-tmp build/SDL-devel-extras.dmg\n\n# clean up\nrm -rf build/devel-extras-tmp\n\n# compress it???\n#(cd build; gnutar -zcvf SDL.dmg.tar.gz SDL.dmg)\n\n";
   1.122 +			shellScript = "# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\n`xcode-select -print-path`/Tools/CpMac -r $TARGET_BUILD_DIR/SDL2.framework build/dmg-tmp/\n\ncp pkg-support/resources/License.txt build/dmg-tmp\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL2 -srcfolder build/dmg-tmp build/SDL2.dmg\n\n# clean up\nrm -rf build/dmg-tmp";
   1.123  		};
   1.124  /* End PBXShellScriptBuildPhase section */
   1.125  
   1.126 @@ -2706,11 +2641,6 @@
   1.127  /* End PBXSourcesBuildPhase section */
   1.128  
   1.129  /* Begin PBXTargetDependency section */
   1.130 -		008310461072EA9000A531F1 /* PBXTargetDependency */ = {
   1.131 -			isa = PBXTargetDependency;
   1.132 -			target = 0083103F1072EA5700A531F1 /* Generate Doxygen DocSet */;
   1.133 -			targetProxy = 008310451072EA9000A531F1 /* PBXContainerItemProxy */;
   1.134 -		};
   1.135  		BECDF6C60761BA81005FE872 /* PBXTargetDependency */ = {
   1.136  			isa = PBXTargetDependency;
   1.137  			target = BECDF5FE0761BA81005FE872 /* Framework */;
   1.138 @@ -2719,24 +2649,6 @@
   1.139  /* End PBXTargetDependency section */
   1.140  
   1.141  /* Begin XCBuildConfiguration section */
   1.142 -		008310421072EA5700A531F1 /* Debug */ = {
   1.143 -			isa = XCBuildConfiguration;
   1.144 -			buildSettings = {
   1.145 -				DOXYGEN_EXE = /Applications/Doxygen.app/Contents/Resources/doxygen;
   1.146 -				GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
   1.147 -				PRODUCT_NAME = "Generate Doxygen DocSet";
   1.148 -			};
   1.149 -			name = Debug;
   1.150 -		};
   1.151 -		008310431072EA5700A531F1 /* Release */ = {
   1.152 -			isa = XCBuildConfiguration;
   1.153 -			buildSettings = {
   1.154 -				DOXYGEN_EXE = /Applications/Doxygen.app/Contents/Resources/doxygen;
   1.155 -				GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
   1.156 -				PRODUCT_NAME = "Generate Doxygen DocSet";
   1.157 -			};
   1.158 -			name = Release;
   1.159 -		};
   1.160  		00CFA621106A567900758660 /* Release */ = {
   1.161  			isa = XCBuildConfiguration;
   1.162  			buildSettings = {
   1.163 @@ -2793,13 +2705,6 @@
   1.164  			};
   1.165  			name = Release;
   1.166  		};
   1.167 -		00CFA626106A567900758660 /* Release */ = {
   1.168 -			isa = XCBuildConfiguration;
   1.169 -			buildSettings = {
   1.170 -				PRODUCT_NAME = "Developer Extras Package";
   1.171 -			};
   1.172 -			name = Release;
   1.173 -		};
   1.174  		00CFA627106A568900758660 /* Debug */ = {
   1.175  			isa = XCBuildConfiguration;
   1.176  			buildSettings = {
   1.177 @@ -2854,13 +2759,6 @@
   1.178  			};
   1.179  			name = Debug;
   1.180  		};
   1.181 -		00CFA62C106A568900758660 /* Debug */ = {
   1.182 -			isa = XCBuildConfiguration;
   1.183 -			buildSettings = {
   1.184 -				PRODUCT_NAME = "Developer Extras Package";
   1.185 -			};
   1.186 -			name = Debug;
   1.187 -		};
   1.188  		DB31407517554B71006C0E22 /* Debug */ = {
   1.189  			isa = XCBuildConfiguration;
   1.190  			buildSettings = {
   1.191 @@ -2929,15 +2827,6 @@
   1.192  			defaultConfigurationIsVisible = 0;
   1.193  			defaultConfigurationName = Debug;
   1.194  		};
   1.195 -		0073178A0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Developer Extras Package" */ = {
   1.196 -			isa = XCConfigurationList;
   1.197 -			buildConfigurations = (
   1.198 -				00CFA62C106A568900758660 /* Debug */,
   1.199 -				00CFA626106A567900758660 /* Release */,
   1.200 -			);
   1.201 -			defaultConfigurationIsVisible = 0;
   1.202 -			defaultConfigurationName = Debug;
   1.203 -		};
   1.204  		0073178E0858DB0500B2BC32 /* Build configuration list for PBXProject "SDL" */ = {
   1.205  			isa = XCConfigurationList;
   1.206  			buildConfigurations = (
   1.207 @@ -2947,15 +2836,6 @@
   1.208  			defaultConfigurationIsVisible = 0;
   1.209  			defaultConfigurationName = Debug;
   1.210  		};
   1.211 -		008310471072EAAE00A531F1 /* Build configuration list for PBXAggregateTarget "Generate Doxygen DocSet" */ = {
   1.212 -			isa = XCConfigurationList;
   1.213 -			buildConfigurations = (
   1.214 -				008310421072EA5700A531F1 /* Debug */,
   1.215 -				008310431072EA5700A531F1 /* Release */,
   1.216 -			);
   1.217 -			defaultConfigurationIsVisible = 0;
   1.218 -			defaultConfigurationName = Debug;
   1.219 -		};
   1.220  		DB31407417554B71006C0E22 /* Build configuration list for PBXNativeTarget "Shared Library" */ = {
   1.221  			isa = XCConfigurationList;
   1.222  			buildConfigurations = (
     2.1 --- a/Xcode/SDL/pkg-support/Readme SDL Developer.txt	Sun Jun 16 12:00:54 2013 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,282 +0,0 @@
     2.4 -SDL Mac OS X Developer Notes:
     2.5 -	This is an optional developer package to provide extras that an 
     2.6 -	SDL developer might benefit from.
     2.7 -	
     2.8 -	Make sure you have already installed the SDL.framework 
     2.9 -	from the SDL.dmg. 
    2.10 -	
    2.11 -	For more complete documentation, please see READMEs included 
    2.12 -	with the  SDL source code. Also, don't forget about the API 
    2.13 -	documentation (also included with this package).
    2.14 -
    2.15 -
    2.16 -This package contains:
    2.17 -- SDL API Documentation
    2.18 -- A variety of SDLMain and .Nib files to choose from
    2.19 -- Xcode project templates
    2.20 -
    2.21 -
    2.22 -SDL API Documentation:
    2.23 -	We include both the HTML documentation and the man files. 
    2.24 -	We also include an Xocde DocSet which 
    2.25 -	is generated via Doxygen. These require Xcode 3.0 or greater.
    2.26 -	
    2.27 -	You will need to drill down into the XcodeDocSet directory 
    2.28 -	from the  Documentation folder and find the 
    2.29 -	org.libsdl.sdl.docset bundle. We recommend you copy this to:
    2.30 -	
    2.31 -	/Library/Developer/Shared/Documentation/DocSets
    2.32 -
    2.33 -	Again, this follows all the standard Xcode patterns 
    2.34 -	described with the project templates (below). You may need 
    2.35 -	to create the directories if they don't already exist. 
    2.36 -	You may install it on a per-user basis. 
    2.37 -	And you may target specific versions of Xcode 
    2.38 -	in lieu of using the "Shared" directory.
    2.39 -
    2.40 -	To use, it is quite simple. Just bring up the Xcode 
    2.41 -	Documentation Browser window (can be activated through 
    2.42 -	the Xcode Help Menu) and start searching for something. 
    2.43 -
    2.44 -	If nothing is found on a legitimate search, verify that 
    2.45 -	the SDL documentation is enabled by opening up the DocSet 
    2.46 -	popup box below the toolbar in Snow Leopard. 
    2.47 -	(In Leopard, the DocSets appear in the left-side panel.) 
    2.48 -
    2.49 -	Another handy trick is to use the mouse and Option-Double-Click 
    2.50 -	on a function or keyword to bring up documentation on the 
    2.51 -	selected item. Prior to Xcode 3.2 (Snow Leopard), this would 
    2.52 -	jump you to the entry in the Xcode Documentation Browser.
    2.53 -
    2.54 -	However, in Xcode 3.2 (Snow Leopard), this behavior has been 
    2.55 -	altered and you are now given a hovering connected popup box 
    2.56 -	on the selected item (called Quick Help). Unfortunately, the 
    2.57 -	Doxygen generated DocSet doesn't currently provide Quick Help 
    2.58 -	information. You can either follow a link to the main 
    2.59 -	Documentation Browser from the Quick Help, or alternatively, 
    2.60 -	you can bypass Quick Help by using Command-Option-Double-Click 
    2.61 -	instead of Option-Double-Click. (Please file feedback with both 
    2.62 -	Doxygen and Apple to improve Quick Help integration.)
    2.63 -
    2.64 -
    2.65 -	For those that want to tweak the documentation output, 
    2.66 -	you can find my Doxyfile in the XcodeDocSet directory in 
    2.67 -	the Xcode directory of the SDL source code base (and in this package). 
    2.68 -
    2.69 -	One of the most significant options is "Separate Member Pages" 
    2.70 -	which I disable. When disabled, the documentation is about 6MB. 
    2.71 -	When enabled, the documentation is closer to 1.6GB (yes gigabytes). 
    2.72 -	Obviously, distribution will be really hard with sizes that huge 
    2.73 -	so I disable the option.
    2.74 -
    2.75 -	I also disabled Dot because there didn't seem to be 
    2.76 -	much benefit of generating graphs for public C functions.
    2.77 -
    2.78 -	One thing I would like to see is a CSS file that makes the 
    2.79 -	Doxygen DocSet look more like the native Apple documentation 
    2.80 -	style. Style sheets are outside my expertise so I am asking for 
    2.81 -	contributions on this one. Meanwhile, I also request you send 
    2.82 -	feedback to Doxygen and Apple about this issue too.
    2.83 -
    2.84 -
    2.85 -	Finally for convenience, I have added a new shell script target 
    2.86 -	to the Xcode project that builds SDL that refers to my Doxyfile 
    2.87 -	and generate the DocSet we distribute.
    2.88 -
    2.89 -
    2.90 -SDLMain:
    2.91 -	We include several different variations of SDLMain and the 
    2.92 -	.Nibs. (Each of these are demonstrated by the different PB/Xcode 
    2.93 -	project templates.) You get to pick which one you want to use, 
    2.94 -	or you can write your own to meet your own specific needs. We do 
    2.95 -	not currently provide a libSDLMain.a. You can build it yourself
    2.96 -	once you decide which one you want to use though it is easier and 
    2.97 -	recommended in the SDL FAQ that you just copy the SDLMain.h and 
    2.98 -	SDLMain.m directly into your project. If you are puzzled by this, 
    2.99 -	we strongly recommend you look at the different PB/Xcode project 
   2.100 -	templates to understand their uses and differences. (See Project 
   2.101 -	Template info below.) Note that the "Nibless" version is the same 
   2.102 -	version of SDLMain we include the the devel-lite section of the 
   2.103 -	main SDL.dmg.
   2.104 -	
   2.105 -	
   2.106 -Xocde Project Templates:
   2.107 -	For convenience, we provide Project Templates for Xcode. 
   2.108 -	Using Xcode is *not* a requirement for using 
   2.109 -	the SDL.framework. However, for newbies, we do recommend trying 
   2.110 -	out the Xcode templates first (and work your way back to raw gcc 
   2.111 -	if you desire), as the Xcode templates try to setup everything
   2.112 -	for you in a working state. This avoids the need to ask those 
   2.113 -	many reoccuring questions that appear on the mailing list 
   2.114 -	or the SDL FAQ.
   2.115 -
   2.116 -
   2.117 -	We have provided 3 different kinds of SDL templates for Xcode and have 
   2.118 -	a different set of templates for each version of Xcode (which generally 
   2.119 -	correspond with a particular Mac OS X version). 
   2.120 -	The installion directory depends on which version of Xcode you have.
   2.121 -	(Note: These directories may not already exist on your system so you must create them yourself.)
   2.122 -
   2.123 -	For Leopard and Snow Leopard (Xcode 2.5, 3+), we recommend you install to:
   2.124 -	/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application
   2.125 -
   2.126 -	For Xcode 1.0 to 2.4,
   2.127 -	/Library/Application Support/Apple/Developer Tools/Project Templates/Application 
   2.128 -
   2.129 -
   2.130 -	Also note you may place it in per-user locations, e.g.
   2.131 -	~/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application
   2.132 -
   2.133 -	
   2.134 -	And for advanced users who have multiple versions of Xcode installed on a single system,
   2.135 -	you may put each set in a directory with the Xcode version number instead of using "Shared", e.g.
   2.136 -	/Library/Application Support/Developer/2.5/Xcode/Project Templates/Application
   2.137 -	/Library/Application Support/Developer/3.1/Xcode/Project Templates/Application
   2.138 -	/Library/Application Support/Developer/3.2/Xcode/Project Templates/Application
   2.139 -
   2.140 -
   2.141 -	Copy each of the SDL/Xcode template directories into the correct location (e.g. "SDL OpenGL Application").
   2.142 -	Do not copy our enclosing folder into the location (e.g. TemplatesForXcodeSnowLeopard).
   2.143 -	So for example, in:
   2.144 -	/Library/Application Support/Developer/Shared/Xcode/Project Templates/Application
   2.145 -	you should have the 3 folders:
   2.146 -	SDL Application
   2.147 -	SDL Cocoa Application
   2.148 -	SDL OpenGL Application
   2.149 -
   2.150 -
   2.151 -	After doing this, when doing a File->New Project, you will see the 
   2.152 -	projects under the Application category.
   2.153 -	(Newer versions of Xcode have a separate section for User Templates and it will 
   2.154 -	appear in the Application category of the User Templates section.)
   2.155 -
   2.156 -
   2.157 -
   2.158 -	How to create a new SDL project:
   2.159 -
   2.160 -	1. Open Xcode
   2.161 -	2. Select File->New Project
   2.162 -	3. Select SDL Application
   2.163 -	4. Name, Save, and Finish
   2.164 -	5. Add your sources.
   2.165 -	*6. That's it!
   2.166 -
   2.167 -	* If you installed the SDL.framework to $(HOME)/Library/Frameworks 
   2.168 -	instead of /Library/Frameworks, you will need to update the 
   2.169 -	location of the SDL.framework in the "Groups & Files" browser.
   2.170 -	
   2.171 -
   2.172 -	The project templates we provide are:
   2.173 -	- SDL Application
   2.174 -		This is the barebones, most basic version. There is no 
   2.175 -		customized .Nib file. While still utilizing Cocoa under 
   2.176 -		the hood, this version may be best suited for fullscreen 
   2.177 -		applications.
   2.178 -
   2.179 -	- SDL Cocoa Application
   2.180 -		This demonstrates the integration of using native 
   2.181 -		Cocoa Menus with an SDL Application. For applications
   2.182 -		designed to run in Windowed mode, Mac users may appreciate 
   2.183 -		having access to standard menus for things
   2.184 -		like Preferences and Quiting (among other things).
   2.185 -		
   2.186 -	- SDL OpenGL Application
   2.187 -		This reuses the same SDLMain from the "SDL Application" 
   2.188 -		temmplate, but also demonstrates how to 
   2.189 -		bring OpenGL into the mix.
   2.190 -
   2.191 -
   2.192 -Special Notes:
   2.193 -Only the 10.6 Snow Leopard templates (and later) will include 64-bit in the Universal Binary as 
   2.194 -prior versions of OS X lacked the API support SDL requires for 64-bit to work correctly.
   2.195 -To prevent 64-bit SDL executables from being launched on 10.5 Leopard, a special key has been set 
   2.196 -in the Info.plist in our Snow Leopard SDL/Xcode templates.
   2.197 -
   2.198 -
   2.199 -Xcode Tips and Tricks:
   2.200 -
   2.201 -- Building from command line
   2.202 -	Use the command line tool: xcodebuild (see man page)
   2.203 -		 
   2.204 -- Running your app
   2.205 -    You can send command line args to your app by either 
   2.206 -	invoking it from the command line (in *.app/Contents/MacOS) 
   2.207 -	or by entering them in the "Executables" panel of the target 
   2.208 -	settings.
   2.209 -	
   2.210 -- Working directory
   2.211 -    As defined in the SDLMain.m file, the working directory of 
   2.212 -    your SDL app is by default set to its parent. You may wish to 
   2.213 -    change this to better suit your needs.
   2.214 -
   2.215 -
   2.216 -
   2.217 -Additional References:
   2.218 -
   2.219 - - Screencast tutorials for getting started with OpenSceneGraph/Mac OS X are 
   2.220 - 	available at:
   2.221 -	http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/MacOSXTips
   2.222 -	Though these are OpenSceneGraph centric, the same exact concepts apply to 
   2.223 -	SDL, thus the videos are recommended for everybody getting started with
   2.224 -	developing on Mac OS X. (You can skim over the PlugIns stuff since SDL
   2.225 -	doesn't have any PlugIns to worry about.)
   2.226 -
   2.227 -
   2.228 -Partial History:
   2.229 -2009-09-21 - CustomView template project was removed because it was broken by 
   2.230 -	the removal of legacy Quicktime support while moving to 64-bit.
   2.231 -	ProjectBuilder templates were removed.
   2.232 -	Tiger, Leopard, and Snow Leopard Xcode templates were introduced instead of 
   2.233 -	using a single common template due to the differences between the 3.
   2.234 -	(Tiger used a chevron marker for substitution while Leopard/Snow Leopard use ___
   2.235 -	and we need the 10.6 SDK for 64-bit.)
   2.236 -
   2.237 -2007-12-30 - Updated documentation to reflect new template paths in Leopard
   2.238 -	Xcode. Added reference to OSG screencasts.
   2.239 -
   2.240 -2006-03-17 - Changed the package format from a .pkg based 
   2.241 -	installer to a .dmg to avoid requiring administrator/root 
   2.242 -	to access contents, for better transparency, and to allow 
   2.243 -	users to more easily control which components 
   2.244 -	they actually want to install. 
   2.245 -	Introduced and updated documentation.
   2.246 -	Created brand new Xcode project templates for Xcode 2.1 
   2.247 -	based on the old Project Builder templates as they 
   2.248 -	required Xcode users to "Upgrade to Native Target". The new 
   2.249 -	templates try to leveage more default options and leverage 
   2.250 -	more Xcode conventions. The major change that may introduce 
   2.251 -	some breakage is that I now link to the SDL framework
   2.252 -	via the "Group & Files" browser instead of using build 
   2.253 -	options. The downside to this is that if the user 
   2.254 -	installs the SDL.framework to a place other than 
   2.255 -	/Library/Frameworks (e.g. $(HOME)/Library/Frameworks),
   2.256 -	the framework will not be found to link to and the user 
   2.257 -	has to manually fix this. But the upshot is (in addition to 
   2.258 -	being visually displayed in the forefront) is that it is 
   2.259 -	really easy to copy (embed) the framework automatically 
   2.260 -	into the .app bundle on build. So I have added this 
   2.261 -	feature, which makes the application potentially 
   2.262 -	drag-and-droppable ready. The Project Builder templates 
   2.263 -	are mostly unchanged due to the fact that I don't have 
   2.264 -	Project Builder. I did rename a file extension to .pbxproj 
   2.265 -	for the SDL Custom Cocoa Application template because 
   2.266 -	the .pbx extension would not load in my version of Xcode.
   2.267 -	For both Project Builder and Xcode templates, I resync'd
   2.268 -	the SDLMain.* files for the SDL App and OpenGL App 
   2.269 -	templates. I think people forget that we have 2 other 
   2.270 -	SDLMain's (and .Nib's) and somebody needs to go 
   2.271 -	through them and merge the new changes into those.
   2.272 -	I also wrote a fix for the SDL Custom Cocoa App 
   2.273 -	template in MyController.m. The sprite loading code 
   2.274 -	needed to be able to find the icon.bmp in the .app
   2.275 -	bundle's Resources folder. This change was needed to get 
   2.276 -	the app to run out of the box. This might change is untested 
   2.277 -	with Project Builder though and might break it.
   2.278 -	There also seemed to be some corruption in the .nib itself.
   2.279 -	Merely opening it and saving (allowing IB to correct the
   2.280 -	.nib) seemed to correct things.
   2.281 -	(Eric Wing)
   2.282 -
   2.283 -
   2.284 -
   2.285 -
     3.1 --- a/Xcode/SDL/pkg-support/SDL-devel.info	Sun Jun 16 12:00:54 2013 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,15 +0,0 @@
     3.4 -Title SDL 1.2.9
     3.5 -Version 1
     3.6 -Description SDL Library for Mac OS X (http://www.libsdl.org)
     3.7 -DefaultLocation /Developer/Documentation/SDL
     3.8 -Diskname (null)
     3.9 -DeleteWarning 
    3.10 -NeedsAuthorization YES
    3.11 -DisableStop NO
    3.12 -UseUserMask YES
    3.13 -Application NO
    3.14 -Relocatable NO
    3.15 -Required NO
    3.16 -InstallOnly NO
    3.17 -RequiresReboot NO
    3.18 -InstallFat NO
     4.1 --- a/Xcode/SDL/pkg-support/devel-resources/ReadMe.txt	Sun Jun 16 12:00:54 2013 +0200
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,5 +0,0 @@
     4.4 -The Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.
     4.5 -
     4.6 -The Simple DirectMedia Layer library source code is available from: http://www.libsdl.org/
     4.7 -
     4.8 -This library is distributed under the terms of the GNU LGPL license: http://www.gnu.org/copyleft/lesser.html
     4.9 \ No newline at end of file
     5.1 --- a/Xcode/SDL/pkg-support/devel-resources/Welcome.txt	Sun Jun 16 12:00:54 2013 +0200
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,5 +0,0 @@
     5.4 -This package installs documentation and Project Builder stationary for the SDL framework.
     5.5 -
     5.6 -The SDL documentation is installed into /Developer/Documentation/SDL.
     5.7 -
     5.8 -The SDL Mac OS X Readme is installed into your home directory.
     6.1 --- a/Xcode/SDL/pkg-support/devel-resources/install.sh	Sun Jun 16 12:00:54 2013 +0200
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,76 +0,0 @@
     6.4 -#!/bin/sh
     6.5 -# finish up the installation
     6.6 -# this script should be executed using the sudo command
     6.7 -# this file is copied to SDL-devel.post_install and SDL-devel.post_upgrade
     6.8 -# inside the .pkg bundle
     6.9 -echo "Running post-install script"
    6.10 -umask 022
    6.11 -
    6.12 -USER=`basename ~`
    6.13 -echo "User is \"$USER\""
    6.14 -
    6.15 -ROOT=/Developer/Documentation/SDL
    6.16 -echo "Fixing framework permissions"
    6.17 -find $ROOT -type d -exec chmod a+rx {} \;
    6.18 -find $ROOT -type f -exec chmod a+r {} \;
    6.19 -
    6.20 -## We're not installing frameworks here anymore. The single
    6.21 -## framework should be installed to /Library/Frameworks which 
    6.22 -## is handled by the standard package (not developer package).
    6.23 -## Using the home directory here is problematic for multi-user systems too.
    6.24 -# echo "Moving SDL.framework to ~/Library/Frameworks"
    6.25 -# move SDL to its proper home, so the target stationary works
    6.26 -#sudo -u $USER mkdir -p ~/Library/Frameworks
    6.27 -#sudo -u $USER /Developer/Tools/CpMac -r $ROOT/SDL.framework ~/Library/Frameworks
    6.28 -
    6.29 -## I'm not sure where this gets created and what's put in there.
    6.30 -rm -rf $ROOT/SDL.framework
    6.31 -
    6.32 -## I think precompiled headers have changed through the revisions of Apple's gcc.
    6.33 -## I don't know how useful this is anymore w.r.t. Apple's newest system for precompiled headers.
    6.34 -## I'm removing this for now.
    6.35 -# echo "Precompiling Header"
    6.36 -# precompile header for speedier compiles
    6.37 -#sudo -u $USER /usr/bin/cc -precomp ~/Library/Frameworks/SDL.framework/Headers/SDL.h -o ~/Library/Frameworks/SDL.framework/Headers/SDL.p
    6.38 -
    6.39 -# find the directory to store stationary in
    6.40 -if [ -e "/Library/Application Support/Apple/Developer Tools" ] ; then
    6.41 -    echo "Installing project stationary for XCode"
    6.42 -    PBXDIR="/Library/Application Support/Apple/Developer Tools"
    6.43 -else
    6.44 -    echo "Installing project stationary for Project Builder"
    6.45 -    PBXDIR="/Developer/ProjectBuilder Extras"
    6.46 -fi
    6.47 -
    6.48 -# move stationary to its proper home
    6.49 -mkdir -p "$PBXDIR/Project Templates/Application"
    6.50 -mkdir -p "$PBXDIR/Target Templates/SDL"
    6.51 -
    6.52 -cp -r "$ROOT/Project Stationary/SDL Application"              "$PBXDIR/Project Templates/Application/"
    6.53 -cp -r "$ROOT/Project Stationary/SDL Cocoa Application"        "$PBXDIR/Project Templates/Application/"
    6.54 -cp -r "$ROOT/Project Stationary/SDL Custom Cocoa Application" "$PBXDIR/Project Templates/Application/"
    6.55 -cp -r "$ROOT/Project Stationary/SDL OpenGL Application"       "$PBXDIR/Project Templates/Application/"
    6.56 -cp "$ROOT/Project Stationary/Application.trgttmpl"            "$PBXDIR/Target Templates/SDL/"
    6.57 -
    6.58 -rm -rf "$ROOT/Project Stationary"
    6.59 -
    6.60 -# Actually, man doesn't check this directory by default, so this isn't
    6.61 -# very helpful anymore.
    6.62 -#echo "Installing Man Pages"
    6.63 -## remove old man pages
    6.64 -#rm -rf "/Developer/Documentation/ManPages/man3/SDL"*
    6.65 -#
    6.66 -## install man pages
    6.67 -#mkdir -p "/Developer/Documentation/ManPages/man3"
    6.68 -#cp "$ROOT/docs/man3/SDL"* "/Developer/Documentation/ManPages/man3/"
    6.69 -#rm -rf "$ROOT/docs/man3"
    6.70 -#
    6.71 -#echo "Rebuilding Apropos Database"
    6.72 -## rebuild apropos database
    6.73 -#/usr/libexec/makewhatis
    6.74 -
    6.75 -# copy README file to your home directory
    6.76 -sudo -u $USER cp "$ROOT/Readme SDL Developer.txt" ~/
    6.77 -
    6.78 -# open up the README file
    6.79 -sudo -u $USER open ~/"Readme SDL Developer.txt"
     7.1 --- a/Xcode/SDL/pkg-support/resources/ReadMe.txt	Sun Jun 16 12:00:54 2013 +0200
     7.2 +++ b/Xcode/SDL/pkg-support/resources/ReadMe.txt	Mon Jun 17 06:35:41 2013 -0700
     7.3 @@ -19,12 +19,6 @@
     7.4  
     7.5  You may alternatively install it in <Your home directory>/Library/Frameworks 
     7.6  if your access privileges are not high enough. 
     7.7 -(Be aware that the Xcode templates we provide in the SDL Developer Extras 
     7.8 -package may require some adjustment for your system if you do this.)
     7.9 -
    7.10 -
    7.11 -Known Issues:
    7.12 -???
    7.13  
    7.14  
    7.15  Additional References:
     8.1 --- a/Xcode/SDL/pkg-support/resources/ReadMeDevLite.txt	Sun Jun 16 12:00:54 2013 +0200
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,12 +0,0 @@
     8.4 -This directory is for developers. This directory contains some basic essentials you will need for developing SDL based applications on OS X. The SDL-devel package contains all of this stuff plus more, so you can ignore this if you install the SDL-devel.pkg. The SDL-devel package contains Project Builder/Xcode templates, SDL documentation, and different variations of SDLmain and NIB files for SDL.
     8.5 -
     8.6 -To compile an SDL based application on OS X, SDLMain.m must be compiled into your program. (See the SDL FAQ). The SDL-devel.pkg includes Project Builder/Xcode templates which already do this for you. But for those who may not want to install the dev package, an SDLMain is provided here as a convenience. Be aware that there are different variations of SDLMain.m depending on what class of SDL application you make and they are intended to work with NIB files. Only one SDLMain variant is provided here and without any NIB files. You should look to the SDL-devel package for the others. We currently do not provide a SDLMain.a file, partly to call to attention that there are different variations of SDLmain.
     8.7 -
     8.8 -To build from the command line, your gcc line will look something like this:
     8.9 -
    8.10 -gcc -I/Library/Frameworks/SDL.framework/Headers MyProgram.c SDLmain.m -framework SDL -framework Cocoa
    8.11 -
    8.12 -An SDL/OpenGL based application might look like:
    8.13 -
    8.14 -gcc -I/Library/Frameworks/SDL.framework/Headers -I/System/Library/Frameworks/OpenGL.framework/Headers MyProgram.c SDLmain.m -framework SDL -framework Cocoa -framework OpenGL
    8.15 -
     9.1 Binary file Xcode/TemplatesForXcodeLeopard/SDL Application/English.lproj/InfoPlist.strings has changed
    10.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL Application/Info.plist	Sun Jun 16 12:00:54 2013 +0200
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,37 +0,0 @@
    10.4 -<?xml version="1.0" encoding="UTF-8"?>
    10.5 -<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    10.6 -<plist version="1.0">
    10.7 -<dict>
    10.8 -	<key>CFBundleDevelopmentRegion</key>
    10.9 -	<string>English</string>
   10.10 -	<key>CFBundleExecutable</key>
   10.11 -	<string>${EXECUTABLE_NAME}</string>
   10.12 -	<key>CFBundleIconFile</key>
   10.13 -	<string></string>
   10.14 -	<key>CFBundleIdentifier</key>
   10.15 -	<string>com.yourcompany.___PROJECTNAMEASXML___</string>
   10.16 -	<key>CFBundleInfoDictionaryVersion</key>
   10.17 -	<string>6.0</string>
   10.18 -	<key>CFBundleName</key>
   10.19 -	<string>${PRODUCT_NAME}</string>
   10.20 -	<key>CFBundlePackageType</key>
   10.21 -	<string>APPL</string>
   10.22 -	<key>CFBundleSignature</key>
   10.23 -	<string>????</string>
   10.24 -	<key>CFBundleVersion</key>
   10.25 -	<string>1.0</string>
   10.26 -	<key>NSMainNibFile</key>
   10.27 -	<string>SDLMain</string>
   10.28 -	<key>NSPrincipalClass</key>
   10.29 -	<string>NSApplication</string>
   10.30 -	<key>LSMinimumSystemVersionByArchitecture</key>
   10.31 -	<dict>
   10.32 -		<key>x86_64</key>
   10.33 -		<string>10.6.0</string>
   10.34 -		<key>i386</key>
   10.35 -		<string>10.4.0</string>
   10.36 -		<key>ppc</key>
   10.37 -		<string>10.4.0</string>
   10.38 -	</dict>
   10.39 -</dict>
   10.40 -</plist>
    11.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch	Sun Jun 16 12:00:54 2013 +0200
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,9 +0,0 @@
    11.4 -//
    11.5 -// Prefix header for all source files of the '«PROJECTNAME»' target in the '«PROJECTNAME»' project
    11.6 -//
    11.7 -
    11.8 -#include "SDL.h"
    11.9 -
   11.10 -#ifdef __OBJC__
   11.11 -    #import <Cocoa/Cocoa.h>
   11.12 -#endif
    12.1 Binary file Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns has changed
    13.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist	Sun Jun 16 12:00:54 2013 +0200
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,12 +0,0 @@
    13.4 -{
    13.5 -	FilesToRename = {
    13.6 -		"SDLApp_Prefix.pch" = "«PROJECTNAME»_Prefix.pch";
    13.7 -	};
    13.8 -	FilesToMacroExpand = (
    13.9 -		"«PROJECTNAME»_Prefix.pch",
   13.10 -		"Info.plist",
   13.11 -		"English.lproj/InfoPlist.strings",
   13.12 -		"main.c",
   13.13 -	);
   13.14 -	Description = "This project builds an SDL-based application.";
   13.15 -}
    14.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL Application/___PROJECTNAME___.xcodeproj/project.pbxproj	Sun Jun 16 12:00:54 2013 +0200
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,304 +0,0 @@
    14.4 -// !$*UTF8*$!
    14.5 -{
    14.6 -	archiveVersion = 1;
    14.7 -	classes = {
    14.8 -	};
    14.9 -	objectVersion = 42;
   14.10 -	objects = {
   14.11 -
   14.12 -/* Begin PBXBuildFile section */
   14.13 -		002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; };
   14.14 -		002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; };
   14.15 -		002F3A3F09D088BA00EBEB88 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A3E09D088BA00EBEB88 /* main.c */; };
   14.16 -		8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
   14.17 -		8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
   14.18 -/* End PBXBuildFile section */
   14.19 -
   14.20 -/* Begin PBXCopyFilesBuildPhase section */
   14.21 -		002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = {
   14.22 -			isa = PBXCopyFilesBuildPhase;
   14.23 -			buildActionMask = 2147483647;
   14.24 -			dstPath = "";
   14.25 -			dstSubfolderSpec = 10;
   14.26 -			files = (
   14.27 -				002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */,
   14.28 -			);
   14.29 -			name = "Copy Frameworks into .app bundle";
   14.30 -			runOnlyForDeploymentPostprocessing = 0;
   14.31 -		};
   14.32 -/* End PBXCopyFilesBuildPhase section */
   14.33 -
   14.34 -/* Begin PBXFileReference section */
   14.35 -		002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = "<absolute>"; };
   14.36 -		002F3A3E09D088BA00EBEB88 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = SOURCE_ROOT; };
   14.37 -		089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
   14.38 -		1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
   14.39 -		29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
   14.40 -		29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
   14.41 -		32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "___PROJECTNAME____Prefix.pch"; sourceTree = "<group>"; };
   14.42 -		8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
   14.43 -		8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; };
   14.44 -/* End PBXFileReference section */
   14.45 -
   14.46 -/* Begin PBXFrameworksBuildPhase section */
   14.47 -		8D11072E0486CEB800E47090 /* Frameworks */ = {
   14.48 -			isa = PBXFrameworksBuildPhase;
   14.49 -			buildActionMask = 2147483647;
   14.50 -			files = (
   14.51 -				002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */,
   14.52 -				8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
   14.53 -			);
   14.54 -			runOnlyForDeploymentPostprocessing = 0;
   14.55 -		};
   14.56 -/* End PBXFrameworksBuildPhase section */
   14.57 -
   14.58 -/* Begin PBXGroup section */
   14.59 -		080E96DDFE201D6D7F000001 /* Classes */ = {
   14.60 -			isa = PBXGroup;
   14.61 -			children = (
   14.62 -			);
   14.63 -			name = Classes;
   14.64 -			sourceTree = "<group>";
   14.65 -		};
   14.66 -		1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = {
   14.67 -			isa = PBXGroup;
   14.68 -			children = (
   14.69 -				002F39F909D0881F00EBEB88 /* SDL.framework */,
   14.70 -				1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */,
   14.71 -			);
   14.72 -			name = "Linked Frameworks";
   14.73 -			sourceTree = "<group>";
   14.74 -		};
   14.75 -		1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = {
   14.76 -			isa = PBXGroup;
   14.77 -			children = (
   14.78 -				29B97324FDCFA39411CA2CEA /* AppKit.framework */,
   14.79 -				29B97325FDCFA39411CA2CEA /* Foundation.framework */,
   14.80 -			);
   14.81 -			name = "Other Frameworks";
   14.82 -			sourceTree = "<group>";
   14.83 -		};
   14.84 -		19C28FACFE9D520D11CA2CBB /* Products */ = {
   14.85 -			isa = PBXGroup;
   14.86 -			children = (
   14.87 -				8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */,
   14.88 -			);
   14.89 -			name = Products;
   14.90 -			sourceTree = "<group>";
   14.91 -		};
   14.92 -		29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */ = {
   14.93 -			isa = PBXGroup;
   14.94 -			children = (
   14.95 -				080E96DDFE201D6D7F000001 /* Classes */,
   14.96 -				29B97315FDCFA39411CA2CEA /* Other Sources */,
   14.97 -				29B97317FDCFA39411CA2CEA /* Resources */,
   14.98 -				29B97323FDCFA39411CA2CEA /* Frameworks */,
   14.99 -				19C28FACFE9D520D11CA2CBB /* Products */,
  14.100 -			);
  14.101 -			name = "___PROJECTNAMEASXML___";
  14.102 -			sourceTree = "<group>";
  14.103 -		};
  14.104 -		29B97315FDCFA39411CA2CEA /* Other Sources */ = {
  14.105 -			isa = PBXGroup;
  14.106 -			children = (
  14.107 -				32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */,
  14.108 -				002F3A3E09D088BA00EBEB88 /* main.c */,
  14.109 -			);
  14.110 -			name = "Other Sources";
  14.111 -			sourceTree = "<group>";
  14.112 -		};
  14.113 -		29B97317FDCFA39411CA2CEA /* Resources */ = {
  14.114 -			isa = PBXGroup;
  14.115 -			children = (
  14.116 -				8D1107310486CEB800E47090 /* Info.plist */,
  14.117 -				089C165CFE840E0CC02AAC07 /* InfoPlist.strings */,
  14.118 -			);
  14.119 -			name = Resources;
  14.120 -			sourceTree = "<group>";
  14.121 -		};
  14.122 -		29B97323FDCFA39411CA2CEA /* Frameworks */ = {
  14.123 -			isa = PBXGroup;
  14.124 -			children = (
  14.125 -				1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */,
  14.126 -				1058C7A2FEA54F0111CA2CBB /* Other Frameworks */,
  14.127 -			);
  14.128 -			name = Frameworks;
  14.129 -			sourceTree = "<group>";
  14.130 -		};
  14.131 -/* End PBXGroup section */
  14.132 -
  14.133 -/* Begin PBXNativeTarget section */
  14.134 -		8D1107260486CEB800E47090 /* ___PROJECTNAME___ */ = {
  14.135 -			isa = PBXNativeTarget;
  14.136 -			buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */;
  14.137 -			buildPhases = (
  14.138 -				8D1107290486CEB800E47090 /* Resources */,
  14.139 -				8D11072C0486CEB800E47090 /* Sources */,
  14.140 -				8D11072E0486CEB800E47090 /* Frameworks */,
  14.141 -				002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */,
  14.142 -			);
  14.143 -			buildRules = (
  14.144 -			);
  14.145 -			dependencies = (
  14.146 -			);
  14.147 -			name = "___PROJECTNAME___";
  14.148 -			productInstallPath = "$(HOME)/Applications";
  14.149 -			productName = "___PROJECTNAME___";
  14.150 -			productReference = 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */;
  14.151 -			productType = "com.apple.product-type.application";
  14.152 -		};
  14.153 -/* End PBXNativeTarget section */
  14.154 -
  14.155 -/* Begin PBXProject section */
  14.156 -		29B97313FDCFA39411CA2CEA /* Project object */ = {
  14.157 -			isa = PBXProject;
  14.158 -			buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */;
  14.159 -			compatibilityVersion = "Xcode 2.4";
  14.160 -			hasScannedForEncodings = 1;
  14.161 -			mainGroup = 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */;
  14.162 -			projectDirPath = "";
  14.163 -			projectRoot = "";
  14.164 -			targets = (
  14.165 -				8D1107260486CEB800E47090 /* ___PROJECTNAME___ */,
  14.166 -			);
  14.167 -		};
  14.168 -/* End PBXProject section */
  14.169 -
  14.170 -/* Begin PBXResourcesBuildPhase section */
  14.171 -		8D1107290486CEB800E47090 /* Resources */ = {
  14.172 -			isa = PBXResourcesBuildPhase;
  14.173 -			buildActionMask = 2147483647;
  14.174 -			files = (
  14.175 -				8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */,
  14.176 -			);
  14.177 -			runOnlyForDeploymentPostprocessing = 0;
  14.178 -		};
  14.179 -/* End PBXResourcesBuildPhase section */
  14.180 -
  14.181 -/* Begin PBXSourcesBuildPhase section */
  14.182 -		8D11072C0486CEB800E47090 /* Sources */ = {
  14.183 -			isa = PBXSourcesBuildPhase;
  14.184 -			buildActionMask = 2147483647;
  14.185 -			files = (
  14.186 -				002F3A3F09D088BA00EBEB88 /* main.c in Sources */,
  14.187 -			);
  14.188 -			runOnlyForDeploymentPostprocessing = 0;
  14.189 -		};
  14.190 -/* End PBXSourcesBuildPhase section */
  14.191 -
  14.192 -/* Begin PBXVariantGroup section */
  14.193 -		089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = {
  14.194 -			isa = PBXVariantGroup;
  14.195 -			children = (
  14.196 -				089C165DFE840E0CC02AAC07 /* English */,
  14.197 -			);
  14.198 -			name = InfoPlist.strings;
  14.199 -			sourceTree = "<group>";
  14.200 -		};
  14.201 -/* End PBXVariantGroup section */
  14.202 -
  14.203 -/* Begin XCBuildConfiguration section */
  14.204 -		C01FCF4B08A954540054247B /* Debug */ = {
  14.205 -			isa = XCBuildConfiguration;
  14.206 -			buildSettings = {
  14.207 -				COPY_PHASE_STRIP = NO;
  14.208 -				GCC_DYNAMIC_NO_PIC = NO;
  14.209 -				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  14.210 -				GCC_MODEL_TUNING = G5;
  14.211 -				GCC_OPTIMIZATION_LEVEL = 0;
  14.212 -				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  14.213 -				GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch";
  14.214 -				INFOPLIST_FILE = Info.plist;
  14.215 -				INSTALL_PATH = "$(HOME)/Applications";
  14.216 -				PRODUCT_NAME = "___PROJECTNAME___";
  14.217 -				WRAPPER_EXTENSION = app;
  14.218 -			};
  14.219 -			name = Debug;
  14.220 -		};
  14.221 -		C01FCF4C08A954540054247B /* Release */ = {
  14.222 -			isa = XCBuildConfiguration;
  14.223 -			buildSettings = {
  14.224 -				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
  14.225 -				GCC_MODEL_TUNING = G5;
  14.226 -				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  14.227 -				GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch";
  14.228 -				INFOPLIST_FILE = Info.plist;
  14.229 -				INSTALL_PATH = "$(HOME)/Applications";
  14.230 -				PRODUCT_NAME = "___PROJECTNAME___";
  14.231 -				WRAPPER_EXTENSION = app;
  14.232 -			};
  14.233 -			name = Release;
  14.234 -		};
  14.235 -		C01FCF4F08A954540054247B /* Debug */ = {
  14.236 -			isa = XCBuildConfiguration;
  14.237 -			buildSettings = {
  14.238 -				ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
  14.239 -				ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
  14.240 -				FRAMEWORK_SEARCH_PATHS = (
  14.241 -					"$(HOME)/Library/Frameworks",
  14.242 -					/Library/Frameworks,
  14.243 -					"$(FRAMEWORK_SEARCH_PATHS)",
  14.244 -				);
  14.245 -				GCC_C_LANGUAGE_STANDARD = c99;
  14.246 -				GCC_VERSION = 4.0;
  14.247 -				GCC_WARN_ABOUT_RETURN_TYPE = YES;
  14.248 -				GCC_WARN_UNUSED_VARIABLE = YES;
  14.249 -				HEADER_SEARCH_PATHS = (
  14.250 -					"$(HOME)/Library/Frameworks/SDL.framework/Headers",
  14.251 -					/Library/Frameworks/SDL.framework/Headers,
  14.252 -					"$(HEADER_SEARCH_PATHS)",
  14.253 -				);
  14.254 -				PREBINDING = NO;
  14.255 -				SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
  14.256 -			};
  14.257 -			name = Debug;
  14.258 -		};
  14.259 -		C01FCF5008A954540054247B /* Release */ = {
  14.260 -			isa = XCBuildConfiguration;
  14.261 -			buildSettings = {
  14.262 -				ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
  14.263 -				ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
  14.264 -				FRAMEWORK_SEARCH_PATHS = (
  14.265 -					"$(HOME)/Library/Frameworks",
  14.266 -					/Library/Frameworks,
  14.267 -					"$(FRAMEWORK_SEARCH_PATHS)",
  14.268 -				);
  14.269 -				GCC_C_LANGUAGE_STANDARD = c99;
  14.270 -				GCC_VERSION = 4.0;
  14.271 -				GCC_WARN_ABOUT_RETURN_TYPE = YES;
  14.272 -				GCC_WARN_UNUSED_VARIABLE = YES;
  14.273 -				HEADER_SEARCH_PATHS = (
  14.274 -					"$(HOME)/Library/Frameworks/SDL.framework/Headers",
  14.275 -					/Library/Frameworks/SDL.framework/Headers,
  14.276 -					"$(HEADER_SEARCH_PATHS)",
  14.277 -				);
  14.278 -				PREBINDING = NO;
  14.279 -				SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
  14.280 -			};
  14.281 -			name = Release;
  14.282 -		};
  14.283 -/* End XCBuildConfiguration section */
  14.284 -
  14.285 -/* Begin XCConfigurationList section */
  14.286 -		C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */ = {
  14.287 -			isa = XCConfigurationList;
  14.288 -			buildConfigurations = (
  14.289 -				C01FCF4B08A954540054247B /* Debug */,
  14.290 -				C01FCF4C08A954540054247B /* Release */,
  14.291 -			);
  14.292 -			defaultConfigurationIsVisible = 0;
  14.293 -			defaultConfigurationName = Release;
  14.294 -		};
  14.295 -		C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */ = {
  14.296 -			isa = XCConfigurationList;
  14.297 -			buildConfigurations = (
  14.298 -				C01FCF4F08A954540054247B /* Debug */,
  14.299 -				C01FCF5008A954540054247B /* Release */,
  14.300 -			);
  14.301 -			defaultConfigurationIsVisible = 0;
  14.302 -			defaultConfigurationName = Release;
  14.303 -		};
  14.304 -/* End XCConfigurationList section */
  14.305 -	};
  14.306 -	rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
  14.307 -}
    15.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL Application/main.c	Sun Jun 16 12:00:54 2013 +0200
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,65 +0,0 @@
    15.4 -
    15.5 -/* Simple program:  Create a blank window, wait for keypress, quit.
    15.6 -
    15.7 -   Please see the SDL documentation for details on using the SDL API:
    15.8 -   /Developer/Documentation/SDL/docs.html
    15.9 -*/
   15.10 -
   15.11 -#include <stdio.h>
   15.12 -#include <stdlib.h>
   15.13 -#include <string.h>
   15.14 -#include <math.h>
   15.15 -
   15.16 -#include "SDL.h"
   15.17 -
   15.18 -int main(int argc, char *argv[])
   15.19 -{
   15.20 -    Uint32 initflags = SDL_INIT_VIDEO;  /* See documentation for details */
   15.21 -    SDL_Surface *screen;
   15.22 -    Uint8  video_bpp = 0;
   15.23 -    Uint32 videoflags = SDL_SWSURFACE;
   15.24 -    int    done;
   15.25 -        SDL_Event event;
   15.26 -
   15.27 -    /* Initialize the SDL library */
   15.28 -    if ( SDL_Init(initflags) < 0 ) {
   15.29 -        fprintf(stderr, "Couldn't initialize SDL: %s\n",
   15.30 -            SDL_GetError());
   15.31 -        exit(1);
   15.32 -    }
   15.33 -
   15.34 -    /* Set 640x480 video mode */
   15.35 -    screen=SDL_SetVideoMode(640,480, video_bpp, videoflags);
   15.36 -        if (screen == NULL) {
   15.37 -        fprintf(stderr, "Couldn't set 640x480x%d video mode: %s\n",
   15.38 -                        video_bpp, SDL_GetError());
   15.39 -        SDL_Quit();
   15.40 -        exit(2);
   15.41 -    }
   15.42 -
   15.43 -    done = 0;
   15.44 -    while ( !done ) {
   15.45 -
   15.46 -        /* Check for events */
   15.47 -        while ( SDL_PollEvent(&event) ) {
   15.48 -            switch (event.type) {
   15.49 -
   15.50 -                case SDL_MOUSEMOTION:
   15.51 -                    break;
   15.52 -                case SDL_MOUSEBUTTONDOWN:
   15.53 -                    break;
   15.54 -                case SDL_KEYDOWN:
   15.55 -                    /* Any keypress quits the app... */
   15.56 -                case SDL_QUIT:
   15.57 -                    done = 1;
   15.58 -                    break;
   15.59 -                default:
   15.60 -                    break;
   15.61 -            }
   15.62 -        }
   15.63 -    }
   15.64 -
   15.65 -    /* Clean up the SDL library */
   15.66 -    SDL_Quit();
   15.67 -    return(0);
   15.68 -}
    16.1 Binary file Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/InfoPlist.strings has changed
    17.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/classes.nib	Sun Jun 16 12:00:54 2013 +0200
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,19 +0,0 @@
    17.4 -{
    17.5 -    IBClasses = (
    17.6 -        {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 
    17.7 -        {
    17.8 -            ACTIONS = {
    17.9 -                help = id; 
   17.10 -                newGame = id; 
   17.11 -                openGame = id; 
   17.12 -                prefsMenu = id; 
   17.13 -                saveGame = id; 
   17.14 -                saveGameAs = id; 
   17.15 -            }; 
   17.16 -            CLASS = SDLMain; 
   17.17 -            LANGUAGE = ObjC; 
   17.18 -            SUPERCLASS = NSObject; 
   17.19 -        }
   17.20 -    ); 
   17.21 -    IBVersion = 1; 
   17.22 -}
   17.23 \ No newline at end of file
    18.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/info.nib	Sun Jun 16 12:00:54 2013 +0200
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,21 +0,0 @@
    18.4 -<?xml version="1.0" encoding="UTF-8"?>
    18.5 -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    18.6 -<plist version="1.0">
    18.7 -<dict>
    18.8 -	<key>IBDocumentLocation</key>
    18.9 -	<string>62 117 356 240 0 0 1152 848 </string>
   18.10 -	<key>IBEditorPositions</key>
   18.11 -	<dict>
   18.12 -		<key>29</key>
   18.13 -		<string>62 362 195 44 0 0 1152 848 </string>
   18.14 -	</dict>
   18.15 -	<key>IBFramework Version</key>
   18.16 -	<string>291.0</string>
   18.17 -	<key>IBOpenObjects</key>
   18.18 -	<array>
   18.19 -		<integer>29</integer>
   18.20 -	</array>
   18.21 -	<key>IBSystem Version</key>
   18.22 -	<string>6L60</string>
   18.23 -</dict>
   18.24 -</plist>
    19.1 Binary file Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/English.lproj/SDLMain.nib/objects.nib has changed
    20.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/Info.plist	Sun Jun 16 12:00:54 2013 +0200
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,37 +0,0 @@
    20.4 -<?xml version="1.0" encoding="UTF-8"?>
    20.5 -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    20.6 -<plist version="1.0">
    20.7 -<dict>
    20.8 -	<key>CFBundleDevelopmentRegion</key>
    20.9 -	<string>English</string>
   20.10 -	<key>CFBundleExecutable</key>
   20.11 -	<string>${EXECUTABLE_NAME}</string>
   20.12 -	<key>CFBundleIconFile</key>
   20.13 -	<string></string>
   20.14 -	<key>CFBundleIdentifier</key>
   20.15 -	<string>com.yourcompany.___PROJECTNAMEASXML___</string>
   20.16 -	<key>CFBundleInfoDictionaryVersion</key>
   20.17 -	<string>6.0</string>
   20.18 -	<key>CFBundleName</key>
   20.19 -	<string>${PRODUCT_NAME}</string>
   20.20 -	<key>CFBundlePackageType</key>
   20.21 -	<string>APPL</string>
   20.22 -	<key>CFBundleSignature</key>
   20.23 -	<string>????</string>
   20.24 -	<key>CFBundleVersion</key>
   20.25 -	<string>1.0</string>
   20.26 -	<key>NSMainNibFile</key>
   20.27 -	<string>SDLMain</string>
   20.28 -	<key>NSPrincipalClass</key>
   20.29 -	<string>NSApplication</string>
   20.30 -	<key>LSMinimumSystemVersionByArchitecture</key>
   20.31 -	<dict>
   20.32 -		<key>x86_64</key>
   20.33 -		<string>10.6.0</string>
   20.34 -		<key>i386</key>
   20.35 -		<string>10.4.0</string>
   20.36 -		<key>ppc</key>
   20.37 -		<string>10.4.0</string>
   20.38 -	</dict>	
   20.39 -</dict>
   20.40 -</plist>
    21.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch	Sun Jun 16 12:00:54 2013 +0200
    21.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.3 @@ -1,9 +0,0 @@
    21.4 -//
    21.5 -// Prefix header for all source files of the '«PROJECTNAME»' target in the '«PROJECTNAME»' project
    21.6 -//
    21.7 -
    21.8 -#include "SDL.h"
    21.9 -
   21.10 -#ifdef __OBJC__
   21.11 -    #import <Cocoa/Cocoa.h>
   21.12 -#endif
    22.1 Binary file Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns has changed
    23.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist	Sun Jun 16 12:00:54 2013 +0200
    23.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.3 @@ -1,12 +0,0 @@
    23.4 -{
    23.5 -	FilesToRename = {
    23.6 -		"SDLApp_Prefix.pch" = "«PROJECTNAME»_Prefix.pch";
    23.7 -	};
    23.8 -	FilesToMacroExpand = (
    23.9 -		"«PROJECTNAME»_Prefix.pch",
   23.10 -		"Info.plist",
   23.11 -		"English.lproj/InfoPlist.strings",
   23.12 -		"main.c",
   23.13 -	);
   23.14 -	Description = "This project builds an SDL-based application with Cocoa menus.";
   23.15 -}
    24.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/___PROJECTNAME___.xcodeproj/project.pbxproj	Sun Jun 16 12:00:54 2013 +0200
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,316 +0,0 @@
    24.4 -// !$*UTF8*$!
    24.5 -{
    24.6 -	archiveVersion = 1;
    24.7 -	classes = {
    24.8 -	};
    24.9 -	objectVersion = 42;
   24.10 -	objects = {
   24.11 -
   24.12 -/* Begin PBXBuildFile section */
   24.13 -		002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; };
   24.14 -		002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; };
   24.15 -		002F3A3F09D088BA00EBEB88 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A3E09D088BA00EBEB88 /* main.c */; };
   24.16 -		002F3AF109D08F1000EBEB88 /* SDLMain.nib in Resources */ = {isa = PBXBuildFile; fileRef = 002F3AEF09D08F1000EBEB88 /* SDLMain.nib */; };
   24.17 -		8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
   24.18 -		8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
   24.19 -/* End PBXBuildFile section */
   24.20 -
   24.21 -/* Begin PBXCopyFilesBuildPhase section */
   24.22 -		002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = {
   24.23 -			isa = PBXCopyFilesBuildPhase;
   24.24 -			buildActionMask = 2147483647;
   24.25 -			dstPath = "";
   24.26 -			dstSubfolderSpec = 10;
   24.27 -			files = (
   24.28 -				002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */,
   24.29 -			);
   24.30 -			name = "Copy Frameworks into .app bundle";
   24.31 -			runOnlyForDeploymentPostprocessing = 0;
   24.32 -		};
   24.33 -/* End PBXCopyFilesBuildPhase section */
   24.34 -
   24.35 -/* Begin PBXFileReference section */
   24.36 -		002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = "<absolute>"; };
   24.37 -		002F3A3E09D088BA00EBEB88 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = SOURCE_ROOT; };
   24.38 -		002F3AF009D08F1000EBEB88 /* English */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = English; path = English.lproj/SDLMain.nib; sourceTree = "<group>"; };
   24.39 -		089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
   24.40 -		1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
   24.41 -		29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
   24.42 -		29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
   24.43 -		32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "___PROJECTNAME____Prefix.pch"; sourceTree = "<group>"; };
   24.44 -		8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
   24.45 -		8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; };
   24.46 -/* End PBXFileReference section */
   24.47 -
   24.48 -/* Begin PBXFrameworksBuildPhase section */
   24.49 -		8D11072E0486CEB800E47090 /* Frameworks */ = {
   24.50 -			isa = PBXFrameworksBuildPhase;
   24.51 -			buildActionMask = 2147483647;
   24.52 -			files = (
   24.53 -				002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */,
   24.54 -				8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
   24.55 -			);
   24.56 -			runOnlyForDeploymentPostprocessing = 0;
   24.57 -		};
   24.58 -/* End PBXFrameworksBuildPhase section */
   24.59 -
   24.60 -/* Begin PBXGroup section */
   24.61 -		080E96DDFE201D6D7F000001 /* Classes */ = {
   24.62 -			isa = PBXGroup;
   24.63 -			children = (
   24.64 -			);
   24.65 -			name = Classes;
   24.66 -			sourceTree = "<group>";
   24.67 -		};
   24.68 -		1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = {
   24.69 -			isa = PBXGroup;
   24.70 -			children = (
   24.71 -				002F39F909D0881F00EBEB88 /* SDL.framework */,
   24.72 -				1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */,
   24.73 -			);
   24.74 -			name = "Linked Frameworks";
   24.75 -			sourceTree = "<group>";
   24.76 -		};
   24.77 -		1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = {
   24.78 -			isa = PBXGroup;
   24.79 -			children = (
   24.80 -				29B97324FDCFA39411CA2CEA /* AppKit.framework */,
   24.81 -				29B97325FDCFA39411CA2CEA /* Foundation.framework */,
   24.82 -			);
   24.83 -			name = "Other Frameworks";
   24.84 -			sourceTree = "<group>";
   24.85 -		};
   24.86 -		19C28FACFE9D520D11CA2CBB /* Products */ = {
   24.87 -			isa = PBXGroup;
   24.88 -			children = (
   24.89 -				8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */,
   24.90 -			);
   24.91 -			name = Products;
   24.92 -			sourceTree = "<group>";
   24.93 -		};
   24.94 -		29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */ = {
   24.95 -			isa = PBXGroup;
   24.96 -			children = (
   24.97 -				080E96DDFE201D6D7F000001 /* Classes */,
   24.98 -				29B97315FDCFA39411CA2CEA /* Other Sources */,
   24.99 -				29B97317FDCFA39411CA2CEA /* Resources */,
  24.100 -				29B97323FDCFA39411CA2CEA /* Frameworks */,
  24.101 -				19C28FACFE9D520D11CA2CBB /* Products */,
  24.102 -			);
  24.103 -			name = "___PROJECTNAMEASXML___";
  24.104 -			sourceTree = "<group>";
  24.105 -		};
  24.106 -		29B97315FDCFA39411CA2CEA /* Other Sources */ = {
  24.107 -			isa = PBXGroup;
  24.108 -			children = (
  24.109 -				32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */,
  24.110 -				002F3A3E09D088BA00EBEB88 /* main.c */,
  24.111 -			);
  24.112 -			name = "Other Sources";
  24.113 -			sourceTree = "<group>";
  24.114 -		};
  24.115 -		29B97317FDCFA39411CA2CEA /* Resources */ = {
  24.116 -			isa = PBXGroup;
  24.117 -			children = (
  24.118 -				8D1107310486CEB800E47090 /* Info.plist */,
  24.119 -				089C165CFE840E0CC02AAC07 /* InfoPlist.strings */,
  24.120 -				002F3AEF09D08F1000EBEB88 /* SDLMain.nib */,
  24.121 -			);
  24.122 -			name = Resources;
  24.123 -			sourceTree = "<group>";
  24.124 -		};
  24.125 -		29B97323FDCFA39411CA2CEA /* Frameworks */ = {
  24.126 -			isa = PBXGroup;
  24.127 -			children = (
  24.128 -				1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */,
  24.129 -				1058C7A2FEA54F0111CA2CBB /* Other Frameworks */,
  24.130 -			);
  24.131 -			name = Frameworks;
  24.132 -			sourceTree = "<group>";
  24.133 -		};
  24.134 -/* End PBXGroup section */
  24.135 -
  24.136 -/* Begin PBXNativeTarget section */
  24.137 -		8D1107260486CEB800E47090 /* ___PROJECTNAME___ */ = {
  24.138 -			isa = PBXNativeTarget;
  24.139 -			buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */;
  24.140 -			buildPhases = (
  24.141 -				8D1107290486CEB800E47090 /* Resources */,
  24.142 -				8D11072C0486CEB800E47090 /* Sources */,
  24.143 -				8D11072E0486CEB800E47090 /* Frameworks */,
  24.144 -				002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */,
  24.145 -			);
  24.146 -			buildRules = (
  24.147 -			);
  24.148 -			dependencies = (
  24.149 -			);
  24.150 -			name = "___PROJECTNAME___";
  24.151 -			productInstallPath = "$(HOME)/Applications";
  24.152 -			productName = "___PROJECTNAME___";
  24.153 -			productReference = 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */;
  24.154 -			productType = "com.apple.product-type.application";
  24.155 -		};
  24.156 -/* End PBXNativeTarget section */
  24.157 -
  24.158 -/* Begin PBXProject section */
  24.159 -		29B97313FDCFA39411CA2CEA /* Project object */ = {
  24.160 -			isa = PBXProject;
  24.161 -			buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */;
  24.162 -			compatibilityVersion = "Xcode 2.4";
  24.163 -			hasScannedForEncodings = 1;
  24.164 -			mainGroup = 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */;
  24.165 -			projectDirPath = "";
  24.166 -			projectRoot = "";
  24.167 -			targets = (
  24.168 -				8D1107260486CEB800E47090 /* ___PROJECTNAME___ */,
  24.169 -			);
  24.170 -		};
  24.171 -/* End PBXProject section */
  24.172 -
  24.173 -/* Begin PBXResourcesBuildPhase section */
  24.174 -		8D1107290486CEB800E47090 /* Resources */ = {
  24.175 -			isa = PBXResourcesBuildPhase;
  24.176 -			buildActionMask = 2147483647;
  24.177 -			files = (
  24.178 -				8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */,
  24.179 -				002F3AF109D08F1000EBEB88 /* SDLMain.nib in Resources */,
  24.180 -			);
  24.181 -			runOnlyForDeploymentPostprocessing = 0;
  24.182 -		};
  24.183 -/* End PBXResourcesBuildPhase section */
  24.184 -
  24.185 -/* Begin PBXSourcesBuildPhase section */
  24.186 -		8D11072C0486CEB800E47090 /* Sources */ = {
  24.187 -			isa = PBXSourcesBuildPhase;
  24.188 -			buildActionMask = 2147483647;
  24.189 -			files = (
  24.190 -				002F3A3F09D088BA00EBEB88 /* main.c in Sources */,
  24.191 -			);
  24.192 -			runOnlyForDeploymentPostprocessing = 0;
  24.193 -		};
  24.194 -/* End PBXSourcesBuildPhase section */
  24.195 -
  24.196 -/* Begin PBXVariantGroup section */
  24.197 -		002F3AEF09D08F1000EBEB88 /* SDLMain.nib */ = {
  24.198 -			isa = PBXVariantGroup;
  24.199 -			children = (
  24.200 -				002F3AF009D08F1000EBEB88 /* English */,
  24.201 -			);
  24.202 -			name = SDLMain.nib;
  24.203 -			sourceTree = "<group>";
  24.204 -		};
  24.205 -		089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = {
  24.206 -			isa = PBXVariantGroup;
  24.207 -			children = (
  24.208 -				089C165DFE840E0CC02AAC07 /* English */,
  24.209 -			);
  24.210 -			name = InfoPlist.strings;
  24.211 -			sourceTree = "<group>";
  24.212 -		};
  24.213 -/* End PBXVariantGroup section */
  24.214 -
  24.215 -/* Begin XCBuildConfiguration section */
  24.216 -		C01FCF4B08A954540054247B /* Debug */ = {
  24.217 -			isa = XCBuildConfiguration;
  24.218 -			buildSettings = {
  24.219 -				COPY_PHASE_STRIP = NO;
  24.220 -				GCC_DYNAMIC_NO_PIC = NO;
  24.221 -				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  24.222 -				GCC_MODEL_TUNING = G5;
  24.223 -				GCC_OPTIMIZATION_LEVEL = 0;
  24.224 -				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  24.225 -				GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch";
  24.226 -				INFOPLIST_FILE = Info.plist;
  24.227 -				INSTALL_PATH = "$(HOME)/Applications";
  24.228 -				PRODUCT_NAME = "___PROJECTNAME___";
  24.229 -				WRAPPER_EXTENSION = app;
  24.230 -			};
  24.231 -			name = Debug;
  24.232 -		};
  24.233 -		C01FCF4C08A954540054247B /* Release */ = {
  24.234 -			isa = XCBuildConfiguration;
  24.235 -			buildSettings = {
  24.236 -				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
  24.237 -				GCC_MODEL_TUNING = G5;
  24.238 -				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  24.239 -				GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch";
  24.240 -				INFOPLIST_FILE = Info.plist;
  24.241 -				INSTALL_PATH = "$(HOME)/Applications";
  24.242 -				PRODUCT_NAME = "___PROJECTNAME___";
  24.243 -				WRAPPER_EXTENSION = app;
  24.244 -			};
  24.245 -			name = Release;
  24.246 -		};
  24.247 -		C01FCF4F08A954540054247B /* Debug */ = {
  24.248 -			isa = XCBuildConfiguration;
  24.249 -			buildSettings = {
  24.250 -				ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
  24.251 -				ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
  24.252 -				FRAMEWORK_SEARCH_PATHS = (
  24.253 -					"$(HOME)/Library/Frameworks",
  24.254 -					/Library/Frameworks,
  24.255 -					"$(FRAMEWORK_SEARCH_PATHS)",
  24.256 -				);
  24.257 -				GCC_C_LANGUAGE_STANDARD = c99;
  24.258 -				GCC_VERSION = 4.0;
  24.259 -				GCC_WARN_ABOUT_RETURN_TYPE = YES;
  24.260 -				GCC_WARN_UNUSED_VARIABLE = YES;
  24.261 -				HEADER_SEARCH_PATHS = (
  24.262 -					"$(HOME)/Library/Frameworks/SDL.framework/Headers",
  24.263 -					/Library/Frameworks/SDL.framework/Headers,
  24.264 -					"$(HEADER_SEARCH_PATHS)",
  24.265 -				);
  24.266 -				PREBINDING = NO;
  24.267 -				SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
  24.268 -			};
  24.269 -			name = Debug;
  24.270 -		};
  24.271 -		C01FCF5008A954540054247B /* Release */ = {
  24.272 -			isa = XCBuildConfiguration;
  24.273 -			buildSettings = {
  24.274 -				ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
  24.275 -				ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
  24.276 -				FRAMEWORK_SEARCH_PATHS = (
  24.277 -					"$(HOME)/Library/Frameworks",
  24.278 -					/Library/Frameworks,
  24.279 -					"$(FRAMEWORK_SEARCH_PATHS)",
  24.280 -				);
  24.281 -				GCC_C_LANGUAGE_STANDARD = c99;
  24.282 -				GCC_VERSION = 4.0;
  24.283 -				GCC_WARN_ABOUT_RETURN_TYPE = YES;
  24.284 -				GCC_WARN_UNUSED_VARIABLE = YES;
  24.285 -				HEADER_SEARCH_PATHS = (
  24.286 -					"$(HOME)/Library/Frameworks/SDL.framework/Headers",
  24.287 -					/Library/Frameworks/SDL.framework/Headers,
  24.288 -					"$(HEADER_SEARCH_PATHS)",
  24.289 -				);
  24.290 -				PREBINDING = NO;
  24.291 -				SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
  24.292 -			};
  24.293 -			name = Release;
  24.294 -		};
  24.295 -/* End XCBuildConfiguration section */
  24.296 -
  24.297 -/* Begin XCConfigurationList section */
  24.298 -		C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */ = {
  24.299 -			isa = XCConfigurationList;
  24.300 -			buildConfigurations = (
  24.301 -				C01FCF4B08A954540054247B /* Debug */,
  24.302 -				C01FCF4C08A954540054247B /* Release */,
  24.303 -			);
  24.304 -			defaultConfigurationIsVisible = 0;
  24.305 -			defaultConfigurationName = Release;
  24.306 -		};
  24.307 -		C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */ = {
  24.308 -			isa = XCConfigurationList;
  24.309 -			buildConfigurations = (
  24.310 -				C01FCF4F08A954540054247B /* Debug */,
  24.311 -				C01FCF5008A954540054247B /* Release */,
  24.312 -			);
  24.313 -			defaultConfigurationIsVisible = 0;
  24.314 -			defaultConfigurationName = Release;
  24.315 -		};
  24.316 -/* End XCConfigurationList section */
  24.317 -	};
  24.318 -	rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
  24.319 -}
    25.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/main.c	Sun Jun 16 12:00:54 2013 +0200
    25.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.3 @@ -1,65 +0,0 @@
    25.4 -
    25.5 -/* Simple program:  Create a blank window, wait for keypress, quit.
    25.6 -
    25.7 -   Please see the SDL documentation for details on using the SDL API:
    25.8 -   /Developer/Documentation/SDL/docs.html
    25.9 -*/
   25.10 -
   25.11 -#include <stdio.h>
   25.12 -#include <stdlib.h>
   25.13 -#include <string.h>
   25.14 -#include <math.h>
   25.15 -
   25.16 -#include "SDL.h"
   25.17 -
   25.18 -int main(int argc, char *argv[])
   25.19 -{
   25.20 -    Uint32 initflags = SDL_INIT_VIDEO;  /* See documentation for details */
   25.21 -    SDL_Surface *screen;
   25.22 -    Uint8  video_bpp = 0;
   25.23 -    Uint32 videoflags = SDL_SWSURFACE;
   25.24 -    int    done;
   25.25 -        SDL_Event event;
   25.26 -
   25.27 -    /* Initialize the SDL library */
   25.28 -    if ( SDL_Init(initflags) < 0 ) {
   25.29 -        fprintf(stderr, "Couldn't initialize SDL: %s\n",
   25.30 -            SDL_GetError());
   25.31 -        exit(1);
   25.32 -    }
   25.33 -
   25.34 -    /* Set 640x480 video mode */
   25.35 -    screen=SDL_SetVideoMode(640,480, video_bpp, videoflags);
   25.36 -        if (screen == NULL) {
   25.37 -        fprintf(stderr, "Couldn't set 640x480x%d video mode: %s\n",
   25.38 -                        video_bpp, SDL_GetError());
   25.39 -        SDL_Quit();
   25.40 -        exit(2);
   25.41 -    }
   25.42 -
   25.43 -    done = 0;
   25.44 -    while ( !done ) {
   25.45 -
   25.46 -        /* Check for events */
   25.47 -        while ( SDL_PollEvent(&event) ) {
   25.48 -            switch (event.type) {
   25.49 -
   25.50 -                case SDL_MOUSEMOTION:
   25.51 -                    break;
   25.52 -                case SDL_MOUSEBUTTONDOWN:
   25.53 -                    break;
   25.54 -                case SDL_KEYDOWN:
   25.55 -                    /* Any keypress quits the app... */
   25.56 -                case SDL_QUIT:
   25.57 -                    done = 1;
   25.58 -                    break;
   25.59 -                default:
   25.60 -                    break;
   25.61 -            }
   25.62 -        }
   25.63 -    }
   25.64 -
   25.65 -    /* Clean up the SDL library */
   25.66 -    SDL_Quit();
   25.67 -    return(0);
   25.68 -}
    26.1 Binary file Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/English.lproj/InfoPlist.strings has changed
    27.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/Info.plist	Sun Jun 16 12:00:54 2013 +0200
    27.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.3 @@ -1,37 +0,0 @@
    27.4 -<?xml version="1.0" encoding="UTF-8"?>
    27.5 -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    27.6 -<plist version="1.0">
    27.7 -<dict>
    27.8 -	<key>CFBundleDevelopmentRegion</key>
    27.9 -	<string>English</string>
   27.10 -	<key>CFBundleExecutable</key>
   27.11 -	<string>${EXECUTABLE_NAME}</string>
   27.12 -	<key>CFBundleIconFile</key>
   27.13 -	<string></string>
   27.14 -	<key>CFBundleIdentifier</key>
   27.15 -	<string>com.yourcompany.___PROJECTNAMEASXML___</string>
   27.16 -	<key>CFBundleInfoDictionaryVersion</key>
   27.17 -	<string>6.0</string>
   27.18 -	<key>CFBundleName</key>
   27.19 -	<string>${PRODUCT_NAME}</string>
   27.20 -	<key>CFBundlePackageType</key>
   27.21 -	<string>APPL</string>
   27.22 -	<key>CFBundleSignature</key>
   27.23 -	<string>????</string>
   27.24 -	<key>CFBundleVersion</key>
   27.25 -	<string>1.0</string>
   27.26 -	<key>NSMainNibFile</key>
   27.27 -	<string>SDLMain</string>
   27.28 -	<key>NSPrincipalClass</key>
   27.29 -	<string>NSApplication</string>
   27.30 -	<key>LSMinimumSystemVersionByArchitecture</key>
   27.31 -	<dict>
   27.32 -		<key>x86_64</key>
   27.33 -		<string>10.6.0</string>
   27.34 -		<key>i386</key>
   27.35 -		<string>10.4.0</string>
   27.36 -		<key>ppc</key>
   27.37 -		<string>10.4.0</string>
   27.38 -	</dict>
   27.39 -</dict>
   27.40 -</plist>
    28.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAMEASIDENTIFIER____Prefix.pch	Sun Jun 16 12:00:54 2013 +0200
    28.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.3 @@ -1,9 +0,0 @@
    28.4 -//
    28.5 -// Prefix header for all source files of the '«PROJECTNAME»' target in the '«PROJECTNAME»' project
    28.6 -//
    28.7 -
    28.8 -#include "SDL.h"
    28.9 -
   28.10 -#ifdef __OBJC__
   28.11 -    #import <Cocoa/Cocoa.h>
   28.12 -#endif
    29.1 Binary file Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateIcon.icns has changed
    30.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/TemplateInfo.plist	Sun Jun 16 12:00:54 2013 +0200
    30.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.3 @@ -1,12 +0,0 @@
    30.4 -{
    30.5 -	FilesToRename = {
    30.6 -		"SDLApp_Prefix.pch" = "«PROJECTNAME»_Prefix.pch";
    30.7 -	};
    30.8 -	FilesToMacroExpand = (
    30.9 -		"«PROJECTNAME»_Prefix.pch",
   30.10 -		"Info.plist",
   30.11 -		"English.lproj/InfoPlist.strings",
   30.12 -		"main.c",
   30.13 -	);
   30.14 -	Description = "This project builds an SDL-based application that uses OpenGL.";
   30.15 -}
    31.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/___PROJECTNAME___.xcodeproj/project.pbxproj	Sun Jun 16 12:00:54 2013 +0200
    31.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.3 @@ -1,346 +0,0 @@
    31.4 -// !$*UTF8*$!
    31.5 -{
    31.6 -	archiveVersion = 1;
    31.7 -	classes = {
    31.8 -	};
    31.9 -	objectVersion = 42;
   31.10 -	objects = {
   31.11 -
   31.12 -/* Begin PBXBuildFile section */
   31.13 -		002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; };
   31.14 -		002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */ = {isa = PBXBuildFile; fileRef = 002F39F909D0881F00EBEB88 /* SDL.framework */; };
   31.15 -		002F3A3F09D088BA00EBEB88 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3A3E09D088BA00EBEB88 /* main.c */; };
   31.16 -		002F3BFA09D0938900EBEB88 /* atlantis.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF409D0938900EBEB88 /* atlantis.c */; };
   31.17 -		002F3BFC09D0938900EBEB88 /* dolphin.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF609D0938900EBEB88 /* dolphin.c */; };
   31.18 -		002F3BFD09D0938900EBEB88 /* shark.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF709D0938900EBEB88 /* shark.c */; };
   31.19 -		002F3BFE09D0938900EBEB88 /* swim.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF809D0938900EBEB88 /* swim.c */; };
   31.20 -		002F3BFF09D0938900EBEB88 /* whale.c in Sources */ = {isa = PBXBuildFile; fileRef = 002F3BF909D0938900EBEB88 /* whale.c */; };
   31.21 -		002F3C0109D093BD00EBEB88 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F3C0009D093BD00EBEB88 /* OpenGL.framework */; };
   31.22 -		002F3C6109D0951E00EBEB88 /* GLUT.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 002F3C6009D0951E00EBEB88 /* GLUT.framework */; };
   31.23 -		8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
   31.24 -		8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; };
   31.25 -/* End PBXBuildFile section */
   31.26 -
   31.27 -/* Begin PBXCopyFilesBuildPhase section */
   31.28 -		002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */ = {
   31.29 -			isa = PBXCopyFilesBuildPhase;
   31.30 -			buildActionMask = 2147483647;
   31.31 -			dstPath = "";
   31.32 -			dstSubfolderSpec = 10;
   31.33 -			files = (
   31.34 -				002F3A0009D0884600EBEB88 /* SDL.framework in Copy Frameworks into .app bundle */,
   31.35 -			);
   31.36 -			name = "Copy Frameworks into .app bundle";
   31.37 -			runOnlyForDeploymentPostprocessing = 0;
   31.38 -		};
   31.39 -/* End PBXCopyFilesBuildPhase section */
   31.40 -
   31.41 -/* Begin PBXFileReference section */
   31.42 -		002F39F909D0881F00EBEB88 /* SDL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SDL.framework; path = /Library/Frameworks/SDL.framework; sourceTree = "<absolute>"; };
   31.43 -		002F3A3E09D088BA00EBEB88 /* main.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = SOURCE_ROOT; };
   31.44 -		002F3BF409D0938900EBEB88 /* atlantis.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = atlantis.c; path = atlantis/atlantis.c; sourceTree = SOURCE_ROOT; };
   31.45 -		002F3BF509D0938900EBEB88 /* atlantis.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = atlantis.h; path = atlantis/atlantis.h; sourceTree = SOURCE_ROOT; };
   31.46 -		002F3BF609D0938900EBEB88 /* dolphin.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = dolphin.c; path = atlantis/dolphin.c; sourceTree = SOURCE_ROOT; };
   31.47 -		002F3BF709D0938900EBEB88 /* shark.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = shark.c; path = atlantis/shark.c; sourceTree = SOURCE_ROOT; };
   31.48 -		002F3BF809D0938900EBEB88 /* swim.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = swim.c; path = atlantis/swim.c; sourceTree = SOURCE_ROOT; };
   31.49 -		002F3BF909D0938900EBEB88 /* whale.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = whale.c; path = atlantis/whale.c; sourceTree = SOURCE_ROOT; };
   31.50 -		002F3C0009D093BD00EBEB88 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = "<absolute>"; };
   31.51 -		002F3C6009D0951E00EBEB88 /* GLUT.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GLUT.framework; path = ../../../../../../../../../../System/Library/Frameworks/GLUT.framework; sourceTree = SOURCE_ROOT; };
   31.52 -		089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
   31.53 -		1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
   31.54 -		29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; };
   31.55 -		29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
   31.56 -		32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "___PROJECTNAME____Prefix.pch"; sourceTree = "<group>"; };
   31.57 -		8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
   31.58 -		8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; };
   31.59 -/* End PBXFileReference section */
   31.60 -
   31.61 -/* Begin PBXFrameworksBuildPhase section */
   31.62 -		8D11072E0486CEB800E47090 /* Frameworks */ = {
   31.63 -			isa = PBXFrameworksBuildPhase;
   31.64 -			buildActionMask = 2147483647;
   31.65 -			files = (
   31.66 -				002F39FA09D0881F00EBEB88 /* SDL.framework in Frameworks */,
   31.67 -				002F3C6109D0951E00EBEB88 /* GLUT.framework in Frameworks */,
   31.68 -				8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
   31.69 -				002F3C0109D093BD00EBEB88 /* OpenGL.framework in Frameworks */,
   31.70 -			);
   31.71 -			runOnlyForDeploymentPostprocessing = 0;
   31.72 -		};
   31.73 -/* End PBXFrameworksBuildPhase section */
   31.74 -
   31.75 -/* Begin PBXGroup section */
   31.76 -		002F3BF309D0937800EBEB88 /* atlantis */ = {
   31.77 -			isa = PBXGroup;
   31.78 -			children = (
   31.79 -				002F3BF409D0938900EBEB88 /* atlantis.c */,
   31.80 -				002F3BF509D0938900EBEB88 /* atlantis.h */,
   31.81 -				002F3BF609D0938900EBEB88 /* dolphin.c */,
   31.82 -				002F3BF709D0938900EBEB88 /* shark.c */,
   31.83 -				002F3BF809D0938900EBEB88 /* swim.c */,
   31.84 -				002F3BF909D0938900EBEB88 /* whale.c */,
   31.85 -			);
   31.86 -			name = atlantis;
   31.87 -			sourceTree = "<group>";
   31.88 -		};
   31.89 -		080E96DDFE201D6D7F000001 /* Classes */ = {
   31.90 -			isa = PBXGroup;
   31.91 -			children = (
   31.92 -			);
   31.93 -			name = Classes;
   31.94 -			sourceTree = "<group>";
   31.95 -		};
   31.96 -		1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = {
   31.97 -			isa = PBXGroup;
   31.98 -			children = (
   31.99 -				002F39F909D0881F00EBEB88 /* SDL.framework */,
  31.100 -				002F3C6009D0951E00EBEB88 /* GLUT.framework */,
  31.101 -				1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */,
  31.102 -				002F3C0009D093BD00EBEB88 /* OpenGL.framework */,
  31.103 -			);
  31.104 -			name = "Linked Frameworks";
  31.105 -			sourceTree = "<group>";
  31.106 -		};
  31.107 -		1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = {
  31.108 -			isa = PBXGroup;
  31.109 -			children = (
  31.110 -				29B97324FDCFA39411CA2CEA /* AppKit.framework */,
  31.111 -				29B97325FDCFA39411CA2CEA /* Foundation.framework */,
  31.112 -			);
  31.113 -			name = "Other Frameworks";
  31.114 -			sourceTree = "<group>";
  31.115 -		};
  31.116 -		19C28FACFE9D520D11CA2CBB /* Products */ = {
  31.117 -			isa = PBXGroup;
  31.118 -			children = (
  31.119 -				8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */,
  31.120 -			);
  31.121 -			name = Products;
  31.122 -			sourceTree = "<group>";
  31.123 -		};
  31.124 -		29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */ = {
  31.125 -			isa = PBXGroup;
  31.126 -			children = (
  31.127 -				080E96DDFE201D6D7F000001 /* Classes */,
  31.128 -				29B97315FDCFA39411CA2CEA /* Other Sources */,
  31.129 -				29B97317FDCFA39411CA2CEA /* Resources */,
  31.130 -				29B97323FDCFA39411CA2CEA /* Frameworks */,
  31.131 -				19C28FACFE9D520D11CA2CBB /* Products */,
  31.132 -			);
  31.133 -			name = "___PROJECTNAMEASXML___";
  31.134 -			sourceTree = "<group>";
  31.135 -		};
  31.136 -		29B97315FDCFA39411CA2CEA /* Other Sources */ = {
  31.137 -			isa = PBXGroup;
  31.138 -			children = (
  31.139 -				002F3BF309D0937800EBEB88 /* atlantis */,
  31.140 -				32CA4F630368D1EE00C91783 /* ___PROJECTNAME____Prefix.pch */,
  31.141 -				002F3A3E09D088BA00EBEB88 /* main.c */,
  31.142 -			);
  31.143 -			name = "Other Sources";
  31.144 -			sourceTree = "<group>";
  31.145 -		};
  31.146 -		29B97317FDCFA39411CA2CEA /* Resources */ = {
  31.147 -			isa = PBXGroup;
  31.148 -			children = (
  31.149 -				8D1107310486CEB800E47090 /* Info.plist */,
  31.150 -				089C165CFE840E0CC02AAC07 /* InfoPlist.strings */,
  31.151 -			);
  31.152 -			name = Resources;
  31.153 -			sourceTree = "<group>";
  31.154 -		};
  31.155 -		29B97323FDCFA39411CA2CEA /* Frameworks */ = {
  31.156 -			isa = PBXGroup;
  31.157 -			children = (
  31.158 -				1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */,
  31.159 -				1058C7A2FEA54F0111CA2CBB /* Other Frameworks */,
  31.160 -			);
  31.161 -			name = Frameworks;
  31.162 -			sourceTree = "<group>";
  31.163 -		};
  31.164 -/* End PBXGroup section */
  31.165 -
  31.166 -/* Begin PBXNativeTarget section */
  31.167 -		8D1107260486CEB800E47090 /* ___PROJECTNAME___ */ = {
  31.168 -			isa = PBXNativeTarget;
  31.169 -			buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */;
  31.170 -			buildPhases = (
  31.171 -				8D1107290486CEB800E47090 /* Resources */,
  31.172 -				8D11072C0486CEB800E47090 /* Sources */,
  31.173 -				8D11072E0486CEB800E47090 /* Frameworks */,
  31.174 -				002F39FD09D0883400EBEB88 /* Copy Frameworks into .app bundle */,
  31.175 -			);
  31.176 -			buildRules = (
  31.177 -			);
  31.178 -			dependencies = (
  31.179 -			);
  31.180 -			name = "___PROJECTNAME___";
  31.181 -			productInstallPath = "$(HOME)/Applications";
  31.182 -			productName = "___PROJECTNAME___";
  31.183 -			productReference = 8D1107320486CEB800E47090 /* ___PROJECTNAME___.app */;
  31.184 -			productType = "com.apple.product-type.application";
  31.185 -		};
  31.186 -/* End PBXNativeTarget section */
  31.187 -
  31.188 -/* Begin PBXProject section */
  31.189 -		29B97313FDCFA39411CA2CEA /* Project object */ = {
  31.190 -			isa = PBXProject;
  31.191 -			buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */;
  31.192 -			compatibilityVersion = "Xcode 2.4";
  31.193 -			hasScannedForEncodings = 1;
  31.194 -			mainGroup = 29B97314FDCFA39411CA2CEA /* ___PROJECTNAMEASXML___ */;
  31.195 -			projectDirPath = "";
  31.196 -			projectRoot = "";
  31.197 -			targets = (
  31.198 -				8D1107260486CEB800E47090 /* ___PROJECTNAME___ */,
  31.199 -			);
  31.200 -		};
  31.201 -/* End PBXProject section */
  31.202 -
  31.203 -/* Begin PBXResourcesBuildPhase section */
  31.204 -		8D1107290486CEB800E47090 /* Resources */ = {
  31.205 -			isa = PBXResourcesBuildPhase;
  31.206 -			buildActionMask = 2147483647;
  31.207 -			files = (
  31.208 -				8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */,
  31.209 -			);
  31.210 -			runOnlyForDeploymentPostprocessing = 0;
  31.211 -		};
  31.212 -/* End PBXResourcesBuildPhase section */
  31.213 -
  31.214 -/* Begin PBXSourcesBuildPhase section */
  31.215 -		8D11072C0486CEB800E47090 /* Sources */ = {
  31.216 -			isa = PBXSourcesBuildPhase;
  31.217 -			buildActionMask = 2147483647;
  31.218 -			files = (
  31.219 -				002F3A3F09D088BA00EBEB88 /* main.c in Sources */,
  31.220 -				002F3BFA09D0938900EBEB88 /* atlantis.c in Sources */,
  31.221 -				002F3BFC09D0938900EBEB88 /* dolphin.c in Sources */,
  31.222 -				002F3BFD09D0938900EBEB88 /* shark.c in Sources */,
  31.223 -				002F3BFE09D0938900EBEB88 /* swim.c in Sources */,
  31.224 -				002F3BFF09D0938900EBEB88 /* whale.c in Sources */,
  31.225 -			);
  31.226 -			runOnlyForDeploymentPostprocessing = 0;
  31.227 -		};
  31.228 -/* End PBXSourcesBuildPhase section */
  31.229 -
  31.230 -/* Begin PBXVariantGroup section */
  31.231 -		089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = {
  31.232 -			isa = PBXVariantGroup;
  31.233 -			children = (
  31.234 -				089C165DFE840E0CC02AAC07 /* English */,
  31.235 -			);
  31.236 -			name = InfoPlist.strings;
  31.237 -			sourceTree = "<group>";
  31.238 -		};
  31.239 -/* End PBXVariantGroup section */
  31.240 -
  31.241 -/* Begin XCBuildConfiguration section */
  31.242 -		C01FCF4B08A954540054247B /* Debug */ = {
  31.243 -			isa = XCBuildConfiguration;
  31.244 -			buildSettings = {
  31.245 -				COPY_PHASE_STRIP = NO;
  31.246 -				GCC_DYNAMIC_NO_PIC = NO;
  31.247 -				GCC_ENABLE_FIX_AND_CONTINUE = YES;
  31.248 -				GCC_MODEL_TUNING = G5;
  31.249 -				GCC_OPTIMIZATION_LEVEL = 0;
  31.250 -				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  31.251 -				GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch";
  31.252 -				INFOPLIST_FILE = Info.plist;
  31.253 -				INSTALL_PATH = "$(HOME)/Applications";
  31.254 -				PRODUCT_NAME = "___PROJECTNAME___";
  31.255 -				WRAPPER_EXTENSION = app;
  31.256 -			};
  31.257 -			name = Debug;
  31.258 -		};
  31.259 -		C01FCF4C08A954540054247B /* Release */ = {
  31.260 -			isa = XCBuildConfiguration;
  31.261 -			buildSettings = {
  31.262 -				ARCHS = (
  31.263 -					ppc,
  31.264 -					i386,
  31.265 -				);
  31.266 -				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
  31.267 -				GCC_MODEL_TUNING = G5;
  31.268 -				GCC_PRECOMPILE_PREFIX_HEADER = YES;
  31.269 -				GCC_PREFIX_HEADER = "___PROJECTNAMEASIDENTIFIER____Prefix.pch";
  31.270 -				INFOPLIST_FILE = Info.plist;
  31.271 -				INSTALL_PATH = "$(HOME)/Applications";
  31.272 -				PRODUCT_NAME = "___PROJECTNAME___";
  31.273 -				WRAPPER_EXTENSION = app;
  31.274 -			};
  31.275 -			name = Release;
  31.276 -		};
  31.277 -		C01FCF4F08A954540054247B /* Debug */ = {
  31.278 -			isa = XCBuildConfiguration;
  31.279 -			buildSettings = {
  31.280 -				ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
  31.281 -				ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
  31.282 -				FRAMEWORK_SEARCH_PATHS = (
  31.283 -					"$(HOME)/Library/Frameworks",
  31.284 -					/Library/Frameworks,
  31.285 -					"$(FRAMEWORK_SEARCH_PATHS)",
  31.286 -				);
  31.287 -				GCC_C_LANGUAGE_STANDARD = c99;
  31.288 -				GCC_VERSION = 4.0;
  31.289 -				GCC_WARN_ABOUT_RETURN_TYPE = YES;
  31.290 -				GCC_WARN_UNUSED_VARIABLE = YES;
  31.291 -				HEADER_SEARCH_PATHS = (
  31.292 -					"$(HOME)/Library/Frameworks/SDL.framework/Headers",
  31.293 -					/Library/Frameworks/SDL.framework/Headers,
  31.294 -					"$(HEADER_SEARCH_PATHS)",
  31.295 -				);
  31.296 -				PREBINDING = NO;
  31.297 -				SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
  31.298 -			};
  31.299 -			name = Debug;
  31.300 -		};
  31.301 -		C01FCF5008A954540054247B /* Release */ = {
  31.302 -			isa = XCBuildConfiguration;
  31.303 -			buildSettings = {
  31.304 -				ARCHS = "$(ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1)";
  31.305 -				ARCHS_STANDARD_32_BIT_PRE_XCODE_3_1 = "ppc i386";
  31.306 -				FRAMEWORK_SEARCH_PATHS = (
  31.307 -					"$(HOME)/Library/Frameworks",
  31.308 -					/Library/Frameworks,
  31.309 -					"$(FRAMEWORK_SEARCH_PATHS)",
  31.310 -				);
  31.311 -				GCC_C_LANGUAGE_STANDARD = c99;
  31.312 -				GCC_VERSION = 4.0;
  31.313 -				GCC_WARN_ABOUT_RETURN_TYPE = YES;
  31.314 -				GCC_WARN_UNUSED_VARIABLE = YES;
  31.315 -				HEADER_SEARCH_PATHS = (
  31.316 -					"$(HOME)/Library/Frameworks/SDL.framework/Headers",
  31.317 -					/Library/Frameworks/SDL.framework/Headers,
  31.318 -					"$(HEADER_SEARCH_PATHS)",
  31.319 -				);
  31.320 -				PREBINDING = NO;
  31.321 -				SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
  31.322 -			};
  31.323 -			name = Release;
  31.324 -		};
  31.325 -/* End XCBuildConfiguration section */
  31.326 -
  31.327 -/* Begin XCConfigurationList section */
  31.328 -		C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */ = {
  31.329 -			isa = XCConfigurationList;
  31.330 -			buildConfigurations = (
  31.331 -				C01FCF4B08A954540054247B /* Debug */,
  31.332 -				C01FCF4C08A954540054247B /* Release */,
  31.333 -			);
  31.334 -			defaultConfigurationIsVisible = 0;
  31.335 -			defaultConfigurationName = Release;
  31.336 -		};
  31.337 -		C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */ = {
  31.338 -			isa = XCConfigurationList;
  31.339 -			buildConfigurations = (
  31.340 -				C01FCF4F08A954540054247B /* Debug */,
  31.341 -				C01FCF5008A954540054247B /* Release */,
  31.342 -			);
  31.343 -			defaultConfigurationIsVisible = 0;
  31.344 -			defaultConfigurationName = Release;
  31.345 -		};
  31.346 -/* End XCConfigurationList section */
  31.347 -	};
  31.348 -	rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
  31.349 -}
    32.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/atlantis.c	Sun Jun 16 12:00:54 2013 +0200
    32.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.3 @@ -1,459 +0,0 @@
    32.4 -
    32.5 -/* Copyright (c) Mark J. Kilgard, 1994. */
    32.6 -
    32.7 -/**
    32.8 - * (c) Copyright 1993, 1994, Silicon Graphics, Inc.
    32.9 - * ALL RIGHTS RESERVED
   32.10 - * Permission to use, copy, modify, and distribute this software for
   32.11 - * any purpose and without fee is hereby granted, provided that the above
   32.12 - * copyright notice appear in all copies and that both the copyright notice
   32.13 - * and this permission notice appear in supporting documentation, and that
   32.14 - * the name of Silicon Graphics, Inc. not be used in advertising
   32.15 - * or publicity pertaining to distribution of the software without specific,
   32.16 - * written prior permission.
   32.17 - *
   32.18 - * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
   32.19 - * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
   32.20 - * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
   32.21 - * FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL SILICON
   32.22 - * GRAPHICS, INC.  BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
   32.23 - * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
   32.24 - * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
   32.25 - * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
   32.26 - * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC.  HAS BEEN
   32.27 - * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
   32.28 - * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
   32.29 - * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
   32.30 - *
   32.31 - * US Government Users Restricted Rights
   32.32 - * Use, duplication, or disclosure by the Government is subject to
   32.33 - * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
   32.34 - * (c)(1)(ii) of the Rights in Technical Data and Computer Software
   32.35 - * clause at DFARS 252.227-7013 and/or in similar or successor
   32.36 - * clauses in the FAR or the DOD or NASA FAR Supplement.
   32.37 - * Unpublished-- rights reserved under the copyright laws of the
   32.38 - * United States.  Contractor/manufacturer is Silicon Graphics,
   32.39 - * Inc., 2011 N.  Shoreline Blvd., Mountain View, CA 94039-7311.
   32.40 - *
   32.41 - * OpenGL(TM) is a trademark of Silicon Graphics, Inc.
   32.42 - */
   32.43 -#include <stdio.h>
   32.44 -#include <stdlib.h>
   32.45 -#include <string.h>
   32.46 -#include <math.h>
   32.47 -#include <sys/time.h>
   32.48 -#include <GLUT/glut.h>
   32.49 -#include "atlantis.h"
   32.50 -
   32.51 -fishRec sharks[NUM_SHARKS];
   32.52 -fishRec momWhale;
   32.53 -fishRec babyWhale;
   32.54 -fishRec dolph;
   32.55 -
   32.56 -GLboolean Timing = GL_TRUE;
   32.57 -
   32.58 -int w_win = 640;
   32.59 -int h_win = 480;
   32.60 -GLint count  = 0;
   32.61 -GLenum StrMode = GL_VENDOR;
   32.62 -
   32.63 -GLboolean moving;
   32.64 -
   32.65 -static double mtime(void)
   32.66 -{
   32.67 -   struct timeval tk_time;
   32.68 -   struct timezone tz;
   32.69 -
   32.70 -   gettimeofday(&tk_time, &tz);
   32.71 -
   32.72 -   return 4294.967296 * tk_time.tv_sec + 0.000001 * tk_time.tv_usec;
   32.73 -}
   32.74 -
   32.75 -static double filter(double in, double *save)
   32.76 -{
   32.77 -    static double k1 = 0.9;
   32.78 -    static double k2 = 0.05;
   32.79 -
   32.80 -    save[3] = in;
   32.81 -    save[1] = save[0]*k1 + k2*(save[3] + save[2]);
   32.82 -
   32.83 -    save[0]=save[1];
   32.84 -    save[2]=save[3];
   32.85 -
   32.86 -    return(save[1]);
   32.87 -}
   32.88 -
   32.89 -void DrawStr(const char *str)
   32.90 -{
   32.91 -    GLint i = 0;
   32.92 -
   32.93 -    if(!str) return;
   32.94 -
   32.95 -    while(str[i])
   32.96 -    {
   32.97 -        glutBitmapCharacter(GLUT_BITMAP_HELVETICA_12, str[i]);
   32.98 -        i++;
   32.99 -    }
  32.100 -}
  32.101 -
  32.102 -void
  32.103 -InitFishs(void)
  32.104 -{
  32.105 -    int i;
  32.106 -
  32.107 -    for (i = 0; i < NUM_SHARKS; i++) {
  32.108 -        sharks[i].x = 70000.0 + rand() % 6000;
  32.109 -        sharks[i].y = rand() % 6000;
  32.110 -        sharks[i].z = rand() % 6000;
  32.111 -        sharks[i].psi = rand() % 360 - 180.0;
  32.112 -        sharks[i].v = 1.0;
  32.113 -    }
  32.114 -
  32.115 -    dolph.x = 30000.0;
  32.116 -    dolph.y = 0.0;
  32.117 -    dolph.z = 6000.0;
  32.118 -    dolph.psi = 90.0;
  32.119 -    dolph.theta = 0.0;
  32.120 -    dolph.v = 3.0;
  32.121 -
  32.122 -    momWhale.x = 70000.0;
  32.123 -    momWhale.y = 0.0;
  32.124 -    momWhale.z = 0.0;
  32.125 -    momWhale.psi = 90.0;
  32.126 -    momWhale.theta = 0.0;
  32.127 -    momWhale.v = 3.0;
  32.128 -
  32.129 -    babyWhale.x = 60000.0;
  32.130 -    babyWhale.y = -2000.0;
  32.131 -    babyWhale.z = -2000.0;
  32.132 -    babyWhale.psi = 90.0;
  32.133 -    babyWhale.theta = 0.0;
  32.134 -    babyWhale.v = 3.0;
  32.135 -}
  32.136 -
  32.137 -void
  32.138 -Atlantis_Init(void)
  32.139 -{
  32.140 -    static float ambient[] = {0.2, 0.2, 0.2, 1.0};
  32.141 -    static float diffuse[] = {1.0, 1.0, 1.0, 1.0};
  32.142 -    static float position[] = {0.0, 1.0, 0.0, 0.0};
  32.143 -    static float mat_shininess[] = {90.0};
  32.144 -    static float mat_specular[] = {0.8, 0.8, 0.8, 1.0};
  32.145 -    static float mat_diffuse[] = {0.46, 0.66, 0.795, 1.0};
  32.146 -    static float mat_ambient[] = {0.3, 0.4, 0.5, 1.0};
  32.147 -    static float lmodel_ambient[] = {0.4, 0.4, 0.4, 1.0};
  32.148 -    static float lmodel_localviewer[] = {0.0};
  32.149 -    //GLfloat map1[4] = {0.0, 0.0, 0.0, 0.0};
  32.150 -    //GLfloat map2[4] = {0.0, 0.0, 0.0, 0.0};
  32.151 -    static float fog_color[] = {0.0, 0.5, 0.9, 1.0};
  32.152 -
  32.153 -    glFrontFace(GL_CCW);
  32.154 -
  32.155 -    glDepthFunc(GL_LESS);
  32.156 -    glEnable(GL_DEPTH_TEST);
  32.157 -
  32.158 -    glLightfv(GL_LIGHT0, GL_AMBIENT, ambient);
  32.159 -    glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse);
  32.160 -    glLightfv(GL_LIGHT0, GL_POSITION, position);
  32.161 -    glLightModelfv(GL_LIGHT_MODEL_AMBIENT, lmodel_ambient);
  32.162 -    glLightModelfv(GL_LIGHT_MODEL_LOCAL_VIEWER, lmodel_localviewer);
  32.163 -    glEnable(GL_LIGHTING);
  32.164 -    glEnable(GL_LIGHT0);
  32.165 -
  32.166 -    glMaterialfv(GL_FRONT_AND_BACK, GL_SHININESS, mat_shininess);
  32.167 -    glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, mat_specular);
  32.168 -    glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, mat_diffuse);
  32.169 -    glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, mat_ambient);
  32.170 -
  32.171 -    InitFishs();
  32.172 -
  32.173 -    glEnable(GL_FOG);
  32.174 -    glFogi(GL_FOG_MODE, GL_EXP);
  32.175 -    glFogf(GL_FOG_DENSITY, 0.0000025);
  32.176 -    glFogfv(GL_FOG_COLOR, fog_color);
  32.177 -
  32.178 -    glClearColor(0.0, 0.5, 0.9, 1.0);
  32.179 -}
  32.180 -
  32.181 -void
  32.182 -Atlantis_Reshape(int width, int height)
  32.183 -{
  32.184 -    w_win = width;
  32.185 -    h_win = height;
  32.186 -
  32.187 -    glViewport(0, 0, width, height);
  32.188 -
  32.189 -    glMatrixMode(GL_PROJECTION);
  32.190 -    glLoadIdentity();
  32.191 -    gluPerspective(60.0, (GLfloat) width / (GLfloat) height, 20000.0, 300000.0);
  32.192 -    glMatrixMode(GL_MODELVIEW);
  32.193 -}
  32.194 -
  32.195 -void
  32.196 -Atlantis_Animate(void)
  32.197 -{
  32.198 -    int i;
  32.199 -
  32.200 -    for (i = 0; i < NUM_SHARKS; i++) {
  32.201 -        SharkPilot(&sharks[i]);
  32.202 -        SharkMiss(i);
  32.203 -    }
  32.204 -    WhalePilot(&dolph);
  32.205 -    dolph.phi++;
  32.206 -    //glutPostRedisplay();
  32.207 -    WhalePilot(&momWhale);
  32.208 -    momWhale.phi++;
  32.209 -    WhalePilot(&babyWhale);
  32.210 -    babyWhale.phi++;
  32.211 -}
  32.212 -
  32.213 -void
  32.214 -Atlantis_Key(unsigned char key, int x, int y)
  32.215 -{
  32.216 -    switch (key) {
  32.217 -    case 't':
  32.218 -        Timing = !Timing;
  32.219 -    break;
  32.220 -    case ' ':
  32.221 -        switch(StrMode)
  32.222 -        {
  32.223 -            case GL_EXTENSIONS:
  32.224 -                StrMode = GL_VENDOR;
  32.225 -            break;
  32.226 -            case GL_VENDOR:
  32.227 -                StrMode = GL_RENDERER;
  32.228 -            break;
  32.229 -            case GL_RENDERER:
  32.230 -                StrMode = GL_VERSION;
  32.231 -            break;
  32.232 -            case GL_VERSION:
  32.233 -                StrMode = GL_EXTENSIONS;
  32.234 -            break;
  32.235 -        }
  32.236 -    break;
  32.237 -    case 27:           /* Esc will quit */
  32.238 -        exit(1);
  32.239 -    break;
  32.240 -    case 's':                   /* "s" start animation */
  32.241 -        moving = GL_TRUE;
  32.242 -        //glutIdleFunc(Animate);
  32.243 -    break;
  32.244 -    case 'a':                   /* "a" stop animation */
  32.245 -        moving = GL_FALSE;
  32.246 -        //glutIdleFunc(NULL);
  32.247 -    break;
  32.248 -    case '.':                   /* "." will advance frame */
  32.249 -        if (!moving) {
  32.250 -            Atlantis_Animate();
  32.251 -        }
  32.252 -    }
  32.253 -}
  32.254 -/*
  32.255 -void Display(void)
  32.256 -{
  32.257 -    static float P123[3] = {-448.94, -203.14, 9499.60};
  32.258 -    static float P124[3] = {-442.64, -185.20, 9528.07};
  32.259 -    static float P125[3] = {-441.07, -148.05, 9528.07};
  32.260 -    static float P126[3] = {-443.43, -128.84, 9499.60};
  32.261 -    static float P127[3] = {-456.87, -146.78, 9466.67};
  32.262 -    static float P128[3] = {-453.68, -183.93, 9466.67};
  32.263 -
  32.264 -    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
  32.265 -
  32.266 -    glPushMatrix();
  32.267 -    FishTransform(&dolph);
  32.268 -    DrawDolphin(&dolph);
  32.269 -    glPopMatrix();
  32.270 -
  32.271 -    glutSwapBuffers();
  32.272 -}
  32.273 -*/
  32.274 -
  32.275 -void
  32.276 -Atlantis_Display(void)
  32.277 -{
  32.278 -    int i;
  32.279 -    static double th[4] = {0.0, 0.0, 0.0, 0.0};
  32.280 -    static double t1 = 0.0, t2 = 0.0, t;
  32.281 -    char num_str[128];
  32.282 -
  32.283 -    t1 = t2;
  32.284 -
  32.285 -    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
  32.286 -
  32.287 -    for (i = 0; i < NUM_SHARKS; i++) {
  32.288 -        glPushMatrix();
  32.289 -        FishTransform(&sharks[i]);
  32.290 -        DrawShark(&sharks[i]);
  32.291 -        glPopMatrix();
  32.292 -    }
  32.293 -
  32.294 -    glPushMatrix();
  32.295 -    FishTransform(&dolph);
  32.296 -    DrawDolphin(&dolph);
  32.297 -    glPopMatrix();
  32.298 -
  32.299 -    glPushMatrix();
  32.300 -    FishTransform(&momWhale);
  32.301 -    DrawWhale(&momWhale);
  32.302 -    glPopMatrix();
  32.303 -
  32.304 -    glPushMatrix();
  32.305 -    FishTransform(&babyWhale);
  32.306 -    glScalef(0.45, 0.45, 0.3);
  32.307 -    DrawWhale(&babyWhale);
  32.308 -    glPopMatrix();
  32.309 -
  32.310 -    if(Timing)
  32.311 -    {
  32.312 -        t2 = mtime();
  32.313 -        t = t2 - t1;
  32.314 -        if(t > 0.0001) t = 1.0 / t;
  32.315 -
  32.316 -        glDisable(GL_LIGHTING);
  32.317 -        //glDisable(GL_DEPTH_TEST);
  32.318 -
  32.319 -        glColor3f(1.0, 0.0, 0.0);
  32.320 -
  32.321 -        glMatrixMode (GL_PROJECTION);
  32.322 -        glPushMatrix();
  32.323 -        glLoadIdentity();
  32.324 -        glOrtho(0, w_win, 0, h_win, -10.0, 10.0);
  32.325 -
  32.326 -        glRasterPos2f(5.0, 5.0);
  32.327 -
  32.328 -        switch(StrMode)
  32.329 -        {
  32.330 -            case GL_VENDOR:
  32.331 -                sprintf(num_str, "%0.2f Hz, %dx%d, VENDOR: ", filter(t, th), w_win, h_win);
  32.332 -                DrawStr(num_str);
  32.333 -                DrawStr(glGetString(GL_VENDOR));
  32.334 -            break;
  32.335 -            case GL_RENDERER:
  32.336 -                sprintf(num_str, "%0.2f Hz, %dx%d, RENDERER: ", filter(t, th), w_win, h_win);
  32.337 -                DrawStr(num_str);
  32.338 -                DrawStr(glGetString(GL_RENDERER));
  32.339 -            break;
  32.340 -            case GL_VERSION:
  32.341 -                sprintf(num_str, "%0.2f Hz, %dx%d, VERSION: ", filter(t, th), w_win, h_win);
  32.342 -                DrawStr(num_str);
  32.343 -                DrawStr(glGetString(GL_VERSION));
  32.344 -            break;
  32.345 -            case GL_EXTENSIONS:
  32.346 -                sprintf(num_str, "%0.2f Hz, %dx%d, EXTENSIONS: ", filter(t, th), w_win, h_win);
  32.347 -                DrawStr(num_str);
  32.348 -                DrawStr(glGetString(GL_EXTENSIONS));
  32.349 -            break;
  32.350 -        }
  32.351 -
  32.352 -        glPopMatrix();
  32.353 -        glMatrixMode(GL_MODELVIEW);
  32.354 -
  32.355 -        glEnable(GL_LIGHTING);
  32.356 -        //glEnable(GL_DEPTH_TEST);
  32.357 -    }
  32.358 -
  32.359 -    count++;
  32.360 -
  32.361 -    glutSwapBuffers();
  32.362 -}
  32.363 -
  32.364 -/*
  32.365 -void
  32.366 -Visible(int state)
  32.367 -{
  32.368 -    if (state == GLUT_VISIBLE) {
  32.369 -        if (moving)
  32.370 -            glutIdleFunc(Animate);
  32.371 -    } else {
  32.372 -        if (moving)
  32.373 -            glutIdleFunc(NULL);
  32.374 -    }
  32.375 -}
  32.376 -
  32.377 -
  32.378 -void
  32.379 -timingSelect(int value)
  32.380 -{
  32.381 -    switch(value)
  32.382 -    {
  32.383 -        case 1:
  32.384 -            StrMode = GL_VENDOR;
  32.385 -        break;
  32.386 -        case 2:
  32.387 -            StrMode = GL_RENDERER;
  32.388 -        break;
  32.389 -        case 3:
  32.390 -            StrMode = GL_VERSION;
  32.391 -        break;
  32.392 -        case 4:
  32.393 -            StrMode = GL_EXTENSIONS;
  32.394 -        break;
  32.395 -    }
  32.396 -}
  32.397 -
  32.398 -void
  32.399 -menuSelect(int value)
  32.400 -{
  32.401 -    switch (value) {
  32.402 -    case 1:
  32.403 -        moving = GL_TRUE;
  32.404 -        glutIdleFunc(Animate);
  32.405 -        break;
  32.406 -    case 2:
  32.407 -        moving = GL_FALSE;
  32.408 -        glutIdleFunc(NULL);
  32.409 -        break;
  32.410 -    case 4:
  32.411 -        exit(0);
  32.412 -        break;
  32.413 -    }
  32.414 -}
  32.415 -
  32.416 -int
  32.417 -main(int argc, char **argv)
  32.418 -{
  32.419 -    GLboolean fullscreen = GL_FALSE;
  32.420 -    GLint time_menu;
  32.421 -
  32.422 -    srand(0);
  32.423 -
  32.424 -        glutInit(&argc, argv);
  32.425 -    if (argc > 1 && !strcmp(argv[1], "-w"))
  32.426 -        fullscreen = GL_FALSE;
  32.427 -
  32.428 -    //glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH);
  32.429 -    glutInitDisplayString("rgba double depth=24");
  32.430 -    if (fullscreen) {
  32.431 -      glutGameModeString("1024x768:32");
  32.432 -      glutEnterGameMode();
  32.433 -    } else {
  32.434 -      glutInitWindowSize(320, 240);
  32.435 -      glutCreateWindow("Atlantis Timing");
  32.436 -    }
  32.437 -    Init();
  32.438 -    glutDisplayFunc(Display);
  32.439 -    glutReshapeFunc(Reshape);
  32.440 -    glutKeyboardFunc(Key);
  32.441 -    moving = GL_TRUE;
  32.442 -glutIdleFunc(Animate);
  32.443 -    glutVisibilityFunc(Visible);
  32.444 -
  32.445 -    time_menu = glutCreateMenu(timingSelect);
  32.446 -    glutAddMenuEntry("GL_VENDOR", 1);
  32.447 -    glutAddMenuEntry("GL_RENDERER", 2);
  32.448 -    glutAddMenuEntry("GL_VERSION", 3);
  32.449 -    glutAddMenuEntry("GL_EXTENSIONS", 4);
  32.450 -
  32.451 -    glutCreateMenu(menuSelect);
  32.452 -    glutAddMenuEntry("Start motion", 1);
  32.453 -    glutAddMenuEntry("Stop motion", 2);
  32.454 -    glutAddSubMenu("Timing Mode", time_menu);
  32.455 -    glutAddMenuEntry("Quit", 4);
  32.456 -
  32.457 -    //glutAttachMenu(GLUT_RIGHT_BUTTON);
  32.458 -    glutAttachMenu(GLUT_RIGHT_BUTTON);
  32.459 -    glutMainLoop();
  32.460 -    return 0;             // ANSI C requires main to return int.
  32.461 -}
  32.462 -*/
  32.463 \ No newline at end of file
    33.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/atlantis.h	Sun Jun 16 12:00:54 2013 +0200
    33.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.3 @@ -1,65 +0,0 @@
    33.4 -/**
    33.5 - * (c) Copyright 1993, 1994, Silicon Graphics, Inc.
    33.6 - * ALL RIGHTS RESERVED
    33.7 - * Permission to use, copy, modify, and distribute this software for
    33.8 - * any purpose and without fee is hereby granted, provided that the above
    33.9 - * copyright notice appear in all copies and that both the copyright notice
   33.10 - * and this permission notice appear in supporting documentation, and that
   33.11 - * the name of Silicon Graphics, Inc. not be used in advertising
   33.12 - * or publicity pertaining to distribution of the software without specific,
   33.13 - * written prior permission.
   33.14 - *
   33.15 - * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
   33.16 - * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
   33.17 - * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
   33.18 - * FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL SILICON
   33.19 - * GRAPHICS, INC.  BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
   33.20 - * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
   33.21 - * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
   33.22 - * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
   33.23 - * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC.  HAS BEEN
   33.24 - * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
   33.25 - * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
   33.26 - * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
   33.27 - *
   33.28 - * US Government Users Restricted Rights
   33.29 - * Use, duplication, or disclosure by the Government is subject to
   33.30 - * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
   33.31 - * (c)(1)(ii) of the Rights in Technical Data and Computer Software
   33.32 - * clause at DFARS 252.227-7013 and/or in similar or successor
   33.33 - * clauses in the FAR or the DOD or NASA FAR Supplement.
   33.34 - * Unpublished-- rights reserved under the copyright laws of the
   33.35 - * United States.  Contractor/manufacturer is Silicon Graphics,
   33.36 - * Inc., 2011 N.  Shoreline Blvd., Mountain View, CA 94039-7311.
   33.37 - *
   33.38 - * OpenGL(TM) is a trademark of Silicon Graphics, Inc.
   33.39 - */
   33.40 -#define RAD 57.295
   33.41 -#define RRAD 0.01745
   33.42 -
   33.43 -#define NUM_SHARKS 4
   33.44 -#define SHARKSIZE 6000
   33.45 -#define SHARKSPEED 100.0
   33.46 -
   33.47 -#define WHALESPEED 250.0
   33.48 -
   33.49 -typedef struct _fishRec {
   33.50 -    float x, y, z, phi, theta, psi, v;
   33.51 -    float xt, yt, zt;
   33.52 -    float htail, vtail;
   33.53 -    float dtheta;
   33.54 -    int spurt, attack;
   33.55 -} fishRec;
   33.56 -
   33.57 -extern fishRec sharks[NUM_SHARKS];
   33.58 -extern fishRec momWhale;
   33.59 -extern fishRec babyWhale;
   33.60 -extern fishRec dolph;
   33.61 -
   33.62 -extern void FishTransform(fishRec *);
   33.63 -extern void WhalePilot(fishRec *);
   33.64 -extern void SharkPilot(fishRec *);
   33.65 -extern void SharkMiss(int);
   33.66 -extern void DrawWhale(fishRec *);
   33.67 -extern void DrawShark(fishRec *);
   33.68 -extern void DrawDolphin(fishRec *);
    34.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/dolphin.c	Sun Jun 16 12:00:54 2013 +0200
    34.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.3 @@ -1,1934 +0,0 @@
    34.4 -/**
    34.5 - * (c) Copyright 1993, 1994, Silicon Graphics, Inc.
    34.6 - * ALL RIGHTS RESERVED
    34.7 - * Permission to use, copy, modify, and distribute this software for
    34.8 - * any purpose and without fee is hereby granted, provided that the above
    34.9 - * copyright notice appear in all copies and that both the copyright notice
   34.10 - * and this permission notice appear in supporting documentation, and that
   34.11 - * the name of Silicon Graphics, Inc. not be used in advertising
   34.12 - * or publicity pertaining to distribution of the software without specific,
   34.13 - * written prior permission.
   34.14 - *
   34.15 - * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
   34.16 - * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
   34.17 - * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
   34.18 - * FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL SILICON
   34.19 - * GRAPHICS, INC.  BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
   34.20 - * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
   34.21 - * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
   34.22 - * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
   34.23 - * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC.  HAS BEEN
   34.24 - * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
   34.25 - * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
   34.26 - * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
   34.27 - *
   34.28 - * US Government Users Restricted Rights
   34.29 - * Use, duplication, or disclosure by the Government is subject to
   34.30 - * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
   34.31 - * (c)(1)(ii) of the Rights in Technical Data and Computer Software
   34.32 - * clause at DFARS 252.227-7013 and/or in similar or successor
   34.33 - * clauses in the FAR or the DOD or NASA FAR Supplement.
   34.34 - * Unpublished-- rights reserved under the copyright laws of the
   34.35 - * United States.  Contractor/manufacturer is Silicon Graphics,
   34.36 - * Inc., 2011 N.  Shoreline Blvd., Mountain View, CA 94039-7311.
   34.37 - *
   34.38 - * OpenGL(TM) is a trademark of Silicon Graphics, Inc.
   34.39 - */
   34.40 -#include <math.h>
   34.41 -#include <GLUT/glut.h>
   34.42 -#include "atlantis.h"
   34.43 -/* *INDENT-OFF* */
   34.44 -static float N001[3] = {-0.005937 ,-0.101998 ,-0.994767};
   34.45 -static float N002[3] = {0.936780 ,-0.200803 ,0.286569};
   34.46 -static float N003[3] = {-0.233062 ,0.972058 ,0.028007};
   34.47 -static float N005[3] = {0.898117 ,0.360171 ,0.252315};
   34.48 -static float N006[3] = {-0.915437 ,0.348456 ,0.201378};
   34.49 -static float N007[3] = {0.602263 ,-0.777527 ,0.180920};
   34.50 -static float N008[3] = {-0.906912 ,-0.412015 ,0.088061};
   34.51 -static float N012[3] = {0.884408 ,-0.429417 ,-0.182821};
   34.52 -static float N013[3] = {0.921121 ,0.311084 ,-0.234016};
   34.53 -static float N014[3] = {0.382635 ,0.877882 ,-0.287948};
   34.54 -static float N015[3] = {-0.380046 ,0.888166 ,-0.258316};
   34.55 -static float N016[3] = {-0.891515 ,0.392238 ,-0.226607};
   34.56 -static float N017[3] = {-0.901419 ,-0.382002 ,-0.203763};
   34.57 -static float N018[3] = {-0.367225 ,-0.911091 ,-0.187243};
   34.58 -static float N019[3] = {0.339539 ,-0.924846 ,-0.171388};
   34.59 -static float N020[3] = {0.914706 ,-0.378617 ,-0.141290};
   34.60 -static float N021[3] = {0.950662 ,0.262713 ,-0.164994};
   34.61 -static float N022[3] = {0.546359 ,0.801460 ,-0.243218};
   34.62 -static float N023[3] = {-0.315796 ,0.917068 ,-0.243431};
   34.63 -static float N024[3] = {-0.825687 ,0.532277 ,-0.186875};
   34.64 -static float N025[3] = {-0.974763 ,-0.155232 ,-0.160435};
   34.65 -static float N026[3] = {-0.560596 ,-0.816658 ,-0.137119};
   34.66 -static float N027[3] = {0.380210 ,-0.910817 ,-0.160786};
   34.67 -static float N028[3] = {0.923772 ,-0.358322 ,-0.135093};
   34.68 -static float N029[3] = {0.951202 ,0.275053 ,-0.139859};
   34.69 -static float N030[3] = {0.686099 ,0.702548 ,-0.188932};
   34.70 -static float N031[3] = {-0.521865 ,0.826719 ,-0.210220};
   34.71 -static float N032[3] = {-0.923820 ,0.346739 ,-0.162258};
   34.72 -static float N033[3] = {-0.902095 ,-0.409995 ,-0.134646};
   34.73 -static float N034[3] = {-0.509115 ,-0.848498 ,-0.144404};
   34.74 -static float N035[3] = {0.456469 ,-0.880293 ,-0.129305};
   34.75 -static float N036[3] = {0.873401 ,-0.475489 ,-0.105266};
   34.76 -static float N037[3] = {0.970825 ,0.179861 ,-0.158584};
   34.77 -static float N038[3] = {0.675609 ,0.714187 ,-0.183004};
   34.78 -static float N039[3] = {-0.523574 ,0.830212 ,-0.191360};
   34.79 -static float N040[3] = {-0.958895 ,0.230808 ,-0.165071};
   34.80 -static float N041[3] = {-0.918285 ,-0.376803 ,-0.121542};
   34.81 -static float N042[3] = {-0.622467 ,-0.774167 ,-0.114888};
   34.82 -static float N043[3] = {0.404497 ,-0.908807 ,-0.102231};
   34.83 -static float N044[3] = {0.930538 ,-0.365155 ,-0.027588};
   34.84 -static float N045[3] = {0.921920 ,0.374157 ,-0.100345};
   34.85 -static float N046[3] = {0.507346 ,0.860739 ,0.041562};
   34.86 -static float N047[3] = {-0.394646 ,0.918815 ,-0.005730};
   34.87 -static float N048[3] = {-0.925411 ,0.373024 ,-0.066837};
   34.88 -static float N049[3] = {-0.945337 ,-0.322309 ,-0.049551};
   34.89 -static float N050[3] = {-0.660437 ,-0.750557 ,-0.022072};
   34.90 -static float N051[3] = {0.488835 ,-0.871950 ,-0.027261};
   34.91 -static float N052[3] = {0.902599 ,-0.421397 ,0.087969};
   34.92 -static float N053[3] = {0.938636 ,0.322606 ,0.122020};
   34.93 -static float N054[3] = {0.484605 ,0.871078 ,0.079878};
   34.94 -static float N055[3] = {-0.353607 ,0.931559 ,0.084619};
   34.95 -static float N056[3] = {-0.867759 ,0.478564 ,0.134054};
   34.96 -static float N057[3] = {-0.951583 ,-0.296030 ,0.082794};
   34.97 -static float N058[3] = {-0.672355 ,-0.730209 ,0.121384};
   34.98 -static float N059[3] = {0.528336 ,-0.842452 ,0.105525};
   34.99 -static float N060[3] = {0.786913 ,-0.564760 ,0.248627};
  34.100 -static float N062[3] = {0.622098 ,0.765230 ,0.165584};
  34.101 -static float N063[3] = {-0.631711 ,0.767816 ,0.106773};
  34.102 -static float N064[3] = {-0.687886 ,0.606351 ,0.398938};
  34.103 -static float N065[3] = {-0.946327 ,-0.281623 ,0.158598};
  34.104 -static float N066[3] = {-0.509549 ,-0.860437 ,0.002776};
  34.105 -static float N067[3] = {0.462594 ,-0.876692 ,0.131977};
  34.106 -static float N071[3] = {0.000000 ,1.000000 ,0.000000};
  34.107 -static float N077[3] = {-0.880770 ,0.461448 ,0.106351};
  34.108 -static float N078[3] = {-0.880770 ,0.461448 ,0.106351};
  34.109 -static float N079[3] = {-0.880770 ,0.461448 ,0.106351};
  34.110 -static float N080[3] = {-0.880770 ,0.461448 ,0.106351};
  34.111 -static float N081[3] = {-0.571197 ,0.816173 ,0.087152};
  34.112 -static float N082[3] = {-0.880770 ,0.461448 ,0.106351};
  34.113 -static float N083[3] = {-0.571197 ,0.816173 ,0.087152};
  34.114 -static float N084[3] = {-0.571197 ,0.816173 ,0.087152};
  34.115 -static float N085[3] = {-0.880770 ,0.461448 ,0.106351};
  34.116 -static float N086[3] = {-0.571197 ,0.816173 ,0.087152};
  34.117 -static float N087[3] = {-0.880770 ,0.461448 ,0.106351};
  34.118 -static float N088[3] = {-0.880770 ,0.461448 ,0.106351};
  34.119 -static float N089[3] = {-0.880770 ,0.461448 ,0.106351};
  34.120 -static float N090[3] = {-0.880770 ,0.461448 ,0.106351};
  34.121 -static float N091[3] = {0.000000 ,1.000000 ,0.000000};
  34.122 -static float N092[3] = {0.000000 ,1.000000 ,0.000000};
  34.123 -static float N093[3] = {0.000000 ,1.000000 ,0.000000};
  34.124 -static float N094[3] = {1.000000 ,0.000000 ,0.000000};
  34.125 -static float N095[3] = {-1.000000 ,0.000000 ,0.000000};
  34.126 -static float N097[3] = {-0.697296 ,0.702881 ,0.140491};
  34.127 -static float N098[3] = {0.918864 ,0.340821 ,0.198819};
  34.128 -static float N099[3] = {-0.932737 ,0.201195 ,0.299202};
  34.129 -static float N100[3] = {0.029517 ,0.981679 ,0.188244};
  34.130 -static float N102[3] = {0.813521 ,-0.204936 ,0.544229};
  34.131 -static float N110[3] = {-0.781480 ,-0.384779 ,0.491155};
  34.132 -static float N111[3] = {-0.722243 ,0.384927 ,0.574627};
  34.133 -static float N112[3] = {-0.752278 ,0.502679 ,0.425901};
  34.134 -static float N113[3] = {0.547257 ,0.367910 ,0.751766};
  34.135 -static float N114[3] = {0.725949 ,-0.232568 ,0.647233};
  34.136 -static float N115[3] = {-0.747182 ,-0.660786 ,0.071280};
  34.137 -static float N116[3] = {0.931519 ,0.200748 ,0.303270};
  34.138 -static float N117[3] = {-0.828928 ,0.313757 ,0.463071};
  34.139 -static float N118[3] = {0.902554 ,-0.370967 ,0.218587};
  34.140 -static float N119[3] = {-0.879257 ,-0.441851 ,0.177973};
  34.141 -static float N120[3] = {0.642327 ,0.611901 ,0.461512};
  34.142 -static float N121[3] = {0.964817 ,-0.202322 ,0.167910};
  34.143 -static float N122[3] = {0.000000 ,1.000000 ,0.000000};
  34.144 -static float P001[3] = {5.68, -300.95, 1324.70};
  34.145 -static float P002[3] = {338.69, -219.63, 9677.03};
  34.146 -static float P003[3] = {12.18, 474.59, 9138.14};
  34.147 -static float P005[3] = {487.51, 198.05, 9350.78};
  34.148 -static float P006[3] = {-457.61, 68.74, 9427.85};
  34.149 -static float P007[3] = {156.52, -266.72, 10311.68};
  34.150 -static float P008[3] = {-185.56, -266.51, 10310.47};
  34.151 -static float P009[3] = {124.39, -261.46, 1942.34};
  34.152 -static float P010[3] = {-130.05, -261.46, 1946.03};
  34.153 -static float P011[3] = {141.07, -320.11, 1239.38};
  34.154 -static float P012[3] = {156.48, -360.12, 2073.41};
  34.155 -static float P013[3] = {162.00, -175.88, 2064.44};
  34.156 -static float P014[3] = {88.16, -87.72, 2064.02};
  34.157 -static float P015[3] = {-65.21, -96.13, 2064.02};
  34.158 -static float P016[3] = {-156.48, -180.96, 2064.44};
  34.159 -static float P017[3] = {-162.00, -368.93, 2082.39};
  34.160 -static float P018[3] = {-88.16, -439.22, 2082.39};
  34.161 -static float P019[3] = {65.21, -440.32, 2083.39};
  34.162 -static float P020[3] = {246.87, -356.02, 2576.95};
  34.163 -static float P021[3] = {253.17, -111.15, 2567.15};
  34.164 -static float P022[3] = {132.34, 51.41, 2559.84};
  34.165 -static float P023[3] = {-97.88, 40.44, 2567.15};
  34.166 -static float P024[3] = {-222.97, -117.49, 2567.15};
  34.167 -static float P025[3] = {-252.22, -371.53, 2569.92};
  34.168 -static float P026[3] = {-108.44, -518.19, 2586.75};
  34.169 -static float P027[3] = {97.88, -524.79, 2586.75};
  34.170 -static float P028[3] = {370.03, -421.19, 3419.70};
  34.171 -static float P029[3] = {351.15, -16.98, 3423.17};
  34.172 -static float P030[3] = {200.66, 248.46, 3430.37};
  34.173 -static float P031[3] = {-148.42, 235.02, 3417.91};
  34.174 -static float P032[3] = {-360.21, -30.27, 3416.84};
  34.175 -static float P033[3] = {-357.90, -414.89, 3407.04};
  34.176 -static float P034[3] = {-148.88, -631.35, 3409.90};
  34.177 -static float P035[3] = {156.38, -632.59, 3419.70};
  34.178 -static float P036[3] = {462.61, -469.21, 4431.51};
  34.179 -static float P037[3] = {466.60, 102.25, 4434.98};
  34.180 -static float P038[3] = {243.05, 474.34, 4562.02};
  34.181 -static float P039[3] = {-191.23, 474.40, 4554.42};
  34.182 -static float P040[3] = {-476.12, 111.05, 4451.11};
  34.183 -static float P041[3] = {-473.36, -470.74, 4444.78};
  34.184 -static float P042[3] = {-266.95, -748.41, 4447.78};
  34.185 -static float P043[3] = {211.14, -749.91, 4429.73};
  34.186 -static float P044[3] = {680.57, -370.27, 5943.46};
  34.187 -static float P045[3] = {834.01, 363.09, 6360.63};
  34.188 -static float P046[3] = {371.29, 804.51, 6486.26};
  34.189 -static float P047[3] = {-291.43, 797.22, 6494.28};
  34.190 -static float P048[3] = {-784.13, 370.75, 6378.01};
  34.191 -static float P049[3] = {-743.29, -325.82, 5943.46};
  34.192 -static float P050[3] = {-383.24, -804.77, 5943.46};
  34.193 -static float P051[3] = {283.47, -846.09, 5943.46};
  34.194 -static float iP001[3] = {5.68, -300.95, 1324.70};
  34.195 -static float iP009[3] = {124.39, -261.46, 1942.34};
  34.196 -static float iP010[3] = {-130.05, -261.46, 1946.03};
  34.197 -static float iP011[3] = {141.07, -320.11, 1239.38};
  34.198 -static float iP012[3] = {156.48, -360.12, 2073.41};
  34.199 -static float iP013[3] = {162.00, -175.88, 2064.44};
  34.200 -static float iP014[3] = {88.16, -87.72, 2064.02};
  34.201 -static float iP015[3] = {-65.21, -96.13, 2064.02};
  34.202 -static float iP016[3] = {-156.48, -180.96, 2064.44};
  34.203 -static float iP017[3] = {-162.00, -368.93, 2082.39};
  34.204 -static float iP018[3] = {-88.16, -439.22, 2082.39};
  34.205 -static float iP019[3] = {65.21, -440.32, 2083.39};
  34.206 -static float iP020[3] = {246.87, -356.02, 2576.95};
  34.207 -static float iP021[3] = {253.17, -111.15, 2567.15};
  34.208 -static float iP022[3] = {132.34, 51.41, 2559.84};
  34.209 -static float iP023[3] = {-97.88, 40.44, 2567.15};
  34.210 -static float iP024[3] = {-222.97, -117.49, 2567.15};
  34.211 -static float iP025[3] = {-252.22, -371.53, 2569.92};
  34.212 -static float iP026[3] = {-108.44, -518.19, 2586.75};
  34.213 -static float iP027[3] = {97.88, -524.79, 2586.75};
  34.214 -static float iP028[3] = {370.03, -421.19, 3419.70};
  34.215 -static float iP029[3] = {351.15, -16.98, 3423.17};
  34.216 -static float iP030[3] = {200.66, 248.46, 3430.37};
  34.217 -static float iP031[3] = {-148.42, 235.02, 3417.91};
  34.218 -static float iP032[3] = {-360.21, -30.27, 3416.84};
  34.219 -static float iP033[3] = {-357.90, -414.89, 3407.04};
  34.220 -static float iP034[3] = {-148.88, -631.35, 3409.90};
  34.221 -static float iP035[3] = {156.38, -632.59, 3419.70};
  34.222 -static float iP036[3] = {462.61, -469.21, 4431.51};
  34.223 -static float iP037[3] = {466.60, 102.25, 4434.98};
  34.224 -static float iP038[3] = {243.05, 474.34, 4562.02};
  34.225 -static float iP039[3] = {-191.23, 474.40, 4554.42};
  34.226 -static float iP040[3] = {-476.12, 111.05, 4451.11};
  34.227 -static float iP041[3] = {-473.36, -470.74, 4444.78};
  34.228 -static float iP042[3] = {-266.95, -748.41, 4447.78};
  34.229 -static float iP043[3] = {211.14, -749.91, 4429.73};
  34.230 -static float iP044[3] = {680.57, -370.27, 5943.46};
  34.231 -static float iP045[3] = {834.01, 363.09, 6360.63};
  34.232 -static float iP046[3] = {371.29, 804.51, 6486.26};
  34.233 -static float iP047[3] = {-291.43, 797.22, 6494.28};
  34.234 -static float iP048[3] = {-784.13, 370.75, 6378.01};
  34.235 -static float iP049[3] = {-743.29, -325.82, 5943.46};
  34.236 -static float iP050[3] = {-383.24, -804.77, 5943.46};
  34.237 -static float iP051[3] = {283.47, -846.09, 5943.46};
  34.238 -static float P052[3] = {599.09, -300.15, 7894.03};
  34.239 -static float P053[3] = {735.48, 306.26, 7911.92};
  34.240 -static float P054[3] = {246.22, 558.53, 8460.50};
  34.241 -static float P055[3] = {-230.41, 559.84, 8473.23};
  34.242 -static float P056[3] = {-698.66, 320.83, 7902.59};
  34.243 -static float P057[3] = {-643.29, -299.16, 7902.59};
  34.244 -static float P058[3] = {-341.47, -719.30, 7902.59};
  34.245 -static float P059[3] = {252.57, -756.12, 7902.59};
  34.246 -static float P060[3] = {458.39, -265.31, 9355.44};
  34.247 -static float P062[3] = {224.04, 338.75, 9450.30};
  34.248 -static float P063[3] = {-165.71, 341.04, 9462.35};
  34.249 -static float P064[3] = {-298.11, 110.13, 10180.37};
  34.250 -static float P065[3] = {-473.99, -219.71, 9355.44};
  34.251 -static float P066[3] = {-211.97, -479.87, 9355.44};
  34.252 -static float P067[3] = {192.86, -491.45, 9348.73};
  34.253 -static float P068[3] = {-136.29, -319.84, 1228.73};
  34.254 -static float P069[3] = {1111.17, -314.14, 1314.19};
  34.255 -static float P070[3] = {-1167.34, -321.61, 1319.45};
  34.256 -static float P071[3] = {1404.86, -306.66, 1235.45};
  34.257 -static float P072[3] = {-1409.73, -314.14, 1247.66};
  34.258 -static float P073[3] = {1254.01, -296.87, 1544.58};
  34.259 -static float P074[3] = {-1262.09, -291.70, 1504.26};
  34.260 -static float P075[3] = {965.71, -269.26, 1742.65};
  34.261 -static float P076[3] = {-900.97, -276.74, 1726.07};
  34.262 -static float iP068[3] = {-136.29, -319.84, 1228.73};
  34.263 -static float iP069[3] = {1111.17, -314.14, 1314.19};
  34.264 -static float iP070[3] = {-1167.34, -321.61, 1319.45};
  34.265 -static float iP071[3] = {1404.86, -306.66, 1235.45};
  34.266 -static float iP072[3] = {-1409.73, -314.14, 1247.66};
  34.267 -static float iP073[3] = {1254.01, -296.87, 1544.58};
  34.268 -static float iP074[3] = {-1262.09, -291.70, 1504.26};
  34.269 -static float iP075[3] = {965.71, -269.26, 1742.65};
  34.270 -static float iP076[3] = {-900.97, -276.74, 1726.07};
  34.271 -static float P077[3] = {1058.00, -448.81, 8194.66};
  34.272 -static float P078[3] = {-1016.51, -456.43, 8190.62};
  34.273 -static float P079[3] = {-1515.96, -676.45, 7754.93};
  34.274 -static float P080[3] = {1856.75, -830.34, 7296.56};
  34.275 -static float P081[3] = {1472.16, -497.38, 7399.68};
  34.276 -static float P082[3] = {-1775.26, -829.51, 7298.46};
  34.277 -static float P083[3] = {911.09, -252.51, 7510.99};
  34.278 -static float P084[3] = {-1451.94, -495.62, 7384.30};
  34.279 -static float P085[3] = {1598.75, -669.26, 7769.90};
  34.280 -static float P086[3] = {-836.53, -250.08, 7463.25};
  34.281 -static float P087[3] = {722.87, -158.18, 8006.41};
  34.282 -static float P088[3] = {-688.86, -162.28, 7993.89};
  34.283 -static float P089[3] = {-626.92, -185.30, 8364.98};
  34.284 -static float P090[3] = {647.72, -189.46, 8354.99};
  34.285 -static float P091[3] = {0.00, 835.01, 5555.62};
  34.286 -static float P092[3] = {0.00, 1350.18, 5220.86};
  34.287 -static float P093[3] = {0.00, 1422.94, 5285.27};
  34.288 -static float P094[3] = {0.00, 1296.75, 5650.19};
  34.289 -static float P095[3] = {0.00, 795.63, 6493.88};
  34.290 -static float iP091[3] = {0.00, 835.01, 5555.62};
  34.291 -static float iP092[3] = {0.00, 1350.18, 5220.86};
  34.292 -static float iP093[3] = {0.00, 1422.94, 5285.27};
  34.293 -static float iP094[3] = {0.00, 1296.75, 5650.19};
  34.294 -static float iP095[3] = {0.00, 795.63, 6493.88};
  34.295 -static float P097[3] = {-194.91, -357.14, 10313.32};
  34.296 -static float P098[3] = {135.35, -357.66, 10307.94};
  34.297 -static float iP097[3] = {-194.91, -357.14, 10313.32};
  34.298 -static float iP098[3] = {135.35, -357.66, 10307.94};
  34.299 -static float P099[3] = {-380.53, -221.14, 9677.98};
  34.300 -static float P100[3] = {0.00, 412.99, 9629.33};
  34.301 -static float P102[3] = {59.51, -412.55, 10677.58};
  34.302 -static float iP102[3] = {59.51, -412.55, 10677.58};
  34.303 -static float P103[3] = {6.50, 484.74, 9009.94};
  34.304 -static float P105[3] = {-41.86, 476.51, 9078.17};
  34.305 -static float P108[3] = {49.20, 476.83, 9078.24};
  34.306 -static float P110[3] = {-187.62, -410.04, 10674.12};
  34.307 -static float iP110[3] = {-187.62, -410.04, 10674.12};
  34.308 -static float P111[3] = {-184.25, -318.70, 10723.88};
  34.309 -static float iP111[3] = {-184.25, -318.70, 10723.88};
  34.310 -static float P112[3] = {-179.61, -142.81, 10670.26};
  34.311 -static float P113[3] = {57.43, -147.94, 10675.26};
  34.312 -static float P114[3] = {54.06, -218.90, 10712.44};
  34.313 -static float P115[3] = {-186.35, -212.09, 10713.76};
  34.314 -static float P116[3] = {205.90, -84.61, 10275.97};
  34.315 -static float P117[3] = {-230.96, -83.26, 10280.09};
  34.316 -static float iP118[3] = {216.78, -509.17, 10098.94};
  34.317 -static float iP119[3] = {-313.21, -510.79, 10102.62};
  34.318 -static float P118[3] = {216.78, -509.17, 10098.94};
  34.319 -static float P119[3] = {-313.21, -510.79, 10102.62};
  34.320 -static float P120[3] = {217.95, 96.34, 10161.62};
  34.321 -static float P121[3] = {71.99, -319.74, 10717.70};
  34.322 -static float iP121[3] = {71.99, -319.74, 10717.70};
  34.323 -static float P122[3] = {0.00, 602.74, 5375.84};
  34.324 -static float iP122[3] = {0.00, 602.74, 5375.84};
  34.325 -static float P123[3] = {-448.94, -203.14, 9499.60};
  34.326 -static float P124[3] = {-442.64, -185.20, 9528.07};
  34.327 -static float P125[3] = {-441.07, -148.05, 9528.07};
  34.328 -static float P126[3] = {-443.43, -128.84, 9499.60};
  34.329 -static float P127[3] = {-456.87, -146.78, 9466.67};
  34.330 -static float P128[3] = {-453.68, -183.93, 9466.67};
  34.331 -static float P129[3] = {428.43, -124.08, 9503.03};
  34.332 -static float P130[3] = {419.73, -142.14, 9534.56};
  34.333 -static float P131[3] = {419.92, -179.96, 9534.56};
  34.334 -static float P132[3] = {431.20, -199.73, 9505.26};
  34.335 -static float P133[3] = {442.28, -181.67, 9475.96};
  34.336 -static float P134[3] = {442.08, -143.84, 9475.96};
  34.337 -/* *INDENT-ON* */
  34.338 -
  34.339 -void
  34.340 -Dolphin001(void)
  34.341 -{
  34.342 -    glNormal3fv(N071);
  34.343 -    glBegin(GL_POLYGON);
  34.344 -    glVertex3fv(P001);
  34.345 -    glVertex3fv(P068);
  34.346 -    glVertex3fv(P010);
  34.347 -    glEnd();
  34.348 -    glBegin(GL_POLYGON);
  34.349 -    glVertex3fv(P068);
  34.350 -    glVertex3fv(P076);
  34.351 -    glVertex3fv(P010);
  34.352 -    glEnd();
  34.353 -    glBegin(GL_POLYGON);
  34.354 -    glVertex3fv(P068);
  34.355 -    glVertex3fv(P070);
  34.356 -    glVertex3fv(P076);
  34.357 -    glEnd();
  34.358 -    glBegin(GL_POLYGON);
  34.359 -    glVertex3fv(P076);
  34.360 -    glVertex3fv(P070);
  34.361 -    glVertex3fv(P074);
  34.362 -    glEnd();
  34.363 -    glBegin(GL_POLYGON);
  34.364 -    glVertex3fv(P070);
  34.365 -    glVertex3fv(P072);
  34.366 -    glVertex3fv(P074);
  34.367 -    glEnd();
  34.368 -    glNormal3fv(N119);
  34.369 -    glBegin(GL_POLYGON);
  34.370 -    glVertex3fv(P072);
  34.371 -    glVertex3fv(P070);
  34.372 -    glVertex3fv(P074);
  34.373 -    glEnd();
  34.374 -    glBegin(GL_POLYGON);
  34.375 -    glVertex3fv(P074);
  34.376 -    glVertex3fv(P070);
  34.377 -    glVertex3fv(P076);
  34.378 -    glEnd();
  34.379 -    glBegin(GL_POLYGON);
  34.380 -    glVertex3fv(P070);
  34.381 -    glVertex3fv(P068);
  34.382 -    glVertex3fv(P076);
  34.383 -    glEnd();
  34.384 -    glBegin(GL_POLYGON);
  34.385 -    glVertex3fv(P076);
  34.386 -    glVertex3fv(P068);
  34.387 -    glVertex3fv(P010);
  34.388 -    glEnd();
  34.389 -    glBegin(GL_POLYGON);
  34.390 -    glVertex3fv(P068);
  34.391 -    glVertex3fv(P001);
  34.392 -    glVertex3fv(P010);
  34.393 -    glEnd();
  34.394 -}
  34.395 -
  34.396 -void
  34.397 -Dolphin002(void)
  34.398 -{
  34.399 -    glNormal3fv(N071);
  34.400 -    glBegin(GL_POLYGON);
  34.401 -    glVertex3fv(P011);
  34.402 -    glVertex3fv(P001);
  34.403 -    glVertex3fv(P009);
  34.404 -    glEnd();
  34.405 -    glBegin(GL_POLYGON);
  34.406 -    glVertex3fv(P075);
  34.407 -    glVertex3fv(P011);
  34.408 -    glVertex3fv(P009);
  34.409 -    glEnd();
  34.410 -    glBegin(GL_POLYGON);
  34.411 -    glVertex3fv(P069);
  34.412 -    glVertex3fv(P011);
  34.413 -    glVertex3fv(P075);
  34.414 -    glEnd();
  34.415 -    glBegin(GL_POLYGON);
  34.416 -    glVertex3fv(P069);
  34.417 -    glVertex3fv(P075);
  34.418 -    glVertex3fv(P073);
  34.419 -    glEnd();
  34.420 -    glBegin(GL_POLYGON);
  34.421 -    glVertex3fv(P071);
  34.422 -    glVertex3fv(P069);
  34.423 -    glVertex3fv(P073);
  34.424 -    glEnd();
  34.425 -    glNormal3fv(N119);
  34.426 -    glBegin(GL_POLYGON);
  34.427 -    glVertex3fv(P001);
  34.428 -    glVertex3fv(P011);
  34.429 -    glVertex3fv(P009);
  34.430 -    glEnd();
  34.431 -    glBegin(GL_POLYGON);
  34.432 -    glVertex3fv(P009);
  34.433 -    glVertex3fv(P011);
  34.434 -    glVertex3fv(P075);
  34.435 -    glEnd();
  34.436 -    glBegin(GL_POLYGON);
  34.437 -    glVertex3fv(P011);
  34.438 -    glVertex3fv(P069);
  34.439 -    glVertex3fv(P075);
  34.440 -    glEnd();
  34.441 -    glBegin(GL_POLYGON);
  34.442 -    glVertex3fv(P069);
  34.443 -    glVertex3fv(P073);
  34.444 -    glVertex3fv(P075);
  34.445 -    glEnd();
  34.446 -    glBegin(GL_POLYGON);
  34.447 -    glVertex3fv(P069);
  34.448 -    glVertex3fv(P071);
  34.449 -    glVertex3fv(P073);
  34.450 -    glEnd();
  34.451 -}
  34.452 -
  34.453 -void
  34.454 -Dolphin003(void)
  34.455 -{
  34.456 -    glBegin(GL_POLYGON);
  34.457 -    glNormal3fv(N018);
  34.458 -    glVertex3fv(P018);
  34.459 -    glNormal3fv(N001);
  34.460 -    glVertex3fv(P001);
  34.461 -    glNormal3fv(N019);
  34.462 -    glVertex3fv(P019);
  34.463 -    glEnd();
  34.464 -    glBegin(GL_POLYGON);
  34.465 -    glNormal3fv(N019);
  34.466 -    glVertex3fv(P019);
  34.467 -    glNormal3fv(N001);
  34.468 -    glVertex3fv(P001);
  34.469 -    glNormal3fv(N012);
  34.470 -    glVertex3fv(P012);
  34.471 -    glEnd();
  34.472 -    glBegin(GL_POLYGON);
  34.473 -    glNormal3fv(N017);
  34.474 -    glVertex3fv(P017);
  34.475 -    glNormal3fv(N001);
  34.476 -    glVertex3fv(P001);
  34.477 -    glNormal3fv(N018);
  34.478 -    glVertex3fv(P018);
  34.479 -    glEnd();
  34.480 -    glBegin(GL_POLYGON);
  34.481 -    glNormal3fv(N001);
  34.482 -    glVertex3fv(P001);
  34.483 -    glNormal3fv(N017);
  34.484 -    glVertex3fv(P017);
  34.485 -    glNormal3fv(N016);
  34.486 -    glVertex3fv(P016);
  34.487 -    glEnd();
  34.488 -    glBegin(GL_POLYGON);
  34.489 -    glNormal3fv(N001);
  34.490 -    glVertex3fv(P001);
  34.491 -    glNormal3fv(N013);
  34.492 -    glVertex3fv(P013);
  34.493 -    glNormal3fv(N012);
  34.494 -    glVertex3fv(P012);
  34.495 -    glEnd();
  34.496 -    glBegin(GL_POLYGON);
  34.497 -    glNormal3fv(N001);
  34.498 -    glVertex3fv(P001);
  34.499 -    glNormal3fv(N016);
  34.500 -    glVertex3fv(P016);
  34.501 -    glNormal3fv(N015);
  34.502 -    glVertex3fv(P015);
  34.503 -    glEnd();
  34.504 -    glBegin(GL_POLYGON);
  34.505 -    glNormal3fv(N001);
  34.506 -    glVertex3fv(P001);
  34.507 -    glNormal3fv(N014);
  34.508 -    glVertex3fv(P014);
  34.509 -    glNormal3fv(N013);
  34.510 -    glVertex3fv(P013);
  34.511 -    glEnd();
  34.512 -    glBegin(GL_POLYGON);
  34.513 -    glNormal3fv(N001);
  34.514 -    glVertex3fv(P001);
  34.515 -    glNormal3fv(N015);
  34.516 -    glVertex3fv(P015);
  34.517 -    glNormal3fv(N014);
  34.518 -    glVertex3fv(P014);
  34.519 -    glEnd();
  34.520 -}
  34.521 -
  34.522 -void
  34.523 -Dolphin004(void)
  34.524 -{
  34.525 -    glBegin(GL_POLYGON);
  34.526 -    glNormal3fv(N014);
  34.527 -    glVertex3fv(P014);
  34.528 -    glNormal3fv(N015);
  34.529 -    glVertex3fv(P015);
  34.530 -    glNormal3fv(N023);
  34.531 -    glVertex3fv(P023);
  34.532 -    glNormal3fv(N022);
  34.533 -    glVertex3fv(P022);
  34.534 -    glEnd();
  34.535 -    glBegin(GL_POLYGON);
  34.536 -    glNormal3fv(N015);
  34.537 -    glVertex3fv(P015);
  34.538 -    glNormal3fv(N016);
  34.539 -    glVertex3fv(P016);
  34.540 -    glNormal3fv(N024);
  34.541 -    glVertex3fv(P024);
  34.542 -    glNormal3fv(N023);
  34.543 -    glVertex3fv(P023);
  34.544 -    glEnd();
  34.545 -    glBegin(GL_POLYGON);
  34.546 -    glNormal3fv(N016);
  34.547 -    glVertex3fv(P016);
  34.548 -    glNormal3fv(N017);
  34.549 -    glVertex3fv(P017);
  34.550 -    glNormal3fv(N025);
  34.551 -    glVertex3fv(P025);
  34.552 -    glNormal3fv(N024);
  34.553 -    glVertex3fv(P024);
  34.554 -    glEnd();
  34.555 -    glBegin(GL_POLYGON);
  34.556 -    glNormal3fv(N017);
  34.557 -    glVertex3fv(P017);
  34.558 -    glNormal3fv(N018);
  34.559 -    glVertex3fv(P018);
  34.560 -    glNormal3fv(N026);
  34.561 -    glVertex3fv(P026);
  34.562 -    glNormal3fv(N025);
  34.563 -    glVertex3fv(P025);
  34.564 -    glEnd();
  34.565 -    glBegin(GL_POLYGON);
  34.566 -    glNormal3fv(N013);
  34.567 -    glVertex3fv(P013);
  34.568 -    glNormal3fv(N014);
  34.569 -    glVertex3fv(P014);
  34.570 -    glNormal3fv(N022);
  34.571 -    glVertex3fv(P022);
  34.572 -    glNormal3fv(N021);
  34.573 -    glVertex3fv(P021);
  34.574 -    glEnd();
  34.575 -    glBegin(GL_POLYGON);
  34.576 -    glNormal3fv(N012);
  34.577 -    glVertex3fv(P012);
  34.578 -    glNormal3fv(N013);
  34.579 -    glVertex3fv(P013);
  34.580 -    glNormal3fv(N021);
  34.581 -    glVertex3fv(P021);
  34.582 -    glNormal3fv(N020);
  34.583 -    glVertex3fv(P020);
  34.584 -    glEnd();
  34.585 -    glBegin(GL_POLYGON);
  34.586 -    glNormal3fv(N018);
  34.587 -    glVertex3fv(P018);
  34.588 -    glNormal3fv(N019);
  34.589 -    glVertex3fv(P019);
  34.590 -    glNormal3fv(N027);
  34.591 -    glVertex3fv(P027);
  34.592 -    glNormal3fv(N026);
  34.593 -    glVertex3fv(P026);
  34.594 -    glEnd();
  34.595 -    glBegin(GL_POLYGON);
  34.596 -    glNormal3fv(N019);
  34.597 -    glVertex3fv(P019);
  34.598 -    glNormal3fv(N012);
  34.599 -    glVertex3fv(P012);
  34.600 -    glNormal3fv(N020);
  34.601 -    glVertex3fv(P020);
  34.602 -    glNormal3fv(N027);
  34.603 -    glVertex3fv(P027);
  34.604 -    glEnd();
  34.605 -}
  34.606 -
  34.607 -void
  34.608 -Dolphin005(void)
  34.609 -{
  34.610 -    glBegin(GL_POLYGON);
  34.611 -    glNormal3fv(N022);
  34.612 -    glVertex3fv(P022);
  34.613 -    glNormal3fv(N023);
  34.614 -    glVertex3fv(P023);
  34.615 -    glNormal3fv(N031);
  34.616 -    glVertex3fv(P031);
  34.617 -    glNormal3fv(N030);
  34.618 -    glVertex3fv(P030);
  34.619 -    glEnd();
  34.620 -    glBegin(GL_POLYGON);
  34.621 -    glNormal3fv(N021);
  34.622 -    glVertex3fv(P021);
  34.623 -    glNormal3fv(N022);
  34.624 -    glVertex3fv(P022);
  34.625 -    glNormal3fv(N030);
  34.626 -    glVertex3fv(P030);
  34.627 -    glEnd();
  34.628 -    glBegin(GL_POLYGON);
  34.629 -    glNormal3fv(N021);
  34.630 -    glVertex3fv(P021);
  34.631 -    glNormal3fv(N030);
  34.632 -    glVertex3fv(P030);
  34.633 -    glNormal3fv(N029);
  34.634 -    glVertex3fv(P029);
  34.635 -    glEnd();
  34.636 -    glBegin(GL_POLYGON);
  34.637 -    glNormal3fv(N023);
  34.638 -    glVertex3fv(P023);
  34.639 -    glNormal3fv(N024);
  34.640 -    glVertex3fv(P024);
  34.641 -    glNormal3fv(N031);
  34.642 -    glVertex3fv(P031);
  34.643 -    glEnd();
  34.644 -    glBegin(GL_POLYGON);
  34.645 -    glNormal3fv(N024);
  34.646 -    glVertex3fv(P024);
  34.647 -    glNormal3fv(N032);
  34.648 -    glVertex3fv(P032);
  34.649 -    glNormal3fv(N031);
  34.650 -    glVertex3fv(P031);
  34.651 -    glEnd();
  34.652 -    glBegin(GL_POLYGON);
  34.653 -    glNormal3fv(N024);
  34.654 -    glVertex3fv(P024);
  34.655 -    glNormal3fv(N025);
  34.656 -    glVertex3fv(P025);
  34.657 -    glNormal3fv(N032);
  34.658 -    glVertex3fv(P032);
  34.659 -    glEnd();
  34.660 -    glBegin(GL_POLYGON);
  34.661 -    glNormal3fv(N025);
  34.662 -    glVertex3fv(P025);
  34.663 -    glNormal3fv(N033);
  34.664 -    glVertex3fv(P033);
  34.665 -    glNormal3fv(N032);
  34.666 -    glVertex3fv(P032);
  34.667 -    glEnd();
  34.668 -    glBegin(GL_POLYGON);
  34.669 -    glNormal3fv(N020);
  34.670 -    glVertex3fv(P020);
  34.671 -    glNormal3fv(N021);
  34.672 -    glVertex3fv(P021);
  34.673 -    glNormal3fv(N029);
  34.674 -    glVertex3fv(P029);
  34.675 -    glEnd();
  34.676 -    glBegin(GL_POLYGON);
  34.677 -    glNormal3fv(N020);
  34.678 -    glVertex3fv(P020);
  34.679 -    glNormal3fv(N029);
  34.680 -    glVertex3fv(P029);
  34.681 -    glNormal3fv(N028);
  34.682 -    glVertex3fv(P028);
  34.683 -    glEnd();
  34.684 -    glBegin(GL_POLYGON);
  34.685 -    glNormal3fv(N027);
  34.686 -    glVertex3fv(P027);
  34.687 -    glNormal3fv(N020);
  34.688 -    glVertex3fv(P020);
  34.689 -    glNormal3fv(N028);
  34.690 -    glVertex3fv(P028);
  34.691 -    glEnd();
  34.692 -    glBegin(GL_POLYGON);
  34.693 -    glNormal3fv(N027);
  34.694 -    glVertex3fv(P027);
  34.695 -    glNormal3fv(N028);
  34.696 -    glVertex3fv(P028);
  34.697 -    glNormal3fv(N035);
  34.698 -    glVertex3fv(P035);
  34.699 -    glEnd();
  34.700 -    glBegin(GL_POLYGON);
  34.701 -    glNormal3fv(N025);
  34.702 -    glVertex3fv(P025);
  34.703 -    glNormal3fv(N026);
  34.704 -    glVertex3fv(P026);
  34.705 -    glNormal3fv(N033);
  34.706 -    glVertex3fv(P033);
  34.707 -    glEnd();
  34.708 -    glBegin(GL_POLYGON);
  34.709 -    glNormal3fv(N033);
  34.710 -    glVertex3fv(P033);
  34.711 -    glNormal3fv(N026);
  34.712 -    glVertex3fv(P026);
  34.713 -    glNormal3fv(N034);
  34.714 -    glVertex3fv(P034);
  34.715 -    glEnd();
  34.716 -    glBegin(GL_POLYGON);
  34.717 -    glNormal3fv(N026);
  34.718 -    glVertex3fv(P026);
  34.719 -    glNormal3fv(N027);
  34.720 -    glVertex3fv(P027);
  34.721 -    glNormal3fv(N035);
  34.722 -    glVertex3fv(P035);
  34.723 -    glNormal3fv(N034);
  34.724 -    glVertex3fv(P034);
  34.725 -    glEnd();
  34.726 -}
  34.727 -
  34.728 -void
  34.729 -Dolphin006(void)
  34.730 -{
  34.731 -    glBegin(GL_POLYGON);
  34.732 -    glNormal3fv(N092);
  34.733 -    glVertex3fv(P092);
  34.734 -    glNormal3fv(N093);
  34.735 -    glVertex3fv(P093);
  34.736 -    glNormal3fv(N094);
  34.737 -    glVertex3fv(P094);
  34.738 -    glEnd();
  34.739 -    glBegin(GL_POLYGON);
  34.740 -    glNormal3fv(N093);
  34.741 -    glVertex3fv(P093);
  34.742 -    glNormal3fv(N092);
  34.743 -    glVertex3fv(P092);
  34.744 -    glNormal3fv(N094);
  34.745 -    glVertex3fv(P094);
  34.746 -    glEnd();
  34.747 -    glBegin(GL_POLYGON);
  34.748 -    glNormal3fv(N092);
  34.749 -    glVertex3fv(P092);
  34.750 -    glNormal3fv(N091);
  34.751 -    glVertex3fv(P091);
  34.752 -    glNormal3fv(N095);
  34.753 -    glVertex3fv(P095);
  34.754 -    glNormal3fv(N094);
  34.755 -    glVertex3fv(P094);
  34.756 -    glEnd();
  34.757 -    glBegin(GL_POLYGON);
  34.758 -    glNormal3fv(N091);
  34.759 -    glVertex3fv(P091);
  34.760 -    glNormal3fv(N092);
  34.761 -    glVertex3fv(P092);
  34.762 -    glNormal3fv(N094);
  34.763 -    glVertex3fv(P094);
  34.764 -    glNormal3fv(N095);
  34.765 -    glVertex3fv(P095);
  34.766 -    glEnd();
  34.767 -    glBegin(GL_POLYGON);
  34.768 -    glNormal3fv(N122);
  34.769 -    glVertex3fv(P122);
  34.770 -    glNormal3fv(N095);
  34.771 -    glVertex3fv(P095);
  34.772 -    glNormal3fv(N091);
  34.773 -    glVertex3fv(P091);
  34.774 -    glEnd();
  34.775 -    glBegin(GL_POLYGON);
  34.776 -    glNormal3fv(N122);
  34.777 -    glVertex3fv(P122);
  34.778 -    glNormal3fv(N091);
  34.779 -    glVertex3fv(P091);
  34.780 -    glNormal3fv(N095);
  34.781 -    glVertex3fv(P095);
  34.782 -    glEnd();
  34.783 -}
  34.784 -
  34.785 -void
  34.786 -Dolphin007(void)
  34.787 -{
  34.788 -    glBegin(GL_POLYGON);
  34.789 -    glNormal3fv(N030);
  34.790 -    glVertex3fv(P030);
  34.791 -    glNormal3fv(N031);
  34.792 -    glVertex3fv(P031);
  34.793 -    glNormal3fv(N039);
  34.794 -    glVertex3fv(P039);
  34.795 -    glNormal3fv(N038);
  34.796 -    glVertex3fv(P038);
  34.797 -    glEnd();
  34.798 -    glBegin(GL_POLYGON);
  34.799 -    glNormal3fv(N029);
  34.800 -    glVertex3fv(P029);
  34.801 -    glNormal3fv(N030);
  34.802 -    glVertex3fv(P030);
  34.803 -    glNormal3fv(N038);
  34.804 -    glVertex3fv(P038);
  34.805 -    glEnd();
  34.806 -    glBegin(GL_POLYGON);
  34.807 -    glNormal3fv(N029);
  34.808 -    glVertex3fv(P029);
  34.809 -    glNormal3fv(N038);
  34.810 -    glVertex3fv(P038);
  34.811 -    glNormal3fv(N037);
  34.812 -    glVertex3fv(P037);
  34.813 -    glEnd();
  34.814 -    glBegin(GL_POLYGON);
  34.815 -    glNormal3fv(N028);
  34.816 -    glVertex3fv(P028);
  34.817 -    glNormal3fv(N029);
  34.818 -    glVertex3fv(P029);
  34.819 -    glNormal3fv(N037);
  34.820 -    glVertex3fv(P037);
  34.821 -    glEnd();
  34.822 -    glBegin(GL_POLYGON);
  34.823 -    glNormal3fv(N028);
  34.824 -    glVertex3fv(P028);
  34.825 -    glNormal3fv(N037);
  34.826 -    glVertex3fv(P037);
  34.827 -    glNormal3fv(N036);
  34.828 -    glVertex3fv(P036);
  34.829 -    glEnd();
  34.830 -    glBegin(GL_POLYGON);
  34.831 -    glNormal3fv(N035);
  34.832 -    glVertex3fv(P035);
  34.833 -    glNormal3fv(N028);
  34.834 -    glVertex3fv(P028);
  34.835 -    glNormal3fv(N036);
  34.836 -    glVertex3fv(P036);
  34.837 -    glEnd();
  34.838 -    glBegin(GL_POLYGON);
  34.839 -    glNormal3fv(N035);
  34.840 -    glVertex3fv(P035);
  34.841 -    glNormal3fv(N036);
  34.842 -    glVertex3fv(P036);
  34.843 -    glNormal3fv(N043);
  34.844 -    glVertex3fv(P043);
  34.845 -    glEnd();
  34.846 -    glBegin(GL_POLYGON);
  34.847 -    glNormal3fv(N034);
  34.848 -    glVertex3fv(P034);
  34.849 -    glNormal3fv(N035);
  34.850 -    glVertex3fv(P035);
  34.851 -    glNormal3fv(N043);
  34.852 -    glVertex3fv(P043);
  34.853 -    glNormal3fv(N042);
  34.854 -    glVertex3fv(P042);
  34.855 -    glEnd();
  34.856 -    glBegin(GL_POLYGON);
  34.857 -    glNormal3fv(N033);
  34.858 -    glVertex3fv(P033);
  34.859 -    glNormal3fv(N034);
  34.860 -    glVertex3fv(P034);
  34.861 -    glNormal3fv(N042);
  34.862 -    glVertex3fv(P042);
  34.863 -    glEnd();
  34.864 -    glBegin(GL_POLYGON);
  34.865 -    glNormal3fv(N033);
  34.866 -    glVertex3fv(P033);
  34.867 -    glNormal3fv(N042);
  34.868 -    glVertex3fv(P042);
  34.869 -    glNormal3fv(N041);
  34.870 -    glVertex3fv(P041);
  34.871 -    glEnd();
  34.872 -    glBegin(GL_POLYGON);
  34.873 -    glNormal3fv(N031);
  34.874 -    glVertex3fv(P031);
  34.875 -    glNormal3fv(N032);
  34.876 -    glVertex3fv(P032);
  34.877 -    glNormal3fv(N039);
  34.878 -    glVertex3fv(P039);
  34.879 -    glEnd();
  34.880 -    glBegin(GL_POLYGON);
  34.881 -    glNormal3fv(N039);
  34.882 -    glVertex3fv(P039);
  34.883 -    glNormal3fv(N032);
  34.884 -    glVertex3fv(P032);
  34.885 -    glNormal3fv(N040);
  34.886 -    glVertex3fv(P040);
  34.887 -    glEnd();
  34.888 -    glBegin(GL_POLYGON);
  34.889 -    glNormal3fv(N032);
  34.890 -    glVertex3fv(P032);
  34.891 -    glNormal3fv(N033);
  34.892 -    glVertex3fv(P033);
  34.893 -    glNormal3fv(N040);
  34.894 -    glVertex3fv(P040);
  34.895 -    glEnd();
  34.896 -    glBegin(GL_POLYGON);
  34.897 -    glNormal3fv(N040);
  34.898 -    glVertex3fv(P040);
  34.899 -    glNormal3fv(N033);
  34.900 -    glVertex3fv(P033);
  34.901 -    glNormal3fv(N041);
  34.902 -    glVertex3fv(P041);
  34.903 -    glEnd();
  34.904 -}
  34.905 -
  34.906 -void
  34.907 -Dolphin008(void)
  34.908 -{
  34.909 -    glBegin(GL_POLYGON);
  34.910 -    glNormal3fv(N042);
  34.911 -    glVertex3fv(P042);
  34.912 -    glNormal3fv(N043);
  34.913 -    glVertex3fv(P043);
  34.914 -    glNormal3fv(N051);
  34.915 -    glVertex3fv(P051);
  34.916 -    glNormal3fv(N050);
  34.917 -    glVertex3fv(P050);
  34.918 -    glEnd();
  34.919 -    glBegin(GL_POLYGON);
  34.920 -    glNormal3fv(N043);
  34.921 -    glVertex3fv(P043);
  34.922 -    glNormal3fv(N036);
  34.923 -    glVertex3fv(P036);
  34.924 -    glNormal3fv(N051);
  34.925 -    glVertex3fv(P051);
  34.926 -    glEnd();
  34.927 -    glBegin(GL_POLYGON);
  34.928 -    glNormal3fv(N051);
  34.929 -    glVertex3fv(P051);
  34.930 -    glNormal3fv(N036);
  34.931 -    glVertex3fv(P036);
  34.932 -    glNormal3fv(N044);
  34.933 -    glVertex3fv(P044);
  34.934 -    glEnd();
  34.935 -    glBegin(GL_POLYGON);
  34.936 -    glNormal3fv(N041);
  34.937 -    glVertex3fv(P041);
  34.938 -    glNormal3fv(N042);
  34.939 -    glVertex3fv(P042);
  34.940 -    glNormal3fv(N050);
  34.941 -    glVertex3fv(P050);
  34.942 -    glEnd();
  34.943 -    glBegin(GL_POLYGON);
  34.944 -    glNormal3fv(N041);
  34.945 -    glVertex3fv(P041);
  34.946 -    glNormal3fv(N050);
  34.947 -    glVertex3fv(P050);
  34.948 -    glNormal3fv(N049);
  34.949 -    glVertex3fv(P049);
  34.950 -    glEnd();
  34.951 -    glBegin(GL_POLYGON);
  34.952 -    glNormal3fv(N036);
  34.953 -    glVertex3fv(P036);
  34.954 -    glNormal3fv(N037);
  34.955 -    glVertex3fv(P037);
  34.956 -    glNormal3fv(N044);
  34.957 -    glVertex3fv(P044);
  34.958 -    glEnd();
  34.959 -    glBegin(GL_POLYGON);
  34.960 -    glNormal3fv(N044);
  34.961 -    glVertex3fv(P044);
  34.962 -    glNormal3fv(N037);
  34.963 -    glVertex3fv(P037);
  34.964 -    glNormal3fv(N045);
  34.965 -    glVertex3fv(P045);
  34.966 -    glEnd();
  34.967 -    glBegin(GL_POLYGON);
  34.968 -    glNormal3fv(N040);
  34.969 -    glVertex3fv(P040);
  34.970 -    glNormal3fv(N041);
  34.971 -    glVertex3fv(P041);
  34.972 -    glNormal3fv(N049);
  34.973 -    glVertex3fv(P049);
  34.974 -    glEnd();
  34.975 -    glBegin(GL_POLYGON);
  34.976 -    glNormal3fv(N040);
  34.977 -    glVertex3fv(P040);
  34.978 -    glNormal3fv(N049);
  34.979 -    glVertex3fv(P049);
  34.980 -    glNormal3fv(N048);
  34.981 -    glVertex3fv(P048);
  34.982 -    glEnd();
  34.983 -    glBegin(GL_POLYGON);
  34.984 -    glNormal3fv(N039);
  34.985 -    glVertex3fv(P039);
  34.986 -    glNormal3fv(N040);
  34.987 -    glVertex3fv(P040);
  34.988 -    glNormal3fv(N048);
  34.989 -    glVertex3fv(P048);
  34.990 -    glEnd();
  34.991 -    glBegin(GL_POLYGON);
  34.992 -    glNormal3fv(N039);
  34.993 -    glVertex3fv(P039);
  34.994 -    glNormal3fv(N048);
  34.995 -    glVertex3fv(P048);
  34.996 -    glNormal3fv(N047);
  34.997 -    glVertex3fv(P047);
  34.998 -    glEnd();
  34.999 -    glBegin(GL_POLYGON);
 34.1000 -    glNormal3fv(N037);
 34.1001 -    glVertex3fv(P037);
 34.1002 -    glNormal3fv(N038);
 34.1003 -    glVertex3fv(P038);
 34.1004 -    glNormal3fv(N045);
 34.1005 -    glVertex3fv(P045);
 34.1006 -    glEnd();
 34.1007 -    glBegin(GL_POLYGON);
 34.1008 -    glNormal3fv(N038);
 34.1009 -    glVertex3fv(P038);
 34.1010 -    glNormal3fv(N046);
 34.1011 -    glVertex3fv(P046);
 34.1012 -    glNormal3fv(N045);
 34.1013 -    glVertex3fv(P045);
 34.1014 -    glEnd();
 34.1015 -    glBegin(GL_POLYGON);
 34.1016 -    glNormal3fv(N038);
 34.1017 -    glVertex3fv(P038);
 34.1018 -    glNormal3fv(N039);
 34.1019 -    glVertex3fv(P039);
 34.1020 -    glNormal3fv(N047);
 34.1021 -    glVertex3fv(P047);
 34.1022 -    glNormal3fv(N046);
 34.1023 -    glVertex3fv(P046);
 34.1024 -    glEnd();
 34.1025 -}
 34.1026 -
 34.1027 -void
 34.1028 -Dolphin009(void)
 34.1029 -{
 34.1030 -    glBegin(GL_POLYGON);
 34.1031 -    glNormal3fv(N050);
 34.1032 -    glVertex3fv(P050);
 34.1033 -    glNormal3fv(N051);
 34.1034 -    glVertex3fv(P051);
 34.1035 -    glNormal3fv(N059);
 34.1036 -    glVertex3fv(P059);
 34.1037 -    glNormal3fv(N058);
 34.1038 -    glVertex3fv(P058);
 34.1039 -    glEnd();
 34.1040 -    glBegin(GL_POLYGON);
 34.1041 -    glNormal3fv(N051);
 34.1042 -    glVertex3fv(P051);
 34.1043 -    glNormal3fv(N044);
 34.1044 -    glVertex3fv(P044);
 34.1045 -    glNormal3fv(N059);
 34.1046 -    glVertex3fv(P059);
 34.1047 -    glEnd();
 34.1048 -    glBegin(GL_POLYGON);
 34.1049 -    glNormal3fv(N059);
 34.1050 -    glVertex3fv(P059);
 34.1051 -    glNormal3fv(N044);
 34.1052 -    glVertex3fv(P044);
 34.1053 -    glNormal3fv(N052);
 34.1054 -    glVertex3fv(P052);
 34.1055 -    glEnd();
 34.1056 -    glBegin(GL_POLYGON);
 34.1057 -    glNormal3fv(N044);
 34.1058 -    glVertex3fv(P044);
 34.1059 -    glNormal3fv(N045);
 34.1060 -    glVertex3fv(P045);
 34.1061 -    glNormal3fv(N053);
 34.1062 -    glVertex3fv(P053);
 34.1063 -    glEnd();
 34.1064 -    glBegin(GL_POLYGON);
 34.1065 -    glNormal3fv(N044);
 34.1066 -    glVertex3fv(P044);
 34.1067 -    glNormal3fv(N053);
 34.1068 -    glVertex3fv(P053);
 34.1069 -    glNormal3fv(N052);
 34.1070 -    glVertex3fv(P052);
 34.1071 -    glEnd();
 34.1072 -    glBegin(GL_POLYGON);
 34.1073 -    glNormal3fv(N049);
 34.1074 -    glVertex3fv(P049);
 34.1075 -    glNormal3fv(N050);
 34.1076 -    glVertex3fv(P050);
 34.1077 -    glNormal3fv(N058);
 34.1078 -    glVertex3fv(P058);
 34.1079 -    glEnd();
 34.1080 -    glBegin(GL_POLYGON);
 34.1081 -    glNormal3fv(N049);
 34.1082 -    glVertex3fv(P049);
 34.1083 -    glNormal3fv(N058);
 34.1084 -    glVertex3fv(P058);
 34.1085 -    glNormal3fv(N057);
 34.1086 -    glVertex3fv(P057);
 34.1087 -    glEnd();
 34.1088 -    glBegin(GL_POLYGON);
 34.1089 -    glNormal3fv(N048);
 34.1090 -    glVertex3fv(P048);
 34.1091 -    glNormal3fv(N049);
 34.1092 -    glVertex3fv(P049);
 34.1093 -    glNormal3fv(N057);
 34.1094 -    glVertex3fv(P057);
 34.1095 -    glEnd();
 34.1096 -    glBegin(GL_POLYGON);
 34.1097 -    glNormal3fv(N048);
 34.1098 -    glVertex3fv(P048);
 34.1099 -    glNormal3fv(N057);
 34.1100 -    glVertex3fv(P057);
 34.1101 -    glNormal3fv(N056);
 34.1102 -    glVertex3fv(P056);
 34.1103 -    glEnd();
 34.1104 -    glBegin(GL_POLYGON);
 34.1105 -    glNormal3fv(N047);
 34.1106 -    glVertex3fv(P047);
 34.1107 -    glNormal3fv(N048);
 34.1108 -    glVertex3fv(P048);
 34.1109 -    glNormal3fv(N056);
 34.1110 -    glVertex3fv(P056);
 34.1111 -    glEnd();
 34.1112 -    glBegin(GL_POLYGON);
 34.1113 -    glNormal3fv(N047);
 34.1114 -    glVertex3fv(P047);
 34.1115 -    glNormal3fv(N056);
 34.1116 -    glVertex3fv(P056);
 34.1117 -    glNormal3fv(N055);
 34.1118 -    glVertex3fv(P055);
 34.1119 -    glEnd();
 34.1120 -    glBegin(GL_POLYGON);
 34.1121 -    glNormal3fv(N045);
 34.1122 -    glVertex3fv(P045);
 34.1123 -    glNormal3fv(N046);
 34.1124 -    glVertex3fv(P046);
 34.1125 -    glNormal3fv(N053);
 34.1126 -    glVertex3fv(P053);
 34.1127 -    glEnd();
 34.1128 -    glBegin(GL_POLYGON);
 34.1129 -    glNormal3fv(N046);
 34.1130 -    glVertex3fv(P046);
 34.1131 -    glNormal3fv(N054);
 34.1132 -    glVertex3fv(P054);
 34.1133 -    glNormal3fv(N053);
 34.1134 -    glVertex3fv(P053);
 34.1135 -    glEnd();
 34.1136 -    glBegin(GL_POLYGON);
 34.1137 -    glNormal3fv(N046);
 34.1138 -    glVertex3fv(P046);
 34.1139 -    glNormal3fv(N047);
 34.1140 -    glVertex3fv(P047);
 34.1141 -    glNormal3fv(N055);
 34.1142 -    glVertex3fv(P055);
 34.1143 -    glNormal3fv(N054);
 34.1144 -    glVertex3fv(P054);
 34.1145 -    glEnd();
 34.1146 -}
 34.1147 -
 34.1148 -void
 34.1149 -Dolphin010(void)
 34.1150 -{
 34.1151 -    glBegin(GL_POLYGON);
 34.1152 -    glNormal3fv(N080);
 34.1153 -    glVertex3fv(P080);
 34.1154 -    glNormal3fv(N081);
 34.1155 -    glVertex3fv(P081);
 34.1156 -    glNormal3fv(N085);
 34.1157 -    glVertex3fv(P085);
 34.1158 -    glEnd();
 34.1159 -    glBegin(GL_POLYGON);
 34.1160 -    glNormal3fv(N081);
 34.1161 -    glVertex3fv(P081);
 34.1162 -    glNormal3fv(N083);
 34.1163 -    glVertex3fv(P083);
 34.1164 -    glNormal3fv(N085);
 34.1165 -    glVertex3fv(P085);
 34.1166 -    glEnd();
 34.1167 -    glBegin(GL_POLYGON);
 34.1168 -    glNormal3fv(N085);
 34.1169 -    glVertex3fv(P085);
 34.1170 -    glNormal3fv(N083);
 34.1171 -    glVertex3fv(P083);
 34.1172 -    glNormal3fv(N077);
 34.1173 -    glVertex3fv(P077);
 34.1174 -    glEnd();
 34.1175 -    glBegin(GL_POLYGON);
 34.1176 -    glNormal3fv(N083);
 34.1177 -    glVertex3fv(P083);
 34.1178 -    glNormal3fv(N087);
 34.1179 -    glVertex3fv(P087);
 34.1180 -    glNormal3fv(N077);
 34.1181 -    glVertex3fv(P077);
 34.1182 -    glEnd();
 34.1183 -    glBegin(GL_POLYGON);
 34.1184 -    glNormal3fv(N077);
 34.1185 -    glVertex3fv(P077);
 34.1186 -    glNormal3fv(N087);
 34.1187 -    glVertex3fv(P087);
 34.1188 -    glNormal3fv(N090);
 34.1189 -    glVertex3fv(P090);
 34.1190 -    glEnd();
 34.1191 -    glBegin(GL_POLYGON);
 34.1192 -    glNormal3fv(N081);
 34.1193 -    glVertex3fv(P081);
 34.1194 -    glNormal3fv(N080);
 34.1195 -    glVertex3fv(P080);
 34.1196 -    glNormal3fv(N085);
 34.1197 -    glVertex3fv(P085);
 34.1198 -    glEnd();
 34.1199 -    glBegin(GL_POLYGON);
 34.1200 -    glNormal3fv(N083);
 34.1201 -    glVertex3fv(P083);
 34.1202 -    glNormal3fv(N081);
 34.1203 -    glVertex3fv(P081);
 34.1204 -    glNormal3fv(N085);
 34.1205 -    glVertex3fv(P085);
 34.1206 -    glEnd();
 34.1207 -    glBegin(GL_POLYGON);
 34.1208 -    glNormal3fv(N083);
 34.1209 -    glVertex3fv(P083);
 34.1210 -    glNormal3fv(N085);
 34.1211 -    glVertex3fv(P085);
 34.1212 -    glNormal3fv(N077);
 34.1213 -    glVertex3fv(P077);
 34.1214 -    glEnd();
 34.1215 -    glBegin(GL_POLYGON);
 34.1216 -    glNormal3fv(N087);
 34.1217 -    glVertex3fv(P087);
 34.1218 -    glNormal3fv(N083);
 34.1219 -    glVertex3fv(P083);
 34.1220 -    glNormal3fv(N077);
 34.1221 -    glVertex3fv(P077);
 34.1222 -    glEnd();
 34.1223 -    glBegin(GL_POLYGON);
 34.1224 -    glNormal3fv(N087);
 34.1225 -    glVertex3fv(P087);
 34.1226 -    glNormal3fv(N077);
 34.1227 -    glVertex3fv(P077);
 34.1228 -    glNormal3fv(N090);
 34.1229 -    glVertex3fv(P090);
 34.1230 -    glEnd();
 34.1231 -}
 34.1232 -
 34.1233 -void
 34.1234 -Dolphin011(void)
 34.1235 -{
 34.1236 -    glBegin(GL_POLYGON);
 34.1237 -    glNormal3fv(N082);
 34.1238 -    glVertex3fv(P082);
 34.1239 -    glNormal3fv(N084);
 34.1240 -    glVertex3fv(P084);
 34.1241 -    glNormal3fv(N079);
 34.1242 -    glVertex3fv(P079);
 34.1243 -    glEnd();
 34.1244 -    glBegin(GL_POLYGON);
 34.1245 -    glNormal3fv(N084);
 34.1246 -    glVertex3fv(P084);
 34.1247 -    glNormal3fv(N086);
 34.1248 -    glVertex3fv(P086);
 34.1249 -    glNormal3fv(N079);
 34.1250 -    glVertex3fv(P079);
 34.1251 -    glEnd();
 34.1252 -    glBegin(GL_POLYGON);
 34.1253 -    glNormal3fv(N079);
 34.1254 -    glVertex3fv(P079);
 34.1255 -    glNormal3fv(N086);
 34.1256 -    glVertex3fv(P086);
 34.1257 -    glNormal3fv(N078);
 34.1258 -    glVertex3fv(P078);
 34.1259 -    glEnd();
 34.1260 -    glBegin(GL_POLYGON);
 34.1261 -    glNormal3fv(N086);
 34.1262 -    glVertex3fv(P086);
 34.1263 -    glNormal3fv(N088);
 34.1264 -    glVertex3fv(P088);
 34.1265 -    glNormal3fv(N078);
 34.1266 -    glVertex3fv(P078);
 34.1267 -    glEnd();
 34.1268 -    glBegin(GL_POLYGON);
 34.1269 -    glNormal3fv(N078);
 34.1270 -    glVertex3fv(P078);
 34.1271 -    glNormal3fv(N088);
 34.1272 -    glVertex3fv(P088);
 34.1273 -    glNormal3fv(N089);
 34.1274 -    glVertex3fv(P089);
 34.1275 -    glEnd();
 34.1276 -    glBegin(GL_POLYGON);
 34.1277 -    glNormal3fv(N088);
 34.1278 -    glVertex3fv(P088);
 34.1279 -    glNormal3fv(N086);
 34.1280 -    glVertex3fv(P086);
 34.1281 -    glNormal3fv(N089);
 34.1282 -    glVertex3fv(P089);
 34.1283 -    glEnd();
 34.1284 -    glBegin(GL_POLYGON);
 34.1285 -    glNormal3fv(N089);
 34.1286 -    glVertex3fv(P089);
 34.1287 -    glNormal3fv(N086);
 34.1288 -    glVertex3fv(P086);
 34.1289 -    glNormal3fv(N078);
 34.1290 -    glVertex3fv(P078);
 34.1291 -    glEnd();
 34.1292 -    glBegin(GL_POLYGON);
 34.1293 -    glNormal3fv(N086);
 34.1294 -    glVertex3fv(P086);
 34.1295 -    glNormal3fv(N084);
 34.1296 -    glVertex3fv(P084);
 34.1297 -    glNormal3fv(N078);
 34.1298 -    glVertex3fv(P078);
 34.1299 -    glEnd();
 34.1300 -    glBegin(GL_POLYGON);
 34.1301 -    glNormal3fv(N078);
 34.1302 -    glVertex3fv(P078);
 34.1303 -    glNormal3fv(N084);
 34.1304 -    glVertex3fv(P084);
 34.1305 -    glNormal3fv(N079);
 34.1306 -    glVertex3fv(P079);
 34.1307 -    glEnd();
 34.1308 -    glBegin(GL_POLYGON);
 34.1309 -    glNormal3fv(N084);
 34.1310 -    glVertex3fv(P084);
 34.1311 -    glNormal3fv(N082);
 34.1312 -    glVertex3fv(P082);
 34.1313 -    glNormal3fv(N079);
 34.1314 -    glVertex3fv(P079);
 34.1315 -    glEnd();
 34.1316 -}
 34.1317 -
 34.1318 -void
 34.1319 -Dolphin012(void)
 34.1320 -{
 34.1321 -    glBegin(GL_POLYGON);
 34.1322 -    glNormal3fv(N058);
 34.1323 -    glVertex3fv(P058);
 34.1324 -    glNormal3fv(N059);
 34.1325 -    glVertex3fv(P059);
 34.1326 -    glNormal3fv(N067);
 34.1327 -    glVertex3fv(P067);
 34.1328 -    glNormal3fv(N066);
 34.1329 -    glVertex3fv(P066);
 34.1330 -    glEnd();
 34.1331 -    glBegin(GL_POLYGON);
 34.1332 -    glNormal3fv(N059);
 34.1333 -    glVertex3fv(P059);
 34.1334 -    glNormal3fv(N052);
 34.1335 -    glVertex3fv(P052);
 34.1336 -    glNormal3fv(N060);
 34.1337 -    glVertex3fv(P060);
 34.1338 -    glEnd();
 34.1339 -    glBegin(GL_POLYGON);
 34.1340 -    glNormal3fv(N059);
 34.1341 -    glVertex3fv(P059);
 34.1342 -    glNormal3fv(N060);
 34.1343 -    glVertex3fv(P060);
 34.1344 -    glNormal3fv(N067);
 34.1345 -    glVertex3fv(P067);
 34.1346 -    glEnd();
 34.1347 -    glBegin(GL_POLYGON);
 34.1348 -    glNormal3fv(N058);
 34.1349 -    glVertex3fv(P058);
 34.1350 -    glNormal3fv(N066);
 34.1351 -    glVertex3fv(P066);
 34.1352 -    glNormal3fv(N065);
 34.1353 -    glVertex3fv(P065);
 34.1354 -    glEnd();
 34.1355 -    glBegin(GL_POLYGON);
 34.1356 -    glNormal3fv(N058);
 34.1357 -    glVertex3fv(P058);
 34.1358 -    glNormal3fv(N065);
 34.1359 -    glVertex3fv(P065);
 34.1360 -    glNormal3fv(N057);
 34.1361 -    glVertex3fv(P057);
 34.1362 -    glEnd();
 34.1363 -    glBegin(GL_POLYGON);
 34.1364 -    glNormal3fv(N056);
 34.1365 -    glVertex3fv(P056);
 34.1366 -    glNormal3fv(N057);
 34.1367 -    glVertex3fv(P057);
 34.1368 -    glNormal3fv(N065);
 34.1369 -    glVertex3fv(P065);
 34.1370 -    glEnd();
 34.1371 -    glBegin(GL_POLYGON);
 34.1372 -    glNormal3fv(N056);
 34.1373 -    glVertex3fv(P056);
 34.1374 -    glNormal3fv(N065);
 34.1375 -    glVertex3fv(P065);
 34.1376 -    glNormal3fv(N006);
 34.1377 -    glVertex3fv(P006);
 34.1378 -    glEnd();
 34.1379 -    glBegin(GL_POLYGON);
 34.1380 -    glNormal3fv(N056);
 34.1381 -    glVertex3fv(P056);
 34.1382 -    glNormal3fv(N006);
 34.1383 -    glVertex3fv(P006);
 34.1384 -    glNormal3fv(N063);
 34.1385 -    glVertex3fv(P063);
 34.1386 -    glEnd();
 34.1387 -    glBegin(GL_POLYGON);
 34.1388 -    glNormal3fv(N056);
 34.1389 -    glVertex3fv(P056);
 34.1390 -    glNormal3fv(N063);
 34.1391 -    glVertex3fv(P063);
 34.1392 -    glNormal3fv(N055);
 34.1393 -    glVertex3fv(P055);
 34.1394 -    glEnd();
 34.1395 -    glBegin(GL_POLYGON);
 34.1396 -    glNormal3fv(N054);
 34.1397 -    glVertex3fv(P054);
 34.1398 -    glNormal3fv(N062);
 34.1399 -    glVertex3fv(P062);
 34.1400 -    glNormal3fv(N005);
 34.1401 -    glVertex3fv(P005);
 34.1402 -    glEnd();
 34.1403 -    glBegin(GL_POLYGON);
 34.1404 -    glNormal3fv(N054);
 34.1405 -    glVertex3fv(P054);
 34.1406 -    glNormal3fv(N005);
 34.1407 -    glVertex3fv(P005);
 34.1408 -    glNormal3fv(N053);
 34.1409 -    glVertex3fv(P053);
 34.1410 -    glEnd();
 34.1411 -    glBegin(GL_POLYGON);
 34.1412 -    glNormal3fv(N052);
 34.1413 -    glVertex3fv(P052);
 34.1414 -    glNormal3fv(N053);
 34.1415 -    glVertex3fv(P053);
 34.1416 -    glNormal3fv(N005);
 34.1417 -    glVertex3fv(P005);
 34.1418 -    glNormal3fv(N060);
 34.1419 -    glVertex3fv(P060);
 34.1420 -    glEnd();
 34.1421 -}
 34.1422 -
 34.1423 -void
 34.1424 -Dolphin013(void)
 34.1425 -{
 34.1426 -    glBegin(GL_POLYGON);
 34.1427 -    glNormal3fv(N116);
 34.1428 -    glVertex3fv(P116);
 34.1429 -    glNormal3fv(N117);
 34.1430 -    glVertex3fv(P117);
 34.1431 -    glNormal3fv(N112);
 34.1432 -    glVertex3fv(P112);
 34.1433 -    glNormal3fv(N113);
 34.1434 -    glVertex3fv(P113);
 34.1435 -    glEnd();
 34.1436 -    glBegin(GL_POLYGON);
 34.1437 -    glNormal3fv(N114);
 34.1438 -    glVertex3fv(P114);
 34.1439 -    glNormal3fv(N113);
 34.1440 -    glVertex3fv(P113);
 34.1441 -    glNormal3fv(N112);
 34.1442 -    glVertex3fv(P112);
 34.1443 -    glNormal3fv(N115);
 34.1444 -    glVertex3fv(P115);
 34.1445 -    glEnd();
 34.1446 -    glBegin(GL_POLYGON);
 34.1447 -    glNormal3fv(N114);
 34.1448 -    glVertex3fv(P114);
 34.1449 -    glNormal3fv(N116);
 34.1450 -    glVertex3fv(P116);
 34.1451 -    glNormal3fv(N113);
 34.1452 -    glVertex3fv(P113);
 34.1453 -    glEnd();
 34.1454 -    glBegin(GL_POLYGON);
 34.1455 -    glNormal3fv(N114);
 34.1456 -    glVertex3fv(P114);
 34.1457 -    glNormal3fv(N007);
 34.1458 -    glVertex3fv(P007);
 34.1459 -    glNormal3fv(N116);
 34.1460 -    glVertex3fv(P116);
 34.1461 -    glEnd();
 34.1462 -    glBegin(GL_POLYGON);
 34.1463 -    glNormal3fv(N007);
 34.1464 -    glVertex3fv(P007);
 34.1465 -    glNormal3fv(N002);
 34.1466 -    glVertex3fv(P002);
 34.1467 -    glNormal3fv(N116);
 34.1468 -    glVertex3fv(P116);
 34.1469 -    glEnd();
 34.1470 -    glBegin(GL_POLYGON);
 34.1471 -    glVertex3fv(P002);
 34.1472 -    glVertex3fv(P007);
 34.1473 -    glVertex3fv(P008);
 34.1474 -    glVertex3fv(P099);
 34.1475 -    glEnd();
 34.1476 -    glBegin(GL_POLYGON);
 34.1477 -    glVertex3fv(P007);
 34.1478 -    glVertex3fv(P114);
 34.1479 -    glVertex3fv(P115);
 34.1480 -    glVertex3fv(P008);
 34.1481 -    glEnd();
 34.1482 -    glBegin(GL_POLYGON);
 34.1483 -    glNormal3fv(N117);
 34.1484 -    glVertex3fv(P117);
 34.1485 -    glNormal3fv(N099);
 34.1486 -    glVertex3fv(P099);
 34.1487 -    glNormal3fv(N008);
 34.1488 -    glVertex3fv(P008);
 34.1489 -    glEnd();
 34.1490 -    glBegin(GL_POLYGON);
 34.1491 -    glNormal3fv(N117);
 34.1492 -    glVertex3fv(P117);
 34.1493 -    glNormal3fv(N008);
 34.1494 -    glVertex3fv(P008);
 34.1495 -    glNormal3fv(N112);
 34.1496 -    glVertex3fv(P112);
 34.1497 -    glEnd();
 34.1498 -    glBegin(GL_POLYGON);
 34.1499 -    glNormal3fv(N112);
 34.1500 -    glVertex3fv(P112);
 34.1501 -    glNormal3fv(N008);
 34.1502 -    glVertex3fv(P008);
 34.1503 -    glNormal3fv(N115);
 34.1504 -    glVertex3fv(P115);
 34.1505 -    glEnd();
 34.1506 -}
 34.1507 -
 34.1508 -void
 34.1509 -Dolphin014(void)
 34.1510 -{
 34.1511 -    glBegin(GL_POLYGON);
 34.1512 -    glNormal3fv(N111);
 34.1513 -    glVertex3fv(P111);
 34.1514 -    glNormal3fv(N110);
 34.1515 -    glVertex3fv(P110);
 34.1516 -    glNormal3fv(N102);
 34.1517 -    glVertex3fv(P102);
 34.1518 -    glNormal3fv(N121);
 34.1519 -    glVertex3fv(P121);
 34.1520 -    glEnd();
 34.1521 -    glBegin(GL_POLYGON);
 34.1522 -    glNormal3fv(N111);
 34.1523 -    glVertex3fv(P111);
 34.1524 -    glNormal3fv(N097);
 34.1525 -    glVertex3fv(P097);
 34.1526 -    glNormal3fv(N110);
 34.1527 -    glVertex3fv(P110);
 34.1528 -    glEnd();
 34.1529 -    glBegin(GL_POLYGON);
 34.1530 -    glNormal3fv(N097);
 34.1531 -    glVertex3fv(P097);
 34.1532 -    glNormal3fv(N119);
 34.1533 -    glVertex3fv(P119);
 34.1534 -    glNormal3fv(N110);
 34.1535 -    glVertex3fv(P110);
 34.1536 -    glEnd();
 34.1537 -    glBegin(GL_POLYGON);
 34.1538 -    glNormal3fv(N097);
 34.1539 -    glVertex3fv(P097);
 34.1540 -    glNormal3fv(N099);
 34.1541 -    glVertex3fv(P099);
 34.1542 -    glNormal3fv(N119);
 34.1543 -    glVertex3fv(P119);
 34.1544 -    glEnd();
 34.1545 -    glBegin(GL_POLYGON);
 34.1546 -    glNormal3fv(N099);
 34.1547 -    glVertex3fv(P099);
 34.1548 -    glNormal3fv(N065);
 34.1549 -    glVertex3fv(P065);
 34.1550 -    glNormal3fv(N119);
 34.1551 -    glVertex3fv(P119);
 34.1552 -    glEnd();
 34.1553 -    glBegin(GL_POLYGON);
 34.1554 -    glNormal3fv(N065);
 34.1555 -    glVertex3fv(P065);
 34.1556 -    glNormal3fv(N066);
 34.1557 -    glVertex3fv(P066);
 34.1558 -    glNormal3fv(N119);
 34.1559 -    glVertex3fv(P119);
 34.1560 -    glEnd();
 34.1561 -    glBegin(GL_POLYGON);
 34.1562 -    glVertex3fv(P098);
 34.1563 -    glVertex3fv(P097);
 34.1564 -    glVertex3fv(P111);
 34.1565 -    glVertex3fv(P121);
 34.1566 -    glEnd();
 34.1567 -    glBegin(GL_POLYGON);
 34.1568 -    glVertex3fv(P002);
 34.1569 -    glVertex3fv(P099);
 34.1570 -    glVertex3fv(P097);
 34.1571 -    glVertex3fv(P098);
 34.1572 -    glEnd();
 34.1573 -    glBegin(GL_POLYGON);
 34.1574 -    glNormal3fv(N110);
 34.1575 -    glVertex3fv(P110);
 34.1576 -    glNormal3fv(N119);
 34.1577 -    glVertex3fv(P119);
 34.1578 -    glNormal3fv(N118);
 34.1579 -    glVertex3fv(P118);
 34.1580 -    glNormal3fv(N102);
 34.1581 -    glVertex3fv(P102);
 34.1582 -    glEnd();
 34.1583 -    glBegin(GL_POLYGON);
 34.1584 -    glNormal3fv(N119);
 34.1585 -    glVertex3fv(P119);
 34.1586 -    glNormal3fv(N066);
 34.1587 -    glVertex3fv(P066);
 34.1588 -    glNormal3fv(N067);
 34.1589 -    glVertex3fv(P067);
 34.1590 -    glNormal3fv(N118);
 34.1591 -    glVertex3fv(P118);
 34.1592 -    glEnd();
 34.1593 -    glBegin(GL_POLYGON);
 34.1594 -    glNormal3fv(N067);
 34.1595 -    glVertex3fv(P067);
 34.1596 -    glNormal3fv(N060);
 34.1597 -    glVertex3fv(P060);
 34.1598 -    glNormal3fv(N002);
 34.1599 -    glVertex3fv(P002);
 34.1600 -    glEnd();
 34.1601 -    glBegin(GL_POLYGON);
 34.1602 -    glNormal3fv(N067);
 34.1603 -    glVertex3fv(P067);
 34.1604 -    glNormal3fv(N002);
 34.1605 -    glVertex3fv(P002);
 34.1606 -    glNormal3fv(N118);
 34.1607 -    glVertex3fv(P118);
 34.1608 -    glEnd();
 34.1609 -    glBegin(GL_POLYGON);
 34.1610 -    glNormal3fv(N118);
 34.1611 -    glVertex3fv(P118);
 34.1612 -    glNormal3fv(N002);
 34.1613 -    glVertex3fv(P002);
 34.1614 -    glNormal3fv(N098);
 34.1615 -    glVertex3fv(P098);
 34.1616 -    glEnd();
 34.1617 -    glBegin(GL_POLYGON);
 34.1618 -    glNormal3fv(N118);
 34.1619 -    glVertex3fv(P118);
 34.1620 -    glNormal3fv(N098);
 34.1621 -    glVertex3fv(P098);
 34.1622 -    glNormal3fv(N102);
 34.1623 -    glVertex3fv(P102);
 34.1624 -    glEnd();
 34.1625 -    glBegin(GL_POLYGON);
 34.1626 -    glNormal3fv(N102);
 34.1627 -    glVertex3fv(P102);
 34.1628 -    glNormal3fv(N098);
 34.1629 -    glVertex3fv(P098);
 34.1630 -    glNormal3fv(N121);
 34.1631 -    glVertex3fv(P121);
 34.1632 -    glEnd();
 34.1633 -}
 34.1634 -
 34.1635 -void
 34.1636 -Dolphin015(void)
 34.1637 -{
 34.1638 -    glBegin(GL_POLYGON);
 34.1639 -    glNormal3fv(N055);
 34.1640 -    glVertex3fv(P055);
 34.1641 -    glNormal3fv(N003);
 34.1642 -    glVertex3fv(P003);
 34.1643 -    glNormal3fv(N054);
 34.1644 -    glVertex3fv(P054);
 34.1645 -    glEnd();
 34.1646 -    glBegin(GL_POLYGON);
 34.1647 -    glNormal3fv(N003);
 34.1648 -    glVertex3fv(P003);
 34.1649 -    glNormal3fv(N055);
 34.1650 -    glVertex3fv(P055);
 34.1651 -    glNormal3fv(N063);
 34.1652 -    glVertex3fv(P063);
 34.1653 -    glEnd();
 34.1654 -    glBegin(GL_POLYGON);
 34.1655 -    glNormal3fv(N003);
 34.1656 -    glVertex3fv(P003);
 34.1657 -    glNormal3fv(N063);
 34.1658 -    glVertex3fv(P063);
 34.1659 -    glNormal3fv(N100);
 34.1660 -    glVertex3fv(P100);
 34.1661 -    glEnd();
 34.1662 -    glBegin(GL_POLYGON);
 34.1663 -    glNormal3fv(N003);
 34.1664 -    glVertex3fv(P003);
 34.1665 -    glNormal3fv(N100);
 34.1666 -    glVertex3fv(P100);
 34.1667 -    glNormal3fv(N054);
 34.1668 -    glVertex3fv(P054);
 34.1669 -    glEnd();
 34.1670 -    glBegin(GL_POLYGON);
 34.1671 -    glNormal3fv(N054);
 34.1672 -    glVertex3fv(P054);
 34.1673 -    glNormal3fv(N100);
 34.1674 -    glVertex3fv(P100);
 34.1675 -    glNormal3fv(N062);
 34.1676 -    glVertex3fv(P062);
 34.1677 -    glEnd();
 34.1678 -    glBegin(GL_POLYGON);
 34.1679 -    glNormal3fv(N100);
 34.1680 -    glVertex3fv(P100);
 34.1681 -    glNormal3fv(N064);
 34.1682 -    glVertex3fv(P064);
 34.1683 -    glNormal3fv(N120);
 34.1684 -    glVertex3fv(P120);
 34.1685 -    glEnd();
 34.1686 -    glBegin(GL_POLYGON);
 34.1687 -    glNormal3fv(N100);
 34.1688 -    glVertex3fv(P100);
 34.1689 -    glNormal3fv(N063);
 34.1690 -    glVertex3fv(P063);
 34.1691 -    glNormal3fv(N064);
 34.1692 -    glVertex3fv(P064);
 34.1693 -    glEnd();
 34.1694 -    glBegin(GL_POLYGON);
 34.1695 -    glNormal3fv(N063);
 34.1696 -    glVertex3fv(P063);
 34.1697 -    glNormal3fv(N006);
 34.1698 -    glVertex3fv(P006);
 34.1699 -    glNormal3fv(N064);
 34.1700 -    glVertex3fv(P064);
 34.1701 -    glEnd();
 34.1702 -    glBegin(GL_POLYGON);
 34.1703 -    glNormal3fv(N064);
 34.1704 -    glVertex3fv(P064);
 34.1705 -    glNormal3fv(N006);
 34.1706 -    glVertex3fv(P006);
 34.1707 -    glNormal3fv(N099);
 34.1708 -    glVertex3fv(P099);
 34.1709 -    glEnd();
 34.1710 -    glBegin(GL_POLYGON);
 34.1711 -    glNormal3fv(N064);
 34.1712 -    glVertex3fv(P064);
 34.1713 -    glNormal3fv(N099);
 34.1714 -    glVertex3fv(P099);
 34.1715 -    glNormal3fv(N117);
 34.1716 -    glVertex3fv(P117);
 34.1717 -    glEnd();
 34.1718 -    glBegin(GL_POLYGON);
 34.1719 -    glNormal3fv(N120);
 34.1720 -    glVertex3fv(P120);
 34.1721 -    glNormal3fv(N064);
 34.1722 -    glVertex3fv(P064);
 34.1723 -    glNormal3fv(N117);
 34.1724 -    glVertex3fv(P117);
 34.1725 -    glNormal3fv(N116);
 34.1726 -    glVertex3fv(P116);
 34.1727 -    glEnd();
 34.1728 -    glBegin(GL_POLYGON);
 34.1729 -    glNormal3fv(N006);
 34.1730 -    glVertex3fv(P006);
 34.1731 -    glNormal3fv(N065);
 34.1732 -    glVertex3fv(P065);
 34.1733 -    glNormal3fv(N099);
 34.1734 -    glVertex3fv(P099);
 34.1735 -    glEnd();
 34.1736 -    glBegin(GL_POLYGON);
 34.1737 -    glNormal3fv(N062);
 34.1738 -    glVertex3fv(P062);
 34.1739 -    glNormal3fv(N100);
 34.1740 -    glVertex3fv(P100);
 34.1741 -    glNormal3fv(N120);
 34.1742 -    glVertex3fv(P120);
 34.1743 -    glEnd();
 34.1744 -    glBegin(GL_POLYGON);
 34.1745 -    glNormal3fv(N005);
 34.1746 -    glVertex3fv(P005);
 34.1747 -    glNormal3fv(N062);
 34.1748 -    glVertex3fv(P062);
 34.1749 -    glNormal3fv(N120);
 34.1750 -    glVertex3fv(P120);
 34.1751 -    glEnd();
 34.1752 -    glBegin(GL_POLYGON);
 34.1753 -    glNormal3fv(N005);
 34.1754 -    glVertex3fv(P005);
 34.1755 -    glNormal3fv(N120);
 34.1756 -    glVertex3fv(P120);
 34.1757 -    glNormal3fv(N002);
 34.1758 -    glVertex3fv(P002);
 34.1759 -    glEnd();
 34.1760 -    glBegin(GL_POLYGON);
 34.1761 -    glNormal3fv(N002);
 34.1762 -    glVertex3fv(P002);
 34.1763 -    glNormal3fv(N120);
 34.1764 -    glVertex3fv(P120);
 34.1765 -    glNormal3fv(N116);
 34.1766 -    glVertex3fv(P116);
 34.1767 -    glEnd();
 34.1768 -    glBegin(GL_POLYGON);
 34.1769 -    glNormal3fv(N060);
 34.1770 -    glVertex3fv(P060);
 34.1771 -    glNormal3fv(N005);
 34.1772 -    glVertex3fv(P005);
 34.1773 -    glNormal3fv(N002);
 34.1774 -    glVertex3fv(P002);
 34.1775 -    glEnd();
 34.1776 -}
 34.1777 -
 34.1778 -void
 34.1779 -Dolphin016(void)
 34.1780 -{
 34.1781 -
 34.1782 -    glDisable(GL_DEPTH_TEST);
 34.1783 -    glBegin(GL_POLYGON);
 34.1784 -    glVertex3fv(P123);
 34.1785 -    glVertex3fv(P124);
 34.1786 -    glVertex3fv(P125);
 34.1787 -    glVertex3fv(P126);
 34.1788 -    glVertex3fv(P127);
 34.1789 -    glVertex3fv(P128);
 34.1790 -    glEnd();
 34.1791 -    glBegin(GL_POLYGON);
 34.1792 -    glVertex3fv(P129);
 34.1793 -    glVertex3fv(P130);
 34.1794 -    glVertex3fv(P131);
 34.1795 -    glVertex3fv(P132);
 34.1796 -    glVertex3fv(P133);
 34.1797 -    glVertex3fv(P134);
 34.1798 -    glEnd();
 34.1799 -    glBegin(GL_POLYGON);
 34.1800 -    glVertex3fv(P103);
 34.1801 -    glVertex3fv(P105);
 34.1802 -    glVertex3fv(P108);
 34.1803 -    glEnd();
 34.1804 -    glEnable(GL_DEPTH_TEST);
 34.1805 -}
 34.1806 -
 34.1807 -void
 34.1808 -DrawDolphin(fishRec * fish)
 34.1809 -{
 34.1810 -    float seg0, seg1, seg2, seg3, seg4, seg5, seg6, seg7;
 34.1811 -    float pitch, thrash, chomp;
 34.1812 -
 34.1813 -    fish->htail = (int) (fish->htail - (int) (10.0 * fish->v)) % 360;
 34.1814 -
 34.1815 -    thrash = 70.0 * fish->v;
 34.1816 -
 34.1817 -    seg0 = 1.0 * thrash * sin((fish->htail) * RRAD);
 34.1818 -    seg3 = 1.0 * thrash * sin((fish->htail) * RRAD);
 34.1819 -    seg1 = 2.0 * thrash * sin((fish->htail + 4.0) * RRAD);
 34.1820 -    seg2 = 3.0 * thrash * sin((fish->htail + 6.0) * RRAD);
 34.1821 -    seg4 = 4.0 * thrash * sin((fish->htail + 10.0) * RRAD);
 34.1822 -    seg5 = 4.5 * thrash * sin((fish->htail + 15.0) * RRAD);
 34.1823 -    seg6 = 5.0 * thrash * sin((fish->htail + 20.0) * RRAD);
 34.1824 -    seg7 = 6.0 * thrash * sin((fish->htail + 30.0) * RRAD);
 34.1825 -
 34.1826 -    pitch = fish->v * sin((fish->htail + 180.0) * RRAD);
 34.1827 -
 34.1828 -    if (fish->v > 2.0) {
 34.1829 -        chomp = -(fish->v - 2.0) * 200.0;
 34.1830 -    }
 34.1831 -    chomp = 100.0;
 34.1832 -
 34.1833 -    P012[1] = iP012[1] + seg5;
 34.1834 -    P013[1] = iP013[1] + seg5;
 34.1835 -    P014[1] = iP014[1] + seg5;
 34.1836 -    P015[1] = iP015[1] + seg5;
 34.1837 -    P016[1] = iP016[1] + seg5;
 34.1838 -    P017[1] = iP017[1] + seg5;
 34.1839 -    P018[1] = iP018[1] + seg5;
 34.1840 -    P019[1] = iP019[1] + seg5;
 34.1841 -
 34.1842 -    P020[1] = iP020[1] + seg4;
 34.1843 -    P021[1] = iP021[1] + seg4;
 34.1844 -    P022[1] = iP022[1] + seg4;
 34.1845 -    P023[1] = iP023[1] + seg4;
 34.1846 -    P024[1] = iP024[1] + seg4;
 34.1847 -    P025[1] = iP025[1] + seg4;
 34.1848 -    P026[1] = iP026[1] + seg4;
 34.1849 -    P027[1] = iP027[1] + seg4;
 34.1850 -
 34.1851 -    P028[1] = iP028[1] + seg2;
 34.1852 -    P029[1] = iP029[1] + seg2;
 34.1853 -    P030[1] = iP030[1] + seg2;
 34.1854 -    P031[1] = iP031[1] + seg2;
 34.1855 -    P032[1] = iP032[1] + seg2;
 34.1856 -    P033[1] = iP033[1] + seg2;
 34.1857 -    P034[1] = iP034[1] + seg2;
 34.1858 -    P035[1] = iP035[1] + seg2;
 34.1859 -
 34.1860 -    P036[1] = iP036[1] + seg1;
 34.1861 -    P037[1] = iP037[1] + seg1;
 34.1862 -    P038[1] = iP038[1] + seg1;
 34.1863 -    P039[1] = iP039[1] + seg1;
 34.1864 -    P040[1] = iP040[1] + seg1;
 34.1865 -    P041[1] = iP041[1] + seg1;
 34.1866 -    P042[1] = iP042[1] + seg1;
 34.1867 -    P043[1] = iP043[1] + seg1;
 34.1868 -
 34.1869 -    P044[1] = iP044[1] + seg0;
 34.1870 -    P045[1] = iP045[1] + seg0;
 34.1871 -    P046[1] = iP046[1] + seg0;
 34.1872 -    P047[1] = iP047[1] + seg0;
 34.1873 -    P048[1] = iP048[1] + seg0;
 34.1874 -    P049[1] = iP049[1] + seg0;
 34.1875 -    P050[1] = iP050[1] + seg0;
 34.1876 -    P051[1] = iP051[1] + seg0;
 34.1877 -
 34.1878 -    P009[1] = iP009[1] + seg6;
 34.1879 -    P010[1] = iP010[1] + seg6;
 34.1880 -    P075[1] = iP075[1] + seg6;
 34.1881 -    P076[1] = iP076[1] + seg6;
 34.1882 -
 34.1883 -    P001[1] = iP001[1] + seg7;
 34.1884 -    P011[1] = iP011[1] + seg7;
 34.1885 -    P068[1] = iP068[1] + seg7;
 34.1886 -    P069[1] = iP069[1] + seg7;
 34.1887 -    P070[1] = iP070[1] + seg7;
 34.1888 -    P071[1] = iP071[1] + seg7;
 34.1889 -    P072[1] = iP072[1] + seg7;
 34.1890 -    P073[1] = iP073[1] + seg7;
 34.1891 -    P074[1] = iP074[1] + seg7;
 34.1892 -
 34.1893 -    P091[1] = iP091[1] + seg3;
 34.1894 -    P092[1] = iP092[1] + seg3;
 34.1895 -    P093[1] = iP093[1] + seg3;
 34.1896 -    P094[1] = iP094[1] + seg3;
 34.1897 -    P095[1] = iP095[1] + seg3;
 34.1898 -    P122[1] = iP122[1] + seg3 * 1.5;
 34.1899 -
 34.1900 -    P097[1] = iP097[1] + chomp;
 34.1901 -    P098[1] = iP098[1] + chomp;
 34.1902 -    P102[1] = iP102[1] + chomp;
 34.1903 -    P110[1] = iP110[1] + chomp;
 34.1904 -    P111[1] = iP111[1] + chomp;
 34.1905 -    P121[1] = iP121[1] + chomp;
 34.1906 -    P118[1] = iP118[1] + chomp;
 34.1907 -    P119[1] = iP119[1] + chomp;
 34.1908 -
 34.1909 -    glPushMatrix();
 34.1910 -
 34.1911 -    glRotatef(pitch, 1.0, 0.0, 0.0);
 34.1912 -
 34.1913 -    glTranslatef(0.0, 0.0, 7000.0);
 34.1914 -
 34.1915 -    glRotatef(180.0, 0.0, 1.0, 0.0);
 34.1916 -
 34.1917 -    glEnable(GL_CULL_FACE);
 34.1918 -    Dolphin014();
 34.1919 -    Dolphin010();
 34.1920 -    Dolphin009();
 34.1921 -    Dolphin012();
 34.1922 -    Dolphin013();
 34.1923 -    Dolphin006();
 34.1924 -    Dolphin002();
 34.1925 -    Dolphin001();
 34.1926 -    Dolphin003();
 34.1927 -    Dolphin015();
 34.1928 -    Dolphin004();
 34.1929 -    Dolphin005();
 34.1930 -    Dolphin007();
 34.1931 -    Dolphin008();
 34.1932 -    Dolphin011();
 34.1933 -    Dolphin016();
 34.1934 -    glDisable(GL_CULL_FACE);
 34.1935 -
 34.1936 -    glPopMatrix();
 34.1937 -}
    35.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/shark.c	Sun Jun 16 12:00:54 2013 +0200
    35.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.3 @@ -1,1308 +0,0 @@
    35.4 -/**
    35.5 - * (c) Copyright 1993, 1994, Silicon Graphics, Inc.
    35.6 - * ALL RIGHTS RESERVED
    35.7 - * Permission to use, copy, modify, and distribute this software for
    35.8 - * any purpose and without fee is hereby granted, provided that the above
    35.9 - * copyright notice appear in all copies and that both the copyright notice
   35.10 - * and this permission notice appear in supporting documentation, and that
   35.11 - * the name of Silicon Graphics, Inc. not be used in advertising
   35.12 - * or publicity pertaining to distribution of the software without specific,
   35.13 - * written prior permission.
   35.14 - *
   35.15 - * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
   35.16 - * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
   35.17 - * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
   35.18 - * FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL SILICON
   35.19 - * GRAPHICS, INC.  BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
   35.20 - * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
   35.21 - * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
   35.22 - * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
   35.23 - * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC.  HAS BEEN
   35.24 - * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
   35.25 - * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
   35.26 - * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
   35.27 - *
   35.28 - * US Government Users Restricted Rights
   35.29 - * Use, duplication, or disclosure by the Government is subject to
   35.30 - * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
   35.31 - * (c)(1)(ii) of the Rights in Technical Data and Computer Software
   35.32 - * clause at DFARS 252.227-7013 and/or in similar or successor
   35.33 - * clauses in the FAR or the DOD or NASA FAR Supplement.
   35.34 - * Unpublished-- rights reserved under the copyright laws of the
   35.35 - * United States.  Contractor/manufacturer is Silicon Graphics,
   35.36 - * Inc., 2011 N.  Shoreline Blvd., Mountain View, CA 94039-7311.
   35.37 - *
   35.38 - * OpenGL(TM) is a trademark of Silicon Graphics, Inc.
   35.39 - */
   35.40 -#include <GLUT/glut.h>
   35.41 -#include <math.h>
   35.42 -#include "atlantis.h"
   35.43 -/* *INDENT-OFF* */
   35.44 -static float N002[3] = {0.000077 ,-0.020611 ,0.999788};
   35.45 -static float N003[3] = {0.961425 ,0.258729 ,-0.093390};
   35.46 -static float N004[3] = {0.510811 ,-0.769633 ,-0.383063};
   35.47 -static float N005[3] = {0.400123 ,0.855734 ,-0.328055};
   35.48 -static float N006[3] = {-0.770715 ,0.610204 ,-0.183440};
   35.49 -static float N007[3] = {-0.915597 ,-0.373345 ,-0.149316};
   35.50 -static float N008[3] = {-0.972788 ,0.208921 ,-0.100179};
   35.51 -static float N009[3] = {-0.939713 ,-0.312268 ,-0.139383};
   35.52 -static float N010[3] = {-0.624138 ,-0.741047 ,-0.247589};
   35.53 -static float N011[3] = {0.591434 ,-0.768401 ,-0.244471};
   35.54 -static float N012[3] = {0.935152 ,-0.328495 ,-0.132598};
   35.55 -static float N013[3] = {0.997102 ,0.074243 ,-0.016593};
   35.56 -static float N014[3] = {0.969995 ,0.241712 ,-0.026186};
   35.57 -static float N015[3] = {0.844539 ,0.502628 ,-0.184714};
   35.58 -static float N016[3] = {-0.906608 ,0.386308 ,-0.169787};
   35.59 -static float N017[3] = {-0.970016 ,0.241698 ,-0.025516};
   35.60 -static float N018[3] = {-0.998652 ,0.050493 ,-0.012045};
   35.61 -static float N019[3] = {-0.942685 ,-0.333051 ,-0.020556};
   35.62 -static float N020[3] = {-0.660944 ,-0.750276 ,0.015480};
   35.63 -static float N021[3] = {0.503549 ,-0.862908 ,-0.042749};
   35.64 -static float N022[3] = {0.953202 ,-0.302092 ,-0.012089};
   35.65 -static float N023[3] = {0.998738 ,0.023574 ,0.044344};
   35.66 -static float N024[3] = {0.979297 ,0.193272 ,0.060202};
   35.67 -static float N025[3] = {0.798300 ,0.464885 ,0.382883};
   35.68 -static float N026[3] = {-0.756590 ,0.452403 ,0.472126};
   35.69 -static float N027[3] = {-0.953855 ,0.293003 ,0.065651};
   35.70 -static float N028[3] = {-0.998033 ,0.040292 ,0.048028};
   35.71 -static float N029[3] = {-0.977079 ,-0.204288 ,0.059858};
   35.72 -static float N030[3] = {-0.729117 ,-0.675304 ,0.111140};
   35.73 -static float N031[3] = {0.598361 ,-0.792753 ,0.116221};
   35.74 -static float N032[3] = {0.965192 ,-0.252991 ,0.066332};
   35.75 -static float N033[3] = {0.998201 ,-0.002790 ,0.059892};
   35.76 -static float N034[3] = {0.978657 ,0.193135 ,0.070207};
   35.77 -static float N035[3] = {0.718815 ,0.680392 ,0.142733};
   35.78 -static float N036[3] = {-0.383096 ,0.906212 ,0.178936};
   35.79 -static float N037[3] = {-0.952831 ,0.292590 ,0.080647};
   35.80 -static float N038[3] = {-0.997680 ,0.032417 ,0.059861};
   35.81 -static float N039[3] = {-0.982629 ,-0.169881 ,0.074700};
   35.82 -static float N040[3] = {-0.695424 ,-0.703466 ,0.146700};
   35.83 -static float N041[3] = {0.359323 ,-0.915531 ,0.180805};
   35.84 -static float N042[3] = {0.943356 ,-0.319387 ,0.089842};
   35.85 -static float N043[3] = {0.998272 ,-0.032435 ,0.048993};
   35.86 -static float N044[3] = {0.978997 ,0.193205 ,0.065084};
   35.87 -static float N045[3] = {0.872144 ,0.470094 ,-0.135565};
   35.88 -static float N046[3] = {-0.664282 ,0.737945 ,-0.119027};
   35.89 -static float N047[3] = {-0.954508 ,0.288570 ,0.075107};
   35.90 -static float N048[3] = {-0.998273 ,0.032406 ,0.048993};
   35.91 -static float N049[3] = {-0.979908 ,-0.193579 ,0.048038};
   35.92 -static float N050[3] = {-0.858736 ,-0.507202 ,-0.072938};
   35.93 -static float N051[3] = {0.643545 ,-0.763887 ,-0.048237};
   35.94 -static float N052[3] = {0.955580 ,-0.288954 ,0.058068};
   35.95 -static float N058[3] = {0.000050 ,0.793007 ,-0.609213};
   35.96 -static float N059[3] = {0.913510 ,0.235418 ,-0.331779};
   35.97 -static float N060[3] = {-0.807970 ,0.495000 ,-0.319625};
   35.98 -static float N061[3] = {0.000000 ,0.784687 ,-0.619892};
   35.99 -static float N062[3] = {0.000000 ,-1.000000 ,0.000000};
  35.100 -static float N063[3] = {0.000000 ,1.000000 ,0.000000};
  35.101 -static float N064[3] = {0.000000 ,1.000000 ,0.000000};
  35.102 -static float N065[3] = {0.000000 ,1.000000 ,0.000000};
  35.103 -static float N066[3] = {-0.055784 ,0.257059 ,0.964784};
  35.104 -static float N069[3] = {-0.000505 ,-0.929775 ,-0.368127};
  35.105 -static float N070[3] = {0.000000 ,1.000000 ,0.000000};
  35.106 -static float P002[3] = {0.00, -36.59, 5687.72};
  35.107 -static float P003[3] = {90.00, 114.73, 724.38};
  35.108 -static float P004[3] = {58.24, -146.84, 262.35};
  35.109 -static float P005[3] = {27.81, 231.52, 510.43};
  35.110 -static float P006[3] = {-27.81, 230.43, 509.76};
  35.111 -static float P007[3] = {-46.09, -146.83, 265.84};
  35.112 -static float P008[3] = {-90.00, 103.84, 718.53};
  35.113 -static float P009[3] = {-131.10, -165.92, 834.85};
  35.114 -static float P010[3] = {-27.81, -285.31, 500.00};
  35.115 -static float P011[3] = {27.81, -285.32, 500.00};
  35.116 -static float P012[3] = {147.96, -170.89, 845.50};
  35.117 -static float P013[3] = {180.00, 0.00, 2000.00};
  35.118 -static float P014[3] = {145.62, 352.67, 2000.00};
  35.119 -static float P015[3] = {55.62, 570.63, 2000.00};
  35.120 -static float P016[3] = {-55.62, 570.64, 2000.00};
  35.121 -static float P017[3] = {-145.62, 352.68, 2000.00};
  35.122 -static float P018[3] = {-180.00, 0.01, 2000.00};
  35.123 -static float P019[3] = {-178.20, -352.66, 2001.61};
  35.124 -static float P020[3] = {-55.63, -570.63, 2000.00};
  35.125 -static float P021[3] = {55.62, -570.64, 2000.00};
  35.126 -static float P022[3] = {179.91, -352.69, 1998.39};
  35.127 -static float P023[3] = {150.00, 0.00, 3000.00};
  35.128 -static float P024[3] = {121.35, 293.89, 3000.00};
  35.129 -static float P025[3] = {46.35, 502.93, 2883.09};
  35.130 -static float P026[3] = {-46.35, 497.45, 2877.24};
  35.131 -static float P027[3] = {-121.35, 293.90, 3000.00};
  35.132 -static float P028[3] = {-150.00, 0.00, 3000.00};
  35.133 -static float P029[3] = {-152.21, -304.84, 2858.68};
  35.134 -static float P030[3] = {-46.36, -475.52, 3000.00};
  35.135 -static float P031[3] = {46.35, -475.53, 3000.00};
  35.136 -static float P032[3] = {155.64, -304.87, 2863.50};
  35.137 -static float P033[3] = {90.00, 0.00, 4000.00};
  35.138 -static float P034[3] = {72.81, 176.33, 4000.00};
  35.139 -static float P035[3] = {27.81, 285.32, 4000.00};
  35.140 -static float P036[3] = {-27.81, 285.32, 4000.00};
  35.141 -static float P037[3] = {-72.81, 176.34, 4000.00};
  35.142 -static float P038[3] = {-90.00, 0.00, 4000.00};
  35.143 -static float P039[3] = {-72.81, -176.33, 4000.00};
  35.144 -static float P040[3] = {-27.81, -285.31, 4000.00};
  35.145 -static float P041[3] = {27.81, -285.32, 4000.00};
  35.146 -static float P042[3] = {72.81, -176.34, 4000.00};
  35.147 -static float P043[3] = {30.00, 0.00, 5000.00};
  35.148 -static float P044[3] = {24.27, 58.78, 5000.00};
  35.149 -static float P045[3] = {9.27, 95.11, 5000.00};
  35.150 -static float P046[3] = {-9.27, 95.11, 5000.00};
  35.151 -static float P047[3] = {-24.27, 58.78, 5000.00};
  35.152 -static float P048[3] = {-30.00, 0.00, 5000.00};
  35.153 -static float P049[3] = {-24.27, -58.78, 5000.00};
  35.154 -static float P050[3] = {-9.27, -95.10, 5000.00};
  35.155 -static float P051[3] = {9.27, -95.11, 5000.00};
  35.156 -static float P052[3] = {24.27, -58.78, 5000.00};
  35.157 -static float P058[3] = {0.00, 1212.72, 2703.08};
  35.158 -static float P059[3] = {50.36, 0.00, 108.14};
  35.159 -static float P060[3] = {-22.18, 0.00, 108.14};
  35.160 -static float P061[3] = {0.00, 1181.61, 6344.65};
  35.161 -static float P062[3] = {516.45, -887.08, 2535.45};
  35.162 -static float P063[3] = {-545.69, -879.31, 2555.63};
  35.163 -static float P064[3] = {618.89, -1005.64, 2988.32};
  35.164 -static float P065[3] = {-635.37, -1014.79, 2938.68};
  35.165 -static float P066[3] = {0.00, 1374.43, 3064.18};
  35.166 -static float P069[3] = {0.00, -418.25, 5765.04};
  35.167 -static float P070[3] = {0.00, 1266.91, 6629.60};
  35.168 -static float P071[3] = {-139.12, -124.96, 997.98};
  35.169 -static float P072[3] = {-139.24, -110.18, 1020.68};
  35.170 -static float P073[3] = {-137.33, -94.52, 1022.63};
  35.171 -static float P074[3] = {-137.03, -79.91, 996.89};
  35.172 -static float P075[3] = {-135.21, -91.48, 969.14};
  35.173 -static float P076[3] = {-135.39, -110.87, 968.76};
  35.174 -static float P077[3] = {150.23, -78.44, 995.53};
  35.175 -static float P078[3] = {152.79, -92.76, 1018.46};
  35.176 -static float P079[3] = {154.19, -110.20, 1020.55};
  35.177 -static float P080[3] = {151.33, -124.15, 993.77};
  35.178 -static float P081[3] = {150.49, -111.19, 969.86};
  35.179 -static float P082[3] = {150.79, -92.41, 969.70};
  35.180 -static float iP002[3] = {0.00, -36.59, 5687.72};
  35.181 -static float iP004[3] = {58.24, -146.84, 262.35};
  35.182 -static float iP007[3] = {-46.09, -146.83, 265.84};
  35.183 -static float iP010[3] = {-27.81, -285.31, 500.00};
  35.184 -static float iP011[3] = {27.81, -285.32, 500.00};
  35.185 -static float iP023[3] = {150.00, 0.00, 3000.00};
  35.186 -static float iP024[3] = {121.35, 293.89, 3000.00};
  35.187 -static float iP025[3] = {46.35, 502.93, 2883.09};
  35.188 -static float iP026[3] = {-46.35, 497.45, 2877.24};
  35.189 -static float iP027[3] = {-121.35, 293.90, 3000.00};
  35.190 -static float iP028[3] = {-150.00, 0.00, 3000.00};
  35.191 -static float iP029[3] = {-121.35, -304.84, 2853.86};
  35.192 -static float iP030[3] = {-46.36, -475.52, 3000.00};
  35.193 -static float iP031[3] = {46.35, -475.53, 3000.00};
  35.194 -static float iP032[3] = {121.35, -304.87, 2853.86};
  35.195 -static float iP033[3] = {90.00, 0.00, 4000.00};
  35.196 -static float iP034[3] = {72.81, 176.33, 4000.00};
  35.197 -static float iP035[3] = {27.81, 285.32, 4000.00};
  35.198 -static float iP036[3] = {-27.81, 285.32, 4000.00};
  35.199 -static float iP037[3] = {-72.81, 176.34, 4000.00};
  35.200 -static float iP038[3] = {-90.00, 0.00, 4000.00};
  35.201 -static float iP039[3] = {-72.81, -176.33, 4000.00};
  35.202 -static float iP040[3] = {-27.81, -285.31, 4000.00};
  35.203 -static float iP041[3] = {27.81, -285.32, 4000.00};
  35.204 -static float iP042[3] = {72.81, -176.34, 4000.00};
  35.205 -static float iP043[3] = {30.00, 0.00, 5000.00};
  35.206 -static float iP044[3] = {24.27, 58.78, 5000.00};
  35.207 -static float iP045[3] = {9.27, 95.11, 5000.00};
  35.208 -static float iP046[3] = {-9.27, 95.11, 5000.00};
  35.209 -static float iP047[3] = {-24.27, 58.78, 5000.00};
  35.210 -static float iP048[3] = {-30.00, 0.00, 5000.00};
  35.211 -static float iP049[3] = {-24.27, -58.78, 5000.00};
  35.212 -static float iP050[3] = {-9.27, -95.10, 5000.00};
  35.213 -static float iP051[3] = {9.27, -95.11, 5000.00};
  35.214 -static float iP052[3] = {24.27, -58.78, 5000.00};
  35.215 -static float iP061[3] = {0.00, 1181.61, 6344.65};
  35.216 -static float iP069[3] = {0.00, -418.25, 5765.04};
  35.217 -static float iP070[3] = {0.00, 1266.91, 6629.60};
  35.218 -/* *INDENT-ON* */
  35.219 -
  35.220 -void
  35.221 -Fish001(void)
  35.222 -{
  35.223 -    glBegin(GL_POLYGON);
  35.224 -    glNormal3fv(N005);
  35.225 -    glVertex3fv(P005);
  35.226 -    glNormal3fv(N059);
  35.227 -    glVertex3fv(P059);
  35.228 -    glNormal3fv(N060);
  35.229 -    glVertex3fv(P060);
  35.230 -    glNormal3fv(N006);
  35.231 -    glVertex3fv(P006);
  35.232 -    glEnd();
  35.233 -    glBegin(GL_POLYGON);
  35.234 -    glNormal3fv(N015);
  35.235 -    glVertex3fv(P015);
  35.236 -    glNormal3fv(N005);
  35.237 -    glVertex3fv(P005);
  35.238 -    glNormal3fv(N006);
  35.239 -    glVertex3fv(P006);
  35.240 -    glNormal3fv(N016);
  35.241 -    glVertex3fv(P016);
  35.242 -    glEnd();
  35.243 -    glBegin(GL_POLYGON);
  35.244 -    glNormal3fv(N006);
  35.245 -    glVertex3fv(P006);
  35.246 -    glNormal3fv(N060);
  35.247 -    glVertex3fv(P060);
  35.248 -    glNormal3fv(N008);
  35.249 -    glVertex3fv(P008);
  35.250 -    glEnd();
  35.251 -    glBegin(GL_POLYGON);
  35.252 -    glNormal3fv(N016);
  35.253 -    glVertex3fv(P016);
  35.254 -    glNormal3fv(N006);
  35.255 -    glVertex3fv(P006);
  35.256 -    glNormal3fv(N008);
  35.257 -    glVertex3fv(P008);
  35.258 -    glEnd();
  35.259 -    glBegin(GL_POLYGON);
  35.260 -    glNormal3fv(N016);
  35.261 -    glVertex3fv(P016);
  35.262 -    glNormal3fv(N008);
  35.263 -    glVertex3fv(P008);
  35.264 -    glNormal3fv(N017);
  35.265 -    glVertex3fv(P017);
  35.266 -    glEnd();
  35.267 -    glBegin(GL_POLYGON);
  35.268 -    glNormal3fv(N017);
  35.269 -    glVertex3fv(P017);
  35.270 -    glNormal3fv(N008);
  35.271 -    glVertex3fv(P008);
  35.272 -    glNormal3fv(N018);
  35.273 -    glVertex3fv(P018);
  35.274 -    glEnd();
  35.275 -    glBegin(GL_POLYGON);
  35.276 -    glNormal3fv(N008);
  35.277 -    glVertex3fv(P008);
  35.278 -    glNormal3fv(N009);
  35.279 -    glVertex3fv(P009);
  35.280 -    glNormal3fv(N018);
  35.281 -    glVertex3fv(P018);
  35.282 -    glEnd();
  35.283 -    glBegin(GL_POLYGON);
  35.284 -    glNormal3fv(N008);
  35.285 -    glVertex3fv(P008);
  35.286 -    glNormal3fv(N060);
  35.287 -    glVertex3fv(P060);
  35.288 -    glNormal3fv(N009);
  35.289 -    glVertex3fv(P009);
  35.290 -    glEnd();
  35.291 -    glBegin(GL_POLYGON);
  35.292 -    glNormal3fv(N007);
  35.293 -    glVertex3fv(P007);
  35.294 -    glNormal3fv(N010);
  35.295 -    glVertex3fv(P010);
  35.296 -    glNormal3fv(N009);
  35.297 -    glVertex3fv(P009);
  35.298 -    glEnd();
  35.299 -    glBegin(GL_POLYGON);
  35.300 -    glNormal3fv(N009);
  35.301 -    glVertex3fv(P009);
  35.302 -    glNormal3fv(N019);
  35.303 -    glVertex3fv(P019);
  35.304 -    glNormal3fv(N018);
  35.305 -    glVertex3fv(P018);
  35.306 -    glEnd();
  35.307 -    glBegin(GL_POLYGON);
  35.308 -    glNormal3fv(N009);
  35.309 -    glVertex3fv(P009);
  35.310 -    glNormal3fv(N010);
  35.311 -    glVertex3fv(P010);
  35.312 -    glNormal3fv(N019);
  35.313 -    glVertex3fv(P019);
  35.314 -    glEnd();
  35.315 -    glBegin(GL_POLYGON);
  35.316 -    glNormal3fv(N010);
  35.317 -    glVertex3fv(P010);
  35.318 -    glNormal3fv(N020);
  35.319 -    glVertex3fv(P020);
  35.320 -    glNormal3fv(N019);
  35.321 -    glVertex3fv(P019);
  35.322 -    glEnd();
  35.323 -    glBegin(GL_POLYGON);
  35.324 -    glNormal3fv(N010);
  35.325 -    glVertex3fv(P010);
  35.326 -    glNormal3fv(N011);
  35.327 -    glVertex3fv(P011);
  35.328 -    glNormal3fv(N021);
  35.329 -    glVertex3fv(P021);
  35.330 -    glNormal3fv(N020);
  35.331 -    glVertex3fv(P020);
  35.332 -    glEnd();
  35.333 -    glBegin(GL_POLYGON);
  35.334 -    glNormal3fv(N004);
  35.335 -    glVertex3fv(P004);
  35.336 -    glNormal3fv(N011);
  35.337 -    glVertex3fv(P011);
  35.338 -    glNormal3fv(N010);
  35.339 -    glVertex3fv(P010);
  35.340 -    glNormal3fv(N007);
  35.341 -    glVertex3fv(P007);
  35.342 -    glEnd();
  35.343 -    glBegin(GL_POLYGON);
  35.344 -    glNormal3fv(N004);
  35.345 -    glVertex3fv(P004);
  35.346 -    glNormal3fv(N012);
  35.347 -    glVertex3fv(P012);
  35.348 -    glNormal3fv(N011);
  35.349 -    glVertex3fv(P011);
  35.350 -    glEnd();
  35.351 -    glBegin(GL_POLYGON);
  35.352 -    glNormal3fv(N012);
  35.353 -    glVertex3fv(P012);
  35.354 -    glNormal3fv(N022);
  35.355 -    glVertex3fv(P022);
  35.356 -    glNormal3fv(N011);
  35.357 -    glVertex3fv(P011);
  35.358 -    glEnd();
  35.359 -    glBegin(GL_POLYGON);
  35.360 -    glNormal3fv(N011);
  35.361 -    glVertex3fv(P011);
  35.362 -    glNormal3fv(N022);
  35.363 -    glVertex3fv(P022);
  35.364 -    glNormal3fv(N021);
  35.365 -    glVertex3fv(P021);
  35.366 -    glEnd();
  35.367 -    glBegin(GL_POLYGON);
  35.368 -    glNormal3fv(N059);
  35.369 -    glVertex3fv(P059);
  35.370 -    glNormal3fv(N005);
  35.371 -    glVertex3fv(P005);
  35.372 -    glNormal3fv(N015);
  35.373 -    glVertex3fv(P015);
  35.374 -    glEnd();
  35.375 -    glBegin(GL_POLYGON);
  35.376 -    glNormal3fv(N015);
  35.377 -    glVertex3fv(P015);
  35.378 -    glNormal3fv(N014);
  35.379 -    glVertex3fv(P014);
  35.380 -    glNormal3fv(N003);
  35.381 -    glVertex3fv(P003);
  35.382 -    glEnd();
  35.383 -    glBegin(GL_POLYGON);
  35.384 -    glNormal3fv(N015);
  35.385 -    glVertex3fv(P015);
  35.386 -    glNormal3fv(N003);
  35.387 -    glVertex3fv(P003);
  35.388 -    glNormal3fv(N059);
  35.389 -    glVertex3fv(P059);
  35.390 -    glEnd();
  35.391 -    glBegin(GL_POLYGON);
  35.392 -    glNormal3fv(N014);
  35.393 -    glVertex3fv(P014);
  35.394 -    glNormal3fv(N013);
  35.395 -    glVertex3fv(P013);
  35.396 -    glNormal3fv(N003);
  35.397 -    glVertex3fv(P003);
  35.398 -    glEnd();
  35.399 -    glBegin(GL_POLYGON);
  35.400 -    glNormal3fv(N003);
  35.401 -    glVertex3fv(P003);
  35.402 -    glNormal3fv(N012);
  35.403 -    glVertex3fv(P012);
  35.404 -    glNormal3fv(N059);
  35.405 -    glVertex3fv(P059);
  35.406 -    glEnd();
  35.407 -    glBegin(GL_POLYGON);
  35.408 -    glNormal3fv(N013);
  35.409 -    glVertex3fv(P013);
  35.410 -    glNormal3fv(N012);
  35.411 -    glVertex3fv(P012);
  35.412 -    glNormal3fv(N003);
  35.413 -    glVertex3fv(P003);
  35.414 -    glEnd();
  35.415 -    glBegin(GL_POLYGON);
  35.416 -    glNormal3fv(N013);
  35.417 -    glVertex3fv(P013);
  35.418 -    glNormal3fv(N022);
  35.419 -    glVertex3fv(P022);
  35.420 -    glNormal3fv(N012);
  35.421 -    glVertex3fv(P012);
  35.422 -    glEnd();
  35.423 -    glBegin(GL_POLYGON);
  35.424 -    glVertex3fv(P071);
  35.425 -    glVertex3fv(P072);
  35.426 -    glVertex3fv(P073);
  35.427 -    glVertex3fv(P074);
  35.428 -    glVertex3fv(P075);
  35.429 -    glVertex3fv(P076);
  35.430 -    glEnd();
  35.431 -    glBegin(GL_POLYGON);
  35.432 -    glVertex3fv(P077);
  35.433 -    glVertex3fv(P078);
  35.434 -    glVertex3fv(P079);
  35.435 -    glVertex3fv(P080);
  35.436 -    glVertex3fv(P081);
  35.437 -    glVertex3fv(P082);
  35.438 -    glEnd();
  35.439 -}
  35.440 -
  35.441 -void
  35.442 -Fish002(void)
  35.443 -{
  35.444 -    glBegin(GL_POLYGON);
  35.445 -    glNormal3fv(N013);
  35.446 -    glVertex3fv(P013);
  35.447 -    glNormal3fv(N014);
  35.448 -    glVertex3fv(P014);
  35.449 -    glNormal3fv(N024);
  35.450 -    glVertex3fv(P024);
  35.451 -    glNormal3fv(N023);
  35.452 -    glVertex3fv(P023);
  35.453 -    glEnd();
  35.454 -    glBegin(GL_POLYGON);
  35.455 -    glNormal3fv(N014);
  35.456 -    glVertex3fv(P014);
  35.457 -    glNormal3fv(N015);
  35.458 -    glVertex3fv(P015);
  35.459 -    glNormal3fv(N025);
  35.460 -    glVertex3fv(P025);
  35.461 -    glNormal3fv(N024);
  35.462 -    glVertex3fv(P024);
  35.463 -    glEnd();
  35.464 -    glBegin(GL_POLYGON);
  35.465 -    glNormal3fv(N016);
  35.466 -    glVertex3fv(P016);
  35.467 -    glNormal3fv(N017);
  35.468 -    glVertex3fv(P017);
  35.469 -    glNormal3fv(N027);
  35.470 -    glVertex3fv(P027);
  35.471 -    glNormal3fv(N026);
  35.472 -    glVertex3fv(P026);
  35.473 -    glEnd();
  35.474 -    glBegin(GL_POLYGON);
  35.475 -    glNormal3fv(N017);
  35.476 -    glVertex3fv(P017);
  35.477 -    glNormal3fv(N018);
  35.478 -    glVertex3fv(P018);
  35.479 -    glNormal3fv(N028);
  35.480 -    glVertex3fv(P028);
  35.481 -    glNormal3fv(N027);
  35.482 -    glVertex3fv(P027);
  35.483 -    glEnd();
  35.484 -    glBegin(GL_POLYGON);
  35.485 -    glNormal3fv(N020);
  35.486 -    glVertex3fv(P020);
  35.487 -    glNormal3fv(N021);
  35.488 -    glVertex3fv(P021);
  35.489 -    glNormal3fv(N031);
  35.490 -    glVertex3fv(P031);
  35.491 -    glNormal3fv(N030);
  35.492 -    glVertex3fv(P030);
  35.493 -    glEnd();
  35.494 -    glBegin(GL_POLYGON);
  35.495 -    glNormal3fv(N013);
  35.496 -    glVertex3fv(P013);
  35.497 -    glNormal3fv(N023);
  35.498 -    glVertex3fv(P023);
  35.499 -    glNormal3fv(N022);
  35.500 -    glVertex3fv(P022);
  35.501 -    glEnd();
  35.502 -    glBegin(GL_POLYGON);
  35.503 -    glNormal3fv(N022);
  35.504 -    glVertex3fv(P022);
  35.505 -    glNormal3fv(N023);
  35.506 -    glVertex3fv(P023);
  35.507 -    glNormal3fv(N032);
  35.508 -    glVertex3fv(P032);
  35.509 -    glEnd();
  35.510 -    glBegin(GL_POLYGON);
  35.511 -    glNormal3fv(N022);
  35.512 -    glVertex3fv(P022);
  35.513 -    glNormal3fv(N032);
  35.514 -    glVertex3fv(P032);
  35.515 -    glNormal3fv(N031);
  35.516 -    glVertex3fv(P031);
  35.517 -    glEnd();
  35.518 -    glBegin(GL_POLYGON);
  35.519 -    glNormal3fv(N022);
  35.520 -    glVertex3fv(P022);
  35.521 -    glNormal3fv(N031);
  35.522 -    glVertex3fv(P031);
  35.523 -    glNormal3fv(N021);
  35.524 -    glVertex3fv(P021);
  35.525 -    glEnd();
  35.526 -    glBegin(GL_POLYGON);
  35.527 -    glNormal3fv(N018);
  35.528 -    glVertex3fv(P018);
  35.529 -    glNormal3fv(N019);
  35.530 -    glVertex3fv(P019);
  35.531 -    glNormal3fv(N029);
  35.532 -    glVertex3fv(P029);
  35.533 -    glEnd();
  35.534 -    glBegin(GL_POLYGON);
  35.535 -    glNormal3fv(N018);
  35.536 -    glVertex3fv(P018);
  35.537 -    glNormal3fv(N029);
  35.538 -    glVertex3fv(P029);
  35.539 -    glNormal3fv(N028);
  35.540 -    glVertex3fv(P028);
  35.541 -    glEnd();
  35.542 -    glBegin(GL_POLYGON);
  35.543 -    glNormal3fv(N019);
  35.544 -    glVertex3fv(P019);
  35.545 -    glNormal3fv(N020);
  35.546 -    glVertex3fv(P020);
  35.547 -    glNormal3fv(N030);
  35.548 -    glVertex3fv(P030);
  35.549 -    glEnd();
  35.550 -    glBegin(GL_POLYGON);
  35.551 -    glNormal3fv(N019);
  35.552 -    glVertex3fv(P019);
  35.553 -    glNormal3fv(N030);
  35.554 -    glVertex3fv(P030);
  35.555 -    glNormal3fv(N029);
  35.556 -    glVertex3fv(P029);
  35.557 -    glEnd();
  35.558 -}
  35.559 -
  35.560 -void
  35.561 -Fish003(void)
  35.562 -{
  35.563 -    glBegin(GL_POLYGON);
  35.564 -    glNormal3fv(N032);
  35.565 -    glVertex3fv(P032);
  35.566 -    glNormal3fv(N023);
  35.567 -    glVertex3fv(P023);
  35.568 -    glNormal3fv(N033);
  35.569 -    glVertex3fv(P033);
  35.570 -    glNormal3fv(N042);
  35.571 -    glVertex3fv(P042);
  35.572 -    glEnd();
  35.573 -    glBegin(GL_POLYGON);
  35.574 -    glNormal3fv(N031);
  35.575 -    glVertex3fv(P031);
  35.576 -    glNormal3fv(N032);
  35.577 -    glVertex3fv(P032);
  35.578 -    glNormal3fv(N042);
  35.579 -    glVertex3fv(P042);
  35.580 -    glNormal3fv(N041);
  35.581 -    glVertex3fv(P041);
  35.582 -    glEnd();
  35.583 -    glBegin(GL_POLYGON);
  35.584 -    glNormal3fv(N023);
  35.585 -    glVertex3fv(P023);
  35.586 -    glNormal3fv(N024);
  35.587 -    glVertex3fv(P024);
  35.588 -    glNormal3fv(N034);
  35.589 -    glVertex3fv(P034);
  35.590 -    glNormal3fv(N033);
  35.591 -    glVertex3fv(P033);
  35.592 -    glEnd();
  35.593 -    glBegin(GL_POLYGON);
  35.594 -    glNormal3fv(N024);
  35.595 -    glVertex3fv(P024);
  35.596 -    glNormal3fv(N025);
  35.597 -    glVertex3fv(P025);
  35.598 -    glNormal3fv(N035);
  35.599 -    glVertex3fv(P035);
  35.600 -    glNormal3fv(N034);
  35.601 -    glVertex3fv(P034);
  35.602 -    glEnd();
  35.603 -    glBegin(GL_POLYGON);
  35.604 -    glNormal3fv(N030);
  35.605 -    glVertex3fv(P030);
  35.606 -    glNormal3fv(N031);
  35.607 -    glVertex3fv(P031);
  35.608 -    glNormal3fv(N041);
  35.609 -    glVertex3fv(P041);
  35.610 -    glNormal3fv(N040);
  35.611 -    glVertex3fv(P040);
  35.612 -    glEnd();
  35.613 -    glBegin(GL_POLYGON);
  35.614 -    glNormal3fv(N025);
  35.615 -    glVertex3fv(P025);
  35.616 -    glNormal3fv(N026);
  35.617 -    glVertex3fv(P026);
  35.618 -    glNormal3fv(N036);
  35.619 -    glVertex3fv(P036);
  35.620 -    glNormal3fv(N035);
  35.621 -    glVertex3fv(P035);
  35.622 -    glEnd();
  35.623 -    glBegin(GL_POLYGON);
  35.624 -    glNormal3fv(N026);
  35.625 -    glVertex3fv(P026);
  35.626 -    glNormal3fv(N027);
  35.627 -    glVertex3fv(P027);
  35.628 -    glNormal3fv(N037);
  35.629 -    glVertex3fv(P037);
  35.630 -    glNormal3fv(N036);
  35.631 -    glVertex3fv(P036);
  35.632 -    glEnd();
  35.633 -    glBegin(GL_POLYGON);
  35.634 -    glNormal3fv(N027);
  35.635 -    glVertex3fv(P027);
  35.636 -    glNormal3fv(N028);
  35.637 -    glVertex3fv(P028);
  35.638 -    glNormal3fv(N038);
  35.639 -    glVertex3fv(P038);
  35.640 -    glNormal3fv(N037);
  35.641 -    glVertex3fv(P037);
  35.642 -    glEnd();
  35.643 -    glBegin(GL_POLYGON);
  35.644 -    glNormal3fv(N028);
  35.645 -    glVertex3fv(P028);
  35.646 -    glNormal3fv(N029);
  35.647 -    glVertex3fv(P029);
  35.648 -    glNormal3fv(N039);
  35.649 -    glVertex3fv(P039);
  35.650 -    glNormal3fv(N038);
  35.651 -    glVertex3fv(P038);
  35.652 -    glEnd();
  35.653 -    glBegin(GL_POLYGON);
  35.654 -    glNormal3fv(N029);
  35.655 -    glVertex3fv(P029);
  35.656 -    glNormal3fv(N030);
  35.657 -    glVertex3fv(P030);
  35.658 -    glNormal3fv(N040);
  35.659 -    glVertex3fv(P040);
  35.660 -    glNormal3fv(N039);
  35.661 -    glVertex3fv(P039);
  35.662 -    glEnd();
  35.663 -}
  35.664 -
  35.665 -void
  35.666 -Fish004(void)
  35.667 -{
  35.668 -    glBegin(GL_POLYGON);
  35.669 -    glNormal3fv(N040);
  35.670 -    glVertex3fv(P040);
  35.671 -    glNormal3fv(N041);
  35.672 -    glVertex3fv(P041);
  35.673 -    glNormal3fv(N051);
  35.674 -    glVertex3fv(P051);
  35.675 -    glNormal3fv(N050);
  35.676 -    glVertex3fv(P050);
  35.677 -    glEnd();
  35.678 -    glBegin(GL_POLYGON);
  35.679 -    glNormal3fv(N041);
  35.680 -    glVertex3fv(P041);
  35.681 -    glNormal3fv(N042);
  35.682 -    glVertex3fv(P042);
  35.683 -    glNormal3fv(N052);
  35.684 -    glVertex3fv(P052);
  35.685 -    glNormal3fv(N051);
  35.686 -    glVertex3fv(P051);
  35.687 -    glEnd();
  35.688 -    glBegin(GL_POLYGON);
  35.689 -    glNormal3fv(N042);
  35.690 -    glVertex3fv(P042);
  35.691 -    glNormal3fv(N033);
  35.692 -    glVertex3fv(P033);
  35.693 -    glNormal3fv(N043);
  35.694 -    glVertex3fv(P043);
  35.695 -    glNormal3fv(N052);
  35.696 -    glVertex3fv(P052);
  35.697 -    glEnd();
  35.698 -    glBegin(GL_POLYGON);
  35.699 -    glNormal3fv(N033);
  35.700 -    glVertex3fv(P033);
  35.701 -    glNormal3fv(N034);
  35.702 -    glVertex3fv(P034);
  35.703 -    glNormal3fv(N044);
  35.704 -    glVertex3fv(P044);
  35.705 -    glNormal3fv(N043);
  35.706 -    glVertex3fv(P043);
  35.707 -    glEnd();
  35.708 -    glBegin(GL_POLYGON);
  35.709 -    glNormal3fv(N034);
  35.710 -    glVertex3fv(P034);
  35.711 -    glNormal3fv(N035);
  35.712 -    glVertex3fv(P035);
  35.713 -    glNormal3fv(N045);
  35.714 -    glVertex3fv(P045);
  35.715 -    glNormal3fv(N044);
  35.716 -    glVertex3fv(P044);
  35.717 -    glEnd();
  35.718 -    glBegin(GL_POLYGON);
  35.719 -    glNormal3fv(N035);
  35.720 -    glVertex3fv(P035);
  35.721 -    glNormal3fv(N036);
  35.722 -    glVertex3fv(P036);
  35.723 -    glNormal3fv(N046);
  35.724 -    glVertex3fv(P046);
  35.725 -    glNormal3fv(N045);
  35.726 -    glVertex3fv(P045);
  35.727 -    glEnd();
  35.728 -    glBegin(GL_POLYGON);
  35.729 -    glNormal3fv(N036);
  35.730 -    glVertex3fv(P036);
  35.731 -    glNormal3fv(N037);
  35.732 -    glVertex3fv(P037);
  35.733 -    glNormal3fv(N047);
  35.734 -    glVertex3fv(P047);
  35.735 -    glNormal3fv(N046);
  35.736 -    glVertex3fv(P046);
  35.737 -    glEnd();
  35.738 -    glBegin(GL_POLYGON);
  35.739 -    glNormal3fv(N037);
  35.740 -    glVertex3fv(P037);
  35.741 -    glNormal3fv(N038);
  35.742 -    glVertex3fv(P038);
  35.743 -    glNormal3fv(N048);
  35.744 -    glVertex3fv(P048);
  35.745 -    glNormal3fv(N047);
  35.746 -    glVertex3fv(P047);
  35.747 -    glEnd();
  35.748 -    glBegin(GL_POLYGON);
  35.749 -    glNormal3fv(N038);
  35.750 -    glVertex3fv(P038);
  35.751 -    glNormal3fv(N039);
  35.752 -    glVertex3fv(P039);
  35.753 -    glNormal3fv(N049);
  35.754 -    glVertex3fv(P049);
  35.755 -    glNormal3fv(N048);
  35.756 -    glVertex3fv(P048);
  35.757 -    glEnd();
  35.758 -    glBegin(GL_POLYGON);
  35.759 -    glNormal3fv(N039);
  35.760 -    glVertex3fv(P039);
  35.761 -    glNormal3fv(N040);
  35.762 -    glVertex3fv(P040);
  35.763 -    glNormal3fv(N050);
  35.764 -    glVertex3fv(P050);
  35.765 -    glNormal3fv(N049);
  35.766 -    glVertex3fv(P049);
  35.767 -    glEnd();
  35.768 -    glBegin(GL_POLYGON);
  35.769 -    glNormal3fv(N070);
  35.770 -    glVertex3fv(P070);
  35.771 -    glNormal3fv(N061);
  35.772 -    glVertex3fv(P061);
  35.773 -    glNormal3fv(N002);
  35.774 -    glVertex3fv(P002);
  35.775 -    glEnd();
  35.776 -    glBegin(GL_POLYGON);
  35.777 -    glNormal3fv(N061);
  35.778 -    glVertex3fv(P061);
  35.779 -    glNormal3fv(N046);
  35.780 -    glVertex3fv(P046);
  35.781 -    glNormal3fv(N002);
  35.782 -    glVertex3fv(P002);
  35.783 -    glEnd();
  35.784 -    glBegin(GL_POLYGON);
  35.785 -    glNormal3fv(N045);
  35.786 -    glVertex3fv(P045);
  35.787 -    glNormal3fv(N046);
  35.788 -    glVertex3fv(P046);
  35.789 -    glNormal3fv(N061);
  35.790 -    glVertex3fv(P061);
  35.791 -    glEnd();
  35.792 -    glBegin(GL_POLYGON);
  35.793 -    glNormal3fv(N002);
  35.794 -    glVertex3fv(P002);
  35.795 -    glNormal3fv(N061);
  35.796 -    glVertex3fv(P061);
  35.797 -    glNormal3fv(N070);
  35.798 -    glVertex3fv(P070);
  35.799 -    glEnd();
  35.800 -    glBegin(GL_POLYGON);
  35.801 -    glNormal3fv(N002);
  35.802 -    glVertex3fv(P002);
  35.803 -    glNormal3fv(N045);
  35.804 -    glVertex3fv(P045);
  35.805 -    glNormal3fv(N061);
  35.806 -    glVertex3fv(P061);
  35.807 -    glEnd();
  35.808 -}
  35.809 -
  35.810 -void
  35.811 -Fish005(void)
  35.812 -{
  35.813 -    glBegin(GL_POLYGON);
  35.814 -    glNormal3fv(N002);
  35.815 -    glVertex3fv(P002);
  35.816 -    glNormal3fv(N044);
  35.817 -    glVertex3fv(P044);
  35.818 -    glNormal3fv(N045);
  35.819 -    glVertex3fv(P045);
  35.820 -    glEnd();
  35.821 -    glBegin(GL_POLYGON);
  35.822 -    glNormal3fv(N002);
  35.823 -    glVertex3fv(P002);
  35.824 -    glNormal3fv(N043);
  35.825 -    glVertex3fv(P043);
  35.826 -    glNormal3fv(N044);
  35.827 -    glVertex3fv(P044);
  35.828 -    glEnd();
  35.829 -    glBegin(GL_POLYGON);
  35.830 -    glNormal3fv(N002);
  35.831 -    glVertex3fv(P002);
  35.832 -    glNormal3fv(N052);
  35.833 -    glVertex3fv(P052);
  35.834 -    glNormal3fv(N043);
  35.835 -    glVertex3fv(P043);
  35.836 -    glEnd();
  35.837 -    glBegin(GL_POLYGON);
  35.838 -    glNormal3fv(N002);
  35.839 -    glVertex3fv(P002);
  35.840 -    glNormal3fv(N051);
  35.841 -    glVertex3fv(P051);
  35.842 -    glNormal3fv(N052);
  35.843 -    glVertex3fv(P052);
  35.844 -    glEnd();
  35.845 -    glBegin(GL_POLYGON);
  35.846 -    glNormal3fv(N002);
  35.847 -    glVertex3fv(P002);
  35.848 -    glNormal3fv(N046);
  35.849 -    glVertex3fv(P046);
  35.850 -    glNormal3fv(N047);
  35.851 -    glVertex3fv(P047);
  35.852 -    glEnd();
  35.853 -    glBegin(GL_POLYGON);
  35.854 -    glNormal3fv(N002);
  35.855 -    glVertex3fv(P002);
  35.856 -    glNormal3fv(N047);
  35.857 -    glVertex3fv(P047);
  35.858 -    glNormal3fv(N048);
  35.859 -    glVertex3fv(P048);
  35.860 -    glEnd();
  35.861 -    glBegin(GL_POLYGON);
  35.862 -    glNormal3fv(N002);
  35.863 -    glVertex3fv(P002);
  35.864 -    glNormal3fv(N048);
  35.865 -    glVertex3fv(P048);
  35.866 -    glNormal3fv(N049);
  35.867 -    glVertex3fv(P049);
  35.868 -    glEnd();
  35.869 -    glBegin(GL_POLYGON);
  35.870 -    glNormal3fv(N002);
  35.871 -    glVertex3fv(P002);
  35.872 -    glNormal3fv(N049);
  35.873 -    glVertex3fv(P049);
  35.874 -    glNormal3fv(N050);
  35.875 -    glVertex3fv(P050);
  35.876 -    glEnd();
  35.877 -    glBegin(GL_POLYGON);
  35.878 -    glNormal3fv(N050);
  35.879 -    glVertex3fv(P050);
  35.880 -    glNormal3fv(N051);
  35.881 -    glVertex3fv(P051);
  35.882 -    glNormal3fv(N069);
  35.883 -    glVertex3fv(P069);
  35.884 -    glEnd();
  35.885 -    glBegin(GL_POLYGON);
  35.886 -    glNormal3fv(N051);
  35.887 -    glVertex3fv(P051);
  35.888 -    glNormal3fv(N002);
  35.889 -    glVertex3fv(P002);
  35.890 -    glNormal3fv(N069);
  35.891 -    glVertex3fv(P069);
  35.892 -    glEnd();
  35.893 -    glBegin(GL_POLYGON);
  35.894 -    glNormal3fv(N050);
  35.895 -    glVertex3fv(P050);
  35.896 -    glNormal3fv(N069);
  35.897 -    glVertex3fv(P069);
  35.898 -    glNormal3fv(N002);
  35.899 -    glVertex3fv(P002);
  35.900 -    glEnd();
  35.901 -}
  35.902 -
  35.903 -void
  35.904 -Fish006(void)
  35.905 -{
  35.906 -    glBegin(GL_POLYGON);
  35.907 -    glNormal3fv(N066);
  35.908 -    glVertex3fv(P066);
  35.909 -    glNormal3fv(N016);
  35.910 -    glVertex3fv(P016);
  35.911 -    glNormal3fv(N026);
  35.912 -    glVertex3fv(P026);
  35.913 -    glEnd();
  35.914 -    glBegin(GL_POLYGON);
  35.915 -    glNormal3fv(N015);
  35.916 -    glVertex3fv(P015);
  35.917 -    glNormal3fv(N066);
  35.918 -    glVertex3fv(P066);
  35.919 -    glNormal3fv(N025);
  35.920 -    glVertex3fv(P025);
  35.921 -    glEnd();
  35.922 -    glBegin(GL_POLYGON);
  35.923 -    glNormal3fv(N025);
  35.924 -    glVertex3fv(P025);
  35.925 -    glNormal3fv(N066);
  35.926 -    glVertex3fv(P066);
  35.927 -    glNormal3fv(N026);
  35.928 -    glVertex3fv(P026);
  35.929 -    glEnd();
  35.930 -    glBegin(GL_POLYGON);
  35.931 -    glNormal3fv(N066);
  35.932 -    glVertex3fv(P066);
  35.933 -    glNormal3fv(N058);
  35.934 -    glVertex3fv(P058);
  35.935 -    glNormal3fv(N016);
  35.936 -    glVertex3fv(P016);
  35.937 -    glEnd();
  35.938 -    glBegin(GL_POLYGON);
  35.939 -    glNormal3fv(N015);
  35.940 -    glVertex3fv(P015);
  35.941 -    glNormal3fv(N058);
  35.942 -    glVertex3fv(P058);
  35.943 -    glNormal3fv(N066);
  35.944 -    glVertex3fv(P066);
  35.945 -    glEnd();
  35.946 -    glBegin(GL_POLYGON);
  35.947 -    glNormal3fv(N058);
  35.948 -    glVertex3fv(P058);
  35.949 -    glNormal3fv(N015);
  35.950 -    glVertex3fv(P015);
  35.951 -    glNormal3fv(N016);
  35.952 -    glVertex3fv(P016);
  35.953 -    glEnd();
  35.954 -}
  35.955 -
  35.956 -void
  35.957 -Fish007(void)
  35.958 -{
  35.959 -    glBegin(GL_POLYGON);
  35.960 -    glNormal3fv(N062);
  35.961 -    glVertex3fv(P062);
  35.962 -    glNormal3fv(N022);
  35.963 -    glVertex3fv(P022);
  35.964 -    glNormal3fv(N032);
  35.965 -    glVertex3fv(P032);
  35.966 -    glEnd();
  35.967 -    glBegin(GL_POLYGON);
  35.968 -    glNormal3fv(N062);
  35.969 -    glVertex3fv(P062);
  35.970 -    glNormal3fv(N032);
  35.971 -    glVertex3fv(P032);
  35.972 -    glNormal3fv(N064);
  35.973 -    glVertex3fv(P064);
  35.974 -    glEnd();
  35.975 -    glBegin(GL_POLYGON);
  35.976 -    glNormal3fv(N022);
  35.977 -    glVertex3fv(P022);
  35.978 -    glNormal3fv(N062);
  35.979 -    glVertex3fv(P062);
  35.980 -    glNormal3fv(N032);
  35.981 -    glVertex3fv(P032);
  35.982 -    glEnd();
  35.983 -    glBegin(GL_POLYGON);
  35.984 -    glNormal3fv(N062);
  35.985 -    glVertex3fv(P062);
  35.986 -    glNormal3fv(N064);
  35.987 -    glVertex3fv(P064);
  35.988 -    glNormal3fv(N032);
  35.989 -    glVertex3fv(P032);
  35.990 -    glEnd();
  35.991 -}
  35.992 -
  35.993 -void
  35.994 -Fish008(void)
  35.995 -{
  35.996 -    glBegin(GL_POLYGON);
  35.997 -    glNormal3fv(N063);
  35.998 -    glVertex3fv(P063);
  35.999 -    glNormal3fv(N019);
 35.1000 -    glVertex3fv(P019);
 35.1001 -    glNormal3fv(N029);
 35.1002 -    glVertex3fv(P029);
 35.1003 -    glEnd();
 35.1004 -    glBegin(GL_POLYGON);
 35.1005 -    glNormal3fv(N019);
 35.1006 -    glVertex3fv(P019);
 35.1007 -    glNormal3fv(N063);
 35.1008 -    glVertex3fv(P063);
 35.1009 -    glNormal3fv(N029);
 35.1010 -    glVertex3fv(P029);
 35.1011 -    glEnd();
 35.1012 -    glBegin(GL_POLYGON);
 35.1013 -    glNormal3fv(N063);
 35.1014 -    glVertex3fv(P063);
 35.1015 -    glNormal3fv(N029);
 35.1016 -    glVertex3fv(P029);
 35.1017 -    glNormal3fv(N065);
 35.1018 -    glVertex3fv(P065);
 35.1019 -    glEnd();
 35.1020 -    glBegin(GL_POLYGON);
 35.1021 -    glNormal3fv(N063);
 35.1022 -    glVertex3fv(P063);
 35.1023 -    glNormal3fv(N065);
 35.1024 -    glVertex3fv(P065);
 35.1025 -    glNormal3fv(N029);
 35.1026 -    glVertex3fv(P029);
 35.1027 -    glEnd();
 35.1028 -}
 35.1029 -
 35.1030 -void
 35.1031 -Fish009(void)
 35.1032 -{
 35.1033 -    glBegin(GL_POLYGON);
 35.1034 -    glVertex3fv(P059);
 35.1035 -    glVertex3fv(P012);
 35.1036 -    glVertex3fv(P009);
 35.1037 -    glVertex3fv(P060);
 35.1038 -    glEnd();
 35.1039 -    glBegin(GL_POLYGON);
 35.1040 -    glVertex3fv(P012);
 35.1041 -    glVertex3fv(P004);
 35.1042 -    glVertex3fv(P007);
 35.1043 -    glVertex3fv(P009);
 35.1044 -    glEnd();
 35.1045 -}
 35.1046 -
 35.1047 -void
 35.1048 -Fish_1(void)
 35.1049 -{
 35.1050 -    Fish004();
 35.1051 -    Fish005();
 35.1052 -    Fish003();
 35.1053 -    Fish007();
 35.1054 -    Fish006();
 35.1055 -    Fish002();
 35.1056 -    Fish008();
 35.1057 -    Fish009();
 35.1058 -    Fish001();
 35.1059 -}
 35.1060 -
 35.1061 -void
 35.1062 -Fish_2(void)
 35.1063 -{
 35.1064 -    Fish005();
 35.1065 -    Fish004();
 35.1066 -    Fish003();
 35.1067 -    Fish008();
 35.1068 -    Fish006();
 35.1069 -    Fish002();
 35.1070 -    Fish007();
 35.1071 -    Fish009();
 35.1072 -    Fish001();
 35.1073 -}
 35.1074 -
 35.1075 -void
 35.1076 -Fish_3(void)
 35.1077 -{
 35.1078 -    Fish005();
 35.1079 -    Fish004();
 35.1080 -    Fish007();
 35.1081 -    Fish003();
 35.1082 -    Fish002();
 35.1083 -    Fish008();
 35.1084 -    Fish009();
 35.1085 -    Fish001();
 35.1086 -    Fish006();
 35.1087 -}
 35.1088 -
 35.1089 -void
 35.1090 -Fish_4(void)
 35.1091 -{
 35.1092 -    Fish005();
 35.1093 -    Fish004();
 35.1094 -    Fish008();
 35.1095 -    Fish003();
 35.1096 -    Fish002();
 35.1097 -    Fish007();
 35.1098 -    Fish009();
 35.1099 -    Fish001();
 35.1100 -    Fish006();
 35.1101 -}
 35.1102 -
 35.1103 -void
 35.1104 -Fish_5(void)
 35.1105 -{
 35.1106 -    Fish009();
 35.1107 -    Fish006();
 35.1108 -    Fish007();
 35.1109 -    Fish001();
 35.1110 -    Fish002();
 35.1111 -    Fish003();
 35.1112 -    Fish008();
 35.1113 -    Fish004();
 35.1114 -    Fish005();
 35.1115 -}
 35.1116 -
 35.1117 -void
 35.1118 -Fish_6(void)
 35.1119 -{
 35.1120 -    Fish009();
 35.1121 -    Fish006();
 35.1122 -    Fish008();
 35.1123 -    Fish001();
 35.1124 -    Fish002();
 35.1125 -    Fish007();
 35.1126 -    Fish003();
 35.1127 -    Fish004();
 35.1128 -    Fish005();
 35.1129 -}
 35.1130 -
 35.1131 -void
 35.1132 -Fish_7(void)
 35.1133 -{
 35.1134 -    Fish009();
 35.1135 -    Fish001();
 35.1136 -    Fish007();
 35.1137 -    Fish005();
 35.1138 -    Fish002();
 35.1139 -    Fish008();
 35.1140 -    Fish003();
 35.1141 -    Fish004();
 35.1142 -    Fish006();
 35.1143 -}
 35.1144 -
 35.1145 -void
 35.1146 -Fish_8(void)
 35.1147 -{
 35.1148 -    Fish009();
 35.1149 -    Fish008();
 35.1150 -    Fish001();
 35.1151 -    Fish002();
 35.1152 -    Fish007();
 35.1153 -    Fish003();
 35.1154 -    Fish005();
 35.1155 -    Fish004();
 35.1156 -    Fish006();
 35.1157 -}
 35.1158 -
 35.1159 -void
 35.1160 -DrawShark(fishRec * fish)
 35.1161 -{
 35.1162 -    float mat[4][4];
 35.1163 -    int n;
 35.1164 -    float seg1, seg2, seg3, seg4, segup;
 35.1165 -    float thrash, chomp;
 35.1166 -
 35.1167 -    fish->htail = (int) (fish->htail - (int) (5.0 * fish->v)) % 360;
 35.1168 -
 35.1169 -    thrash = 50.0 * fish->v;
 35.1170 -
 35.1171 -    seg1 = 0.6 * thrash * sin(fish->htail * RRAD);
 35.1172 -    seg2 = 1.8 * thrash * sin((fish->htail + 45.0) * RRAD);
 35.1173 -    seg3 = 3.0 * thrash * sin((fish->htail + 90.0) * RRAD);
 35.1174 -    seg4 = 4.0 * thrash * sin((fish->htail + 110.0) * RRAD);
 35.1175 -
 35.1176 -    chomp = 0.0;
 35.1177 -    if (fish->v > 2.0) {
 35.1178 -        chomp = -(fish->v - 2.0) * 200.0;
 35.1179 -    }
 35.1180 -    P004[1] = iP004[1] + chomp;
 35.1181 -    P007[1] = iP007[1] + chomp;
 35.1182 -    P010[1] = iP010[1] + chomp;
 35.1183 -    P011[1] = iP011[1] + chomp;
 35.1184 -
 35.1185 -    P023[0] = iP023[0] + seg1;
 35.1186 -    P024[0] = iP024[0] + seg1;
 35.1187 -    P025[0] = iP025[0] + seg1;
 35.1188 -    P026[0] = iP026[0] + seg1;
 35.1189 -    P027[0] = iP027[0] + seg1;
 35.1190 -    P028[0] = iP028[0] + seg1;
 35.1191 -    P029[0] = iP029[0] + seg1;
 35.1192 -    P030[0] = iP030[0] + seg1;
 35.1193 -    P031[0] = iP031[0] + seg1;
 35.1194 -    P032[0] = iP032[0] + seg1;
 35.1195 -    P033[0] = iP033[0] + seg2;
 35.1196 -    P034[0] = iP034[0] + seg2;
 35.1197 -    P035[0] = iP035[0] + seg2;
 35.1198 -    P036[0] = iP036[0] + seg2;
 35.1199 -    P037[0] = iP037[0] + seg2;
 35.1200 -    P038[0] = iP038[0] + seg2;
 35.1201 -    P039[0] = iP039[0] + seg2;
 35.1202 -    P040[0] = iP040[0] + seg2;
 35.1203 -    P041[0] = iP041[0] + seg2;
 35.1204 -    P042[0] = iP042[0] + seg2;
 35.1205 -    P043[0] = iP043[0] + seg3;
 35.1206 -    P044[0] = iP044[0] + seg3;
 35.1207 -    P045[0] = iP045[0] + seg3;
 35.1208 -    P046[0] = iP046[0] + seg3;
 35.1209 -    P047[0] = iP047[0] + seg3;
 35.1210 -    P048[0] = iP048[0] + seg3;
 35.1211 -    P049[0] = iP049[0] + seg3;
 35.1212 -    P050[0] = iP050[0] + seg3;
 35.1213 -    P051[0] = iP051[0] + seg3;
 35.1214 -    P052[0] = iP052[0] + seg3;
 35.1215 -    P002[0] = iP002[0] + seg4;
 35.1216 -    P061[0] = iP061[0] + seg4;
 35.1217 -    P069[0] = iP069[0] + seg4;
 35.1218 -    P070[0] = iP070[0] + seg4;
 35.1219 -
 35.1220 -    fish->vtail += ((fish->dtheta - fish->vtail) * 0.1);
 35.1221 -
 35.1222 -    if (fish->vtail > 0.5) {
 35.1223 -        fish->vtail = 0.5;
 35.1224 -    } else if (fish->vtail < -0.5) {
 35.1225 -        fish->vtail = -0.5;
 35.1226 -    }
 35.1227 -    segup = thrash * fish->vtail;
 35.1228 -
 35.1229 -    P023[1] = iP023[1] + segup;
 35.1230 -    P024[1] = iP024[1] + segup;
 35.1231 -    P025[1] = iP025[1] + segup;
 35.1232 -    P026[1] = iP026[1] + segup;
 35.1233 -    P027[1] = iP027[1] + segup;
 35.1234 -    P028[1] = iP028[1] + segup;
 35.1235 -    P029[1] = iP029[1] + segup;
 35.1236 -    P030[1] = iP030[1] + segup;
 35.1237 -    P031[1] = iP031[1] + segup;
 35.1238 -    P032[1] = iP032[1] + segup;
 35.1239 -    P033[1] = iP033[1] + segup * 5.0;
 35.1240 -    P034[1] = iP034[1] + segup * 5.0;
 35.1241 -    P035[1] = iP035[1] + segup * 5.0;
 35.1242 -    P036[1] = iP036[1] + segup * 5.0;
 35.1243 -    P037[1] = iP037[1] + segup * 5.0;
 35.1244 -    P038[1] = iP038[1] + segup * 5.0;
 35.1245 -    P039[1] = iP039[1] + segup * 5.0;
 35.1246 -    P040[1] = iP040[1] + segup * 5.0;
 35.1247 -    P041[1] = iP041[1] + segup * 5.0;
 35.1248 -    P042[1] = iP042[1] + segup * 5.0;
 35.1249 -    P043[1] = iP043[1] + segup * 12.0;
 35.1250 -    P044[1] = iP044[1] + segup * 12.0;
 35.1251 -    P045[1] = iP045[1] + segup * 12.0;
 35.1252 -    P046[1] = iP046[1] + segup * 12.0;
 35.1253 -    P047[1] = iP047[1] + segup * 12.0;
 35.1254 -    P048[1] = iP048[1] + segup * 12.0;
 35.1255 -    P049[1] = iP049[1] + segup * 12.0;
 35.1256 -    P050[1] = iP050[1] + segup * 12.0;
 35.1257 -    P051[1] = iP051[1] + segup * 12.0;
 35.1258 -    P052[1] = iP052[1] + segup * 12.0;
 35.1259 -    P002[1] = iP002[1] + segup * 17.0;
 35.1260 -    P061[1] = iP061[1] + segup * 17.0;
 35.1261 -    P069[1] = iP069[1] + segup * 17.0;
 35.1262 -    P070[1] = iP070[1] + segup * 17.0;
 35.1263 -
 35.1264 -    glPushMatrix();
 35.1265 -
 35.1266 -    glTranslatef(0.0, 0.0, -3000.0);
 35.1267 -
 35.1268 -    glGetFloatv(GL_MODELVIEW_MATRIX, &mat[0][0]);
 35.1269 -    n = 0;
 35.1270 -    if (mat[0][2] >= 0.0) {
 35.1271 -        n += 1;
 35.1272 -    }
 35.1273 -    if (mat[1][2] >= 0.0) {
 35.1274 -        n += 2;
 35.1275 -    }
 35.1276 -    if (mat[2][2] >= 0.0) {
 35.1277 -        n += 4;
 35.1278 -    }
 35.1279 -    glScalef(2.0, 1.0, 1.0);
 35.1280 -
 35.1281 -    glEnable(GL_CULL_FACE);
 35.1282 -    switch (n) {
 35.1283 -    case 0:
 35.1284 -        Fish_1();
 35.1285 -        break;
 35.1286 -    case 1:
 35.1287 -        Fish_2();
 35.1288 -        break;
 35.1289 -    case 2:
 35.1290 -        Fish_3();
 35.1291 -        break;
 35.1292 -    case 3:
 35.1293 -        Fish_4();
 35.1294 -        break;
 35.1295 -    case 4:
 35.1296 -        Fish_5();
 35.1297 -        break;
 35.1298 -    case 5:
 35.1299 -        Fish_6();
 35.1300 -        break;
 35.1301 -    case 6:
 35.1302 -        Fish_7();
 35.1303 -        break;
 35.1304 -    case 7:
 35.1305 -        Fish_8();
 35.1306 -        break;
 35.1307 -    }
 35.1308 -    glDisable(GL_CULL_FACE);
 35.1309 -
 35.1310 -    glPopMatrix();
 35.1311 -}
    36.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/swim.c	Sun Jun 16 12:00:54 2013 +0200
    36.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.3 @@ -1,188 +0,0 @@
    36.4 -/**
    36.5 - * (c) Copyright 1993, 1994, Silicon Graphics, Inc.
    36.6 - * ALL RIGHTS RESERVED
    36.7 - * Permission to use, copy, modify, and distribute this software for
    36.8 - * any purpose and without fee is hereby granted, provided that the above
    36.9 - * copyright notice appear in all copies and that both the copyright notice
   36.10 - * and this permission notice appear in supporting documentation, and that
   36.11 - * the name of Silicon Graphics, Inc. not be used in advertising
   36.12 - * or publicity pertaining to distribution of the software without specific,
   36.13 - * written prior permission.
   36.14 - *
   36.15 - * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
   36.16 - * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
   36.17 - * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
   36.18 - * FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL SILICON
   36.19 - * GRAPHICS, INC.  BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
   36.20 - * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
   36.21 - * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
   36.22 - * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
   36.23 - * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC.  HAS BEEN
   36.24 - * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
   36.25 - * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
   36.26 - * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
   36.27 - *
   36.28 - * US Government Users Restricted Rights
   36.29 - * Use, duplication, or disclosure by the Government is subject to
   36.30 - * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
   36.31 - * (c)(1)(ii) of the Rights in Technical Data and Computer Software
   36.32 - * clause at DFARS 252.227-7013 and/or in similar or successor
   36.33 - * clauses in the FAR or the DOD or NASA FAR Supplement.
   36.34 - * Unpublished-- rights reserved under the copyright laws of the
   36.35 - * United States.  Contractor/manufacturer is Silicon Graphics,
   36.36 - * Inc., 2011 N.  Shoreline Blvd., Mountain View, CA 94039-7311.
   36.37 - *
   36.38 - * OpenGL(TM) is a trademark of Silicon Graphics, Inc.
   36.39 - */
   36.40 -#include <math.h>
   36.41 -#include <stdlib.h>  /* For rand(). */
   36.42 -#include <GLUT/glut.h>
   36.43 -#include "atlantis.h"
   36.44 -
   36.45 -void
   36.46 -FishTransform(fishRec * fish)
   36.47 -{
   36.48 -
   36.49 -    glTranslatef(fish->y, fish->z, -fish->x);
   36.50 -    glRotatef(-fish->psi, 0.0, 1.0, 0.0);
   36.51 -    glRotatef(fish->theta, 1.0, 0.0, 0.0);
   36.52 -    glRotatef(-fish->phi, 0.0, 0.0, 1.0);
   36.53 -}
   36.54 -
   36.55 -void
   36.56 -WhalePilot(fishRec * fish)
   36.57 -{
   36.58 -
   36.59 -    fish->phi = -20.0;
   36.60 -    fish->theta = 0.0;
   36.61 -    fish->psi -= 0.5;
   36.62 -
   36.63 -    fish->x += WHALESPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD);
   36.64 -    fish->y += WHALESPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD);
   36.65 -    fish->z += WHALESPEED * fish->v * sin(fish->theta / RAD);
   36.66 -}
   36.67 -
   36.68 -void
   36.69 -SharkPilot(fishRec * fish)
   36.70 -{
   36.71 -    static int sign = 1;
   36.72 -    float X, Y, Z, tpsi, ttheta, thetal;
   36.73 -
   36.74 -    fish->xt = 60000.0;
   36.75 -    fish->yt = 0.0;
   36.76 -    fish->zt = 0.0;
   36.77 -
   36.78 -    X = fish->xt - fish->x;
   36.79 -    Y = fish->yt - fish->y;
   36.80 -    Z = fish->zt - fish->z;
   36.81 -
   36.82 -    thetal = fish->theta;
   36.83 -
   36.84 -    ttheta = RAD * atan(Z / (sqrt(X * X + Y * Y)));
   36.85 -
   36.86 -    if (ttheta > fish->theta + 0.25) {
   36.87 -        fish->theta += 0.5;
   36.88 -    } else if (ttheta < fish->theta - 0.25) {
   36.89 -        fish->theta -= 0.5;
   36.90 -    }
   36.91 -    if (fish->theta > 90.0) {
   36.92 -        fish->theta = 90.0;
   36.93 -    }
   36.94 -    if (fish->theta < -90.0) {
   36.95 -        fish->theta = -90.0;
   36.96 -    }
   36.97 -    fish->dtheta = fish->theta - thetal;
   36.98 -
   36.99 -    tpsi = RAD * atan2(Y, X);
  36.100 -
  36.101 -    fish->attack = 0;
  36.102 -
  36.103 -    if (fabs(tpsi - fish->psi) < 10.0) {
  36.104 -        fish->attack = 1;
  36.105 -    } else if (fabs(tpsi - fish->psi) < 45.0) {
  36.106 -        if (fish->psi > tpsi) {
  36.107 -            fish->psi -= 0.5;
  36.108 -            if (fish->psi < -180.0) {
  36.109 -                fish->psi += 360.0;
  36.110 -            }
  36.111 -        } else if (fish->psi < tpsi) {
  36.112 -            fish->psi += 0.5;
  36.113 -            if (fish->psi > 180.0) {
  36.114 -                fish->psi -= 360.0;
  36.115 -            }
  36.116 -        }
  36.117 -    } else {
  36.118 -        if (rand() % 100 > 98) {
  36.119 -            sign = 1 - sign;
  36.120 -        }
  36.121 -        fish->psi += sign;
  36.122 -        if (fish->psi > 180.0) {
  36.123 -            fish->psi -= 360.0;
  36.124 -        }
  36.125 -        if (fish->psi < -180.0) {
  36.126 -            fish->psi += 360.0;
  36.127 -        }
  36.128 -    }
  36.129 -
  36.130 -    if (fish->attack) {
  36.131 -        if (fish->v < 1.1) {
  36.132 -            fish->spurt = 1;
  36.133 -        }
  36.134 -        if (fish->spurt) {
  36.135 -            fish->v += 0.2;
  36.136 -        }
  36.137 -        if (fish->v > 5.0) {
  36.138 -            fish->spurt = 0;
  36.139 -        }
  36.140 -        if ((fish->v > 1.0) && (!fish->spurt)) {
  36.141 -            fish->v -= 0.2;
  36.142 -        }
  36.143 -    } else {
  36.144 -        if (!(rand() % 400) && (!fish->spurt)) {
  36.145 -            fish->spurt = 1;
  36.146 -        }
  36.147 -        if (fish->spurt) {
  36.148 -            fish->v += 0.05;
  36.149 -        }
  36.150 -        if (fish->v > 3.0) {
  36.151 -            fish->spurt = 0;
  36.152 -        }
  36.153 -        if ((fish->v > 1.0) && (!fish->spurt)) {
  36.154 -            fish->v -= 0.05;
  36.155 -        }
  36.156 -    }
  36.157 -
  36.158 -    fish->x += SHARKSPEED * fish->v * cos(fish->psi / RAD) * cos(fish->theta / RAD);
  36.159 -    fish->y += SHARKSPEED * fish->v * sin(fish->psi / RAD) * cos(fish->theta / RAD);
  36.160 -    fish->z += SHARKSPEED * fish->v * sin(fish->theta / RAD);
  36.161 -}
  36.162 -
  36.163 -void
  36.164 -SharkMiss(int i)
  36.165 -{
  36.166 -    int j;
  36.167 -    float avoid, thetal;
  36.168 -    float X, Y, Z, R;
  36.169 -
  36.170 -    for (j = 0; j < NUM_SHARKS; j++) {
  36.171 -        if (j != i) {
  36.172 -            X = sharks[j].x - sharks[i].x;
  36.173 -            Y = sharks[j].y - sharks[i].y;
  36.174 -            Z = sharks[j].z - sharks[i].z;
  36.175 -
  36.176 -            R = sqrt(X * X + Y * Y + Z * Z);
  36.177 -
  36.178 -            avoid = 1.0;
  36.179 -            thetal = sharks[i].theta;
  36.180 -
  36.181 -            if (R < SHARKSIZE) {
  36.182 -                if (Z > 0.0) {
  36.183 -                    sharks[i].theta -= avoid;
  36.184 -                } else {
  36.185 -                    sharks[i].theta += avoid;
  36.186 -                }
  36.187 -            }
  36.188 -            sharks[i].dtheta += (sharks[i].theta - thetal);
  36.189 -        }
  36.190 -    }
  36.191 -}
    37.1 --- a/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/atlantis/whale.c	Sun Jun 16 12:00:54 2013 +0200
    37.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.3 @@ -1,1798 +0,0 @@
    37.4 -/**
    37.5 - * (c) Copyright 1993, 1994, Silicon Graphics, Inc.
    37.6 - * ALL RIGHTS RESERVED
    37.7 - * Permission to use, copy, modify, and distribute this software for
    37.8 - * any purpose and without fee is hereby granted, provided that the above
    37.9 - * copyright notice appear in all copies and that both the copyright notice
   37.10 - * and this permission notice appear in supporting documentation, and that
   37.11 - * the name of Silicon Graphics, Inc. not be used in advertising
   37.12 - * or publicity pertaining to distribution of the software without specific,
   37.13 - * written prior permission.
   37.14 - *
   37.15 - * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
   37.16 - * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
   37.17 - * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
   37.18 - * FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL SILICON
   37.19 - * GRAPHICS, INC.  BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
   37.20 - * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
   37.21 - * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
   37.22 - * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
   37.23 - * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC.  HAS BEEN
   37.24 - * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
   37.25 - * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
   37.26 - * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
   37.27 - *
   37.28 - * US Government Users Restricted Rights
   37.29 - * Use, duplication, or disclosure by the Government is subject to
   37.30 - * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
   37.31 - * (c)(1)(ii) of the Rights in Technical Data and Computer Software
   37.32 - * clause at DFARS 252.227-7013 and/or in similar or successor
   37.33 - * clauses in the FAR or the DOD or NASA FAR Supplement.
   37.34 - * Unpublished-- rights reserved under the copyright laws of the
   37.35 - * United States.  Contractor/manufacturer is Silicon Graphics,
   37.36 - * Inc., 2011 N.  Shoreline Blvd., Mountain View, CA 94039-7311.
   37.37 - *
   37.38 - * OpenGL(TM) is a trademark of Silicon Graphics, Inc.
   37.39 - */
   37.40 -#include <GLUT/glut.h>
   37.41 -#include <math.h>
   37.42 -#include "atlantis.h"
   37.43 -/* *INDENT-OFF* */
   37.44 -static float N001[3] = {0.019249 ,0.011340 ,-0.999750};
   37.45 -static float N002[3] = {-0.132579 ,0.954547 ,0.266952};
   37.46 -static float N003[3] = {-0.196061 ,0.980392 ,-0.019778};
   37.47 -static float N004[3] = {0.695461 ,0.604704 ,0.388158};
   37.48 -static float N005[3] = {0.870600 ,0.425754 ,0.246557};
   37.49 -static float N006[3] = {-0.881191 ,0.392012 ,0.264251};
   37.50 -static float N008[3] = {-0.341437 ,0.887477 ,0.309523};
   37.51 -static float N009[3] = {0.124035 ,-0.992278 ,0.000000};
   37.52 -static float N010[3] = {0.242536 ,0.000000 ,-0.970143};
   37.53 -static float N011[3] = {0.588172 ,0.000000 ,0.808736};
   37.54 -static float N012[3] = {0.929824 ,-0.340623 ,-0.139298};
   37.55 -static float N013[3] = {0.954183 ,0.267108 ,-0.134865};
   37.56 -static float N014[3] = {0.495127 ,0.855436 ,-0.151914};
   37.57 -static float N015[3] = {-0.390199 ,0.906569 ,-0.160867};
   37.58 -static float N016[3] = {-0.923605 ,0.354581 ,-0.145692};
   37.59 -static float N017[3] = {-0.955796 ,-0.260667 ,-0.136036};
   37.60 -static float N018[3] = {-0.501283 ,-0.853462 ,-0.142540};
   37.61 -static float N019[3] = {0.405300 ,-0.901974 ,-0.148913};
   37.62 -static float N020[3] = {0.909913 ,-0.392746 ,-0.133451};
   37.63 -static float N021[3] = {0.936494 ,0.331147 ,-0.115414};
   37.64 -static float N022[3] = {0.600131 ,0.793724 ,-0.099222};
   37.65 -static float N023[3] = {-0.231556 ,0.968361 ,-0.093053};
   37.66 -static float N024[3] = {-0.844369 ,0.525330 ,-0.105211};
   37.67 -static float N025[3] = {-0.982725 ,-0.136329 ,-0.125164};
   37.68 -static float N026[3] = {-0.560844 ,-0.822654 ,-0.093241};
   37.69 -static float N027[3] = {0.263884 ,-0.959981 ,-0.093817};
   37.70 -static float N028[3] = {0.842057 ,-0.525192 ,-0.122938};
   37.71 -static float N029[3] = {0.921620 ,0.367565 ,-0.124546};
   37.72 -static float N030[3] = {0.613927 ,0.784109 ,-0.090918};
   37.73 -static float N031[3] = {-0.448754 ,0.888261 ,-0.098037};
   37.74 -static float N032[3] = {-0.891865 ,0.434376 ,-0.126077};
   37.75 -static float N033[3] = {-0.881447 ,-0.448017 ,-0.149437};
   37.76 -static float N034[3] = {-0.345647 ,-0.922057 ,-0.174183};
   37.77 -static float N035[3] = {0.307998 ,-0.941371 ,-0.137688};
   37.78 -static float N036[3] = {0.806316 ,-0.574647 ,-0.140124};
   37.79 -static float N037[3] = {0.961346 ,0.233646 ,-0.145681};
   37.80 -static float N038[3] = {0.488451 ,0.865586 ,-0.110351};
   37.81 -static float N039[3] = {-0.374290 ,0.921953 ,-0.099553};
   37.82 -static float N040[3] = {-0.928504 ,0.344533 ,-0.138485};
   37.83 -static float N041[3] = {-0.918419 ,-0.371792 ,-0.135189};
   37.84 -static float N042[3] = {-0.520666 ,-0.833704 ,-0.183968};
   37.85 -static float N043[3] = {0.339204 ,-0.920273 ,-0.195036};
   37.86 -static float N044[3] = {0.921475 ,-0.387382 ,-0.028636};
   37.87 -static float N045[3] = {0.842465 ,0.533335 ,-0.076204};
   37.88 -static float N046[3] = {0.380110 ,0.924939 ,0.002073};
   37.89 -static float N047[3] = {-0.276128 ,0.961073 ,-0.009579};
   37.90 -static float N048[3] = {-0.879684 ,0.473001 ,-0.049250};
   37.91 -static float N049[3] = {-0.947184 ,-0.317614 ,-0.044321};
   37.92 -static float N050[3] = {-0.642059 ,-0.764933 ,-0.051363};
   37.93 -static float N051[3] = {0.466794 ,-0.880921 ,-0.077990};
   37.94 -static float N052[3] = {0.898509 ,-0.432277 ,0.076279};
   37.95 -static float N053[3] = {0.938985 ,0.328141 ,0.103109};
   37.96 -static float N054[3] = {0.442420 ,0.895745 ,0.043647};
   37.97 -static float N055[3] = {-0.255163 ,0.966723 ,0.018407};
   37.98 -static float N056[3] = {-0.833769 ,0.540650 ,0.111924};
   37.99 -static float N057[3] = {-0.953653 ,-0.289939 ,0.080507};
  37.100 -static float N058[3] = {-0.672357 ,-0.730524 ,0.119461};
  37.101 -static float N059[3] = {0.522249 ,-0.846652 ,0.102157};
  37.102 -static float N060[3] = {0.885868 ,-0.427631 ,0.179914};
  37.103 -static float N062[3] = {0.648942 ,0.743116 ,0.163255};
  37.104 -static float N063[3] = {-0.578967 ,0.807730 ,0.111219};
  37.105 -static float N065[3] = {-0.909864 ,-0.352202 ,0.219321};
  37.106 -static float N066[3] = {-0.502541 ,-0.818090 ,0.279610};
  37.107 -static float N067[3] = {0.322919 ,-0.915358 ,0.240504};
  37.108 -static float N068[3] = {0.242536 ,0.000000 ,-0.970143};
  37.109 -static float N069[3] = {0.000000 ,1.000000 ,0.000000};
  37.110 -static float N070[3] = {0.000000 ,1.000000 ,0.000000};
  37.111 -static float N071[3] = {0.000000 ,1.000000 ,0.000000};
  37.112 -static float N072[3] = {0.000000 ,1.000000 ,0.000000};
  37.113 -static float N073[3] = {0.000000 ,1.000000 ,0.000000};
  37.114 -static float N074[3] = {0.000000 ,1.000000 ,0.000000};
  37.115 -static float N075[3] = {0.031220 ,0.999025 ,-0.031220};
  37.116 -static float N076[3] = {0.000000 ,1.000000 ,0.000000};
  37.117 -static float N077[3] = {0.446821 ,0.893642 ,0.041889};
  37.118 -static float N078[3] = {0.863035 ,-0.100980 ,0.494949};
  37.119 -static float N079[3] = {0.585597 ,-0.808215 ,0.062174};
  37.120 -static float N080[3] = {0.000000 ,1.000000 ,0.000000};
  37.121 -static float N081[3] = {1.000000 ,0.000000 ,0.000000};
  37.122 -static float N082[3] = {0.000000 ,1.000000 ,0.000000};
  37.123 -static float N083[3] = {-1.000000 ,0.000000 ,0.000000};
  37.124 -static float N084[3] = {-0.478893 ,0.837129 ,-0.264343};
  37.125 -static float N085[3] = {0.000000 ,1.000000 ,0.000000};
  37.126 -static float N086[3] = {0.763909 ,0.539455 ,-0.354163};
  37.127 -static float N087[3] = {0.446821 ,0.893642 ,0.041889};
  37.128 -static float N088[3] = {0.385134 ,-0.908288 ,0.163352};
  37.129 -static float N089[3] = {-0.605952 ,0.779253 ,-0.159961};
  37.130 -static float N090[3] = {0.000000 ,1.000000 ,0.000000};
  37.131 -static float N091[3] = {0.000000 ,1.000000 ,0.000000};
  37.132 -static float N092[3] = {0.000000 ,1.000000 ,0.000000};
  37.133 -static float N093[3] = {0.000000 ,1.000000 ,0.000000};
  37.134 -static float N094[3] = {1.000000 ,0.000000 ,0.000000};
  37.135 -static float N095[3] = {-1.000000 ,0.000000 ,0.000000};
  37.136 -static float N096[3] = {0.644444 ,-0.621516 ,0.445433};
  37.137 -static float N097[3] = {-0.760896 ,-0.474416 ,0.442681};
  37.138 -static float N098[3] = {0.636888 ,-0.464314 ,0.615456};
  37.139 -static float N099[3] = {-0.710295 ,0.647038 ,0.277168};
  37.140 -static float N100[3] = {0.009604 ,0.993655 ,0.112063};
  37.141 -static float iP001[3] = {18.74, 13.19, 3.76};
  37.142 -static float P001[3] = {18.74, 13.19, 3.76};
  37.143 -static float P002[3] = {0.00, 390.42, 10292.57};
  37.144 -static float P003[3] = {55.80, 622.31, 8254.35};
  37.145 -static float P004[3] = {20.80, 247.66, 10652.13};
  37.146 -static float P005[3] = {487.51, 198.05, 9350.78};
  37.147 -static float P006[3] = {-457.61, 199.04, 9353.01};
  37.148 -static float P008[3] = {-34.67, 247.64, 10663.71};
  37.149 -static float iP009[3] = {97.46, 67.63, 593.82};
  37.150 -static float iP010[3] = {-84.33, 67.63, 588.18};
  37.151 -static float iP011[3] = {118.69, 8.98, -66.91};
  37.152 -static float P009[3] = {97.46, 67.63, 593.82};
  37.153 -static float P010[3] = {-84.33, 67.63, 588.18};
  37.154 -static float P011[3] = {118.69, 8.98, -66.91};
  37.155 -static float iP012[3] = {156.48, -31.95, 924.54};
  37.156 -static float iP013[3] = {162.00, 110.22, 924.54};
  37.157 -static float iP014[3] = {88.16, 221.65, 924.54};
  37.158 -static float iP015[3] = {-65.21, 231.16, 924.54};
  37.159 -static float iP016[3] = {-156.48, 121.97, 924.54};
  37.160 -static float iP017[3] = {-162.00, -23.93, 924.54};
  37.161 -static float iP018[3] = {-88.16, -139.10, 924.54};
  37.162 -static float iP019[3] = {65.21, -148.61, 924.54};
  37.163 -static float iP020[3] = {246.87, -98.73, 1783.04};
  37.164 -static float iP021[3] = {253.17, 127.76, 1783.04};
  37.165 -static float iP022[3] = {132.34, 270.77, 1783.04};
  37.166 -static float iP023[3] = {-97.88, 285.04, 1783.04};
  37.167 -static float iP024[3] = {-222.97, 139.80, 1783.04};
  37.168 -static float iP025[3] = {-225.29, -86.68, 1783.04};
  37.169 -static float iP026[3] = {-108.44, -224.15, 1783.04};
  37.170 -static float iP027[3] = {97.88, -221.56, 1783.04};
  37.171 -static float iP028[3] = {410.55, -200.66, 3213.87};
  37.172 -static float iP029[3] = {432.19, 148.42, 3213.87};
  37.173 -static float iP030[3] = {200.66, 410.55, 3213.87};
  37.174 -static float iP031[3] = {-148.42, 432.19, 3213.87};
  37.175 -static float iP032[3] = {-407.48, 171.88, 3213.87};
  37.176 -static float iP033[3] = {-432.19, -148.42, 3213.87};
  37.177 -static float iP034[3] = {-148.88, -309.74, 3213.87};
  37.178 -static float iP035[3] = {156.38, -320.17, 3213.87};
  37.179 -static float iP036[3] = {523.39, -303.81, 4424.57};
  37.180 -static float iP037[3] = {574.66, 276.84, 4424.57};
  37.181 -static float iP038[3] = {243.05, 492.50, 4424.57};
  37.182 -static float iP039[3] = {-191.23, 520.13, 4424.57};
  37.183 -static float iP040[3] = {-523.39, 304.01, 4424.57};
  37.184 -static float iP041[3] = {-574.66, -231.83, 4424.57};
  37.185 -static float iP042[3] = {-266.95, -578.17, 4424.57};
  37.186 -static float iP043[3] = {211.14, -579.67, 4424.57};
  37.187 -static float iP044[3] = {680.57, -370.27, 5943.46};
  37.188 -static float iP045[3] = {834.01, 363.09, 5943.46};
  37.189 -static float iP046[3] = {371.29, 614.13, 5943.46};
  37.190 -static float iP047[3] = {-291.43, 621.86, 5943.46};
  37.191 -static float iP048[3] = {-784.13, 362.60, 5943.46};
  37.192 -static float iP049[3] = {-743.29, -325.82, 5943.46};
  37.193 -static float iP050[3] = {-383.24, -804.77, 5943.46};
  37.194 -static float iP051[3] = {283.47, -846.09, 5943.46};
  37.195 -static float P012[3] = {156.48, -31.95, 924.54};
  37.196 -static float P013[3] = {162.00, 110.22, 924.54};
  37.197 -static float P014[3] = {88.16, 221.65, 924.54};
  37.198 -static float P015[3] = {-65.21, 231.16, 924.54};
  37.199 -static float P016[3] = {-156.48, 121.97, 924.54};
  37.200 -static float P017[3] = {-162.00, -23.93, 924.54};
  37.201 -static float P018[3] = {-88.16, -139.10, 924.54};
  37.202 -static float P019[3] = {65.21, -148.61, 924.54};
  37.203 -static float P020[3] = {246.87, -98.73, 1783.04};
  37.204 -static float P021[3] = {253.17, 127.76, 1783.04};
  37.205 -static float P022[3] = {132.34, 270.77, 1783.04};
  37.206 -static float P023[3] = {-97.88, 285.04, 1783.04};
  37.207 -static float P024[3] = {-222.97, 139.80, 1783.04};
  37.208 -static float P025[3] = {-225.29, -86.68, 1783.04};
  37.209 -static float P026[3] = {-108.44, -224.15, 1783.04};
  37.210 -static float P027[3] = {97.88, -221.56, 1783.04};
  37.211 -static float P028[3] = {410.55, -200.66, 3213.87};
  37.212 -static float P029[3] = {432.19, 148.42, 3213.87};
  37.213 -static float P030[3] = {200.66, 410.55, 3213.87};
  37.214 -static float P031[3] = {-148.42, 432.19, 3213.87};
  37.215 -static float P032[3] = {-407.48, 171.88, 3213.87};
  37.216 -static float P033[3] = {-432.19, -148.42, 3213.87};
  37.217 -static float P034[3] = {-148.88, -309.74, 3213.87};
  37.218 -static float P035[3] = {156.38, -320.17, 3213.87};
  37.219 -static float P036[3] = {523.39, -303.81, 4424.57};
  37.220 -static float P037[3] = {574.66, 276.84, 4424.57};
  37.221 -static float P038[3] = {243.05, 492.50, 4424.57};
  37.222 -static float P039[3] = {-191.23, 520.13, 4424.57};
  37.223 -static float P040[3] = {-523.39, 304.01, 4424.57};
  37.224 -static float P041[3] = {-574.66, -231.83, 4424.57};
  37.225 -static float P042[3] = {-266.95, -578.17, 4424.57};
  37.226 -static float P043[3] = {211.14, -579.67, 4424.57};
  37.227 -static float P044[3] = {680.57, -370.27, 5943.46};
  37.228 -static float P045[3] = {834.01, 363.09, 5943.46};
  37.229 -static float P046[3] = {371.29, 614.13, 5943.46};
  37.230 -static float P047[3] = {-291.43, 621.86, 5943.46};
  37.231 -static float P048[3] = {-784.13, 362.60, 5943.46};
  37.232 -static float P049[3] = {-743.29, -325.82, 5943.46};
  37.233 -static float P050[3] = {-383.24, -804.77, 5943.46};
  37.234 -static float P051[3] = {283.47, -846.09, 5943.46};
  37.235 -static float P052[3] = {599.09, -332.24, 7902.59};
  37.236 -static float P053[3] = {735.48, 306.26, 7911.92};
  37.237 -static float P054[3] = {321.55, 558.53, 7902.59};
  37.238 -static float P055[3] = {-260.54, 559.84, 7902.59};
  37.239 -static float P056[3] = {-698.66, 320.83, 7902.59};
  37.240 -static float P057[3] = {-643.29, -299.16, 7902.59};
  37.241 -static float P058[3] = {-341.47, -719.30, 7902.59};
  37.242 -static float P059[3] = {252.57, -756.12, 7902.59};
  37.243 -static float P060[3] = {458.39, -265.31, 9355.44};
  37.244 -static float P062[3] = {224.04, 438.98, 9364.77};
  37.245 -static float P063[3] = {-165.71, 441.27, 9355.44};
  37.246 -static float P065[3] = {-473.99, -219.71, 9355.44};
  37.247 -static float P066[3] = {-211.97, -479.87, 9355.44};
  37.248 -static float P067[3] = {192.86, -504.03, 9355.44};
  37.249 -static float iP068[3] = {-112.44, 9.25, -64.42};
  37.250 -static float iP069[3] = {1155.63, 0.00, -182.46};
  37.251 -static float iP070[3] = {-1143.13, 0.00, -181.54};
  37.252 -static float iP071[3] = {1424.23, 0.00, -322.09};
  37.253 -static float iP072[3] = {-1368.01, 0.00, -310.38};
  37.254 -static float iP073[3] = {1255.57, 2.31, 114.05};
  37.255 -static float iP074[3] = {-1149.38, 0.00, 117.12};
  37.256 -static float iP075[3] = {718.36, 0.00, 433.36};
  37.257 -static float iP076[3] = {-655.90, 0.00, 433.36};
  37.258 -static float P068[3] = {-112.44, 9.25, -64.42};
  37.259 -static float P069[3] = {1155.63, 0.00, -182.46};
  37.260 -static float P070[3] = {-1143.13, 0.00, -181.54};
  37.261 -static float P071[3] = {1424.23, 0.00, -322.09};
  37.262 -static float P072[3] = {-1368.01, 0.00, -310.38};
  37.263 -static float P073[3] = {1255.57, 2.31, 114.05};
  37.264 -static float P074[3] = {-1149.38, 0.00, 117.12};
  37.265 -static float P075[3] = {718.36, 0.00, 433.36};
  37.266 -static float P076[3] = {-655.90, 0.00, 433.36};
  37.267 -static float P077[3] = {1058.00, -2.66, 7923.51};
  37.268 -static float P078[3] = {-1016.51, -15.47, 7902.87};
  37.269 -static float P079[3] = {-1363.99, -484.50, 7593.38};
  37.270 -static float P080[3] = {1478.09, -861.47, 7098.12};
  37.271 -static float P081[3] = {1338.06, -284.68, 7024.15};
  37.272 -static float P082[3] = {-1545.51, -860.64, 7106.60};
  37.273 -static float P083[3] = {1063.19, -70.46, 7466.60};
  37.274 -static float P084[3] = {-1369.18, -288.11, 7015.34};
  37.275 -static float P085[3] = {1348.44, -482.50, 7591.41};
  37.276 -static float P086[3] = {-1015.45, -96.80, 7474.86};
  37.277 -static float P087[3] = {731.04, 148.38, 7682.58};
  37.278 -static float P088[3] = {-697.03, 151.82, 7668.81};
  37.279 -static float P089[3] = {-686.82, 157.09, 7922.29};
  37.280 -static float P090[3] = {724.73, 147.75, 7931.39};
  37.281 -static float iP091[3] = {0.00, 327.10, 2346.55};
  37.282 -static float iP092[3] = {0.00, 552.28, 2311.31};
  37.283 -static float iP093[3] = {0.00, 721.16, 2166.41};
  37.284 -static float iP094[3] = {0.00, 693.42, 2388.80};
  37.285 -static float iP095[3] = {0.00, 389.44, 2859.97};
  37.286 -static float P091[3] = {0.00, 327.10, 2346.55};
  37.287 -static float P092[3] = {0.00, 552.28, 2311.31};
  37.288 -static float P093[3] = {0.00, 721.16, 2166.41};
  37.289 -static float P094[3] = {0.00, 693.42, 2388.80};
  37.290 -static float P095[3] = {0.00, 389.44, 2859.97};
  37.291 -static float iP096[3] = {222.02, -183.67, 10266.89};
  37.292 -static float iP097[3] = {-128.90, -182.70, 10266.89};
  37.293 -static float iP098[3] = {41.04, 88.31, 10659.36};
  37.294 -static float iP099[3] = {-48.73, 88.30, 10659.36};
  37.295 -static float P096[3] = {222.02, -183.67, 10266.89};
  37.296 -static float P097[3] = {-128.90, -182.70, 10266.89};
  37.297 -static float P098[3] = {41.04, 88.31, 10659.36};
  37.298 -static float P099[3] = {-48.73, 88.30, 10659.36};
  37.299 -static float P100[3] = {0.00, 603.42, 9340.68};
  37.300 -static float P104[3] = {-9.86, 567.62, 7858.65};
  37.301 -static float P105[3] = {31.96, 565.27, 7908.46};
  37.302 -static float P106[3] = {22.75, 568.13, 7782.83};
  37.303 -static float P107[3] = {58.93, 568.42, 7775.94};
  37.304 -static float P108[3] = {55.91, 565.59, 7905.86};
  37.305 -static float P109[3] = {99.21, 566.00, 7858.65};
  37.306 -static float P110[3] = {-498.83, 148.14, 9135.10};
  37.307 -static float P111[3] = {-495.46, 133.24, 9158.48};
  37.308 -static float P112[3] = {-490.82, 146.23, 9182.76};
  37.309 -static float P113[3] = {-489.55, 174.11, 9183.66};
  37.310 -static float P114[3] = {-492.92, 189.00, 9160.28};
  37.311 -static float P115[3] = {-497.56, 176.02, 9136.00};
  37.312 -static float P116[3] = {526.54, 169.68, 9137.70};
  37.313 -static float P117[3] = {523.49, 184.85, 9161.42};
  37.314 -static float P118[3] = {518.56, 171.78, 9186.06};
  37.315 -static float P119[3] = {516.68, 143.53, 9186.98};
  37.316 -static float P120[3] = {519.73, 128.36, 9163.26};
  37.317 -static float P121[3] = {524.66, 141.43, 9138.62};
  37.318 -/* *INDENT-ON* */
  37.319 -
  37.320 -void
  37.321 -Whale001(void)
  37.322 -{
  37.323 -
  37.324 -    glBegin(GL_POLYGON);
  37.325 -    glNormal3fv(N001);
  37.326 -    glVertex3fv(P001);
  37.327 -    glNormal3fv(N068);
  37.328 -    glVertex3fv(P068);
  37.329 -    glNormal3fv(N010);
  37.330 -    glVertex3fv(P010);
  37.331 -    glEnd();
  37.332 -    glBegin(GL_POLYGON);
  37.333 -    glNormal3fv(N068);
  37.334 -    glVertex3fv(P068);
  37.335 -    glNormal3fv(N076);
  37.336 -    glVertex3fv(P076);
  37.337 -    glNormal3fv(N010);
  37.338 -    glVertex3fv(P010);
  37.339 -    glEnd();
  37.340 -    glBegin(GL_POLYGON);
  37.341 -    glNormal3fv(N068);
  37.342 -    glVertex3fv(P068);
  37.343 -    glNormal3fv(N070);
  37.344 -    glVertex3fv(P070);
  37.345 -    glNormal3fv(N076);
  37.346 -    glVertex3fv(P076);
  37.347 -    glEnd();
  37.348 -    glBegin(GL_POLYGON);
  37.349 -    glNormal3fv(N076);
  37.350 -    glVertex3fv(P076);
  37.351 -    glNormal3fv(N070);
  37.352 -    glVertex3fv(P070);
  37.353 -    glNormal3fv(N074);
  37.354 -    glVertex3fv(P074);
  37.355 -    glEnd();
  37.356 -    glBegin(GL_POLYGON);
  37.357 -    glNormal3fv(N070);
  37.358 -    glVertex3fv(P070);
  37.359 -    glNormal3fv(N072);
  37.360 -    glVertex3fv(P072);
  37.361 -    glNormal3fv(N074);
  37.362 -    glVertex3fv(P074);
  37.363 -    glEnd();
  37.364 -    glBegin(GL_POLYGON);
  37.365 -    glNormal3fv(N072);
  37.366 -    glVertex3fv(P072);
  37.367 -    glNormal3fv(N070);
  37.368 -    glVertex3fv(P070);
  37.369 -    glNormal3fv(N074);
  37.370 -    glVertex3fv(P074);
  37.371 -    glEnd();
  37.372 -    glBegin(GL_POLYGON);
  37.373 -    glNormal3fv(N074);
  37.374 -    glVertex3fv(P074);
  37.375 -    glNormal3fv(N070);
  37.376 -    glVertex3fv(P070);
  37.377 -    glNormal3fv(N076);
  37.378 -    glVertex3fv(P076);
  37.379 -    glEnd();
  37.380 -    glBegin(GL_POLYGON);
  37.381 -    glNormal3fv(N070);
  37.382 -    glVertex3fv(P070);
  37.383 -    glNormal3fv(N068);
  37.384 -    glVertex3fv(P068);
  37.385 -    glNormal3fv(N076);
  37.386 -    glVertex3fv(P076);
  37.387 -    glEnd();
  37.388 -    glBegin(GL_POLYGON);
  37.389 -    glNormal3fv(N076);
  37.390 -    glVertex3fv(P076);
  37.391 -    glNormal3fv(N068);
  37.392 -    glVertex3fv(P068);
  37.393 -    glNormal3fv(N010);
  37.394 -    glVertex3fv(P010);
  37.395 -    glEnd();
  37.396 -    glBegin(GL_POLYGON);
  37.397 -    glNormal3fv(N068);
  37.398 -    glVertex3fv(P068);
  37.399 -    glNormal3fv(N001);
  37.400 -    glVertex3fv(P001);
  37.401 -    glNormal3fv(N010);
  37.402 -    glVertex3fv(P010);
  37.403 -    glEnd();
  37.404 -}
  37.405 -
  37.406 -void
  37.407 -Whale002(void)
  37.408 -{
  37.409 -    glBegin(GL_POLYGON);
  37.410 -    glNormal3fv(N011);
  37.411 -    glVertex3fv(P011);
  37.412 -    glNormal3fv(N001);
  37.413 -    glVertex3fv(P001);
  37.414 -    glNormal3fv(N009);
  37.415 -    glVertex3fv(P009);
  37.416 -    glEnd();
  37.417 -    glBegin(GL_POLYGON);
  37.418 -    glNormal3fv(N075);
  37.419 -    glVertex3fv(P075);
  37.420 -    glNormal3fv(N011);
  37.421 -    glVertex3fv(P011);
  37.422 -    glNormal3fv(N009);
  37.423 -    glVertex3fv(P009);
  37.424 -    glEnd();
  37.425 -    glBegin(GL_POLYGON);
  37.426 -    glNormal3fv(N069);
  37.427 -    glVertex3fv(P069);
  37.428 -    glNormal3fv(N011);
  37.429 -    glVertex3fv(P011);
  37.430 -    glNormal3fv(N075);
  37.431 -    glVertex3fv(P075);
  37.432 -    glEnd();
  37.433 -    glBegin(GL_POLYGON);
  37.434 -    glNormal3fv(N069);
  37.435 -    glVertex3fv(P069);
  37.436 -    glNormal3fv(N075);
  37.437 -    glVertex3fv(P075);
  37.438 -    glNormal3fv(N073);
  37.439 -    glVertex3fv(P073);
  37.440 -    glEnd();
  37.441 -    glBegin(GL_POLYGON);
  37.442 -    glNormal3fv(N071);
  37.443 -    glVertex3fv(P071);
  37.444 -    glNormal3fv(N069);
  37.445 -    glVertex3fv(P069);
  37.446 -    glNormal3fv(N073);
  37.447 -    glVertex3fv(P073);
  37.448 -    glEnd();
  37.449 -    glBegin(GL_POLYGON);
  37.450 -    glNormal3fv(N001);
  37.451 -    glVertex3fv(P001);
  37.452 -    glNormal3fv(N011);
  37.453 -    glVertex3fv(P011);
  37.454 -    glNormal3fv(N009);
  37.455 -    glVertex3fv(P009);
  37.456 -    glEnd();
  37.457 -    glBegin(GL_POLYGON);
  37.458 -    glNormal3fv(N009);
  37.459 -    glVertex3fv(P009);
  37.460 -    glNormal3fv(N011);
  37.461 -    glVertex3fv(P011);
  37.462 -    glNormal3fv(N075);
  37.463 -    glVertex3fv(P075);
  37.464 -    glEnd();
  37.465 -    glBegin(GL_POLYGON);
  37.466 -    glNormal3fv(N011);
  37.467 -    glVertex3fv(P011);
  37.468 -    glNormal3fv(N069);
  37.469 -    glVertex3fv(P069);
  37.470 -    glNormal3fv(N075);
  37.471 -    glVertex3fv(P075);
  37.472 -    glEnd();
  37.473 -    glBegin(GL_POLYGON);
  37.474 -    glNormal3fv(N069);
  37.475 -    glVertex3fv(P069);
  37.476 -    glNormal3fv(N073);
  37.477 -    glVertex3fv(P073);
  37.478 -    glNormal3fv(N075);
  37.479 -    glVertex3fv(P075);
  37.480 -    glEnd();
  37.481 -    glBegin(GL_POLYGON);
  37.482 -    glNormal3fv(N069);
  37.483 -    glVertex3fv(P069);
  37.484 -    glNormal3fv(N071);
  37.485 -    glVertex3fv(P071);
  37.486 -    glNormal3fv(N073);
  37.487 -    glVertex3fv(P073);
  37.488 -    glEnd();
  37.489 -}
  37.490 -
  37.491 -void
  37.492 -Whale003(void)
  37.493 -{
  37.494 -    glBegin(GL_POLYGON);
  37.495 -    glNormal3fv(N018);
  37.496 -    glVertex3fv(P018);
  37.497 -    glNormal3fv(N001);
  37.498 -    glVertex3fv(P001);
  37.499 -    glNormal3fv(N019);
  37.500 -    glVertex3fv(P019);
  37.501 -    glEnd();
  37.502 -    glBegin(GL_POLYGON);
  37.503 -    glNormal3fv(N019);
  37.504 -    glVertex3fv(P019);
  37.505 -    glNormal3fv(N001);
  37.506 -    glVertex3fv(P001);
  37.507 -    glNormal3fv(N012);
  37.508 -    glVertex3fv(P012);
  37.509 -    glEnd();
  37.510 -    glBegin(GL_POLYGON);
  37.511 -    glNormal3fv(N017);
  37.512 -    glVertex3fv(P017);
  37.513 -    glNormal3fv(N001);
  37.514 -    glVertex3fv(P001);
  37.515 -    glNormal3fv(N018);
  37.516 -    glVertex3fv(P018);
  37.517 -    glEnd();
  37.518 -    glBegin(GL_POLYGON);
  37.519 -    glNormal3fv(N001);
  37.520 -    glVertex3fv(P001);
  37.521 -    glNormal3fv(N017);
  37.522 -    glVertex3fv(P017);
  37.523 -    glNormal3fv(N016);
  37.524 -    glVertex3fv(P016);
  37.525 -    glEnd();
  37.526 -    glBegin(GL_POLYGON);
  37.527 -    glNormal3fv(N001);
  37.528 -    glVertex3fv(P001);
  37.529 -    glNormal3fv(N013);
  37.530 -    glVertex3fv(P013);
  37.531 -    glNormal3fv(N012);
  37.532 -    glVertex3fv(P012);
  37.533 -    glEnd();
  37.534 -    glBegin(GL_POLYGON);
  37.535 -    glNormal3fv(N001);
  37.536 -    glVertex3fv(P001);
  37.537 -    glNormal3fv(N016);
  37.538 -    glVertex3fv(P016);
  37.539 -    glNormal3fv(N015);
  37.540 -    glVertex3fv(P015);
  37.541 -    glEnd();
  37.542 -    glBegin(GL_POLYGON);
  37.543 -    glNormal3fv(N001);
  37.544 -    glVertex3fv(P001);
  37.545 -    glNormal3fv(N014);
  37.546 -    glVertex3fv(P014);
  37.547 -    glNormal3fv(N013);
  37.548 -    glVertex3fv(P013);
  37.549 -    glEnd();
  37.550 -    glBegin(GL_POLYGON);
  37.551 -    glNormal3fv(N001);
  37.552 -    glVertex3fv(P001);
  37.553 -    glNormal3fv(N015);
  37.554 -    glVertex3fv(P015);
  37.555 -    glNormal3fv(N014);
  37.556 -    glVertex3fv(P014);
  37.557 -    glEnd();
  37.558 -}
  37.559 -
  37.560 -void
  37.561 -Whale004(void)
  37.562 -{
  37.563 -    glBegin(GL_POLYGON);
  37.564 -    glNormal3fv(N014);
  37.565 -    glVertex3fv(P014);
  37.566 -    glNormal3fv(N015);
  37.567 -    glVertex3fv(P015);
  37.568 -    glNormal3fv(N023);
  37.569 -    glVertex3fv(P023);
  37.570 -    glNormal3fv(N022);
  37.571 -    glVertex3fv(P022);
  37.572 -    glEnd();
  37.573 -    glBegin(GL_POLYGON);
  37.574 -    glNormal3fv(N015);
  37.575 -    glVertex3fv(P015);
  37.576 -    glNormal3fv(N016);
  37.577 -    glVertex3fv(P016);
  37.578 -    glNormal3fv(N024);
  37.579 -    glVertex3fv(P024);
  37.580 -    glNormal3fv(N023);
  37.581 -    glVertex3fv(P023);
  37.582 -    glEnd();
  37.583 -    glBegin(GL_POLYGON);
  37.584 -    glNormal3fv(N016);
  37.585 -    glVertex3fv(P016);
  37.586 -    glNormal3fv(N017);
  37.587 -    glVertex3fv(P017);
  37.588 -    glNormal3fv(N025);
  37.589 -    glVertex3fv(P025);
  37.590 -    glNormal3fv(N024);
  37.591 -    glVertex3fv(P024);
  37.592 -    glEnd();
  37.593 -    glBegin(GL_POLYGON);
  37.594 -    glNormal3fv(N017);
  37.595 -    glVertex3fv(P017);
  37.596 -    glNormal3fv(N018);
  37.597 -    glVertex3fv(P018);
  37.598 -    glNormal3fv(N026);
  37.599 -    glVertex3fv(P026);
  37.600 -    glNormal3fv(N025);
  37.601 -    glVertex3fv(P025);
  37.602 -    glEnd();
  37.603 -    glBegin(GL_POLYGON);
  37.604 -    glNormal3fv(N013);
  37.605 -    glVertex3fv(P013);
  37.606 -    glNormal3fv(N014);
  37.607 -    glVertex3fv(P014);
  37.608 -    glNormal3fv(N022);
  37.609 -    glVertex3fv(P022);
  37.610 -    glNormal3fv(N021);
  37.611 -    glVertex3fv(P021);
  37.612 -    glEnd();
  37.613 -    glBegin(GL_POLYGON);
  37.614 -    glNormal3fv(N012);
  37.615 -    glVertex3fv(P012);
  37.616 -    glNormal3fv(N013);
  37.617 -    glVertex3fv(P013);
  37.618 -    glNormal3fv(N021);
  37.619 -    glVertex3fv(P021);
  37.620 -    glNormal3fv(N020);
  37.621 -    glVertex3fv(P020);
  37.622 -    glEnd();
  37.623 -    glBegin(GL_POLYGON);
  37.624 -    glNormal3fv(N018);
  37.625 -    glVertex3fv(P018);
  37.626 -    glNormal3fv(N019);
  37.627 -    glVertex3fv(P019);
  37.628 -    glNormal3fv(N027);
  37.629 -    glVertex3fv(P027);
  37.630 -    glNormal3fv(N026);
  37.631 -    glVertex3fv(P026);
  37.632 -    glEnd();
  37.633 -    glBegin(GL_POLYGON);
  37.634 -    glNormal3fv(N019);
  37.635 -    glVertex3fv(P019);
  37.636 -    glNormal3fv(N012);
  37.637 -    glVertex3fv(P012);
  37.638 -    glNormal3fv(N020);
  37.639 -    glVertex3fv(P020);
  37.640 -    glNormal3fv(N027);
  37.641 -    glVertex3fv(P027);
  37.642 -    glEnd();
  37.643 -}
  37.644 -
  37.645 -void
  37.646 -Whale005(void)
  37.647 -{
  37.648 -    glBegin(GL_POLYGON);
  37.649 -    glNormal3fv(N022);
  37.650 -    glVertex3fv(P022);
  37.651 -    glNormal3fv(N023);
  37.652 -    glVertex3fv(P023);
  37.653 -    glNormal3fv(N031);
  37.654 -    glVertex3fv(P031);
  37.655 -    glNormal3fv(N030);
  37.656 -    glVertex3fv(P030);
  37.657 -    glEnd();
  37.658 -    glBegin(GL_POLYGON);
  37.659 -    glNormal3fv(N021);
  37.660 -    glVertex3fv(P021);
  37.661 -    glNormal3fv(N022);
  37.662 -    glVertex3fv(P022);
  37.663 -    glNormal3fv(N030);
  37.664 -    glVertex3fv(P030);
  37.665 -    glEnd();
  37.666 -    glBegin(GL_POLYGON);
  37.667 -    glNormal3fv(N021);
  37.668 -    glVertex3fv(P021);
  37.669 -    glNormal3fv(N030);
  37.670 -    glVertex3fv(P030);
  37.671 -    glNormal3fv(N029);
  37.672 -    glVertex3fv(P029);
  37.673 -    glEnd();
  37.674 -    glBegin(GL_POLYGON);
  37.675 -    glNormal3fv(N023);
  37.676 -    glVertex3fv(P023);
  37.677 -    glNormal3fv(N024);
  37.678 -    glVertex3fv(P024);
  37.679 -    glNormal3fv(N031);
  37.680 -    glVertex3fv(P031);
  37.681 -    glEnd();
  37.682 -    glBegin(GL_POLYGON);
  37.683 -    glNormal3fv(N024);
  37.684 -    glVertex3fv(P024);
  37.685 -    glNormal3fv(N032);
  37.686 -    glVertex3fv(P032);
  37.687 -    glNormal3fv(N031);
  37.688 -    glVertex3fv(P031);
  37.689 -    glEnd();
  37.690 -    glBegin(GL_POLYGON);
  37.691 -    glNormal3fv(N024);
  37.692 -    glVertex3fv(P024);
  37.693 -    glNormal3fv(N025);
  37.694 -    glVertex3fv(P025);
  37.695 -    glNormal3fv(N032);
  37.696 -    glVertex3fv(P032);
  37.697 -    glEnd();
  37.698 -    glBegin(GL_POLYGON);
  37.699 -    glNormal3fv(N025);
  37.700 -    glVertex3fv(P025);
  37.701 -    glNormal3fv(N033);
  37.702 -    glVertex3fv(P033);
  37.703 -    glNormal3fv(N032);
  37.704 -    glVertex3fv(P032);
  37.705 -    glEnd();
  37.706 -    glBegin(GL_POLYGON);
  37.707 -    glNormal3fv(N020);
  37.708 -    glVertex3fv(P020);
  37.709 -    glNormal3fv(N021);
  37.710 -    glVertex3fv(P021);
  37.711 -    glNormal3fv(N029);
  37.712 -    glVertex3fv(P029);
  37.713 -    glEnd();
  37.714 -    glBegin(GL_POLYGON);
  37.715 -    glNormal3fv(N020);
  37.716 -    glVertex3fv(P020);
  37.717 -    glNormal3fv(N029);
  37.718 -    glVertex3fv(P029);
  37.719 -    glNormal3fv(N028);
  37.720 -    glVertex3fv(P028);
  37.721 -    glEnd();
  37.722 -    glBegin(GL_POLYGON);
  37.723 -    glNormal3fv(N027);
  37.724 -    glVertex3fv(P027);
  37.725 -    glNormal3fv(N020);
  37.726 -    glVertex3fv(P020);
  37.727 -    glNormal3fv(N028);
  37.728 -    glVertex3fv(P028);
  37.729 -    glEnd();
  37.730 -    glBegin(GL_POLYGON);
  37.731 -    glNormal3fv(N027);
  37.732 -    glVertex3fv(P027);
  37.733 -    glNormal3fv(N028);
  37.734 -    glVertex3fv(P028);
  37.735 -    glNormal3fv(N035);
  37.736 -    glVertex3fv(P035);
  37.737 -    glEnd();
  37.738 -    glBegin(GL_POLYGON);
  37.739 -    glNormal3fv(N025);
  37.740 -    glVertex3fv(P025);
  37.741 -    glNormal3fv(N026);
  37.742 -    glVertex3fv(P026);
  37.743 -    glNormal3fv(N033);
  37.744 -    glVertex3fv(P033);
  37.745 -    glEnd();
  37.746 -    glBegin(GL_POLYGON);
  37.747 -    glNormal3fv(N033);
  37.748 -    glVertex3fv(P033);
  37.749 -    glNormal3fv(N026);
  37.750 -    glVertex3fv(P026);
  37.751 -    glNormal3fv(N034);
  37.752 -    glVertex3fv(P034);
  37.753 -    glEnd();
  37.754 -    glBegin(GL_POLYGON);
  37.755 -    glNormal3fv(N026);
  37.756 -    glVertex3fv(P026);
  37.757 -    glNormal3fv(N027);
  37.758 -    glVertex3fv(P027);
  37.759 -    glNormal3fv(N035);
  37.760 -    glVertex3fv(P035);
  37.761 -    glNormal3fv(N034);
  37.762 -    glVertex3fv(P034);
  37.763 -    glEnd();
  37.764 -}
  37.765 -
  37.766 -void
  37.767 -Whale006(void)
  37.768 -{
  37.769 -    glBegin(GL_POLYGON);
  37.770 -    glNormal3fv(N092);
  37.771 -    glVertex3fv(P092);
  37.772 -    glNormal3fv(N093);
  37.773 -    glVertex3fv(P093);
  37.774 -    glNormal3fv(N094);
  37.775 -    glVertex3fv(P094);
  37.776 -    glEnd();
  37.777 -    glBegin(GL_POLYGON);
  37.778 -    glNormal3fv(N093);
  37.779 -    glVertex3fv(P093);
  37.780 -    glNormal3fv(N092);
  37.781 -    glVertex3fv(P092);
  37.782 -    glNormal3fv(N094);
  37.783 -    glVertex3fv(P094);
  37.784 -    glEnd();
  37.785 -    glBegin(GL_POLYGON);
  37.786 -    glNormal3fv(N092);
  37.787 -    glVertex3fv(P092);
  37.788 -    glNormal3fv(N091);
  37.789 -    glVertex3fv(P091);
  37.790 -    glNormal3fv(N095);
  37.791 -    glVertex3fv(P095);
  37.792 -    glNormal3fv(N094);
  37.793 -    glVertex3fv(P094);
  37.794 -    glEnd();
  37.795 -    glBegin(GL_POLYGON);
  37.796 -    glNormal3fv(N091);
  37.797 -    glVertex3fv(P091);
  37.798 -    glNormal3fv(N092);
  37.799 -    glVertex3fv(P092);
  37.800 -    glNormal3fv(N094);
  37.801 -    glVertex3fv(P094);
  37.802 -    glNormal3fv(N095);
  37.803 -    glVertex3fv(P095);
  37.804 -    glEnd();
  37.805 -}
  37.806 -
  37.807 -void
  37.808 -Whale007(void)
  37.809 -{
  37.810 -    glBegin(GL_POLYGON);
  37.811 -    glNormal3fv(N030);
  37.812 -    glVertex3fv(P030);
  37.813 -    glNormal3fv(N031);
  37.814 -    glVertex3fv(P031);
  37.815 -    glNormal3fv(N039);
  37.816 -    glVertex3fv(P039);
  37.817 -    glNormal3fv(N038);
  37.818 -    glVertex3fv(P038);
  37.819 -    glEnd();
  37.820 -    glBegin(GL_POLYGON);
  37.821 -    glNormal3fv(N029);
  37.822 -    glVertex3fv(P029);
  37.823 -    glNormal3fv(N030);
  37.824 -    glVertex3fv(P030);
  37.825 -    glNormal3fv(N038);
  37.826 -    glVertex3fv(P038);
  37.827 -    glEnd();
  37.828 -    glBegin(GL_POLYGON);
  37.829 -    glNormal3fv(N029);
  37.830 -    glVertex3fv(P029);
  37.831 -    glNormal3fv(N038);
  37.832 -    glVertex3fv(P038);
  37.833 -    glNormal3fv(N037);
  37.834 -    glVertex3fv(P037);
  37.835 -    glEnd();
  37.836 -    glBegin(GL_POLYGON);
  37.837 -    glNormal3fv(N028);
  37.838 -    glVertex3fv(P028);
  37.839 -    glNormal3fv(N029);
  37.840 -    glVertex3fv(P029);
  37.841 -    glNormal3fv(N037);
  37.842 -    glVertex3fv(P037);
  37.843 -    glEnd();
  37.844 -    glBegin(GL_POLYGON);
  37.845 -    glNormal3fv(N028);
  37.846 -    glVertex3fv(P028);
  37.847 -    glNormal3fv(N037);
  37.848 -    glVertex3fv(P037);
  37.849 -    glNormal3fv(N036);
  37.850 -    glVertex3fv(P036);
  37.851 -    glEnd();
  37.852 -    glBegin(GL_POLYGON);
  37.853 -    glNormal3fv(N035);
  37.854 -    glVertex3fv(P035);
  37.855 -    glNormal3fv(N028);
  37.856 -    glVertex3fv(P028);
  37.857 -    glNormal3fv(N036);
  37.858 -    glVertex3fv(P036);
  37.859 -    glEnd();
  37.860 -    glBegin(GL_POLYGON);
  37.861 -    glNormal3fv(N035);
  37.862 -    glVertex3fv(P035);
  37.863 -    glNormal3fv(N036);
  37.864 -    glVertex3fv(P036);
  37.865 -    glNormal3fv(N043);
  37.866 -    glVertex3fv(P043);
  37.867 -    glEnd();
  37.868 -    glBegin(GL_POLYGON);
  37.869 -    glNormal3fv(N034);
  37.870 -    glVertex3fv(P034);
  37.871 -    glNormal3fv(N035);
  37.872 -    glVertex3fv(P035);
  37.873 -    glNormal3fv(N043);
  37.874 -    glVertex3fv(P043);
  37.875 -    glNormal3fv(N042);
  37.876 -    glVertex3fv(P042);
  37.877 -    glEnd();
  37.878 -    glBegin(GL_POLYGON);
  37.879 -    glNormal3fv(N033);
  37.880 -    glVertex3fv(P033);
  37.881 -    glNormal3fv(N034);
  37.882 -    glVertex3fv(P034);
  37.883 -    glNormal3fv(N042);
  37.884 -    glVertex3fv(P042);
  37.885 -    glEnd();
  37.886 -    glBegin(GL_POLYGON);
  37.887 -    glNormal3fv(N033);
  37.888 -    glVertex3fv(P033);
  37.889 -    glNormal3fv(N042);
  37.890 -    glVertex3fv(P042);
  37.891 -    glNormal3fv(N041);
  37.892 -    glVertex3fv(P041);
  37.893 -    glEnd();
  37.894 -    glBegin(GL_POLYGON);
  37.895 -    glNormal3fv(N031);
  37.896 -    glVertex3fv(P031);
  37.897 -    glNormal3fv(N032);
  37.898 -    glVertex3fv(P032);
  37.899 -    glNormal3fv(N039);
  37.900 -    glVertex3fv(P039);
  37.901 -    glEnd();
  37.902 -    glBegin(GL_POLYGON);
  37.903 -    glNormal3fv(N039);
  37.904 -    glVertex3fv(P039);
  37.905 -    glNormal3fv(N032);
  37.906 -    glVertex3fv(P032);
  37.907 -    glNormal3fv(N040);
  37.908 -    glVertex3fv(P040);
  37.909 -    glEnd();
  37.910 -    glBegin(GL_POLYGON);
  37.911 -    glNormal3fv(N032);
  37.912 -    glVertex3fv(P032);
  37.913 -    glNormal3fv(N033);
  37.914 -    glVertex3fv(P033);
  37.915 -    glNormal3fv(N040);
  37.916 -    glVertex3fv(P040);
  37.917 -    glEnd();
  37.918 -    glBegin(GL_POLYGON);
  37.919 -    glNormal3fv(N040);
  37.920 -    glVertex3fv(P040);
  37.921 -    glNormal3fv(N033);
  37.922 -    glVertex3fv(P033);
  37.923 -    glNormal3fv(N041);
  37.924 -    glVertex3fv(P041);
  37.925 -    glEnd();
  37.926 -}
  37.927 -
  37.928 -void
  37.929 -Whale008(void)
  37.930 -{
  37.931 -    glBegin(GL_POLYGON);
  37.932 -    glNormal3fv(N042);
  37.933 -    glVertex3fv(P042);
  37.934 -    glNormal3fv(N043);
  37.935 -    glVertex3fv(P043);
  37.936 -    glNormal3fv(N051);
  37.937 -    glVertex3fv(P051);
  37.938 -    glNormal3fv(N050);
  37.939 -    glVertex3fv(P050);
  37.940 -    glEnd();
  37.941 -    glBegin(GL_POLYGON);
  37.942 -    glNormal3fv(N043);
  37.943 -    glVertex3fv(P043);
  37.944 -    glNormal3fv(N036);
  37.945 -    glVertex3fv(P036);
  37.946 -    glNormal3fv(N051);
  37.947 -    glVertex3fv(P051);
  37.948 -    glEnd();
  37.949 -    glBegin(GL_POLYGON);
  37.950 -    glNormal3fv(N051);
  37.951 -    glVertex3fv(P051);
  37.952 -    glNormal3fv(N036);
  37.953 -    glVertex3fv(P036);
  37.954 -    glNormal3fv(N044);
  37.955 -    glVertex3fv(P044);
  37.956 -    glEnd();
  37.957 -    glBegin(GL_POLYGON);
  37.958 -    glNormal3fv(N041);
  37.959 -    glVertex3fv(P041);
  37.960 -    glNormal3fv(N042);
  37.961 -    glVertex3fv(P042);
  37.962 -    glNormal3fv(N050);
  37.963 -    glVertex3fv(P050);
  37.964 -    glEnd();
  37.965 -    glBegin(GL_POLYGON);
  37.966 -    glNormal3fv(N041);
  37.967 -    glVertex3fv(P041);
  37.968 -    glNormal3fv(N050);
  37.969 -    glVertex3fv(P050);
  37.970 -    glNormal3fv(N049);
  37.971 -    glVertex3fv(P049);
  37.972 -    glEnd();
  37.973 -    glBegin(GL_POLYGON);
  37.974 -    glNormal3fv(N036);
  37.975 -    glVertex3fv(P036);
  37.976 -    glNormal3fv(N037);
  37.977 -    glVertex3fv(P037);
  37.978 -    glNormal3fv(N044);
  37.979 -    glVertex3fv(P044);
  37.980 -    glEnd();
  37.981 -    glBegin(GL_POLYGON);
  37.982 -    glNormal3fv(N044);
  37.983 -    glVertex3fv(P044);
  37.984 -    glNormal3fv(N037);
  37.985 -    glVertex3fv(P037);
  37.986 -    glNormal3fv(N045);
  37.987 -    glVertex3fv(P045);
  37.988 -    glEnd();
  37.989 -    glBegin(GL_POLYGON);
  37.990 -    glNormal3fv(N040);
  37.991 -    glVertex3fv(P040);
  37.992 -    glNormal3fv(N041);
  37.993 -    glVertex3fv(P041);
  37.994 -    glNormal3fv(N049);
  37.995 -    glVertex3fv(P049);
  37.996 -    glEnd();
  37.997 -    glBegin(GL_POLYGON);
  37.998 -    glNormal3fv(N040);
  37.999 -    glVertex3fv(P040);
 37.1000 -    glNormal3fv(N049);
 37.1001 -    glVertex3fv(P049);
 37.1002 -    glNormal3fv(N048);
 37.1003 -    glVertex3fv(P048);
 37.1004 -    glEnd();
 37.1005 -    glBegin(GL_POLYGON);
 37.1006 -    glNormal3fv(N039);
 37.1007 -    glVertex3fv(P039);
 37.1008 -    glNormal3fv(N040);
 37.1009 -    glVertex3fv(P040);
 37.1010 -    glNormal3fv(N048);
 37.1011 -    glVertex3fv(P048);
 37.1012 -    glEnd();
 37.1013 -    glBegin(GL_POLYGON);
 37.1014 -    glNormal3fv(N039);
 37.1015 -    glVertex3fv(P039);
 37.1016 -    glNormal3fv(N048);
 37.1017 -    glVertex3fv(P048);
 37.1018 -    glNormal3fv(N047);
 37.1019 -    glVertex3fv(P047);
 37.1020 -    glEnd();
 37.1021 -    glBegin(GL_POLYGON);
 37.1022 -    glNormal3fv(N037);
 37.1023 -    glVertex3fv(P037);
 37.1024 -    glNormal3fv(N038);
 37.1025 -    glVertex3fv(P038);
 37.1026 -    glNormal3fv(N045);
 37.1027 -    glVertex3fv(P045);
 37.1028 -    glEnd();
 37.1029 -    glBegin(GL_POLYGON);
 37.1030 -    glNormal3fv(N038);
 37.1031 -    glVertex3fv(P038);
 37.1032 -    glNormal3fv(N046);
 37.1033 -    glVertex3fv(P046);
 37.1034 -    glNormal3fv(N045);
 37.1035 -    glVertex3fv(P045);
 37.1036 -    glEnd();
 37.1037 -    glBegin(GL_POLYGON);
 37.1038 -    glNormal3fv(N038);
 37.1039 -    glVertex3fv(P038);
 37.1040 -    glNormal3fv(N039);
 37.1041 -    glVertex3fv(P039);
 37.1042 -    glNormal3fv(N047);
 37.1043 -    glVertex3fv(P047);
 37.1044 -    glNormal3fv(N046);
 37.1045 -    glVertex3fv(P046);
 37.1046 -    glEnd();
 37.1047 -}
 37.1048 -
 37.1049 -void
 37.1050 -Whale009(void)
 37.1051 -{
 37.1052 -    glBegin(GL_POLYGON);
 37.1053 -    glNormal3fv(N050);
 37.1054 -    glVertex3fv(P050);
 37.1055 -    glNormal3fv(N051);
 37.1056 -    glVertex3fv(P051);
 37.1057 -    glNormal3fv(N059);
 37.1058 -    glVertex3fv(P059);
 37.1059 -    glNormal3fv(N058);
 37.1060 -    glVertex3fv(P058);
 37.1061 -    glEnd();
 37.1062 -    glBegin(GL_POLYGON);
 37.1063 -    glNormal3fv(N051);
 37.1064 -    glVertex3fv(P051);
 37.1065 -    glNormal3fv(N044);
 37.1066 -    glVertex3fv(P044);
 37.1067 -    glNormal3fv(N059);
 37.1068 -    glVertex3fv(P059);
 37.1069 -    glEnd();
 37.1070 -    glBegin(GL_POLYGON);
 37.1071 -    glNormal3fv(N059);
 37.1072 -    glVertex3fv(P059);
 37.1073 -    glNormal3fv(N044);
 37.1074 -    glVertex3fv(P044);
 37.1075 -    glNormal3fv(N052);
 37.1076 -    glVertex3fv(P052);
 37.1077 -    glEnd();
 37.1078 -    glBegin(GL_POLYGON);
 37.1079 -    glNormal3fv(N044);
 37.1080 -    glVertex3fv(P044);
 37.1081 -    glNormal3fv(N045);
 37.1082 -    glVertex3fv(P045);
 37.1083 -    glNormal3fv(N053);
 37.1084 -    glVertex3fv(P053);
 37.1085 -    glEnd();
 37.1086 -    glBegin(GL_POLYGON);
 37.1087 -    glNormal3fv(N044);
 37.1088 -    glVertex3fv(P044);
 37.1089 -    glNormal3fv(N053);
 37.1090 -    glVertex3fv(P053);
 37.1091 -    glNormal3fv(N052);
 37.1092 -    glVertex3fv(P052);
 37.1093 -    glEnd();
 37.1094 -    glBegin(GL_POLYGON);
 37.1095 -    glNormal3fv(N049);
 37.1096 -    glVertex3fv(P049);
 37.1097 -    glNormal3fv(N050);
 37.1098 -    glVertex3fv(P050);
 37.1099 -    glNormal3fv(N058);
 37.1100 -    glVertex3fv(P058);
 37.1101 -    glEnd();
 37.1102 -    glBegin(GL_POLYGON);
 37.1103 -    glNormal3fv(N049);
 37.1104 -    glVertex3fv(P049);
 37.1105 -    glNormal3fv(N058);
 37.1106 -    glVertex3fv(P058);
 37.1107 -    glNormal3fv(N057);
 37.1108 -    glVertex3fv(P057);
 37.1109 -    glEnd();
 37.1110 -    glBegin(GL_POLYGON);
 37.1111 -    glNormal3fv(N048);
 37.1112 -    glVertex3fv(P048);
 37.1113 -    glNormal3fv(N049);
 37.1114 -    glVertex3fv(P049);
 37.1115 -    glNormal3fv(N057);
 37.1116 -    glVertex3fv(P057);
 37.1117 -    glEnd();
 37.1118 -    glBegin(GL_POLYGON);
 37.1119 -    glNormal3fv(N048);
 37.1120 -    glVertex3fv(P048);
 37.1121 -    glNormal3fv(N057);
 37.1122 -    glVertex3fv(P057);
 37.1123 -    glNormal3fv(N056);
 37.1124 -    glVertex3fv(P056);
 37.1125 -    glEnd();
 37.1126 -    glBegin(GL_POLYGON);
 37.1127 -    glNormal3fv(N047);
 37.1128 -    glVertex3fv(P047);
 37.1129 -    glNormal3fv(N048);
 37.1130 -    glVertex3fv(P048);
 37.1131 -    glNormal3fv(N056);
 37.1132 -    glVertex3fv(P056);
 37.1133 -    glEnd();
 37.1134 -    glBegin(GL_POLYGON);
 37.1135 -    glNormal3fv(N047);
 37.1136 -    glVertex3fv(P047);
 37.1137 -    glNormal3fv(N056);
 37.1138 -    glVertex3fv(P056);
 37.1139 -    glNormal3fv(N055);
 37.1140 -    glVertex3fv(P055);
 37.1141 -    glEnd();
 37.1142 -    glBegin(GL_POLYGON);
 37.1143 -    glNormal3fv(N045);
 37.1144 -    glVertex3fv(P045);
 37.1145 -    glNormal3fv(N046);
 37.1146 -    glVertex3fv(P046);
 37.1147 -    glNormal3fv(N053);
 37.1148 -    glVertex3fv(P053);
 37.1149 -    glEnd();
 37.1150 -    glBegin(GL_POLYGON);
 37.1151 -    glNormal3fv(N046);
 37.1152 -    glVertex3fv(P046);
 37.1153 -    glNormal3fv(N054);
 37.1154 -    glVertex3fv(P054);
 37.1155 -    glNormal3fv(N053);
 37.1156 -    glVertex3fv(P053);
 37.1157 -    glEnd();
 37.1158 -    glBegin(GL_POLYGON);
 37.1159 -    glNormal3fv(N046);
 37.1160 -    glVertex3fv(P046);
 37.1161 -    glNormal3fv(N047);
 37.1162 -    glVertex3fv(P047);
 37.1163 -    glNormal3fv(N055);
 37.1164 -    glVertex3fv(P055);
 37.1165 -    glNormal3fv(N054);
 37.1166 -    glVertex3fv(P054);
 37.1167 -    glEnd();
 37.1168 -}
 37.1169 -
 37.1170 -void
 37.1171 -Whale010(void)
 37.1172 -{
 37.1173 -    glBegin(GL_POLYGON);
 37.1174 -    glNormal3fv(N080);
 37.1175 -    glVertex3fv(P080);
 37.1176 -    glNormal3fv(N081);
 37.1177 -    glVertex3fv(P081);
 37.1178 -    glNormal3fv(N085);
 37.1179 -    glVertex3fv(P085);
 37.1180 -    glEnd();
 37.1181 -    glBegin(GL_POLYGON);
 37.1182 -    glNormal3fv(N081);
 37.1183 -    glVertex3fv(P081);
 37.1184 -    glNormal3fv(N083);
 37.1185 -    glVertex3fv(P083);
 37.1186 -    glNormal3fv(N085);
 37.1187 -    glVertex3fv(P085);
 37.1188 -    glEnd();
 37.1189 -    glBegin(GL_POLYGON);
 37.1190 -    glNormal3fv(N085);
 37.1191 -    glVertex3fv(P085);
 37.1192 -    glNormal3fv(N083);
 37.1193 -    glVertex3fv(P083);
 37.1194 -    glNormal3fv(N077);
 37.1195 -    glVertex3fv(P077);
 37.1196 -    glEnd();
 37.1197 -    glBegin(GL_POLYGON);
 37.1198 -    glNormal3fv(N083);
 37.1199 -    glVertex3fv(P083);
 37.1200 -    glNormal3fv(N087);
 37.1201 -    glVertex3fv(P087);
 37.1202 -    glNormal3fv(N077);
 37.1203 -    glVertex3fv(P077);
 37.1204 -    glEnd();
 37.1205 -    glBegin(GL_POLYGON);
 37.1206 -    glNormal3fv(N077);
 37.1207 -    glVertex3fv(P077);
 37.1208 -    glNormal3fv(N087);
 37.1209 -    glVertex3fv(P087);
 37.1210 -    glNormal3fv(N090);
 37.1211 -    glVertex3fv(P090);
 37.1212 -    glEnd();
 37.1213 -    glBegin(GL_POLYGON);
 37.1214 -    glNormal3fv(N081);
 37.1215 -    glVertex3fv(P081);
 37.1216 -    glNormal3fv(N080);
 37.1217 -    glVertex3fv(P080);
 37.1218 -    glNormal3fv(N085);
 37.1219 -    glVertex3fv(P085);
 37.1220 -    glEnd();
 37.1221 -    glBegin(GL_POLYGON);
 37.1222 -    glNormal3fv(N083);
 37.1223 -    glVertex3fv(P083);
 37.1224 -    glNormal3fv(N081);
 37.1225 -    glVertex3fv(P081);
 37.1226 -    glNormal3fv(N085);
 37.1227 -    glVertex3fv(P085);
 37.1228 -    glEnd();
 37.1229 -    glBegin(GL_POLYGON);
 37.1230 -    glNormal3fv(N083);
 37.1231 -    glVertex3fv(P083);
 37.1232 -    glNormal3fv(N085);
 37.1233 -    glVertex3fv(P085);
 37.1234 -    glNormal3fv(N077);
 37.1235 -    glVertex3fv(P077);
 37.1236 -    glEnd();
 37.1237 -    glBegin(GL_POLYGON);
 37.1238 -    glNormal3fv(N087);
 37.1239 -    glVertex3fv(P087);
 37.1240 -    glNormal3fv(N083);
 37.1241 -    glVertex3fv(P083);
 37.1242 -    glNormal3fv(N077);
 37.1243 -    glVertex3fv(P077);
 37.1244 -    glEnd();
 37.1245 -    glBegin(GL_POLYGON);
 37.1246 -    glNormal3fv(N087);
 37.1247 -    glVertex3fv(P087);
 37.1248 -    glNormal3fv(N077);
 37.1249 -    glVertex3fv(P077);
 37.1250 -    glNormal3fv(N090);
 37.1251 -    glVertex3fv(P090);
 37.1252 -    glEnd();
 37.1253 -}
 37.1254 -
 37.1255 -void
 37.1256 -Whale011(void)
 37.1257 -{
 37.1258 -    glBegin(GL_POLYGON);
 37.1259 -    glNormal3fv(N082);
 37.1260 -    glVertex3fv(P082);
 37.1261 -    glNormal3fv(N084);
 37.1262 -    glVertex3fv(P084);
 37.1263 -    glNormal3fv(N079);
 37.1264 -    glVertex3fv(P079);
 37.1265 -    glEnd();
 37.1266 -    glBegin(GL_POLYGON);
 37.1267 -    glNormal3fv(N084);
 37.1268 -    glVertex3fv(P084);
 37.1269 -    glNormal3fv(N086);
 37.1270 -    glVertex3fv(P086);
 37.1271 -    glNormal3fv(N079);
 37.1272 -    glVertex3fv(P079);
 37.1273 -    glEnd();
 37.1274 -    glBegin(GL_POLYGON);
 37.1275 -    glNormal3fv(N079);
 37.1276 -    glVertex3fv(P079);
 37.1277 -    glNormal3fv(N086);
 37.1278 -    glVertex3fv(P086);
 37.1279 -    glNormal3fv(N078);
 37.1280 -    glVertex3fv(P078);
 37.1281 -    glEnd();
 37.1282 -    glBegin(GL_POLYGON);
 37.1283 -    glNormal3fv(N086);
 37.1284 -    glVertex3fv(P086);
 37.1285 -    glNormal3fv(N088);
 37.1286 -    glVertex3fv(P088);
 37.1287 -    glNormal3fv(N078);
 37.1288 -    glVertex3fv(P078);
 37.1289 -    glEnd();
 37.1290 -    glBegin(GL_POLYGON);
 37.1291 -    glNormal3fv(N078);
 37.1292 -    glVertex3fv(P078);
 37.1293 -    glNormal3fv(N088);
 37.1294 -    glVertex3fv(P088);
 37.1295 -    glNormal3fv(N089);
 37.1296 -    glVertex3fv(P089);
 37.1297 -    glEnd();
 37.1298 -    glBegin(GL_POLYGON);
 37.1299 -    glNormal3fv(N088);
 37.1300 -    glVertex3fv(P088);
 37.1301 -    glNormal3fv(N086);
 37.1302 -    glVertex3fv(P086);
 37.1303 -    glNormal3fv(N089);
 37.1304 -    glVertex3fv(P089);
 37.1305 -    glEnd();
 37.1306 -    glBegin(GL_POLYGON);
 37.1307 -    glNormal3fv(N089);
 37.1308 -    glVertex3fv(P089);
 37.1309 -    glNormal3fv(N086);
 37.1310 -    glVertex3fv(P086);
 37.1311 -    glNormal3fv(N078);
 37.1312 -    glVertex3fv(P078);
 37.1313 -    glEnd();
 37.1314 -    glBegin(GL_POLYGON);
 37.1315 -    glNormal3fv(N086);
 37.1316 -    glVertex3fv(P086);
 37.1317 -    glNormal3fv(N084);
 37.1318 -    glVertex3fv(P084);
 37.1319 -    glNormal3fv(N078);
 37.1320 -    glVertex3fv(P078);
 37.1321 -    glEnd();
 37.1322 -    glBegin(GL_POLYGON);
 37.1323 -    glNormal3fv(N078);
 37.1324 -    glVertex3fv(P078);
 37.1325 -    glNormal3fv(N084);
 37.1326 -    glVertex3fv(P084);
 37.1327 -    glNormal3fv(N079);
 37.1328 -    glVertex3fv(P079);
 37.1329 -    glEnd();
 37.1330 -    glBegin(GL_POLYGON);
 37.1331 -    glNormal3fv(N084);
 37.1332 -    glVertex3fv(P084);
 37.1333 -    glNormal3fv(N082);
 37.1334 -    glVertex3fv(P082);
 37.1335 -    glNormal3fv(N079);
 37.1336 -    glVertex3fv(P079);
 37.1337 -    glEnd();
 37.1338 -}
 37.1339 -
 37.1340 -void
 37.1341 -Whale012(void)
 37.1342 -{
 37.1343 -    glBegin(GL_POLYGON);
 37.1344 -    glNormal3fv(N058);
 37.1345 -    glVertex3fv(P058);
 37.1346 -    glNormal3fv(N059);
 37.1347 -    glVertex3fv(P059);
 37.1348 -    glNormal3fv(N067);
 37.1349 -    glVertex3fv(P067);
 37.1350 -    glNormal3fv(N066);
 37.1351 -    glVertex3fv(P066);
 37.1352 -    glEnd();
 37.1353 -    glBegin(GL_POLYGON);
 37.1354 -    glNormal3fv(N059);
 37.1355 -    glVertex3fv(P059);
 37.1356 -    glNormal3fv(N052);
 37.1357 -    glVertex3fv(P052);
 37.1358 -    glNormal3fv(N060);
 37.1359 -    glVertex3fv(P060);
 37.1360 -    glEnd();
 37.1361 -    glBegin(GL_POLYGON);
 37.1362 -    glNormal3fv(N059);
 37.1363 -    glVertex3fv(P059);
 37.1364 -    glNormal3fv(N060);
 37.1365 -    glVertex3fv(P060);
 37.1366 -    glNormal3fv(N067);
 37.1367 -    glVertex3fv(P067);
 37.1368 -    glEnd();
 37.1369 -    glBegin(GL_POLYGON);
 37.1370 -    glNormal3fv(N058);
 37.1371 -    glVertex3fv(P058);
 37.1372 -    glNormal3fv(N066);
 37.1373 -    glVertex3fv(P066);
 37.1374 -    glNormal3fv(N065);
 37.1375 -    glVertex3fv(P065);
 37.1376 -    glEnd();
 37.1377 -    glBegin(GL_POLYGON);
 37.1378 -    glNormal3fv(N058);
 37.1379 -    glVertex3fv(P058);
 37.1380 -    glNormal3fv(N065);
 37.1381 -    glVertex3fv(P065);
 37.1382 -    glNormal3fv(N057);
 37.1383 -    glVertex3fv(P057);
 37.1384 -    glEnd();
 37.1385 -    glBegin(GL_POLYGON);
 37.1386 -    glNormal3fv(N056);
 37.1387 -    glVertex3fv(P056);
 37.1388 -    glNormal3fv(N057);
 37.1389 -    glVertex3fv(P057);
 37.1390 -    glNormal3fv(N065);
 37.1391 -    glVertex3fv(P065);
 37.1392 -    glEnd();
 37.1393 -    glBegin(GL_POLYGON);
 37.1394 -    glNormal3fv(N056);
 37.1395 -    glVertex3fv(P056);
 37.1396 -    glNormal3fv(N065);
 37.1397 -    glVertex3fv(P065);
 37.1398 -    glNormal3fv(N006);
 37.1399 -    glVertex3fv(P006);
 37.1400 -    glEnd();
 37.1401 -    glBegin(GL_POLYGON);
 37.1402 -    glNormal3fv(N056);
 37.1403 -    glVertex3fv(P056);
 37.1404 -    glNormal3fv(N006);
 37.1405 -    glVertex3fv(P006);
 37.1406 -    glNormal3fv(N063);
 37.1407 -    glVertex3fv(P063);
 37.1408 -    glEnd();
 37.1409 -    glBegin(GL_POLYGON);
 37.1410 -    glNormal3fv(N056);
 37.1411 -    glVertex3fv(P056);
 37.1412 -    glNormal3fv(N063);
 37.1413 -    glVertex3fv(P063);
 37.1414 -    glNormal3fv(N055);
 37.1415 -    glVertex3fv(P055);
 37.1416 -    glEnd();
 37.1417 -    glBegin(GL_POLYGON);
 37.1418 -    glNormal3fv(N054);
 37.1419 -    glVertex3fv(P054);
 37.1420 -    glNormal3fv(N062);
 37.1421 -    glVertex3fv(P062);
 37.1422 -    glNormal3fv(N005);
 37.1423 -    glVertex3fv(P005);
 37.1424 -    glEnd();
 37.1425 -    glBegin(GL_POLYGON);
 37.1426 -    glNormal3fv(N054);
 37.1427 -    glVertex3fv(P054);
 37.1428 -    glNormal3fv(N005);
 37.1429 -    glVertex3fv(P005);
 37.1430 -    glNormal3fv(N053);
 37.1431 -    glVertex3fv(P053);
 37.1432 -    glEnd();
 37.1433 -    glBegin(GL_POLYGON);
 37.1434 -    glNormal3fv(N053);
 37.1435 -    glVertex3fv(P053);
 37.1436 -    glNormal3fv(N005);
 37.1437 -    glVertex3fv(P005);
 37.1438 -    glNormal3fv(N060);
 37.1439 -    glVertex3fv(P060);
 37.1440 -    glEnd();
 37.1441 -    glBegin(GL_POLYGON);
 37.1442 -    glNormal3fv(N053);
 37.1443 -    glVertex3fv(P053);
 37.1444 -    glNormal3fv(N060);
 37.1445 -    glVertex3fv(P060);
 37.1446 -    glNormal3fv(N052);
 37.1447 -    glVertex3fv(P052);
 37.1448 -    glEnd();
 37.1449 -}
 37.1450 -
 37.1451 -void
 37.1452 -Whale013(void)
 37.1453 -{
 37.1454 -    glBegin(GL_POLYGON);
 37.1455 -    glNormal3fv(N066);
 37.1456 -    glVertex3fv(P066);
 37.1457 -    glNormal3fv(N067);
 37.1458 -    glVertex3fv(P067);
 37.1459 -    glNormal3fv(N096);
 37.1460 -    glVertex3fv(P096);
 37.1461 -    glNormal3fv(N097);
 37.1462 -    glVertex3fv(P097);
 37.1463 -    glEnd();
 37.1464 -    glBegin(GL_POLYGON);
 37.1465 -    glNormal3fv(N097);
 37.1466 -    glVertex3fv(P097);
 37.1467 -    glNormal3fv(N096);
 37.1468 -    glVertex3fv(P096);
 37.1469 -    glNormal3fv(N098);
 37.1470 -    glVertex3fv(P098);
 37.1471 -    glNormal3fv(N099);
 37.1472 -    glVertex3fv(P099);
 37.1473 -    glEnd();
 37.1474 -    glBegin(GL_POLYGON);
 37.1475 -    glNormal3fv(N065);
 37.1476 -    glVertex3fv(P065);
 37.1477 -    glNormal3fv(N066);
 37.1478 -    glVertex3fv(P066);
 37.1479 -    glNormal3fv(N097);
 37.1480 -    glVertex3fv(P097);
 37.1481 -    glEnd();
 37.1482 -    glBegin(GL_POLYGON);
 37.1483 -    glNormal3fv(N067);
 37.1484 -    glVertex3fv(P067);
 37.1485 -    glNormal3fv(N060);
 37.1486 -    glVertex3fv(P060);
 37.1487 -    glNormal3fv(N096);
 37.1488 -    glVertex3fv(P096);
 37.1489 -    glEnd();
 37.1490 -    glBegin(GL_POLYGON);
 37.1491 -    glNormal3fv(N060);
 37.1492 -    glVertex3fv(P060);
 37.1493 -    glNormal3fv(N005);
 37.1494 -    glVertex3fv(P005);
 37.1495 -    glNormal3fv(N096);
 37.1496 -    glVertex3fv(P096);
 37.1497 -    glEnd();
 37.1498 -    glBegin(GL_POLYGON);
 37.1499 -    glNormal3fv(N096);
 37.1500 -    glVertex3fv(P096);
 37.1501 -    glNormal3fv(N005);
 37.1502 -    glVertex3fv(P005);
 37.1503 -    glNormal3fv(N098);
 37.1504 -    glVertex3fv(P098);
 37.1505 -    glEnd();
 37.1506 -    glBegin(GL_POLYGON);
 37.1507 -    glNormal3fv(N006);
 37.1508 -    glVertex3fv(P006);
 37.1509 -    glNormal3fv(N065);
 37.1510 -    glVertex3fv(P065);
 37.1511 -    glNormal3fv(N097);
 37.1512 -    glVertex3fv(P097);
 37.1513 -    glEnd();
 37.1514 -    glBegin(GL_POLYGON);
 37.1515 -    glNormal3fv(N006);
 37.1516 -    glVertex3fv(P006);
 37.1517 -    glNormal3fv(N097);
 37.1518 -    glVertex3fv(P097);
 37.1519 -    glNormal3fv(N099);
 37.1520 -    glVertex3fv(P099);
 37.1521 -    glEnd();
 37.1522 -    glBegin(GL_POLYGON);
 37.1523 -    glVertex3fv(P005);
 37.1524 -    glVertex3fv(P006);
 37.1525 -    glVertex3fv(P099);
 37.1526 -    glVertex3fv(P098);
 37.1527 -    glEnd();
 37.1528 -}
 37.1529 -
 37.1530 -void
 37.1531 -Whale014(void)
 37.1532 -{
 37.1533 -    glBegin(GL_POLYGON);
 37.1534 -    glNormal3fv(N062);
 37.1535 -    glVertex3fv(P062);
 37.1536 -    glNormal3fv(N004);
 37.1537 -    glVertex3fv(P004);
 37.1538 -    glNormal3fv(N005);
 37.1539 -    glVertex3fv(P005);
 37.1540 -    glEnd();
 37.1541 -    glBegin(GL_POLYGON);
 37.1542 -    glVertex3fv(P006);
 37.1543 -    glVertex3fv(P005);
 37.1544 -    glVertex3fv(P004);
 37.1545 -    glVertex3fv(P008);
 37.1546 -    glEnd();
 37.1547 -    glBegin(GL_POLYGON);
 37.1548 -    glNormal3fv(N063);
 37.1549 -    glVertex3fv(P063);
 37.1550 -    glNormal3fv(N006);
 37.1551 -    glVertex3fv(P006);
 37.1552 -    glNormal3fv(N002);
 37.1553 -    glVertex3fv(P002);
 37.1554 -    glEnd();
 37.1555 -    glBegin(GL_POLYGON);
 37.1556 -    glNormal3fv(N002);
 37.1557 -    glVertex3fv(P002);
 37.1558 -    glNormal3fv(N006);
 37.1559 -    glVertex3fv(P006);
 37.1560 -    glNormal3fv(N008);
 37.1561 -    glVertex3fv(P008);
 37.1562 -    glEnd();
 37.1563 -    glBegin(GL_POLYGON);
 37.1564 -    glNormal3fv(N002);
 37.1565 -    glVertex3fv(P002);
 37.1566 -    glNormal3fv(N008);
 37.1567 -    glVertex3fv(P008);
 37.1568 -    glNormal3fv(N004);
 37.1569 -    glVertex3fv(P004);
 37.1570 -    glEnd();
 37.1571 -    glBegin(GL_POLYGON);
 37.1572 -    glNormal3fv(N062);
 37.1573 -    glVertex3fv(P062);
 37.1574 -    glNormal3fv(N002);
 37.1575 -    glVertex3fv(P002);
 37.1576 -    glNormal3fv(N004);
 37.1577 -    glVertex3fv(P004);
 37.1578 -    glEnd();
 37.1579 -}
 37.1580 -
 37.1581 -void
 37.1582 -Whale015(void)
 37.1583 -{
 37.1584 -    glBegin(GL_POLYGON);
 37.1585 -    glNormal3fv(N055);
 37.1586 -    glVertex3fv(P055);
 37.1587 -    glNormal3fv(N003);
 37.1588 -    glVertex3fv(P003);
 37.1589 -    glNormal3fv(N054);
 37.1590 -    glVertex3fv(P054);
 37.1591 -    glEnd();
 37.1592 -    glBegin(GL_POLYGON);
 37.1593 -    glNormal3fv(N003);
 37.1594 -    glVertex3fv(P003);
 37.1595 -    glNormal3fv(N055);
 37.1596 -    glVertex3fv(P055);
 37.1597 -    glNormal3fv(N063);
 37.1598 -    glVertex3fv(P063);
 37.1599 -    glEnd();
 37.1600 -    glBegin(GL_POLYGON);
 37.1601 -    glNormal3fv(N003);
 37.1602 -    glVertex3fv(P003);
 37.1603 -    glNormal3fv(N063);
 37.1604 -    glVertex3fv(P063);
 37.1605 -    glNormal3fv(N100);
 37.1606 -    glVertex3fv(P100);
 37.1607 -    glEnd();
 37.1608 -    glBegin(GL_POLYGON);
 37.1609 -    glNormal3fv(N003);
 37.1610 -    glVertex3fv(P003);
 37.1611 -    glNormal3fv(N100);
 37.1612 -    glVertex3fv(P100);
 37.1613 -    glNormal3fv(N054);
 37.1614 -    glVertex3fv(P054);
 37.1615 -    glEnd();
 37.1616 -    glBegin(GL_POLYGON);
 37.1617 -    glNormal3fv(N054);
 37.1618 -    glVertex3fv(P054);
 37.1619 -    glNormal3fv(N100);
 37.1620 -    glVertex3fv(P100);
 37.1621 -    glNormal3fv(N062);
 37.1622 -    glVertex3fv(P062);
 37.1623 -    glEnd();
 37.1624 -    glBegin(GL_POLYGON);
 37.1625 -    glNormal3fv(N100);
 37.1626 -    glVertex3fv(P100);
 37.1627 -    glNormal3fv(N063);
 37.1628 -    glVertex3fv(P063);
 37.1629 -    glNormal3fv(N002);
 37.1630 -    glVertex3fv(P002);
 37.1631 -    glEnd();
 37.1632 -    glBegin(GL_POLYGON);
 37.1633 -    glNormal3fv(N100);
 37.1634 -    glVertex3fv(P100);
 37.1635 -    glNormal3fv(N002);
 37.1636 -    glVertex3fv(P002);
 37.1637 -    glNormal3fv(N062);
 37.1638 -    glVertex3fv(P062);
 37.1639 -    glEnd();
 37.1640 -}
 37.1641 -