diff --git a/VERSIONS.TXT b/VERSIONS.TXT index e59f85ca..f60dc2a8 100644 --- a/VERSIONS.TXT +++ b/VERSIONS.TXT @@ -33,7 +33,6 @@ NEW: [brl.xml] Added a XML module. (Author: MikeHart) NEW: [brl.vec2d] Added a 2d vector module. (Author: MikeHart) NEW: [mojo2] Added DrawList.DrawRoundedRect:Void(x:Float, y:Float, width:Float, height:Float, radius:Float=10, material:Material=Null). (Author: MikeHart) NEW: [brl.events] Added an event handling module. (Author: MikeHart) -NEW: [AGK-Android-Ouya] Added experimental AGK Android Ouya target. (Author: MikeHart) NEW: [mojo] Added #MOJO_USE_MONKEYSTATE=False to be able to switch to use old monkeystate. diff --git a/tools/build_agk/BuildTargets.cxs b/tools/build_agk/BuildTargets.cxs deleted file mode 100644 index 61f31c27..00000000 --- a/tools/build_agk/BuildTargets.cxs +++ /dev/null @@ -1,848 +0,0 @@ -' To build the agk2 module and its documentation automatically, just build and run -' this file as a Desktop Game - -#If TARGET<>"glfw" -#Error "Invalid target. Please select Desktop Game!" -#Endif - -#If HOST = "linux" -#Error "Invalid platform! Currently not available in Linux!" -#Endif - -'#GLFW_USE_MINGW = False -#TEXT_FILES+="*.html|*.htm" -Strict - -Import brl.filestream -Import brl.requesters -Import os - -#GLFW_APP_LABEL="AGKBuildTarget V1.17" -#GLFW_APP_PUBLISHER="Michael Hartlef" - -Global _i:Int -Global _j:Int -Global _i2:Int -Global _j2:Int -Global outs:String -Global outcpp:String -Global outdocs:String - -Global helppath:String ="/Tier 1/Help/keywordlinks.txt" -Global apipath:String ="/Tier 1/Editor/data/tags/main.agc.tags" -Global logopath:String ="/Tier 1/Help/guides/Android - AGK Help_files/agk-logo.png" - -Global helpmap:StringMap -Global apiMap:StringMap - -'--------------------------------------------------- -Function Convert:String(cmd:String) - Local ret:String = cmd - Select cmd - Case "Integer" - ret = "Int" - Case "" - ret = "Void" - Default - ret = cmd - End - Return ret -End -'--------------------------------------------------- -Function Convert2:String(cmd:String) - Local ret:String = cmd - Select cmd - Case "Integer" - ret = "int" - Case "Float" - ret = "float" - Case "" - ret = "void" - Case "String" - ret = "String" - Default - ret = cmd - End - Return ret -End - -'--------------------------------------------------- -Function Main:Int() - Local oldAPI:String - Local variant:Int = 0 - Local agk_path:String - Local agk_EXE:String - Local helpMap2:StringMap = New StringMap - Local helpTopic:StringMap = New StringMap - Local transMap:StringMap = New StringMap - Local cerberusPath:String - Local cerberusEXE:String - - - ' Select the cerberus directory - If HostOS() = "winnt" - cerberusPath = "D:\CerberusX\Cerberus" - cerberusEXE = "\Cerberus.exe" - Else - cerberusPath = "/Applications/Cerberus" - cerberusEXE = "/Cerberus.app" - Endif - - If HostOS() = "macos" - Notify ("AGKBuildTarget", "Please select the Cerberus X directory!", False) - Endif - cerberusPath = RequestDir("Please select the Cerberus X directory",cerberusPath) - -'Print (cerberusPath+cerberusEXE) - - If FileType(cerberusPath+cerberusEXE) = FILETYPE_NONE - Notify ("Error", "Cerberus directory was not selected!", True) - ExitApp(0) - Endif - - - ' Select the AGK directory - If HostOS() = "winnt" - agk_path = "D:/Program Files (x86)/The Game Creators/AGK2" - agk_EXE = "/Tier 1/Compiler/AGKBroadcaster.exe" - Else - agk_path = "/Applications/AGKMac" - agk_EXE = "/AppGameKit.app" - Endif - - - - If HostOS() = "macos" - Notify ("AGKBuildTarget", "Please select the AGK directory!", False) - Endif - agk_path = RequestDir("Please select the AGK directory",agk_path) - -'Print (agk_path+agk_EXE) - - If FileType(agk_path+agk_EXE) = FILETYPE_NONE - Notify ("Error", "AGK Directory was not selected!", True) - ExitApp(0) - Endif - - ' keywords.txt Datei finden - If HostOS() = "macos" - helppath ="/AppGameKit.app/Contents/Resources/share/Help/keywordlinks.txt" - logopath ="/AppGameKit.app/Contents/Resources/share/Help/guides/Android - AGK Help_files/agk-logo.png" - Endif - - If FileType(agk_path+helppath) = FILETYPE_NONE - Notify ("Error", "AGK keywords.txt was not found!", True) - ExitApp(0) - Endif - - ' main.agc.tags finden - If HostOS() = "macos" - apipath ="/AppGameKit.app/Contents/Resources/share/Geany/tags/main.agc.tags" - Endif - -'Print(agk_path+apipath) - - If FileType(agk_path+apipath) = FILETYPE_NONE - Notify ("Error", "AGK main.agc.tags was not found!", True) - ExitApp(0) - Endif - - - - Local helpfile := FileStream.Open(agk_path+helppath, "r") - If helpfile <> Null - Local helplinks := helpfile.ReadString() - helpfile.Close() - Local helplines := helplinks.Split("~n") - helpmap = New StringMap - For Local hi:= 1 To helplines.Length() - Local helpparts:= helplines[hi-1].Split("|") - If helpparts.Length()>1 - helpmap.Add(helpparts[0], helpparts[1]) - Endif - Next - - Local file := FileStream.Open(agk_path+apipath,"r") - Local apilines := file.ReadString() - file.Close() - - Local lines:=apilines.Split("~n") - For _i = 1 To lines.Length() - If lines[_i-1].Length()<3 Then Continue - Local parts:=lines[_i-1].Split("|") - - Local fTrans:String = "~tFunction " - outdocs += "# Function " - ' Function name - fTrans += parts[0] - outdocs += parts[0] - - ' return param - If parts[1].Length()>0 - fTrans = fTrans + ":" - fTrans += Convert(parts[1]) - outdocs += ":"+Convert(parts[1]) - Else - fTrans = fTrans + ":Void" - outdocs += ":Void" - Endif - - 'parameters - fTrans += "(" - outdocs += "(" - If parts[2].Length()>3 - parts[2] = parts[2].Replace("(","") - parts[2] = parts[2].Replace(")","") - Local params := parts[2].Split(",") - For _j = 1 To params.Length() - Local param := params[_j-1] - Local singleparam := param.Trim().Split(" ") - fTrans += "_" + singleparam[1] + ":" + Convert(singleparam[0]) - outdocs += "_" + singleparam[1] + ":" + Convert(singleparam[0]) - If _j < params.Length() - fTrans += ", " - outdocs += ", " - Endif - Next - Endif - fTrans += ")" - outdocs += ")~n" - outdocs += "~n" - outdocs += "~n" - Local helppath2:String - Local helps:String - - helppath2 = helpmap.Get(parts[0]) - helppath2 = helppath2.Replace("/","\") - helppath2 = helppath2.Replace("~r","") - helppath = helppath.Replace("\","/") - - Local ps:String = helppath+helppath2 - - Local helpfile2 := FileStream.Open(ExtractDir(agk_path+helppath)+"/"+helppath2.Replace("\","/"), "r") - If helpfile2 <> Null - helps = helpfile2.ReadString() - Local l1:= helps.Find("

Description

")+23 - Local l2:= helps.Find("

Definition

") - helps = helps[l1..l2] - - helpfile2.Close() - Endif - outdocs += helps + "~n" - outdocs += "~n" - outdocs += "~n" - - Local currVal:String = helpMap2.Get(StripDir(ExtractDir(helppath2)).Replace("-","_")) - If currVal.Length()>1 outdocs = currVal + outdocs - helpMap2.Set(StripDir(ExtractDir(helppath2)).Replace("-","_"), outdocs) - helpTopic.Set(StripDir(ExtractDir(helppath2)).Replace("-","_"),StripDir(ExtractDir(helppath2)).Replace("-","_")) - outdocs = "" - - ' agk:: call - If parts[0] = oldAPI - variant += 1 - Else - variant = 1 - Endif - - If parts[2].Find("String")>-1 - fTrans += " = ~q" + "_agk_" + parts[0] - If variant > 1 Then fTrans += variant - fTrans += "~q" - - ' building the conversion function - outcpp += Convert2(parts[1]) + " " + "_agk_" + parts[0] - If variant >1 Then outcpp += variant - outcpp += "(" - If parts[2].Length()>3 - Local paramsC := parts[2].Split(",") - For _j2 = 1 To paramsC.Length() - Local paramC := paramsC[_j2-1] - Local singleparamC := paramC.Trim().Split(" ") - outcpp += Convert2(singleparamC[0]) + " _" + singleparamC[1] - If _j2 < paramsC.Length() - outcpp += ", " - Endif - Next - Endif - outcpp += ") " - outcpp += "{ " - If Convert(parts[1])<>"Void" Then outcpp += "return " - outcpp += "agk::"+parts[0] + "(" - - If parts[2].Length()>3 - Local paramsC2 := parts[2].Split(",") - For Local _j22 := 1 To paramsC2.Length() - Local paramC2 := paramsC2[_j22-1] - Local singleparamC2 := paramC2.Trim().Split(" ") - If singleparamC2[0] = "String" Then outcpp += "C_STR(" - outcpp += "_" + singleparamC2[1] - If singleparamC2[0] = "String" Then outcpp += ")" - If _j22 < paramsC2.Length() - outcpp += ", " - Endif - Next - Endif - - outcpp += ");" - outcpp += " };" - outcpp += "~n" - Else - fTrans += " = ~q" + "agk::" + parts[0] - fTrans += "~q" - Endif - Local fTrans2:= fTrans + "~n" - Local currVal2:String = transMap.Get(StripDir(ExtractDir(helppath2)).Replace("-","_")) - If currVal2.Length()>1 fTrans2 = currVal2 + fTrans2 - transMap.Set(StripDir(ExtractDir(helppath2)).Replace("-","_"), fTrans2) - - outs += fTrans + "~n" - oldAPI = parts[0] - Next - - Local outs2:String - outs2 += "#If TARGET<>~qagk~q And TARGET<>~qagk_ios~q And TARGET<>~qagk_android~q And TARGET<>~qagk_android_ouya~q~n" - outs2 += "#Error ~qInvalid target!~q~n" - outs2 += "#Endif~n" - outs2 += "Import ~qnative/agk2.cpp~q~n" - - For Local hmKey := Eachin helpTopic - If hmKey.Value().Length > 1 Then outs2 += "Import agk2.agk2_"+hmKey.Value().Replace("-","_")+"~n" - Next - - outs2 += "Import agk2_constants~n" - outs2 += "~n" - outs2 += "Class CString Abstract~n" - outs2 += "End~n" - outs2 += "~n" - outs2 += "Extern~n" - outs2 += "~tFunction agk_Print:Void(_number:Int) = ~qagk::Print~q~n" - outs2 += "~tFunction agk_Print:Void(_number:Float) = ~qagk::Print~q~n" - outs2 += "~tFunction agk_Print:Void(_txt:String) = ~q_agk_Print~q~n" - outs2 += "~tFunction agk_PrintC:Void(_szString:String) = ~q_agk_PrintC~q~n" - outs2 += "~tFunction agk_PrintC:Void(_i:Int) = ~qagk::PrintC~q~n" - outs2 += "~tFunction agk_PrintC:Void(_f:Float) = ~qagk::PrintC~q~n" - outs2 += "~tFunction agk_Mod:Int(_a:Int, _b:Int) = ~qagk::Mod~q~n" - outs2 += "~n" - - 'outs = outs.Replace("Function Mod:Int", "'Function Mod:Int") - 'outs = outs.Replace("Function Print:Void", "'Function Print:Void") - 'outs = outs.Replace("Function PrintC:Void", "'Function PrintC:Void") - - 'outs2 += outs - 'outs2 += "~n" - outs2 += "Public~n" - - If FileType(cerberusPath+"/modules_ext/agk2")=FILETYPE_NONE - CreateDir(cerberusPath+"/modules_ext/agk2") - CreateDir(cerberusPath+"/modules_ext/agk2/native") - CreateDir(cerberusPath+"/modules_ext/agk2/cerberusdoc") - CreateDir(cerberusPath+"/modules_ext/agk2/3rdparty.cerberusdoc") - CreateDir(cerberusPath+"/modules_ext/agk2/3rdparty.cerberusdoc/agk2") - 'CreateDir(cerberusPath+"/modules_ext/agk2/3rdparty.cerberusdoc/agk2.data") - Endif - - Local files := FileStream.Open(cerberusPath+"/modules_ext/agk2/agk2.cxs","w") - files.WriteString(outs2) - files.Close() - - Local outc:String - outc += "// Beginning of the agk2.cpp file~n" - outc += "~n" - outc += "static String::CString C_STR( const String &t ){ return t.ToCString(); };~n" - outc += "~n" - outcpp = outcpp.Replace("String _agk_String(String _Data)", "//String _agk_String(String _Data)") - - outcpp = outc + outcpp - outcpp += "~n" - outcpp += "// End of the agk2.cpp file~n" - - Local filec := FileStream.Open(cerberusPath+"/modules_ext/agk2/native/agk2.cpp","w") - filec.WriteString(outcpp) - filec.Close() - -' CopyFile(cerberusPath+"/tools/build_agk/helpfiles/The AppGameKit target.cerberusdoc",cerberusPath+"/docs/cerberusdoc/Target SDKs/The AppGameKit target.cerberusdoc") -' Local td:=LoadString(cerberusPath+"/docs/cerberusdoc/Target SDKs.cerberusdoc") -' If td.Find("* [[The AppGameKit target]]") = -1 -' td += "~n* [[The AppGameKit target]]" -' SaveString(td, cerberusPath+"/docs/cerberusdoc/Target SDKs.cerberusdoc") -' Endif - - ' copy the target doc file - CopyFile(cerberusPath+"/tools/build_agk/helpfiles/agk2_target.txt",cerberusPath+"/docs/cerberusdoc/Target SDKs/The AppGameKit target.cerberusdoc") - - Local tdocs:String ="" - Local targetstxt:String - Local filet := FileStream.Open(cerberusPath+"/docs/cerberusdoc/Target SDKs.cerberusdoc","r") - If filet <> Null - targetstxt = filet.ReadString() - filet.Close() - tdocs = targetstxt - If tdocs.Find("* [[The AppGameKit target]]")=-1 - tdocs += "* [[The AppGameKit target]]"+"~n" - filet = FileStream.Open(cerberusPath+"/docs/cerberusdoc/Target SDKs.cerberusdoc","w") - filet.WriteString(tdocs) - filet.Close() - Endif - Else - Print ("File Target SDKs.cerberusdoc not found!!!") - Endif - - ' create main doc file - Local sdocs:String ="~n" - Local helptxt:String - - Local fileh := FileStream.Open(cerberusPath+"/tools/build_agk/helpfiles/agk2_help.txt","r") - If fileh <> Null - helptxt = fileh.ReadString() - fileh.Close() - sdocs += helptxt - sdocs += "~n" - sdocs += "~n" - Else - Print ("File agk_help.txt not found!!!") - Endif - - outdocs = sdocs + outdocs - Local filed := FileStream.Open(cerberusPath+"/modules_ext/agk2/3rdparty.cerberusdoc/agk2/agk2.cerberusdoc","w") - For Local hmKey := Eachin helpTopic - If hmKey.Value().Length > 1 Then outdocs += "* [[agk2.agk2_"+hmKey.Value().Replace("-","_")+"|"+hmKey.Value()+"]]~n" - - Next - filed.WriteString(outdocs) - filed.Close() - 'D:\Program Files (x86)\The Game Creators\AGK2\Tier 1\Help\guides\Android - AGK Help_files\agk-logo.png - CopyFile(agk_path+logopath,cerberusPath+"/modules_ext/agk2/3rdparty.cerberusdoc/agk2/agk2.png") - - ' Create sub doc file - For Local hmKey := Eachin helpTopic - If hmKey.Value().Length > 1 - Local fileds := FileStream.Open(cerberusPath+"/modules_ext/agk2/cerberusdoc/agk2_"+hmKey.Value().Replace("-","_")+".cerberusdoc","w") - outdocs = "~n" - outdocs += "# Module agk2_" + hmKey.Value() + "~n" - 'outdocs += "~n" - 'outdocs += "~n" - 'outdocs += "> " + hmKey.Value() - outdocs += "~n~n~n" - outdocs += helpMap2.Get(hmKey.Value().Replace("-","_")) - fileds.WriteString(outdocs) - fileds.Close() - Endif - Next - - ' Create sub module - For Local hmKey := Eachin helpTopic - If hmKey.Value().Length > 1 - Local filedsm := FileStream.Open(cerberusPath+"/modules_ext/agk2/agk2_"+hmKey.Value().Replace("-","_")+".cxs","w") - outdocs = "~n" -' outdocs += "Import agk2" -' outdocs += "~n" - outdocs += "~n" - outdocs += "Extern" - outdocs += "~n" - outdocs += transMap.Get(hmKey.Value().Replace("-","_")) - outdocs += "~n" - outdocs += "Public" - outdocs += "~n" - - outdocs = outdocs.Replace("Function Mod:Int", "'Function Mod:Int") - outdocs = outdocs.Replace("Function Print:Void", "'Function Print:Void") - outdocs = outdocs.Replace("Function PrintC:Void", "'Function PrintC:Void") - - filedsm.WriteString(outdocs) - filedsm.Close() - Endif - Next - - - - ' Copy constants module file - CopyFile(cerberusPath+"/tools/build_agk/modulefiles/agk2_constants.cxs",cerberusPath+"/modules_ext/agk2/agk2_constants.cxs") - Endif - - 'templates - CopyDir(cerberusPath+"/tools/build_agk/templates",(cerberusPath+"/bin/templates"), True) - - 'examples - CopyDir(cerberusPath+"/tools/build_agk/examples",(cerberusPath+"/examples/agk"), True) - - - If HostOS() = "winnt" - BuildTemplate(agk_path, cerberusPath) - Else - BuildTemplateOSX(agk_path, cerberusPath) - BuildTemplateIOS(agk_path, cerberusPath) - Endif - BuildTemplateAndroid(agk_path, cerberusPath) - BuildTemplateOuya(agk_path, cerberusPath) - - Notify( "AGKBuildTarget", "The AppGamekit Targets were successfully build!~nPlease rebuild the help files.", False ) - Return 0 -End - -Function BuildTemplate:Void(_path:String, cerberusPath:String) - Print "... build AGK Windows Desktop target ..." - - CreateDir((cerberusPath+"/targets_ext/appgamekit")) - CreateDir((cerberusPath+"/targets_ext/appgamekit/template")) - CreateDir((cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate")) - CreateDir((cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps")) - CreateDir((cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform")) - CreateDir((cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/windows")) - CreateDir((cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/windows/Lib")) - - CopyDir(_path+"/Tier 2/bullet",(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/bullet"), True) - CopyDir(_path+"/Tier 2/common",(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/common"), True) - CopyDir(_path+"/Tier 2/platform/windows/Lib/VS2017",(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/windows/Lib/VS2017"), True) - CopyDir(_path+"/Tier 2/platform/windows/Source",(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/windows/Source"), True) - CopyDir(_path+"/Tier 2/apps/template_windows_vs2017_64",(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_windows_vs2017_64"), True) - - - CopyFile(cerberusPath+"/tools/build_agk/targetfiles/target_desktop.cxs",cerberusPath+"/targets_ext/appgamekit/target.cxs") - CopyFile(cerberusPath+"/tools/build_agk/targetfiles/config_desktop.cxs",cerberusPath+"/targets_ext/appgamekit/template/config.cxs") - - - ' modify the template.h file - Local templateh:=LoadString(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_windows_vs2017_64/template.h" ) - - Local _starth:=templateh.Find( "#define DEVICE_WIDTH 1024" ) - Local _endh:=templateh.Find( "// used to make a more unique folder for the write path" ) - - templateh = templateh[0.._starth]+"//${CONFIG_BEGIN}~n//${CONFIG_END}~n~n"+templateh[_endh..templateh.Length()] - SaveString templateh,( cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_windows_vs2017_64/template.h" ) - - ' modify the template.cpp file - Local template:=LoadString(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_windows_vs2017_64/template.cpp" ) - - Local _end:=template.Find( "// Namespace" ) - Local _start:=_end-1 - - template = template[0.._start-1]+"~n//${TRANSCODE_BEGIN}~n//${TRANSCODE_END}~n~n"+template[_end..template.Length()] - - _start=template.Find( "agk::SetVirtualResolution" ) - _end=template.Find( "int app::Loop" )-5 - - template = template[0.._start-1]+"~tgc_init1();~n~tbbInit();~n~tgc_init2();~n"+template[_end..template.Length()] - - _start=template.Find( "agk::Print( agk::ScreenFPS(" ) - _end=template.Find( "// return 1 to close app" ) - - template = template[0.._start-1]+"~treturn bbMain(); "+template[_end..template.Length()] - - SaveString template,( cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_windows_vs2017_64/template.cpp" ) - -End - -Function BuildTemplateOuya:Void(_path:String, cerberusPath:String) - Print "... build AGK Android Ouya target ..." - CreateDir((cerberusPath+"/targets_ext/appgamekit_android_ouya")) - CreateDir((cerberusPath+"/targets_ext/appgamekit_android_ouya/template")) - CreateDir((cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate")) - - CopyDir(_path+"/Tier 2/bullet",(cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/bullet"), True) - CopyDir(_path+"/Tier 2/common",(cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/common"), True) - CopyDir(_path+"/Tier 2/FirebaseSDK",(cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/FirebaseSDK"), True) - - CreateDir((cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/platform")) - CreateDir((cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/platform/android")) - CopyDir(_path+"/Tier 2/platform/android",(cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/platform/android"), True) - - CreateDir((cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/apps")) - CopyDir(_path+"/Tier 2/apps/template_android_ouya",(cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/apps/template_android_ouya"), True) - CreateDir((cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_ouya/AGK2Template/src/main/jniLibs/arm64-v8a")) - CreateDir((cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_ouya/AGK2Template/src/main/jniLibs/armeabi-v7a")) - CreateDir((cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_ouya/AGK2Template/src/main/assets")) - - CopyFile(cerberusPath+"/tools/build_agk/targetfiles/target_android_ouya.cxs",cerberusPath+"/targets_ext/appgamekit_android_ouya/target.cxs") - CopyFile(cerberusPath+"/tools/build_agk/targetfiles/config_android_ouya.cxs",cerberusPath+"/targets_ext/appgamekit_android_ouya/template/config.cxs") - - CopyFile(cerberusPath+"/targets/android/template/release-key.keystore",cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/apps/template_android_ouya/release-key.keystore") - Local tmps:=LoadString(cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/apps/template_android_ouya/gradle.properties") - tmps = tmps.Replace("-Xmx4g","-Xmx1g") - SaveString(tmps,cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/apps/template_android_ouya/gradle.properties") - - 'CopyFile(cerberusPath+"/targets/android/template/gradletemplate/local.properties",cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/local.properties") - - ' modify the template.h file - Local templateh:=LoadString(cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/apps/template_android_ouya/AGK2Template/src/main/jni/template.h" ) - - Local _starth:=templateh.Find( "#include ~qagk.h~q" ) - Local _endh:=templateh.Find( "// Global values for the app" ) - 'Print(_starth+":"+_endh+":"+templateh.Length()) - templateh = templateh[0.._starth]+"#include ~qagk.h~q~n~n//${CONFIG_BEGIN}~n//${CONFIG_END}~n~n"+templateh[_endh..templateh.Length()] - SaveString templateh,( cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/apps/template_android_ouya/AGK2Template/src/main/jni/template.h" ) - - ' modify the template.cpp file - Local template:=LoadString(cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/apps/template_android_ouya/AGK2Template/src/main/jni/template.cpp" ) - - Local _end:=template.Find( "// Namespace" ) - Local _start:=_end-1 - - template = template[0.._start-1]+"~n//${TRANSCODE_BEGIN}~n//${TRANSCODE_END}~n~n"+template[_end..template.Length()] - - _start=template.Find( "agk::SetVirtualResolution" ) - _end=template.Find( "int app::Loop" )-5 - - template = template[0.._start-1]+"~tgc_init1();~n~tbbInit();~n~tgc_init2();~n"+template[_end..template.Length()] - - _start=template.Find( "agk::Print( agk::ScreenFPS(" ) - _end=template.Find( "void app::End" ) - 'Print(_start+":"+_end+":"+template.Length()) - - template = template[0.._start-1]+"~treturn bbMain();~n}~n~n"+template[_end..template.Length()] - - SaveString template,( cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/apps/template_android_ouya/AGK2Template/src/main/jni/template.cpp" ) -#rem - Print ("... fixing AGK Android Ouya template ...") - Local fix1:String = LoadString(cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/apps/template_android_ouya/settings.gradle" ) - If fix1.Find("include ':FacebookSDK'")<0 - fix1 = "include ':FacebookSDK'~n"+fix1 - SaveString fix1,( cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_ouya/settings.gradle" ) - Endif - - Local fix2:String = LoadString( cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/apps/template_android_ouya/AGK2Template/build.gradle" ) - If fix2.Find("implementation project(':FacebookSDK')")<0 - - Local fi:Int - fi = fix2.Find("dependencies {") - fi+=15 - Local fi2:= fi+1 - fix2 = fix2[..fi]+" implementation project(':FacebookSDK')~n"+fix2[fi2..] - - fi = fix2.Find("android {") - fi+=10 - fi2 = fi+1 - fix2 = fix2[..fi]+"~n lintOptions {~n"+" checkReleaseBuilds false~n"+" abortOnError false~n"+" }~n"+fix2[fi2..] - - SaveString fix2,( cerberusPath+"/targets_ext/appgamekit_android_ouya/template/AGKTemplate/apps/template_android_ouya/AGK2Template/build.gradle" ) - Endif -#End -End - -Function BuildTemplateAndroid:Void(_path:String, cerberusPath:String) - Print "... build AGK Android target ..." - CreateDir((cerberusPath+"/targets_ext/appgamekit_android")) - CreateDir((cerberusPath+"/targets_ext/appgamekit_android/template")) - CreateDir((cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate")) - - CopyDir(_path+"/Tier 2/bullet",(cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/bullet"), True) - CopyDir(_path+"/Tier 2/common",(cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/common"), True) - CopyDir(_path+"/Tier 2/FirebaseSDK",(cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/FirebaseSDK"), True) - - CreateDir((cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/platform")) - CreateDir((cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/platform/android")) - CopyDir(_path+"/Tier 2/platform/android",(cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/platform/android"), True) - - CreateDir((cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps")) - CopyDir(_path+"/Tier 2/apps/template_android_google",(cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google"), True) - CreateDir((cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/AGK2Template/src/main/jniLibs/arm64-v8a")) - CreateDir((cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/AGK2Template/src/main/jniLibs/armeabi-v7a")) - CreateDir((cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/AGK2Template/src/main/assets")) - - CopyFile(cerberusPath+"/tools/build_agk/targetfiles/target_android.cxs",cerberusPath+"/targets_ext/appgamekit_android/target.cxs") - CopyFile(cerberusPath+"/tools/build_agk/targetfiles/config_android.cxs",cerberusPath+"/targets_ext/appgamekit_android/template/config.cxs") - - CopyFile(cerberusPath+"/targets/android/template/release-key.keystore",cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/release-key.keystore") - Local tmps:=LoadString(cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/gradle.properties") - tmps = tmps.Replace("-Xmx4g","-Xmx1g") - SaveString(tmps,cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/gradle.properties") - - 'CopyFile(cerberusPath+"/targets/android/template/gradletemplate/local.properties",cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/local.properties") - - ' modify the template.h file - Local templateh:=LoadString(cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/AGK2Template/src/main/jni/template.h" ) - - Local _starth:=templateh.Find( "#include ~qagk.h~q" ) - Local _endh:=templateh.Find( "// Global values for the app" ) - 'Print(_starth+":"+_endh+":"+templateh.Length()) - templateh = templateh[0.._starth]+"#include ~qagk.h~q~n~n//${CONFIG_BEGIN}~n//${CONFIG_END}~n~n"+templateh[_endh..templateh.Length()] - SaveString templateh,( cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/AGK2Template/src/main/jni/template.h" ) - - ' modify the template.cpp file - Local template:=LoadString(cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/AGK2Template/src/main/jni/template.cpp" ) - - Local _end:=template.Find( "// Namespace" ) - Local _start:=_end-1 - - template = template[0.._start-1]+"~n//${TRANSCODE_BEGIN}~n//${TRANSCODE_END}~n~n"+template[_end..template.Length()] - - _start=template.Find( "agk::SetVirtualResolution" ) - _end=template.Find( "int app::Loop" )-5 - - template = template[0.._start-1]+"~tgc_init1();~n~tbbInit();~n~tgc_init2();~n"+template[_end..template.Length()] - - _start=template.Find( "agk::Print( agk::ScreenFPS(" ) - _end=template.Find( "void app::End" ) - 'Print(_start+":"+_end+":"+template.Length()) - - template = template[0.._start-1]+"~treturn bbMain();~n}~n~n"+template[_end..template.Length()] - - SaveString template,( cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/AGK2Template/src/main/jni/template.cpp" ) - - Print ("... fixing AGK Android template ...") - Local fix1:String = LoadString(cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/settings.gradle" ) - If fix1.Find("include ':FacebookSDK'")<0 - fix1 = "include ':FacebookSDK'~n"+fix1 - SaveString fix1,( cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/settings.gradle" ) - Endif - - Local fix2:String = LoadString( cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/AGK2Template/build.gradle" ) - If fix2.Find("implementation project(':FacebookSDK')")<0 - - Local fi:Int - fi = fix2.Find("dependencies {") - fi+=15 - Local fi2:= fi+1 - fix2 = fix2[..fi]+" implementation project(':FacebookSDK')~n"+fix2[fi2..] - - fi = fix2.Find("android {") - fi+=10 - fi2 = fi+1 - fix2 = fix2[..fi]+"~n lintOptions {~n"+" checkReleaseBuilds false~n"+" abortOnError false~n"+" }~n"+fix2[fi2..] - - SaveString fix2,( cerberusPath+"/targets_ext/appgamekit_android/template/AGKTemplate/apps/template_android_google/AGK2Template/build.gradle" ) - Endif -End - - -Function BuildTemplateOSX:Void(_path:String, cerberusPath:String) - Print "... build AGK OSX Desktop target ..." - Local tier2Path:String = "" - - Notify ("AGKBuildTarget", "Please select the Tier2 project directory", False) - - tier2Path = RequestDir("Please select the Tier2 project directory",_path) -'Print(tier2Path) - - - CreateDir(cerberusPath+"/targets_ext/appgamekit") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_mac") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_mac/English.lproj") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_mac/icons.iconset") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_mac/media") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/bullet") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/common") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/apple") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/apple/Lib") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/apple/Lib/Release") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/apple/Lib/ReleaseLite") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/apple/Source") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/apple/Source/Social Plugins") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/mac") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/mac/DDHidLib") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/mac/GLFW") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/mac/Lib") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/mac/Lib/Release") - CreateDir(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/mac/Source") - - CopyDir(tier2Path+"/bullet",(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/bullet"), True) - CopyDir(tier2Path+"/common",(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/common"), True) - CopyDir(tier2Path+"/platform/mac",(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/platform/mac"), True) - - CopyDir(tier2Path+"/apps/template_mac",(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_mac"), True) - - - CopyFile(cerberusPath+"/tools/build_agk/targetfiles/target_desktop.cxs",cerberusPath+"/targets_ext/appgamekit/target.cxs") - CopyFile(cerberusPath+"/tools/build_agk/targetfiles/config_desktop.cxs",cerberusPath+"/targets_ext/appgamekit/template/config.cxs") - - - ' modify the template.h file - Local templateh:=LoadString(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_mac/template.h" ) - - Local _starth:=templateh.Find( "#define DEVICE_WIDTH 1024" ) - Local _endh:=templateh.Find( "// used to make a more unique folder for the write path" ) - - templateh = templateh[0.._starth]+"//${CONFIG_BEGIN}~n//${CONFIG_END}~n~n"+templateh[_endh..templateh.Length()] - SaveString templateh,( cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_mac/template.h" ) - - ' modify the template.cpp file - Local template:=LoadString(cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_mac/template.cpp" ) - - Local _end:=template.Find( "// Namespace" ) - Local _start:=_end-1 - - template = template[0.._start-1]+"~n//${TRANSCODE_BEGIN}~n//${TRANSCODE_END}~n~n"+template[_end..template.Length()] - - _start=template.Find( "agk::SetVirtualResolution" ) - _end=template.Find( "int app::Loop" )-5 - - template = template[0.._start-1]+"~tgc_init1();~n~tbbInit();~n~tgc_init2();~n"+template[_end..template.Length()] - - _start=template.Find( "agk::Print( agk::ScreenFPS(" ) - _end=template.Find( "// return 1 to close app" ) - - template = template[0.._start-1]+"~treturn bbMain(); "+template[_end..template.Length()] - - SaveString template,( cerberusPath+"/targets_ext/appgamekit/template/AGKTemplate/apps/template_mac/template.cpp" ) - -End - -Function BuildTemplateIOS:Void(_path:String, cerberusPath:String) - Print "... build AGK iOS Desktop target ..." - Local tier2Path:String = "" - - 'Notify ("AGKBuildTarget", "Please select the Tier2 project directory", False) - - 'tier2Path = RequestDir("Please select the Tier2 project directory",_path) - tier2Path = _path -'Print(tier2Path) - - - CreateDir(cerberusPath+"/targets_ext/appgamekit_ios") - CreateDir(cerberusPath+"/targets_ext/appgamekit_ios/template") - CreateDir(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate") - CreateDir(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/apps") - CreateDir(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/apps/template_ios") - - CreateDir(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/bullet") - CreateDir(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/platform") - CreateDir(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/common") - - CreateDir(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/platform/apple") - - CopyDir(tier2Path+"/bullet",(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/bullet"), True) - CopyDir(tier2Path+"/common",(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/common"), True) - CopyDir(tier2Path+"/platform/apple",(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/platform/apple"), True) - - CopyDir(tier2Path+"/apps/template_ios",(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/apps/template_ios"), True) - - CopyFile(cerberusPath+"/tools/build_agk/targetfiles/target_ios.cxs",cerberusPath+"/targets_ext/appgamekit_ios/target.cxs") - CopyFile(cerberusPath+"/tools/build_agk/targetfiles/config_ios.cxs",cerberusPath+"/targets_ext/appgamekit_ios/template/config.cxs") - - - - ' modify the template.h file - Local templateh:=LoadString(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/apps/template_ios/Classes/template.h" ) - - Local _starth:=templateh.Find( "//#define AGK_LANDSCAPE" ) - Local _endh:=templateh.Find( "// Global values for the app" ) - - templateh = templateh[0.._starth]+"//${CONFIG_BEGIN}~n//${CONFIG_END}~n~n"+templateh[_endh..templateh.Length()] - SaveString templateh,( cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/apps/template_ios/Classes/template.h" ) - - ' modify the template.cpp file - Local template:=LoadString(cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/apps/template_ios/Classes/template.cpp" ) - - Local _end:=template.Find( "// Namespace" ) - Local _start:=_end-1 - - template = template[0.._start-1]+"~n//${TRANSCODE_BEGIN}~n//${TRANSCODE_END}~n~n"+template[_end..template.Length()] - - _start=template.Find( "agk::SetVirtualResolution" ) - _end=template.Find( "int app::Loop" )-5 - - template = template[0.._start-1]+"~tgc_init1();~n~tbbInit();~n~tgc_init2();~n"+template[_end..template.Length()] - - _start=template.Find( "agk::Print( agk::ScreenFPS(" ) - _end=template.Find( "// can't close app on iOS" ) - - template = template[0.._start-1]+"~treturn bbMain(); "+template[_end..template.Length()] - - SaveString template,( cerberusPath+"/targets_ext/appgamekit_ios/template/AGKTemplate/apps/template_ios/Classes/template.cpp" ) - - -End diff --git a/tools/build_agk/examples/ship/media/Lifeboat.mtl b/tools/build_agk/examples/ship/media/Lifeboat.mtl deleted file mode 100644 index 331336b0..00000000 --- a/tools/build_agk/examples/ship/media/Lifeboat.mtl +++ /dev/null @@ -1,42 +0,0 @@ -# Blender MTL File: 'Lifeboat.blend' -# Material Count: 4 - -newmtl Black -Ns 96.078431 -Ka 1.000000 1.000000 1.000000 -Kd 0.066825 0.066825 0.066825 -Ks 0.500000 0.500000 0.500000 -Ke 0.000000 0.000000 0.000000 -Ni 1.000000 -d 1.000000 -illum 2 - -newmtl DarkRed -Ns 96.078431 -Ka 1.000000 1.000000 1.000000 -Kd 0.280445 0.030928 0.038013 -Ks 0.500000 0.500000 0.500000 -Ke 0.000000 0.000000 0.000000 -Ni 1.000000 -d 1.000000 -illum 2 - -newmtl Red -Ns 96.078431 -Ka 1.000000 1.000000 1.000000 -Kd 0.639282 0.064176 0.079919 -Ks 0.500000 0.500000 0.500000 -Ke 0.000000 0.000000 0.000000 -Ni 1.000000 -d 1.000000 -illum 2 - -newmtl White -Ns 96.078431 -Ka 1.000000 1.000000 1.000000 -Kd 0.640001 0.458963 0.329355 -Ks 0.500000 0.500000 0.500000 -Ke 0.000000 0.000000 0.000000 -Ni 1.000000 -d 1.000000 -illum 2 diff --git a/tools/build_agk/examples/ship/media/Lifeboat.obj b/tools/build_agk/examples/ship/media/Lifeboat.obj deleted file mode 100644 index 6c163cca..00000000 --- a/tools/build_agk/examples/ship/media/Lifeboat.obj +++ /dev/null @@ -1,1316 +0,0 @@ -# Blender v2.79 (sub 0) OBJ File: 'Lifeboat.blend' -# www.blender.org -mtllib Lifeboat.mtl -o Lifeboat_Cylinder -v 0.255111 -0.003982 0.134561 -v 0.303357 0.017836 0.134561 -v 0.323342 0.070508 0.134561 -v 0.303357 0.123180 0.134561 -v 0.255111 0.144997 0.134561 -v 0.206864 0.123180 0.134561 -v 0.186879 0.070508 0.134561 -v 0.206864 0.017836 0.134561 -v 0.208063 0.005918 0.303504 -v 0.242421 0.027902 0.340384 -v 0.256653 0.080642 0.355464 -v 0.242421 0.133245 0.339910 -v 0.208063 0.154896 0.302834 -v 0.173706 0.123180 0.261255 -v 0.159474 0.070508 0.245938 -v 0.173706 0.027569 0.266428 -v 0.137271 0.038739 0.465628 -v 0.163864 0.074255 0.499484 -v 0.174878 0.129977 0.498605 -v 0.163864 0.173265 0.463506 -v 0.137271 0.178760 0.414748 -v 0.110679 0.143245 0.380893 -v 0.099665 0.087523 0.381772 -v 0.098801 0.049644 0.431756 -v 0.255111 0.019501 -0.533961 -v 0.255111 -0.003982 -0.505624 -v 0.288147 0.034441 -0.533961 -v 0.303357 0.017836 -0.505624 -v 0.301831 0.070508 -0.533961 -v 0.323342 0.070508 -0.505624 -v 0.288147 0.106574 -0.533961 -v 0.303357 0.123180 -0.505624 -v 0.255111 0.121514 -0.533961 -v 0.255111 0.144997 -0.505624 -v 0.222074 0.106574 -0.533961 -v 0.206864 0.123180 -0.505624 -v 0.208390 0.070508 -0.533961 -v 0.186879 0.070508 -0.505624 -v 0.222074 0.034441 -0.533961 -v 0.206864 0.017836 -0.505624 -v 0.255111 -0.003982 -0.477885 -v 0.303357 0.017836 -0.477885 -v 0.206864 0.017836 -0.477885 -v 0.323342 0.070508 -0.477885 -v 0.303357 0.123180 -0.477885 -v 0.255111 0.144997 -0.477885 -v 0.206864 0.123180 -0.477885 -v 0.186879 0.070508 -0.477885 -v 0.255111 -0.003982 -0.445004 -v 0.303357 0.017836 -0.445004 -v 0.323342 0.070508 -0.445004 -v 0.303357 0.123180 -0.445004 -v 0.255111 0.144997 -0.445004 -v 0.206864 0.123180 -0.445004 -v 0.186879 0.070508 -0.445004 -v 0.206864 0.017836 -0.445004 -v 0.102403 0.124290 -0.477885 -v 0.102403 0.124290 -0.445004 -v 0.092432 0.104110 -0.477885 -v 0.092432 0.104110 -0.445004 -v 0.303357 0.017836 -0.016491 -v 0.323342 0.070508 -0.016491 -v 0.303357 0.123180 -0.016491 -v 0.255111 0.144997 -0.016491 -v 0.206864 0.123180 -0.016491 -v 0.186879 0.070508 -0.016491 -v 0.255111 -0.003982 -0.016491 -v 0.206864 0.017836 -0.016491 -v 0.255111 -0.003982 -0.310829 -v 0.206864 0.017836 -0.310829 -v 0.303357 0.017836 -0.310829 -v 0.323342 0.070508 -0.310829 -v 0.303357 0.123180 -0.310829 -v 0.255111 0.144997 -0.310829 -v 0.206864 0.123180 -0.310829 -v 0.186879 0.070508 -0.310829 -v 0.060875 0.163090 0.435506 -v 0.067943 0.200501 0.474579 -v 0.070086 0.196632 0.527813 -v 0.070974 0.154018 0.564766 -v 0.070086 0.097622 0.563791 -v 0.067943 0.060480 0.525459 -v 0.060875 0.064080 0.471484 -v 0.055367 0.106949 0.435232 -v 0.319797 0.080490 -0.282157 -v 0.319797 0.080490 -0.045163 -v 0.307325 0.113621 -0.282157 -v 0.307325 0.113621 -0.045163 -v 0.323574 0.089321 -0.265601 -v 0.323574 0.089321 -0.061719 -v 0.315988 0.109473 -0.265601 -v 0.315988 0.109473 -0.061719 -v 0.315854 0.050773 0.134561 -v 0.251321 0.060882 0.349814 -v 0.170751 0.109100 0.498934 -v 0.315854 0.050773 -0.505624 -v 0.296704 0.056994 -0.533961 -v 0.315854 0.050773 -0.477885 -v 0.315854 0.050773 -0.445004 -v 0.315854 0.050773 -0.016491 -v 0.315854 0.050773 -0.310829 -v 0.070641 0.132888 0.564400 -v 0.159923 0.105409 -0.091994 -v 0.145085 0.105409 -0.110700 -v 0.159923 0.081982 -0.078469 -v 0.145085 0.065783 -0.087822 -v 0.159923 0.081982 -0.051419 -v 0.145085 0.065783 -0.042066 -v 0.159923 0.105409 -0.037894 -v 0.145085 0.105409 -0.019189 -v 0.159923 0.128835 -0.051419 -v 0.145085 0.145034 -0.042066 -v 0.159923 0.128835 -0.078469 -v 0.145085 0.145034 -0.087822 -v 0.159923 0.105409 -0.316291 -v 0.145085 0.105409 -0.334997 -v 0.159923 0.081982 -0.302766 -v 0.145085 0.065783 -0.312119 -v 0.159923 0.081982 -0.275716 -v 0.145085 0.065783 -0.266363 -v 0.159923 0.105409 -0.262191 -v 0.145085 0.105409 -0.243486 -v 0.159923 0.128835 -0.275716 -v 0.145085 0.145034 -0.266363 -v 0.159923 0.128835 -0.302766 -v 0.145085 0.145034 -0.312119 -v 0.159923 0.105409 0.140695 -v 0.145085 0.105409 0.121990 -v 0.159923 0.081982 0.154220 -v 0.145085 0.065783 0.144868 -v 0.159923 0.081982 0.181271 -v 0.145085 0.065783 0.190623 -v 0.159923 0.105409 0.194796 -v 0.145085 0.105409 0.213501 -v 0.159923 0.128835 0.181271 -v 0.145085 0.145034 0.190623 -v 0.159923 0.128835 0.154220 -v 0.145085 0.145034 0.144868 -v 0.000000 0.105409 -0.110700 -v 0.000000 0.145034 -0.312119 -v 0.000000 0.065783 -0.087822 -v 0.000000 0.145034 -0.266363 -v 0.000000 0.065783 -0.042066 -v 0.000000 0.105409 -0.243485 -v 0.000000 0.105409 -0.019189 -v 0.000000 0.065783 -0.266363 -v 0.000000 0.145034 -0.042066 -v 0.000000 0.065783 -0.312119 -v 0.000000 0.145034 -0.087822 -v 0.000000 0.105409 -0.334997 -v -0.255111 -0.003982 0.134561 -v 0.000000 0.049644 0.431756 -v -0.303357 0.017836 0.134561 -v 0.000000 0.070507 0.410465 -v -0.323342 0.070508 0.134561 -v -0.303357 0.123180 0.134561 -v 0.000000 0.087523 0.381772 -v -0.255111 0.144997 0.134561 -v 0.000000 0.017835 0.261255 -v -0.206864 0.123180 0.134561 -v 0.000000 0.070508 0.245938 -v -0.186879 0.070508 0.134561 -v 0.000000 0.017836 0.134561 -v -0.206864 0.017836 0.134561 -v 0.000000 0.070508 0.134561 -v -0.208063 0.005918 0.303504 -v -0.242421 0.027902 0.340384 -v -0.256653 0.080642 0.355464 -v -0.242421 0.133245 0.339910 -v -0.208063 0.154896 0.302834 -v -0.173706 0.123180 0.261255 -v -0.159474 0.070508 0.245938 -v -0.173706 0.027569 0.266428 -v -0.137271 0.038739 0.465628 -v -0.163864 0.074255 0.499484 -v -0.174878 0.129977 0.498605 -v -0.163864 0.173265 0.463506 -v -0.137271 0.178760 0.414748 -v -0.110679 0.143245 0.380893 -v -0.099665 0.087523 0.381772 -v -0.098801 0.049644 0.431756 -v 0.000000 0.065021 0.537954 -v 0.000000 0.102559 0.577377 -v 0.000000 0.159120 0.578805 -v 0.000000 0.201569 0.541400 -v 0.000000 0.205042 0.487074 -v 0.000000 0.167503 0.447651 -v 0.000000 0.110943 0.446224 -v 0.000000 0.068493 0.483628 -v -0.255111 0.019501 -0.533961 -v -0.255111 -0.003982 -0.505624 -v -0.288147 0.034441 -0.533961 -v -0.303357 0.017836 -0.505624 -v -0.301831 0.070508 -0.533961 -v -0.323342 0.070508 -0.505624 -v -0.288147 0.106574 -0.533961 -v -0.303357 0.123180 -0.505624 -v -0.255111 0.121514 -0.533961 -v -0.255111 0.144997 -0.505624 -v -0.222074 0.106574 -0.533961 -v -0.206864 0.123180 -0.505624 -v -0.208390 0.070508 -0.533961 -v -0.186879 0.070508 -0.505624 -v -0.222074 0.034441 -0.533961 -v -0.206864 0.017836 -0.505624 -v 0.000000 0.017836 -0.505624 -v 0.000000 0.070508 -0.505624 -v 0.000000 0.070508 -0.477885 -v 0.000000 0.017836 -0.477885 -v -0.255111 -0.003982 -0.477885 -v -0.303357 0.017836 -0.477885 -v -0.206864 0.017836 -0.477885 -v -0.323342 0.070508 -0.477885 -v -0.303357 0.123180 -0.477885 -v -0.255111 0.144997 -0.477885 -v -0.206864 0.123180 -0.477885 -v -0.186879 0.070508 -0.477885 -v 0.000000 0.070508 -0.445004 -v -0.255111 -0.003982 -0.445004 -v 0.000000 0.017836 -0.445004 -v -0.303357 0.017836 -0.445004 -v -0.323342 0.070508 -0.445004 -v -0.303357 0.123180 -0.445004 -v -0.255111 0.144997 -0.445004 -v -0.206864 0.123180 -0.445004 -v -0.186879 0.070508 -0.445004 -v -0.206864 0.017836 -0.445004 -v -0.102403 0.124290 -0.477885 -v -0.102403 0.124290 -0.445004 -v -0.092432 0.104110 -0.477885 -v -0.092432 0.104110 -0.445004 -v 0.000000 0.104128 -0.445004 -v 0.000000 0.104128 -0.477885 -v 0.000000 0.070508 -0.016491 -v -0.303357 0.017836 -0.016491 -v -0.323342 0.070508 -0.016491 -v -0.303357 0.123180 -0.016491 -v -0.255111 0.144997 -0.016491 -v -0.206864 0.123180 -0.016491 -v -0.186879 0.070508 -0.016491 -v -0.255111 -0.003982 -0.016491 -v 0.000000 0.017836 -0.016491 -v -0.206864 0.017836 -0.016491 -v -0.255111 -0.003982 -0.310829 -v 0.000000 0.017836 -0.310829 -v -0.206864 0.017836 -0.310829 -v 0.000000 0.070508 -0.310829 -v -0.303357 0.017836 -0.310829 -v -0.323342 0.070508 -0.310829 -v -0.303357 0.123180 -0.310829 -v -0.255111 0.144997 -0.310829 -v -0.206864 0.123180 -0.310829 -v -0.186879 0.070508 -0.310829 -v -0.060875 0.163090 0.435506 -v -0.067943 0.200501 0.474579 -v -0.070086 0.196632 0.527813 -v -0.070974 0.154018 0.564766 -v -0.070086 0.097622 0.563791 -v -0.067943 0.060480 0.525459 -v -0.060875 0.064080 0.471484 -v -0.055367 0.106949 0.435232 -v -0.319797 0.080490 -0.282157 -v -0.319797 0.080490 -0.045163 -v -0.307325 0.113621 -0.282157 -v -0.307325 0.113621 -0.045163 -v -0.323574 0.089321 -0.265601 -v -0.323574 0.089321 -0.061719 -v -0.315988 0.109473 -0.265601 -v -0.315988 0.109473 -0.061719 -v -0.315854 0.050773 0.134561 -v -0.251321 0.060882 0.349814 -v -0.170751 0.109100 0.498934 -v 0.000000 0.137928 0.578270 -v -0.315854 0.050773 -0.505624 -v -0.296704 0.056994 -0.533961 -v -0.315854 0.050773 -0.477885 -v -0.315854 0.050773 -0.445004 -v -0.315854 0.050773 -0.016491 -v -0.315854 0.050773 -0.310829 -v -0.070641 0.132888 0.564400 -v -0.159923 0.105409 -0.091994 -v -0.145085 0.105409 -0.110700 -v -0.159923 0.081982 -0.078469 -v -0.145085 0.065783 -0.087822 -v -0.159923 0.081982 -0.051419 -v -0.145085 0.065783 -0.042066 -v -0.159923 0.105409 -0.037894 -v -0.145085 0.105409 -0.019189 -v -0.159923 0.128835 -0.051419 -v -0.145085 0.145034 -0.042066 -v -0.159923 0.128835 -0.078469 -v -0.145085 0.145034 -0.087822 -v -0.159923 0.105409 -0.316291 -v -0.145085 0.105409 -0.334997 -v -0.159923 0.081982 -0.302766 -v -0.145085 0.065783 -0.312119 -v -0.159923 0.081982 -0.275716 -v -0.145085 0.065783 -0.266363 -v -0.159923 0.105409 -0.262191 -v -0.145085 0.105409 -0.243486 -v -0.159923 0.128835 -0.275716 -v -0.145085 0.145034 -0.266363 -v -0.159923 0.128835 -0.302766 -v -0.145085 0.145034 -0.312119 -v 0.000000 0.145034 0.144868 -v 0.000000 0.145034 0.190623 -v 0.000000 0.105409 0.213501 -v 0.000000 0.065783 0.190623 -v 0.000000 0.065783 0.144868 -v 0.000000 0.105409 0.121990 -v -0.159923 0.105409 0.140695 -v -0.145085 0.105409 0.121990 -v -0.159923 0.081982 0.154220 -v -0.145085 0.065783 0.144868 -v -0.159923 0.081982 0.181271 -v -0.145085 0.065783 0.190623 -v -0.159923 0.105409 0.194796 -v -0.145085 0.105409 0.213501 -v -0.159923 0.128835 0.181271 -v -0.145085 0.145034 0.190623 -v -0.159923 0.128835 0.154220 -v -0.145085 0.145034 0.144868 -vt 0.897802 0.420551 -vt 0.897802 0.547933 -vt 0.863626 0.548354 -vt 0.863626 0.420973 -vt 0.841319 0.785305 -vt 0.841319 0.912064 -vt 0.806975 0.910076 -vt 0.806975 0.783317 -vt 0.773076 0.912144 -vt 0.773076 0.785384 -vt 0.960625 0.856591 -vt 0.960625 0.983881 -vt 0.921228 0.983850 -vt 0.921228 0.856561 -vt 0.959155 0.000000 -vt 0.959155 0.127394 -vt 0.919779 0.127418 -vt 0.919779 0.000024 -vt 0.952336 0.277362 -vt 0.952336 0.301106 -vt 0.932166 0.312990 -vt 0.911996 0.301130 -vt 0.911996 0.277386 -vt 0.932166 0.265502 -vt 0.560945 0.910195 -vt 0.560945 0.783436 -vt 0.595290 0.785424 -vt 0.595290 0.912183 -vt 0.897802 0.164937 -vt 0.897802 0.292319 -vt 0.863626 0.292740 -vt 0.863626 0.165359 -vt 0.083739 0.928961 -vt 0.083769 0.953304 -vt 0.041928 0.954049 -vt 0.041899 0.929706 -vt 0.726911 0.049781 -vt 0.728083 0.025463 -vt 0.773076 0.028296 -vt 0.771904 0.052615 -vt 0.320842 0.047770 -vt 0.323512 0.023567 -vt 0.365538 0.028692 -vt 0.362868 0.052896 -vt 0.406016 0.032967 -vt 0.403346 0.057171 -vt 0.871208 0.910765 -vt 0.894411 0.912679 -vt 0.890317 0.961969 -vt 0.867114 0.960055 -vt 0.897802 0.187489 -vt 0.919833 0.164933 -vt 0.950990 0.166911 -vt 0.973021 0.192263 -vt 0.973021 0.226139 -vt 0.950990 0.248694 -vt 0.919833 0.246717 -vt 0.897802 0.221364 -vt 0.897802 0.208672 -vt 0.083086 0.391502 -vt 0.041245 0.392247 -vt 0.081710 0.243637 -vt 0.111628 0.275442 -vt 0.142940 0.100244 -vt 0.176250 0.129588 -vt 0.000000 0.391557 -vt 0.052386 0.210569 -vt 0.701034 0.586701 -vt 0.746027 0.589535 -vt 0.745079 0.771644 -vt 0.699401 0.782604 -vt 0.773076 0.495900 -vt 0.821573 0.496899 -vt 0.827954 0.597415 -vt 0.780907 0.610616 -vt 0.261888 0.582154 -vt 0.303915 0.587279 -vt 0.328295 0.738879 -vt 0.294581 0.767461 -vt 0.344393 0.591554 -vt 0.360548 0.705330 -vt 0.829555 0.725932 -vt 0.781186 0.726050 -vt 0.378898 0.843891 -vt 0.351273 0.883736 -vt 0.403633 0.816250 -vt 0.773076 0.883863 -vt 0.734534 0.912450 -vt 0.120491 0.069380 -vt 0.875870 0.746686 -vt 0.921228 0.729143 -vt 0.921228 0.910765 -vt 0.875870 0.910763 -vt 0.000683 0.953359 -vt 0.042279 0.978144 -vt 0.014037 0.977671 -vt 0.710998 0.024805 -vt 0.682482 0.023709 -vt 0.697728 0.000000 -vt 0.717254 0.000751 -vt 0.728953 0.001201 -vt 0.759761 0.003141 -vt 0.338655 0.000000 -vt 0.367432 0.003509 -vt 0.395149 0.006437 -vt 0.921228 0.924114 -vt 0.918425 0.957864 -vt 0.894411 1.000000 -vt 0.921228 0.983906 -vt 0.070929 0.977634 -vt 0.000654 0.929016 -vt 0.041864 0.900852 -vt 0.000619 0.900161 -vt 0.359703 0.081585 -vt 0.400181 0.085860 -vt 0.317677 0.076460 -vt 0.725522 0.078607 -vt 0.770515 0.081440 -vt 0.083704 0.900107 -vt 0.492702 0.067369 -vt 0.489537 0.096059 -vt 0.922182 0.548354 -vt 0.922182 0.711630 -vt 0.876826 0.729143 -vt 0.875870 0.637877 -vt 0.893246 0.629146 -vt 0.893231 0.548388 -vt 0.875870 0.565903 -vt 0.875870 0.729980 -vt 0.846917 0.729978 -vt 0.846932 0.648824 -vt 0.829555 0.640069 -vt 0.830511 0.548354 -vt 0.635206 0.783356 -vt 0.654465 0.783857 -vt 0.654465 0.811995 -vt 0.635206 0.811494 -vt 0.773076 0.993240 -vt 0.773076 0.912144 -vt 0.801387 0.912166 -vt 0.801387 0.993262 -vt 0.041406 0.524805 -vt 0.041720 0.783105 -vt 0.000475 0.782414 -vt 0.000161 0.524114 -vt 0.775156 0.366654 -vt 0.779209 0.114806 -vt 0.827707 0.115806 -vt 0.823654 0.367653 -vt 0.318455 0.455480 -vt 0.346788 0.198658 -vt 0.387265 0.202934 -vt 0.358933 0.459756 -vt 0.276428 0.450355 -vt 0.304761 0.193533 -vt 0.707416 0.454277 -vt 0.719853 0.196236 -vt 0.727172 0.221903 -vt 0.717158 0.429671 -vt 0.083247 0.524060 -vt 0.083561 0.782360 -vt 0.433188 0.903273 -vt 0.426094 0.949438 -vt 0.825854 0.781141 -vt 0.778719 0.783317 -vt 0.202868 0.046984 -vt 0.209060 0.094229 -vt 0.201488 0.012125 -vt 0.870879 0.164933 -vt 0.835542 0.152215 -vt 0.829555 0.062294 -vt 0.865790 0.066027 -vt 0.441665 0.869140 -vt 0.752409 0.457110 -vt 0.745461 0.431451 -vt 0.764845 0.199070 -vt 0.755475 0.223683 -vt 0.919779 0.163552 -vt 0.889201 0.164416 -vt 0.883775 0.068877 -vt 0.913792 0.073632 -vt 0.661815 0.452523 -vt 0.674251 0.194482 -vt 0.702767 0.195579 -vt 0.690331 0.453620 -vt 0.654465 0.767472 -vt 0.682565 0.776935 -vt 0.716503 0.911941 -vt 0.686409 0.911092 -vt 0.655433 0.584947 -vt 0.683949 0.586044 -vt 0.679920 0.076853 -vt 0.681310 0.048027 -vt 0.709826 0.049124 -vt 0.708436 0.077950 -vt 0.966037 0.268756 -vt 0.966037 0.308920 -vt 0.931919 0.248694 -vt 0.897802 0.268796 -vt 0.897802 0.308960 -vt 0.931919 0.329022 -vt 0.829555 0.547929 -vt 0.829555 0.420547 -vt 0.629188 0.783356 -vt 0.629188 0.910116 -vt 1.000000 0.729173 -vt 1.000000 0.856463 -vt 0.960603 0.856433 -vt 0.960603 0.729143 -vt 0.960603 0.729143 -vt 0.960603 0.856537 -vt 0.921228 0.856561 -vt 0.921228 0.729167 -vt 0.932357 0.425752 -vt 0.952518 0.437631 -vt 0.952518 0.461386 -vt 0.932357 0.473262 -vt 0.912196 0.461383 -vt 0.912196 0.437628 -vt 0.931904 0.409349 -vt 0.966007 0.429442 -vt 0.897802 0.429438 -vt 0.897802 0.469619 -vt 0.931904 0.489712 -vt 0.966007 0.469624 -vt 0.829555 0.292315 -vt 0.829555 0.164933 -vt 0.560945 0.785344 -vt 0.560945 0.912104 -vt 0.526601 0.910116 -vt 0.526601 0.783356 -vt 0.897802 0.292744 -vt 0.897802 0.420126 -vt 0.863626 0.420547 -vt 0.863626 0.293166 -vt 0.492702 0.912183 -vt 0.492702 0.785424 -vt 0.998551 0.000030 -vt 0.998551 0.127320 -vt 0.959155 0.127290 -vt 0.959155 0.000000 -vt 0.922182 0.675772 -vt 0.922182 0.548378 -vt 0.961557 0.548354 -vt 0.961557 0.675748 -vt 0.911503 0.380681 -vt 0.911503 0.356937 -vt 0.931673 0.345053 -vt 0.951843 0.356913 -vt 0.951843 0.380658 -vt 0.931673 0.392542 -vt 0.897802 0.389287 -vt 0.897802 0.349124 -vt 0.931919 0.409349 -vt 0.966037 0.389247 -vt 0.966037 0.349084 -vt 0.931919 0.329022 -vt 0.829555 0.420122 -vt 0.829555 0.292740 -vt 0.863626 0.548354 -vt 0.897802 0.547933 -vt 0.806975 0.910076 -vt 0.841319 0.912064 -vt 0.773076 0.912144 -vt 0.921228 0.983850 -vt 0.960625 0.983881 -vt 0.919779 0.127418 -vt 0.959155 0.127394 -vt 0.952336 0.277362 -vt 0.932166 0.265502 -vt 0.911996 0.277386 -vt 0.911996 0.301130 -vt 0.932166 0.312990 -vt 0.952336 0.301106 -vt 0.595290 0.785424 -vt 0.560945 0.783436 -vt 0.863626 0.292740 -vt 0.897802 0.292319 -vt 0.083739 0.928961 -vt 0.041899 0.929706 -vt 0.041928 0.954049 -vt 0.083769 0.953304 -vt 0.726911 0.049781 -vt 0.771904 0.052615 -vt 0.773076 0.028296 -vt 0.728083 0.025463 -vt 0.320842 0.047770 -vt 0.362868 0.052896 -vt 0.365538 0.028692 -vt 0.323512 0.023567 -vt 0.403346 0.057171 -vt 0.406016 0.032967 -vt 0.871208 0.910765 -vt 0.867114 0.960055 -vt 0.890317 0.961969 -vt 0.894411 0.912679 -vt 0.897802 0.187489 -vt 0.897802 0.208672 -vt 0.897802 0.221364 -vt 0.919833 0.246717 -vt 0.950990 0.248694 -vt 0.973021 0.226139 -vt 0.973021 0.192263 -vt 0.950990 0.166911 -vt 0.919833 0.164933 -vt 0.083086 0.391502 -vt 0.111628 0.275442 -vt 0.081710 0.243637 -vt 0.041245 0.392247 -vt 0.176250 0.129588 -vt 0.142940 0.100244 -vt 0.052386 0.210569 -vt 0.000000 0.391557 -vt 0.701034 0.586701 -vt 0.699401 0.782604 -vt 0.745079 0.771644 -vt 0.746027 0.589535 -vt 0.773076 0.495900 -vt 0.780907 0.610616 -vt 0.827954 0.597415 -vt 0.821573 0.496899 -vt 0.261888 0.582154 -vt 0.294581 0.767461 -vt 0.328295 0.738879 -vt 0.303915 0.587279 -vt 0.360548 0.705330 -vt 0.344393 0.591554 -vt 0.781186 0.726050 -vt 0.829555 0.725932 -vt 0.351273 0.883736 -vt 0.378898 0.843891 -vt 0.403633 0.816250 -vt 0.734534 0.912450 -vt 0.773076 0.883863 -vt 0.120491 0.069380 -vt 0.875870 0.746686 -vt 0.921228 0.729143 -vt 0.000683 0.953359 -vt 0.014037 0.977671 -vt 0.042279 0.978144 -vt 0.710998 0.024805 -vt 0.717254 0.000751 -vt 0.697728 0.000000 -vt 0.682482 0.023709 -vt 0.759761 0.003141 -vt 0.728953 0.001201 -vt 0.367432 0.003509 -vt 0.338655 0.000000 -vt 0.395149 0.006437 -vt 0.918425 0.957864 -vt 0.921228 0.924114 -vt 0.894411 1.000000 -vt 0.921228 0.983906 -vt 0.070929 0.977634 -vt 0.000654 0.929016 -vt 0.041864 0.900852 -vt 0.000619 0.900161 -vt 0.359703 0.081585 -vt 0.400181 0.085860 -vt 0.317677 0.076460 -vt 0.725522 0.078607 -vt 0.770515 0.081440 -vt 0.083704 0.900107 -vt 0.489537 0.096059 -vt 0.492702 0.067369 -vt 0.893246 0.629146 -vt 0.875870 0.637877 -vt 0.876826 0.729143 -vt 0.922182 0.711630 -vt 0.875870 0.565903 -vt 0.830511 0.548354 -vt 0.829555 0.640069 -vt 0.846932 0.648824 -vt 0.635206 0.783356 -vt 0.635206 0.811494 -vt 0.654465 0.811995 -vt 0.654465 0.783857 -vt 0.773076 0.993240 -vt 0.801387 0.993262 -vt 0.041406 0.524805 -vt 0.000161 0.524114 -vt 0.000475 0.782414 -vt 0.041720 0.783105 -vt 0.775156 0.366654 -vt 0.823654 0.367653 -vt 0.827707 0.115806 -vt 0.779209 0.114806 -vt 0.318455 0.455480 -vt 0.358933 0.459756 -vt 0.387265 0.202934 -vt 0.346788 0.198658 -vt 0.276428 0.450355 -vt 0.304761 0.193533 -vt 0.707416 0.454277 -vt 0.717158 0.429671 -vt 0.727172 0.221903 -vt 0.719853 0.196236 -vt 0.083247 0.524060 -vt 0.083561 0.782360 -vt 0.426094 0.949438 -vt 0.433188 0.903273 -vt 0.778719 0.783317 -vt 0.825854 0.781141 -vt 0.209060 0.094229 -vt 0.202868 0.046984 -vt 0.201488 0.012125 -vt 0.870879 0.164933 -vt 0.865790 0.066027 -vt 0.829555 0.062294 -vt 0.835542 0.152215 -vt 0.441665 0.869140 -vt 0.752409 0.457110 -vt 0.745461 0.431451 -vt 0.764845 0.199070 -vt 0.755475 0.223683 -vt 0.919779 0.163552 -vt 0.913792 0.073632 -vt 0.883775 0.068877 -vt 0.889201 0.164416 -vt 0.661815 0.452523 -vt 0.690331 0.453620 -vt 0.702767 0.195579 -vt 0.674251 0.194482 -vt 0.654465 0.767472 -vt 0.686409 0.911092 -vt 0.716503 0.911941 -vt 0.682565 0.776935 -vt 0.655433 0.584947 -vt 0.683949 0.586044 -vt 0.679920 0.076853 -vt 0.708436 0.077950 -vt 0.709826 0.049124 -vt 0.681310 0.048027 -vt 0.966037 0.268756 -vt 0.966037 0.308920 -vt 0.931919 0.248694 -vt 0.897802 0.268796 -vt 0.897802 0.308960 -vt 0.931919 0.329022 -vt 0.829555 0.547929 -vt 0.629188 0.783356 -vt 0.960603 0.856433 -vt 1.000000 0.856463 -vt 0.921228 0.856561 -vt 0.960603 0.856537 -vt 0.932357 0.425752 -vt 0.912196 0.437628 -vt 0.912196 0.461383 -vt 0.932357 0.473262 -vt 0.952518 0.461386 -vt 0.952518 0.437631 -vt 0.931904 0.409349 -vt 0.966007 0.429442 -vt 0.897802 0.429438 -vt 0.897802 0.469619 -vt 0.931904 0.489712 -vt 0.966007 0.469624 -vt 0.829555 0.292315 -vt 0.526601 0.910116 -vt 0.560945 0.912104 -vt 0.863626 0.420547 -vt 0.897802 0.420126 -vt 0.492702 0.912183 -vt 0.959155 0.127290 -vt 0.998551 0.127320 -vt 0.961557 0.548354 -vt 0.922182 0.548378 -vt 0.911503 0.380681 -vt 0.931673 0.392542 -vt 0.951843 0.380658 -vt 0.951843 0.356913 -vt 0.931673 0.345053 -vt 0.911503 0.356937 -vt 0.897802 0.389287 -vt 0.897802 0.349124 -vt 0.931919 0.409349 -vt 0.966037 0.389247 -vt 0.966037 0.349084 -vt 0.931919 0.329022 -vt 0.829555 0.420122 -vt 0.492702 0.885754 -vt 0.490240 0.920883 -vt 0.835542 0.000000 -vt 0.871768 0.002904 -vt 0.261888 0.000000 -vt 0.261418 0.035831 -vt 0.261524 0.083391 -vt 0.946382 0.548354 -vt 0.897819 0.547110 -vt 0.897802 0.498168 -vt 0.946382 0.494541 -vt 0.484887 0.968217 -vt 0.781057 0.000000 -vt 0.829555 0.001000 -vt 0.889757 0.006064 -vt 0.919779 0.011338 -vt 0.946382 0.548354 -vt 0.897819 0.547110 -vt 0.829555 0.001000 -vt 0.781057 0.000000 -vt 0.851985 0.729980 -vt 0.875870 0.729998 -vt 0.875870 0.893956 -vt 0.851985 0.893938 -vt 0.261859 0.928844 -vt 0.261888 0.953187 -vt 0.567953 0.726299 -vt 0.516091 0.606705 -vt 0.653293 0.606875 -vt 0.653699 0.726405 -vt 0.261070 0.280204 -vt 0.261205 0.391385 -vt 0.261366 0.523942 -vt 0.492702 0.508883 -vt 0.653482 0.509082 -vt 0.261824 0.899990 -vt 0.493457 0.117812 -vt 0.493685 0.000000 -vt 0.654465 0.000199 -vt 0.654238 0.118010 -vt 0.492958 0.376253 -vt 0.653738 0.376452 -vt 0.261681 0.782242 -vt 0.606699 0.773585 -vt 0.654465 0.783356 -vt 0.261322 0.129532 -vt 0.851985 0.729980 -vt 0.875870 0.729998 -vt 0.567953 0.726299 -vt 0.516091 0.606705 -vt 0.492702 0.508883 -vt 0.493457 0.117812 -vt 0.493685 0.000000 -vt 0.492958 0.376253 -vt 0.606699 0.773585 -vt 0.851985 0.729980 -vt 0.851985 0.938071 -vt 0.844377 0.923476 -vt 0.844377 0.744459 -vt 0.725510 0.415439 -vt 0.734124 0.236700 -vt 0.751339 0.237782 -vt 0.742725 0.416522 -vt 0.851985 0.729980 -vt 0.844377 0.744459 -vt 0.844377 0.923476 -vt 0.851985 0.938071 -vt 0.725510 0.415439 -vt 0.742725 0.416522 -vt 0.751339 0.237782 -vt 0.734124 0.236700 -vn -0.0000 0.5000 -0.8660 -vn 0.0000 -0.5000 0.8660 -vn 0.0000 0.5000 0.8660 -vn -0.0000 1.0000 0.0000 -vn 0.0000 -1.0000 0.0000 -vn 1.0000 0.0000 0.0000 -vn -0.4120 -0.9112 0.0000 -vn 0.9350 0.3547 0.0000 -vn 0.4120 0.9112 0.0000 -vn -0.4120 0.9112 0.0000 -vn -0.9350 0.3547 0.0000 -vn 0.0000 0.0000 -1.0000 -vn -0.4436 -0.8942 -0.0599 -vn -0.3917 -0.9199 -0.0201 -vn 0.4038 -0.9000 0.1643 -vn 0.9076 0.3328 0.2560 -vn -0.9145 0.3309 -0.2327 -vn 0.4365 0.8963 0.0783 -vn -0.4792 0.8631 -0.1593 -vn -0.8553 0.2590 -0.4488 -vn 0.4005 0.9163 0.0054 -vn -0.4149 0.8196 -0.3952 -vn 0.8352 0.4122 0.3640 -vn 0.3634 -0.8512 0.3788 -vn 0.3288 -0.7272 -0.6026 -vn 0.7625 -0.2893 -0.5788 -vn 0.7625 0.2893 -0.5788 -vn 0.3288 0.7271 -0.6026 -vn -0.3288 0.7272 -0.6026 -vn -0.7625 0.2893 -0.5788 -vn -0.7625 -0.2893 -0.5788 -vn -0.3288 -0.7272 -0.6026 -vn 0.4120 -0.9112 0.0000 -vn 0.0106 0.9999 0.0000 -vn -0.0000 0.0000 1.0000 -vn -0.8965 0.4430 0.0000 -vn 0.0002 1.0000 -0.0000 -vn 0.9424 0.3346 0.0000 -vn 0.2743 0.9616 0.0110 -vn -0.7310 0.1043 -0.6744 -vn -0.3144 -0.9493 0.0062 -vn 0.2743 -0.7302 0.6258 -vn 0.5402 0.5835 0.6064 -vn -0.3135 0.7399 -0.5952 -vn 0.9353 0.3538 0.0095 -vn 0.9236 0.3834 0.0000 -vn 0.9353 0.3538 -0.0095 -vn 0.5454 -0.0586 0.8361 -vn 0.9350 -0.3547 -0.0000 -vn 0.8240 -0.2579 0.5045 -vn 0.8993 -0.3325 0.2839 -vn 0.7374 -0.3377 -0.5850 -vn 0.7374 -0.6755 0.0000 -vn 0.7374 -0.3377 0.5850 -vn 0.7374 0.3377 0.5850 -vn 0.7374 0.6755 -0.0000 -vn 0.7374 0.3377 -0.5850 -vn -0.0000 -0.5000 -0.8660 -vn -1.0000 0.0000 0.0000 -vn 0.4436 -0.8942 -0.0599 -vn 0.3917 -0.9199 -0.0201 -vn -0.4038 -0.9000 0.1643 -vn -0.9076 0.3328 0.2560 -vn 0.9145 0.3309 -0.2327 -vn -0.4365 0.8963 0.0783 -vn 0.4792 0.8631 -0.1593 -vn 0.8553 0.2590 -0.4488 -vn -0.4005 0.9163 0.0054 -vn 0.4149 0.8196 -0.3952 -vn -0.8352 0.4122 0.3640 -vn -0.3634 -0.8512 0.3788 -vn -0.3288 0.7271 -0.6026 -vn 0.3288 0.7272 -0.6026 -vn -0.0106 0.9999 0.0000 -vn 0.8965 0.4430 0.0000 -vn -0.0002 1.0000 -0.0000 -vn -0.9424 0.3346 0.0000 -vn -0.2743 0.9616 0.0110 -vn 0.7310 0.1043 -0.6744 -vn 0.3144 -0.9493 0.0062 -vn -0.2743 -0.7302 0.6258 -vn -0.5402 0.5835 0.6064 -vn 0.3135 0.7399 -0.5952 -vn -0.9353 0.3538 0.0095 -vn -0.9236 0.3834 0.0000 -vn -0.9353 0.3538 -0.0095 -vn -0.5454 -0.0586 0.8361 -vn -0.9350 -0.3547 -0.0000 -vn -0.8240 -0.2579 0.5045 -vn -0.8993 -0.3325 0.2839 -vn -0.7374 -0.3377 -0.5850 -vn -0.7374 -0.6755 0.0000 -vn -0.7374 -0.3377 0.5850 -vn -0.7374 0.3377 0.5850 -vn -0.7374 0.6755 -0.0000 -vn -0.7374 0.3377 -0.5850 -vn -0.0806 0.7245 -0.6845 -vn 0.1906 0.6472 0.7381 -vn 0.0808 -0.7200 0.6893 -vn -0.0806 -0.9950 -0.0597 -vn -0.1935 0.0243 -0.9808 -vn 0.0808 0.9945 0.0663 -vn 0.1899 -0.0224 0.9815 -vn 0.0806 0.7245 -0.6845 -vn -0.1906 0.6472 0.7381 -vn -0.0808 -0.7200 0.6893 -vn 0.0806 -0.9950 -0.0597 -vn 0.1935 0.0243 -0.9808 -vn -0.0808 0.9945 0.0663 -vn -0.1899 -0.0224 0.9815 -vn 0.0000 0.9922 -0.1243 -vn 0.0250 -0.9989 0.0408 -vn 0.0000 0.9399 -0.3415 -vn 0.0321 -0.9857 0.1653 -vn 0.0000 -0.9399 0.3415 -vn -0.0250 -0.9989 0.0408 -vn -0.0321 -0.9857 0.1653 -vn 0.8987 -0.3326 0.2858 -vn 0.8057 -0.2574 0.5335 -vn 0.1918 -0.0224 0.9812 -vn 0.5318 -0.0572 0.8450 -vn 0.4319 0.9019 0.0000 -vn 0.9359 0.3523 0.0000 -vn 0.8685 0.3269 0.3725 -vn 0.9195 -0.3932 0.0000 -vn 0.8685 0.3269 -0.3725 -vn -0.8987 -0.3326 0.2858 -vn -0.8057 -0.2574 0.5335 -vn -0.1918 -0.0224 0.9812 -vn -0.5318 -0.0572 0.8450 -vn -0.4319 0.9019 0.0000 -vn -0.9359 0.3523 0.0000 -vn -0.8685 0.3269 0.3725 -vn -0.9195 -0.3932 0.0000 -vn -0.8685 0.3269 -0.3725 -usemtl Red -s off -f 149/1/1 114/2/1 104/3/1 139/4/1 -f 143/5/2 108/6/2 110/7/2 145/8/2 -f 145/8/3 110/7/3 112/9/3 147/10/3 -f 147/11/4 112/12/4 114/13/4 149/14/4 -f 141/15/5 106/16/5 108/17/5 143/18/5 -f 105/19/6 103/20/6 113/21/6 111/22/6 109/23/6 107/24/6 -f 146/25/2 120/26/2 122/27/2 144/28/2 -f 140/29/1 126/30/1 116/31/1 150/32/1 -f 43/33/7 40/34/7 26/35/7 41/36/7 -f 44/37/8 30/38/8 32/39/8 45/40/8 -f 45/41/9 32/42/9 34/43/9 46/44/9 -f 46/44/10 34/43/10 36/45/10 47/46/10 -f 47/47/11 36/48/11 38/49/11 48/50/11 -f 27/51/12 25/52/12 39/53/12 37/54/12 35/55/12 33/56/12 31/57/12 29/58/12 97/59/12 -f 8/60/13 1/61/13 9/62/13 16/63/13 -f 16/63/14 9/62/14 17/64/14 24/65/14 -f 1/61/15 2/66/15 10/67/15 9/62/15 -f 3/68/16 4/69/16 12/70/16 11/71/16 -f 6/72/17 7/73/17 15/74/17 14/75/17 -f 4/76/18 5/77/18 13/78/18 12/79/18 -f 5/77/19 6/80/19 14/81/19 13/78/19 -f 14/75/20 15/74/20 23/82/20 22/83/20 -f 12/79/21 13/78/21 21/84/21 20/85/21 -f 13/78/22 14/81/22 22/86/22 21/84/22 -f 11/71/23 12/70/23 20/87/23 19/88/23 -f 9/62/24 10/67/24 18/89/24 17/64/24 -f 38/90/12 40/91/12 206/92/12 207/93/12 -f 28/94/25 26/35/25 25/95/25 27/96/25 -f 96/97/26 28/98/26 27/99/26 97/100/26 -f 32/39/27 30/38/27 29/101/27 31/102/27 -f 34/43/28 32/42/28 31/103/28 33/104/28 -f 36/45/29 34/43/29 33/104/29 35/105/29 -f 38/49/30 36/48/30 35/106/30 37/107/30 -f 40/108/31 38/49/31 37/107/31 39/109/31 -f 26/35/32 40/34/32 39/110/32 25/95/32 -f 41/36/33 26/35/33 28/94/33 42/111/33 -f 49/112/33 41/36/33 42/111/33 50/113/33 -f 53/114/10 46/44/10 47/46/10 54/115/10 -f 52/116/9 45/41/9 46/44/9 53/114/9 -f 51/117/8 44/37/8 45/40/8 52/118/8 -f 56/119/7 43/33/7 41/36/7 49/112/7 -f 54/115/34 47/46/34 57/120/34 58/121/34 -f 218/122/35 55/123/35 54/124/35 58/125/35 60/126/35 232/127/35 -f 48/128/12 208/129/12 233/130/12 59/131/12 57/132/12 47/133/12 -f 57/134/36 59/135/36 60/136/36 58/137/36 -f 59/138/37 233/139/37 232/140/37 60/141/37 -f 67/142/33 69/143/33 71/144/33 61/145/33 -f 65/146/11 75/147/11 76/148/11 66/149/11 -f 64/150/10 74/151/10 75/152/10 65/153/10 -f 63/154/9 73/155/9 74/151/9 64/150/9 -f 62/156/38 72/157/38 85/158/38 86/159/38 -f 68/160/7 70/161/7 69/143/7 67/142/7 -f 20/85/39 21/84/39 78/162/39 79/163/39 -f 22/83/40 23/82/40 84/164/40 77/165/40 -f 24/65/41 17/64/41 82/166/41 83/167/41 -f 17/64/42 18/89/42 81/168/42 82/166/42 -f 19/169/43 20/170/43 79/171/43 80/172/43 -f 21/84/44 22/86/44 77/173/44 78/162/44 -f 63/174/45 62/156/45 86/159/45 88/175/45 -f 73/176/46 63/174/46 88/175/46 87/177/46 -f 72/157/47 73/176/47 87/177/47 85/158/47 -f 18/178/48 95/179/48 102/180/48 81/181/48 -f 61/182/49 71/183/49 101/184/49 100/185/49 -f 30/38/26 96/97/26 97/100/26 29/101/26 -f 10/186/50 94/187/50 95/188/50 18/189/50 -f 2/190/51 93/191/51 94/187/51 10/186/51 -f 50/192/49 42/193/49 98/194/49 99/195/49 -f 42/193/49 28/98/49 96/97/49 98/194/49 -f 106/196/52 104/197/52 103/20/52 105/19/52 -f 108/198/53 106/196/53 105/19/53 107/24/53 -f 110/199/54 108/198/54 107/24/54 109/23/54 -f 112/200/55 110/199/55 109/23/55 111/22/55 -f 114/201/56 112/200/56 111/22/56 113/21/56 -f 104/197/57 114/201/57 113/21/57 103/20/57 -f 139/4/58 104/3/58 106/202/58 141/203/58 -f 144/28/3 122/27/3 124/204/3 142/205/3 -f 142/206/4 124/207/4 126/208/4 140/209/4 -f 148/210/5 118/211/5 120/212/5 146/213/5 -f 117/214/6 115/215/6 125/216/6 123/217/6 121/218/6 119/219/6 -f 118/220/52 116/221/52 115/215/52 117/214/52 -f 120/222/53 118/220/53 117/214/53 119/219/53 -f 122/223/54 120/222/54 119/219/54 121/218/54 -f 124/224/55 122/223/55 121/218/55 123/217/55 -f 126/225/56 124/224/56 123/217/56 125/216/56 -f 116/221/57 126/225/57 125/216/57 115/215/57 -f 150/32/58 116/31/58 118/226/58 148/227/58 -f 308/228/2 132/229/2 134/230/2 307/231/2 -f 305/232/1 138/233/1 128/234/1 310/235/1 -f 307/231/3 134/230/3 136/236/3 306/237/3 -f 306/238/4 136/239/4 138/240/4 305/241/4 -f 309/242/5 130/243/5 132/244/5 308/245/5 -f 129/246/6 127/247/6 137/248/6 135/249/6 133/250/6 131/251/6 -f 130/252/52 128/253/52 127/247/52 129/246/52 -f 132/254/53 130/252/53 129/246/53 131/251/53 -f 134/255/54 132/254/54 131/251/54 133/250/54 -f 136/256/55 134/255/55 133/250/55 135/249/55 -f 138/257/56 136/256/56 135/249/56 137/248/56 -f 128/253/57 138/257/57 137/248/57 127/247/57 -f 310/235/58 128/234/58 130/258/58 309/259/58 -f 149/1/1 139/4/1 282/260/1 292/261/1 -f 143/5/2 145/8/2 288/262/2 286/263/2 -f 145/8/3 147/10/3 290/264/3 288/262/3 -f 147/11/4 149/14/4 292/265/4 290/266/4 -f 141/15/5 143/18/5 286/267/5 284/268/5 -f 283/269/59 285/270/59 287/271/59 289/272/59 291/273/59 281/274/59 -f 146/25/2 144/28/2 300/275/2 298/276/2 -f 140/29/1 150/32/1 294/277/1 304/278/1 -f 212/279/33 210/280/33 191/281/33 205/282/33 -f 213/283/11 214/284/11 197/285/11 195/286/11 -f 214/287/10 215/288/10 199/289/10 197/290/10 -f 215/288/9 216/291/9 201/292/9 199/289/9 -f 216/293/8 217/294/8 203/295/8 201/296/8 -f 192/297/12 275/298/12 194/299/12 196/300/12 198/301/12 200/302/12 202/303/12 204/304/12 190/305/12 -f 164/306/60 173/307/60 166/308/60 151/309/60 -f 173/307/61 181/310/61 174/311/61 166/308/61 -f 151/309/62 166/308/62 167/312/62 153/313/62 -f 155/314/63 168/315/63 169/316/63 156/317/63 -f 160/318/64 171/319/64 172/320/64 162/321/64 -f 156/322/65 169/323/65 170/324/65 158/325/65 -f 158/325/66 170/324/66 171/326/66 160/327/66 -f 171/319/67 179/328/67 180/329/67 172/320/67 -f 169/323/68 177/330/68 178/331/68 170/324/68 -f 170/324/69 178/331/69 179/332/69 171/326/69 -f 168/315/70 176/333/70 177/334/70 169/316/70 -f 166/308/71 174/311/71 175/335/71 167/312/71 -f 203/336/12 207/93/12 206/92/12 205/337/12 -f 193/338/32 192/339/32 190/340/32 191/281/32 -f 274/341/31 275/342/31 192/343/31 193/344/31 -f 197/285/30 196/345/30 194/346/30 195/286/30 -f 199/289/72 198/347/72 196/348/72 197/290/72 -f 201/292/73 200/349/73 198/347/73 199/289/73 -f 203/295/27 202/350/27 200/351/27 201/296/27 -f 205/352/26 204/353/26 202/350/26 203/295/26 -f 191/281/25 190/340/25 204/354/25 205/282/25 -f 210/280/7 211/355/7 193/338/7 191/281/7 -f 219/356/7 221/357/7 211/355/7 210/280/7 -f 224/358/9 225/359/9 216/291/9 215/288/9 -f 223/360/10 224/358/10 215/288/10 214/287/10 -f 222/361/11 223/362/11 214/284/11 213/283/11 -f 227/363/33 219/356/33 210/280/33 212/279/33 -f 225/359/74 229/364/74 228/365/74 216/291/74 -f 218/122/35 232/127/35 231/366/35 229/367/35 225/368/35 226/369/35 -f 217/370/12 216/371/12 228/372/12 230/373/12 233/130/12 208/129/12 -f 228/374/75 229/375/75 231/376/75 230/377/75 -f 230/378/76 231/379/76 232/140/76 233/139/76 -f 241/380/7 235/381/7 248/382/7 244/383/7 -f 239/384/8 240/385/8 253/386/8 252/387/8 -f 238/388/9 239/389/9 252/390/9 251/391/9 -f 237/392/10 238/388/10 251/391/10 250/393/10 -f 236/394/77 263/395/77 262/396/77 249/397/77 -f 243/398/33 241/380/33 244/383/33 246/399/33 -f 177/330/78 256/400/78 255/401/78 178/331/78 -f 179/328/79 254/402/79 261/403/79 180/329/79 -f 181/310/80 260/404/80 259/405/80 174/311/80 -f 174/311/81 259/405/81 258/406/81 175/335/81 -f 176/407/82 257/408/82 256/409/82 177/410/82 -f 178/331/83 255/401/83 254/411/83 179/332/83 -f 237/412/84 265/413/84 263/395/84 236/394/84 -f 250/414/85 264/415/85 265/413/85 237/412/85 -f 249/397/86 262/396/86 264/415/86 250/414/86 -f 175/416/87 258/417/87 280/418/87 272/419/87 -f 235/420/88 278/421/88 279/422/88 248/423/88 -f 195/286/31 194/346/31 275/342/31 274/341/31 -f 167/424/89 175/425/89 272/426/89 271/427/89 -f 153/428/90 167/424/90 271/427/90 270/429/90 -f 221/430/88 277/431/88 276/432/88 211/433/88 -f 211/433/88 276/432/88 274/341/88 193/344/88 -f 284/434/91 283/269/91 281/274/91 282/435/91 -f 286/436/92 285/270/92 283/269/92 284/434/92 -f 288/437/93 287/271/93 285/270/93 286/436/93 -f 290/438/94 289/272/94 287/271/94 288/437/94 -f 292/439/95 291/273/95 289/272/95 290/438/95 -f 282/435/96 281/274/96 291/273/96 292/439/96 -f 139/4/58 141/203/58 284/440/58 282/260/58 -f 144/28/3 142/205/3 302/441/3 300/275/3 -f 142/206/4 140/209/4 304/442/4 302/443/4 -f 148/210/5 146/213/5 298/444/5 296/445/5 -f 295/446/59 297/447/59 299/448/59 301/449/59 303/450/59 293/451/59 -f 296/452/91 295/446/91 293/451/91 294/453/91 -f 298/454/92 297/447/92 295/446/92 296/452/92 -f 300/455/93 299/448/93 297/447/93 298/454/93 -f 302/456/94 301/449/94 299/448/94 300/455/94 -f 304/457/95 303/450/95 301/449/95 302/456/95 -f 294/453/96 293/451/96 303/450/96 304/457/96 -f 150/32/58 148/227/58 296/458/58 294/277/58 -f 308/228/2 307/231/2 318/459/2 316/460/2 -f 305/232/1 310/235/1 312/461/1 322/462/1 -f 307/231/3 306/237/3 320/463/3 318/459/3 -f 306/238/4 305/241/4 322/464/4 320/465/4 -f 309/242/5 308/245/5 316/466/5 314/467/5 -f 313/468/59 315/469/59 317/470/59 319/471/59 321/472/59 311/473/59 -f 314/474/91 313/468/91 311/473/91 312/475/91 -f 316/476/92 315/469/92 313/468/92 314/474/92 -f 318/477/93 317/470/93 315/469/93 316/476/93 -f 320/478/94 319/471/94 317/470/94 318/477/94 -f 322/479/95 321/472/95 319/471/95 320/478/95 -f 312/475/96 311/473/96 321/472/96 322/479/96 -f 310/235/58 309/259/58 314/480/58 312/461/58 -usemtl White -f 78/162/97 77/173/97 187/481/97 186/482/97 -f 80/172/98 79/171/98 185/483/98 184/484/98 -f 82/166/99 81/168/99 183/485/99 182/486/99 -f 83/167/100 82/166/100 182/486/100 189/487/100 -f 77/488/101 84/489/101 188/490/101 187/491/101 -f 79/163/102 78/162/102 186/482/102 185/492/102 -f 70/161/7 56/119/7 49/112/7 69/143/7 -f 72/157/8 51/117/8 52/118/8 73/176/8 -f 73/155/9 52/116/9 53/114/9 74/151/9 -f 74/151/10 53/114/10 54/115/10 75/152/10 -f 75/147/11 54/493/11 55/494/11 76/148/11 -f 69/143/33 49/112/33 50/113/33 71/144/33 -f 1/61/33 67/142/33 61/145/33 2/66/33 -f 6/72/11 65/146/11 66/149/11 7/73/11 -f 5/77/10 64/150/10 65/153/10 6/80/10 -f 4/76/9 63/154/9 64/150/9 5/77/9 -f 3/68/8 62/156/8 63/174/8 4/69/8 -f 8/60/7 68/160/7 67/142/7 1/61/7 -f 2/190/49 61/182/49 100/185/49 93/191/49 -f 71/183/49 50/192/49 99/195/49 101/184/49 -f 81/181/103 102/180/103 273/495/103 183/496/103 -f 255/401/104 186/482/104 187/481/104 254/411/104 -f 257/408/105 184/484/105 185/483/105 256/409/105 -f 259/405/106 182/486/106 183/485/106 258/406/106 -f 260/404/107 189/487/107 182/486/107 259/405/107 -f 254/497/108 187/491/108 188/490/108 261/498/108 -f 256/400/109 185/492/109 186/482/109 255/401/109 -f 246/399/33 244/383/33 219/356/33 227/363/33 -f 249/397/11 250/414/11 223/362/11 222/361/11 -f 250/393/10 251/391/10 224/358/10 223/360/10 -f 251/391/9 252/390/9 225/359/9 224/358/9 -f 252/387/8 253/386/8 226/499/8 225/500/8 -f 244/383/7 248/382/7 221/357/7 219/356/7 -f 151/309/7 153/313/7 235/381/7 241/380/7 -f 160/318/8 162/321/8 240/385/8 239/384/8 -f 158/325/9 160/327/9 239/389/9 238/388/9 -f 156/322/10 158/325/10 238/388/10 237/392/10 -f 155/314/11 156/317/11 237/412/11 236/394/11 -f 164/306/33 151/309/33 241/380/33 243/398/33 -f 153/428/88 270/429/88 278/421/88 235/420/88 -f 248/423/88 279/422/88 277/431/88 221/430/88 -f 258/417/110 183/496/110 273/495/110 280/418/110 -usemtl DarkRed -f 48/501/4 38/502/4 207/503/4 208/504/4 -f 40/34/5 43/33/5 209/505/5 206/506/5 -f 23/507/111 15/508/111 161/509/111 157/510/111 -f 8/60/112 16/63/112 159/511/112 163/512/112 -f 68/160/5 8/60/5 163/512/5 242/513/5 -f 15/508/4 7/514/4 165/515/4 161/509/4 -f 43/33/5 56/119/5 220/516/5 209/505/5 -f 76/517/4 55/518/4 218/519/4 247/520/4 -f 7/514/4 66/521/4 234/522/4 165/515/4 -f 70/161/5 68/160/5 242/513/5 245/523/5 -f 56/119/5 70/161/5 245/523/5 220/516/5 -f 66/521/4 76/517/4 247/520/4 234/522/4 -f 84/524/113 23/507/113 157/510/113 188/525/113 -f 16/63/114 24/65/114 152/526/114 159/511/114 -f 24/65/115 83/167/115 189/487/115 152/526/115 -f 217/527/4 208/504/4 207/503/4 203/528/4 -f 205/282/5 206/506/5 209/505/5 212/279/5 -f 180/529/111 157/510/111 161/509/111 172/530/111 -f 164/306/116 163/512/116 159/511/116 173/307/116 -f 243/398/5 242/513/5 163/512/5 164/306/5 -f 172/530/4 161/509/4 165/515/4 162/531/4 -f 212/279/5 209/505/5 220/516/5 227/363/5 -f 253/532/4 247/520/4 218/519/4 226/533/4 -f 162/531/4 165/515/4 234/522/4 240/534/4 -f 246/399/5 245/523/5 242/513/5 243/398/5 -f 227/363/5 220/516/5 245/523/5 246/399/5 -f 240/534/4 234/522/4 247/520/4 253/532/4 -f 261/535/113 188/525/113 157/510/113 180/529/113 -f 173/307/117 159/511/117 152/526/117 181/310/117 -f 181/310/115 152/526/115 189/487/115 260/404/115 -usemtl Black -f 98/194/49 96/97/49 30/38/49 44/37/49 -f 99/195/49 98/194/49 44/37/49 51/117/49 -f 93/191/118 3/68/118 11/71/118 94/187/118 -f 94/187/119 11/71/119 19/88/119 95/188/119 -f 102/180/120 80/172/120 184/484/120 273/495/120 -f 101/184/49 99/195/49 51/117/49 72/157/49 -f 93/191/49 100/185/49 62/156/49 3/68/49 -f 100/185/49 101/184/49 72/157/49 62/156/49 -f 95/179/121 19/169/121 80/172/121 102/180/121 -f 87/536/122 88/537/122 92/538/122 91/539/122 -f 90/540/123 89/541/123 91/542/123 92/543/123 -f 88/175/124 86/159/124 90/540/124 92/543/124 -f 86/159/125 85/158/125 89/541/125 90/540/125 -f 85/158/126 87/177/126 91/542/126 89/541/126 -f 276/432/88 213/283/88 195/286/88 274/341/88 -f 277/431/88 222/361/88 213/283/88 276/432/88 -f 270/429/127 271/427/127 168/315/127 155/314/127 -f 271/427/128 272/426/128 176/333/128 168/315/128 -f 280/418/129 273/495/129 184/484/129 257/408/129 -f 279/422/88 249/397/88 222/361/88 277/431/88 -f 270/429/88 155/314/88 236/394/88 278/421/88 -f 278/421/88 236/394/88 249/397/88 279/422/88 -f 272/419/130 280/418/130 257/408/130 176/407/130 -f 264/544/131 268/545/131 269/546/131 265/547/131 -f 267/548/132 269/549/132 268/550/132 266/551/132 -f 265/413/133 269/549/133 267/548/133 263/395/133 -f 263/395/134 267/548/134 266/551/134 262/396/134 -f 262/396/135 266/551/135 268/550/135 264/415/135 -l 154 188 diff --git a/tools/build_agk/examples/ship/media/lifeboat_diffuse.png b/tools/build_agk/examples/ship/media/lifeboat_diffuse.png deleted file mode 100644 index 6f4fde98..00000000 Binary files a/tools/build_agk/examples/ship/media/lifeboat_diffuse.png and /dev/null differ diff --git a/tools/build_agk/examples/ship/media/water.jpg b/tools/build_agk/examples/ship/media/water.jpg deleted file mode 100644 index e7805068..00000000 Binary files a/tools/build_agk/examples/ship/media/water.jpg and /dev/null differ diff --git a/tools/build_agk/examples/ship/ship.cxs b/tools/build_agk/examples/ship/ship.cxs deleted file mode 100644 index 301aab71..00000000 --- a/tools/build_agk/examples/ship/ship.cxs +++ /dev/null @@ -1,146 +0,0 @@ -Strict - -#TEXT_FILES+="*.obj" - -#AGK_DEVICE_WIDTH = 640 -#AGK_DEVICE_HEIGHT = 480 -#AGK_DEVICE_POS_X = 32 -#AGK_DEVICE_POS_Y = 32 -#AGK_FULLSCREEN = False - -Import agk2 - -Global game:myGame = Null - -'********************************************************************* -Class cShip - Field _id:Int - Field _img:Int - Field _name:String - '--------------------------------------------- - Method New() - SetSyncRate(9999,0) - SetVSync(0) - _id = LoadObjectWithChildren("media/Lifeboat.obj") - _img = LoadImage("media/lifeboat_diffuse.png") - - SetObjectImage(_id, _img, 0) - SetObjectScale(_id,3,3,3) - SetObjectCastShadow(_id, 1) - SetObjectPosition(_id,0,-0.1,0) - SetObjectRotation(_id,0,135,0) - End - '--------------------------------------------- - Method Remove:Int() - DeleteImage(Self._img) - DeleteObject(Self._id) - Return 0 - End - '--------------------------------------------- - Method Update:Int() - SetObjectRotation(_id,0,GetObjectAngleY(_id)+10*GetFrameTime() ,0) - Return 0 - End -End - -'********************************************************************* -Class myGame - Field ship:cShip - Field counter:Int = 1 - '--------------------------------------------- - Method LoadMedia:Int() - 'The ship - ship = New cShip - - 'Water plane - Local plane := CreateObjectPlane(150,150) - Local img2 := LoadImage("media/water.jpg") - SetObjectImage(plane, img2, 0) - SetObjectRotation( plane, 90,0,0) - Return 0 - End - - '--------------------------------------------- - Method Setup_Camera:Int() - SetCameraRange(1,1,1510) - SetCameraPosition( 1,-2,2,4 ) - SetCameraLookAt( 1,0,0,0,0 ) - SetPrintSize(20) - SetShadowMappingMode( 2 ) - Return 0 - End - - '--------------------------------------------- - Method Setup_Lights:Int() - SetSunColor( 255,255,155 ) - SetSunActive(1) - 'SetSunDirection( -0.3, -0.3, 0.5 ) - SetAmbientColor( 80,80,180 ) - Return 0 - End - - '--------------------------------------------- - Method Setup_Window:Int() - SetWindowTitle("Cerberus X -> AppGameKit") - SetVirtualResolution(GetDeviceWidth(),GetDeviceHeight()) - SetClearColor(0,0,100) - SetAntialiasMode( 1 ) - SetGenerateMipmaps(0) - - SetSyncRate(0,0) - SetVSync(0) - SetScissor(0,0,0,0) - Return 0 - End - - '--------------------------------------------- - Method New() - ' Setup stuff - Setup_Window() - Setup_Camera() - Setup_Lights() - LoadMedia() - End - - '--------------------------------------------- - Method Update:Int() - ' Update the ship - ship.Update() - - ' Delete and recreate the ship when ESCAPE is pressed - If GetRawKeyState(KEY_ESCAPE) = 1 - ship.Remove() - ship = New cShip - counter += 1 - Endif - Return 0 - End - - '--------------------------------------------- - Method Render:Int() - ' Print out some debug informations - agk_PrintC( "ScreenFPS= " ) ; agk_Print( ScreenFPS() ) - agk_PrintC( "Polygons= " ) ; agk_Print( GetPolygonsDrawn() ) - agk_PrintC( "Memory= " ) ; agk_Print( GetImageMemoryUsage() ) - agk_PrintC( "Objects created= " ) ; agk_Print( counter ) - - ' Render everything - Sync() - Return 0 - End -End - -'********************************************************************* -Function Main:Int() - ' The Main function will be called from the AGK template continuously - ' in every frame/loop, till you return a value of 1. That will close the app. - - ' Create our main class - If game = Null Then game = New myGame - - ' Update and render the content - game.Update() - game.Render() - - Return GetPointerPressed() -End \ No newline at end of file diff --git a/tools/build_agk/examples/test/media/background.jpg b/tools/build_agk/examples/test/media/background.jpg deleted file mode 100644 index e0abdaf9..00000000 Binary files a/tools/build_agk/examples/test/media/background.jpg and /dev/null differ diff --git a/tools/build_agk/examples/test/media/item0.png b/tools/build_agk/examples/test/media/item0.png deleted file mode 100644 index bfb6c81d..00000000 Binary files a/tools/build_agk/examples/test/media/item0.png and /dev/null differ diff --git a/tools/build_agk/examples/test/media/item1.png b/tools/build_agk/examples/test/media/item1.png deleted file mode 100644 index bb8dc4e5..00000000 Binary files a/tools/build_agk/examples/test/media/item1.png and /dev/null differ diff --git a/tools/build_agk/examples/test/media/item2.png b/tools/build_agk/examples/test/media/item2.png deleted file mode 100644 index 311fa846..00000000 Binary files a/tools/build_agk/examples/test/media/item2.png and /dev/null differ diff --git a/tools/build_agk/examples/test/media/item3.png b/tools/build_agk/examples/test/media/item3.png deleted file mode 100644 index a718a160..00000000 Binary files a/tools/build_agk/examples/test/media/item3.png and /dev/null differ diff --git a/tools/build_agk/examples/test/media/item4.png b/tools/build_agk/examples/test/media/item4.png deleted file mode 100644 index 91780075..00000000 Binary files a/tools/build_agk/examples/test/media/item4.png and /dev/null differ diff --git a/tools/build_agk/examples/test/media/window.png b/tools/build_agk/examples/test/media/window.png deleted file mode 100644 index f93fadf6..00000000 Binary files a/tools/build_agk/examples/test/media/window.png and /dev/null differ diff --git a/tools/build_agk/examples/test/test.cxs b/tools/build_agk/examples/test/test.cxs deleted file mode 100644 index d9c7d6bd..00000000 --- a/tools/build_agk/examples/test/test.cxs +++ /dev/null @@ -1,82 +0,0 @@ -Strict - -#AGK_DEVICE_WIDTH = 320 -#AGK_DEVICE_HEIGHT = 480 -#AGK_DEVICE_POS_X = 32 -#AGK_DEVICE_POS_Y = 32 -#AGK_FULLSCREEN = False - -Import agk2 - -Global game:myGame = Null - -'----------------------------------------------------------------- -Class myGame - Field mySprite:Int - '--------------------------------------------- - Method New() - 'SetWindowSize(320,480,0,0) - SetWindowTitle("Cerberus X -> AppGameKit") - SetVirtualResolution(GetDeviceWidth(),GetDeviceHeight()) - SetVirtualResolution(320,480) - SetWindowAllowResize( 0 ) - SetClearColor(0,0,100) - SetBorderColor(255,0,0) - SetAntialiasMode( 0 ) - - SetSyncRate(60,0) - SetVSync(1) - SetScissor(0,0,0,0) - - SetPrintSize(20) - - CreateSprite(LoadImage("media/background.jpg")) - - AddVirtualJoystick(1,50,GetVirtualHeight()-50,90) - SetVirtualJoystickActive(1,1) - - mySprite = CreateSprite ( 0 ) - AddSpriteAnimationFrame ( mySprite, LoadImage ( "media/item0.png" ) ) - AddSpriteAnimationFrame ( mySprite, LoadImage ( "media/item1.png" ) ) - AddSpriteAnimationFrame ( mySprite, LoadImage ( "media/item2.png" ) ) - AddSpriteAnimationFrame ( mySprite, LoadImage ( "media/item3.png" ) ) - AddSpriteAnimationFrame ( mySprite, LoadImage ( "media/item4.png" ) ) - PlaySprite ( mySprite, 10, 1, 1, 5 ) - SetSpritePositionByOffset(mySprite,GetVirtualWidth()/2,GetVirtualHeight()/4) - End - - '--------------------------------------------- - Method Update:Int() - If GetRawKeyState(KEY_RIGHT) = 1 Or GetVirtualJoystickX( 1 ) > 0 - SetSpritePosition(mySprite,GetSpriteX(mySprite)+0.5, GetSpriteY(mySprite)) - Endif - If GetRawKeyState(KEY_LEFT) = 1 Or GetVirtualJoystickX( 1 ) < 0 - SetSpritePosition(mySprite,GetSpriteX(mySprite)-0.5, GetSpriteY(mySprite)) - Endif - If GetRawKeyState(KEY_UP) = 1 Or GetVirtualJoystickY( 1 ) < 0 - SetSpritePosition(mySprite,GetSpriteX(mySprite), GetSpriteY(mySprite)-0.5) - Endif - If GetRawKeyState(KEY_DOWN) = 1 Or GetVirtualJoystickY( 1 ) > 0 - SetSpritePosition(mySprite,GetSpriteX(mySprite), GetSpriteY(mySprite)+0.5) - Endif - Return 0 - End - - '--------------------------------------------- - Method Render:Int() - agk_PrintC( "ScreenFPS= " ) ; agk_Print( ScreenFPS() ) - agk_PrintC( "Position= " ) ; agk_Print( GetSpriteX(mySprite)+":"+GetSpriteY(mySprite) ) - Sync() - Return 0 - End -End - -'----------------------------------------------------------------- -Function Main:Int() - - If game = Null Then game = New myGame - game.Update() - game.Render() - - Return GetPointerPressed() -End \ No newline at end of file diff --git a/tools/build_agk/examples/test2/test2.cxs b/tools/build_agk/examples/test2/test2.cxs deleted file mode 100644 index 5457609d..00000000 --- a/tools/build_agk/examples/test2/test2.cxs +++ /dev/null @@ -1,65 +0,0 @@ -Strict - -Import agk2 - -Global game:myGame = Null - -'----------------------------------------------------------------- -Class myGame - Field sTime:Int - Field eTime:Int - Field dTime:Int - Field cFPS:Int - Field FPS:Int - - '--------------------------------------------- - Method New() - ' This method is only called during the initialization of the class - SetWindowSize(800,600,0,0) - SetWindowTitle("Cerberus X -> AppGameKit") - SetVirtualResolution(GetDeviceWidth(),GetDeviceHeight()) - SetWindowAllowResize( 1 ) - SetClearColor(0,0,100) - SetAntialiasMode( 0 ) - - SetSyncRate(0,0) - SetVSync(0) - SetScissor(0,0,0,0) - - SetPrintSize(20) - - End - - '--------------------------------------------- - Method Update:Int() - eTime = Timer()*1000.0 - dTime = eTime - sTime - cFPS += 1 - If dTime >= 1000 - FPS=cFPS - cFPS=0 - sTime = eTime - SetWindowTitle ("FPS: "+FPS) - Endif - ' Update your assets here - Return 0 - End - - '--------------------------------------------- - Method Render:Int() - ' Render your output here - 'agk_PrintC( "ScreenFPS= " ) ; agk_Print( ScreenFPS() ) - Sync() - Return 0 - End -End - -'----------------------------------------------------------------- -Function Main:Int() - ' The Main function is called at every frame till it returns a value of 1. - If game = Null Then game = New myGame - game.Update() - game.Render() - - Return GetPointerPressed() -End \ No newline at end of file diff --git a/tools/build_agk/helpfiles/agk2_help.txt b/tools/build_agk/helpfiles/agk2_help.txt deleted file mode 100644 index 5b448ce9..00000000 --- a/tools/build_agk/helpfiles/agk2_help.txt +++ /dev/null @@ -1,76 +0,0 @@ -> The AppGameKit Documentation -The *agk2* module is a wrapper for [[https://www.appgamekit.com|AppGameKit]] Tier 2 by [[https://www.thegamecreators.com|TheGameCreators]]. - -To use it, you need to own AppGameKit and have the *AGK_PATH* variable set inside the bin/config file of your platform. -Currently the following platforms are supported as a target platforms for AGK: - -* Windows -* OSX -* iOS -* Android (Google) - -If you want to target Android with AGK, then you need to set the *ANDROID_PATH* and the *ANDROID_NDK_PATH* variable as well. - -For more details about the AGK API, please consult its [[https://www.appgamekit.com/documentation/home.html|official documentation]]. This help file is just a quick solution to give you an inbuild quick help. - - -A sample project could look like this: -
-Strict
-
-Import agk2
-
-Global game:myGame = Null
-
-'-----------------------------------------------------------------
-Class myGame
-	'---------------------------------------------
-	Method New()
-		' This method is only called during the initialization of the class
-		SetWindowSize(320,480,0,0)
-		SetWindowTitle("Cerberus X -> AppGameKit")
-		SetVirtualResolution(GetDeviceWidth(),GetDeviceHeight())
-		SetWindowAllowResize( 1 )
-		SetClearColor(0,0,100)
-		SetAntialiasMode( 0 )
-		
-		SetSyncRate(9999,0)
-		SetVSync(1)
-		SetScissor(0,0,0,0)
-
-		SetPrintSize(20)
-		
-	End
-	
-	'---------------------------------------------
-	Method Update:Int()
-		' Update your assets here	
-		Return 0
-	End
-	
-	'---------------------------------------------
-	Method Render:Int()
-		' Render your output here
-		agk_PrintC( "ScreenFPS= " ) ; agk_Print( ScreenFPS() )
-		Sync()
-		Return 0
-	End
-End
-
-'-----------------------------------------------------------------
-Function Main:Int()
-	' The Main function is called at every frame till it returns a value of 1.
-	
-	If game = Null Then game = New myGame
-	game.Update()
-	game.Render()
-	
-	Return GetPointerPressed()
-End
-
- ->> Media / Assets - -All your assets have to be stored inside a media folder. To access them when loading, just add a "media/" prefix to your filepath. - ->> Below are the categories of the AppgameKit API diff --git a/tools/build_agk/helpfiles/agk2_target.txt b/tools/build_agk/helpfiles/agk2_target.txt deleted file mode 100644 index 8f1efd01..00000000 --- a/tools/build_agk/helpfiles/agk2_target.txt +++ /dev/null @@ -1,47 +0,0 @@ -> The AppGameKit target - -The AppGameKit target is a wrapper for [AppGameKit](https://www.appgamekit.com) by [TheGameCreators](https://www.thegamecreators.com). It features a powerful API which covers a huge variety of topicsfor game development. - -Currently only Windows Desktop, OSX Desktop, Android (Google) and iOS are supported as a target platform. - ->> You will need - -For OSX and iOS you only need to install XCode from the Apple Appstore. - -To target Android and Ouya, you need to install Android Studio with the NDK as well. - -On Windows you need to install Microsoft Visual Studio Community 2017 edition - -* [Download it here](https://www.visualstudio.com/de/vs/older-downloads/) - -Wait until while the installer loads. Once loaded, you’ll be presented with many different options for -which modules you want to install. Under the Workloads tab, tick Desktop development with C++. -Expand Desktop development with C++, and tick the optional components “Windows XP support for -C++” and “C++/CLI support”, as well as the ones that are ticked by default. Then click install. - -Next you need to build and run the [[../../tools/build_agk/BuildTargets.cxs|BuildTargets]] script. This will actually create the agk2 module, the help files and the targets. Please run it after you have installed AGK and set the AGK_PATH variable inside your [[Trans]] config file. - ->> Notes - -The `AGK_PATH` var in your [[Trans]] config file must be set correctly. For an example like this: -
-AGK_PATH="C:\Program Files (x86)\The Game Creators\AGK2"
-
- -To target Android with AGK, The `ANDROID_PATH` and `ANDROID_NDK_PATH` var in your [[Trans]] config file must be set correctly. For an example like this: -
-ANDROID_PATH="D:\Program Files\Android\Android Studio"
-ANDROID_NDK_PATH="C:\Users\mike\AppData\Local\Android\Sdk\ndk\21.1.6352462"
-
- -The MSBUILD_PATH var in your [[Trans]] config file must be set correctly. For an example like this: -
-MSBUILD_PATH="${PROGRAMFILES(x86)}\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe"
-
- -For more details about the AGK API, please consult its [official documentation](https://www.appgamekit.com/documentation/home.html). This help file is just a quick solution to give you an inbuild quick help. - ->> Important - -In AGK targets, the all media has to be stored inside the *media* folder and also when you access them, add a "media/" prefix to the filename. -It won't be set automatically. diff --git a/tools/build_agk/modulefiles/agk2_constants.cxs b/tools/build_agk/modulefiles/agk2_constants.cxs deleted file mode 100644 index fd557d7b..00000000 --- a/tools/build_agk/modulefiles/agk2_constants.cxs +++ /dev/null @@ -1,65 +0,0 @@ -Const KEY_BACK = 8 -Const KEY_TAB = 9 -Const KEY_ENTER = 13 -Const KEY_SHIFT = 16 -Const KEY_CONTROL = 17 -Const KEY_ESCAPE = 27 -Const KEY_SPACE = 32 -Const KEY_PAGEUP = 33 -Const KEY_PAGEDOWN = 34 -Const KEY_END = 35 -Const KEY_HOME = 36 -Const KEY_LEFT = 37 -Const KEY_UP = 38 -Const KEY_RIGHT = 39 -Const KEY_DOWN = 40 -Const KEY_INSERT = 45 -Const KEY_DELETE = 46 -Const KEY_0 = 48 -Const KEY_1 = 49 -Const KEY_2 = 50 -Const KEY_3 = 51 -Const KEY_4 = 52 -Const KEY_5 = 53 -Const KEY_6 = 54 -Const KEY_7 = 55 -Const KEY_8 = 56 -Const KEY_9 = 57 -Const KEY_A = 65 -Const KEY_B = 66 -Const KEY_C = 67 -Const KEY_D = 68 -Const KEY_E = 69 -Const KEY_F = 70 -Const KEY_G = 71 -Const KEY_H = 72 -Const KEY_I = 73 -Const KEY_J = 74 -Const KEY_K = 75 -Const KEY_L = 76 -Const KEY_M = 77 -Const KEY_N = 78 -Const KEY_O = 79 -Const KEY_P = 80 -Const KEY_Q = 81 -Const KEY_R = 82 -Const KEY_S = 83 -Const KEY_T = 84 -Const KEY_U = 85 -Const KEY_V = 86 -Const KEY_W = 87 -Const KEY_X = 88 -Const KEY_Y = 89 -Const KEY_Z = 90 -Const KEY_F1 = 112 -Const KEY_F2 = 113 -Const KEY_F3 = 114 -Const kEY_F4 = 115 -Const KEY_F5 = 116 -Const KEY_F6 = 117 -Const KEY_F7 = 118 -Const KEY_F8 = 119 -Const KEY_F9 = 120 -Const KEY_F10 = 121 -Const KEY_F11 = 122 -Const KEY_F12 = 123 \ No newline at end of file diff --git a/tools/build_agk/targetfiles/config_android.cxs b/tools/build_agk/targetfiles/config_android.cxs deleted file mode 100644 index 02d903ef..00000000 --- a/tools/build_agk/targetfiles/config_android.cxs +++ /dev/null @@ -1,13 +0,0 @@ -#ANDROID_APP_LABEL="Cerberus Game" -#ANDROID_APP_PACKAGE="com.cerberus.cerberusgame" - -#TEXT_FILES+="*.txt|*.xml|*.json|*.obj|*.dae|*.fbx" -#IMAGE_FILES+="*.png|*.jpg|*.gif" -#SOUND_FILES+="*.wav|*.ogg|*.mp3" -#MUSIC_FILES+="*.wav|*.ogg|*.mp3" -#BINARY_FILES+="*.bin|*.dat|*.x" - -#AGK_PORTRAIT = "" -'#AGK_LANDSCAPE = "" - -#FAST_SYNC_PROJECT_DATA = True diff --git a/tools/build_agk/targetfiles/config_android_ouya.cxs b/tools/build_agk/targetfiles/config_android_ouya.cxs deleted file mode 100644 index 02d903ef..00000000 --- a/tools/build_agk/targetfiles/config_android_ouya.cxs +++ /dev/null @@ -1,13 +0,0 @@ -#ANDROID_APP_LABEL="Cerberus Game" -#ANDROID_APP_PACKAGE="com.cerberus.cerberusgame" - -#TEXT_FILES+="*.txt|*.xml|*.json|*.obj|*.dae|*.fbx" -#IMAGE_FILES+="*.png|*.jpg|*.gif" -#SOUND_FILES+="*.wav|*.ogg|*.mp3" -#MUSIC_FILES+="*.wav|*.ogg|*.mp3" -#BINARY_FILES+="*.bin|*.dat|*.x" - -#AGK_PORTRAIT = "" -'#AGK_LANDSCAPE = "" - -#FAST_SYNC_PROJECT_DATA = True diff --git a/tools/build_agk/targetfiles/config_desktop.cxs b/tools/build_agk/targetfiles/config_desktop.cxs deleted file mode 100644 index 40b1281a..00000000 --- a/tools/build_agk/targetfiles/config_desktop.cxs +++ /dev/null @@ -1,13 +0,0 @@ -#TEXT_FILES+="*.txt|*.xml|*.json|*.obj|*.dae|*.fbx" -#IMAGE_FILES+="*.png|*.jpg|*.gif" -#SOUND_FILES+="*.wav|*.ogg|*.mp3" -#MUSIC_FILES+="*.wav|*.ogg|*.mp3" -#BINARY_FILES+="*.bin|*.dat|*.x" - -#AGK_DEVICE_WIDTH = 1024 -#AGK_DEVICE_HEIGHT = 768 -#AGK_DEVICE_POS_X = 32 -#AGK_DEVICE_POS_Y = 32 -#AGK_FULLSCREEN = False - -#FAST_SYNC_PROJECT_DATA = True \ No newline at end of file diff --git a/tools/build_agk/targetfiles/config_ios.cxs b/tools/build_agk/targetfiles/config_ios.cxs deleted file mode 100644 index 5b3c7be1..00000000 --- a/tools/build_agk/targetfiles/config_ios.cxs +++ /dev/null @@ -1,10 +0,0 @@ -#TEXT_FILES+="*.txt|*.xml|*.json|*.obj|*.dae|*.fbx" -#IMAGE_FILES+="*.png|*.jpg|*.gif" -#SOUND_FILES+="*.wav|*.ogg|*.mp3" -#MUSIC_FILES+="*.wav|*.ogg|*.mp3" -#BINARY_FILES+="*.bin|*.dat|*.x" - -#AGK_PORTRAIT = "" -'#AGK_LANDSCAPE = "" - -#FAST_SYNC_PROJECT_DATA = True diff --git a/tools/build_agk/targetfiles/target_android.cxs b/tools/build_agk/targetfiles/target_android.cxs deleted file mode 100644 index b867e1e0..00000000 --- a/tools/build_agk/targetfiles/target_android.cxs +++ /dev/null @@ -1,4 +0,0 @@ -#TARGET_NAME="Android Game (AppGameKit)" -#TARGET_SYSTEM="agk_android" -#TARGET_BUILDER="agk_android" -#TARGET_HOST="winnt|macos" diff --git a/tools/build_agk/targetfiles/target_android_ouya.cxs b/tools/build_agk/targetfiles/target_android_ouya.cxs deleted file mode 100644 index e4537b07..00000000 --- a/tools/build_agk/targetfiles/target_android_ouya.cxs +++ /dev/null @@ -1,4 +0,0 @@ -#TARGET_NAME="Android Ouya Game (AppGameKit)" -#TARGET_SYSTEM="agk_android_ouya" -#TARGET_BUILDER="agk_android_ouya" -#TARGET_HOST="winnt|macos" diff --git a/tools/build_agk/targetfiles/target_desktop.cxs b/tools/build_agk/targetfiles/target_desktop.cxs deleted file mode 100644 index 14cdf265..00000000 --- a/tools/build_agk/targetfiles/target_desktop.cxs +++ /dev/null @@ -1,4 +0,0 @@ -#TARGET_NAME="Desktop (AppGameKit)" -#TARGET_SYSTEM="agk" -#TARGET_BUILDER="agk" -#TARGET_HOST="winnt|macos" \ No newline at end of file diff --git a/tools/build_agk/targetfiles/target_ios.cxs b/tools/build_agk/targetfiles/target_ios.cxs deleted file mode 100644 index 8ca809de..00000000 --- a/tools/build_agk/targetfiles/target_ios.cxs +++ /dev/null @@ -1,4 +0,0 @@ -#TARGET_NAME="iOS Game (AppGameKit)" -#TARGET_SYSTEM="agk_ios" -#TARGET_BUILDER="agk_ios" -#TARGET_HOST="macos" \ No newline at end of file diff --git a/tools/build_agk/templates/agk2.cxs b/tools/build_agk/templates/agk2.cxs deleted file mode 100644 index dc069fa2..00000000 --- a/tools/build_agk/templates/agk2.cxs +++ /dev/null @@ -1,50 +0,0 @@ -Strict - -Import agk2 - -Global game:myGame = Null - -'----------------------------------------------------------------- -Class myGame - '--------------------------------------------- - Method New() - ' This method is only called during the initialization of the class - SetWindowSize(320,480,0,0) - SetWindowTitle("Cerberus X -> AppGameKit") - SetVirtualResolution(GetDeviceWidth(),GetDeviceHeight()) - SetWindowAllowResize( 1 ) - SetClearColor(0,0,100) - SetAntialiasMode( 0 ) - - SetSyncRate(9999,0) - SetVSync(1) - SetScissor(0,0,0,0) - - SetPrintSize(20) - - End - - '--------------------------------------------- - Method Update:Int() - ' Update your assets here - Return 0 - End - - '--------------------------------------------- - Method Render:Int() - ' Render your output here - agk_PrintC( "ScreenFPS= " ) ; agk_Print( ScreenFPS() ) - Sync() - Return 0 - End -End - -'----------------------------------------------------------------- -Function Main:Int() - ' The Main function is called at every frame till it returns a value of 1. - If game = Null Then game = New myGame - game.Update() - game.Render() - - Return GetPointerPressed() -End \ No newline at end of file