Nicolas Cannnasse 7 lat temu
rodzic
commit
2eae45ae20

+ 0 - 6
samples/templates/LimeApp.hx

@@ -1,6 +0,0 @@
-class LimeApp extends lime.app.Application {
-	override public function create(c) {
-		super.create(c);
-		@:privateAccess ::main::.main();
-	}
-}

+ 1 - 0
samples/templates/__name_hl.hxml

@@ -1,4 +1,5 @@
 -lib heaps
+-lib hlsdl
 -cp ../..
 -hl ::name::.hl
 -main ::main::

+ 0 - 57
samples/templates/__name_hl.hxproj

@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<project version="2">
-  <!-- Output SWF options -->
-  <output>
-    <movie outputType="CustomBuild" />
-    <movie input="" />
-    <movie path="::name::.hl" />
-    <movie fps="60" />
-    <movie width="1280" />
-    <movie height="800" />
-    <movie version="14" />
-    <movie minorVersion="0" />
-    <movie platform="Flash Player" />
-    <movie background="#FFFFFF" />
-  </output>
-  <!-- Other classes to be compiled into your SWF -->
-  <classpaths>
-    <class path="..\.." />
-  </classpaths>
-  <!-- Build options -->
-  <build>
-    <option directives="" />
-    <option flashStrict="True" />
-    <option noInlineOnDebug="False" />
-    <option mainClass="::main::" />
-    <option enabledebug="False" />
-    <option additional="::params.split("\n").join("&#xA;")::" />
-  </build>
-  <!-- haxelib libraries -->
-  <haxelib>
-    <library name="heaps" />
-    <library name="hlsdl" />
-  </haxelib>
-  <!-- Class files to compile (other referenced classes will automatically be included) -->
-  <compileTargets>
-    <!-- example: <compile path="..." /> -->
-  </compileTargets>
-  <!-- Assets to embed into the output SWF -->
-  <library>
-    <!-- example: <asset path="..." id="..." update="..." glyphs="..." mode="..." place="..." sharepoint="..." /> -->
-  </library>
-  <!-- Paths to exclude from the Project Explorer tree -->
-  <hiddenPaths>
-  </hiddenPaths>
-  <!-- Executed before build -->
-  <preBuildCommand>haxe -lib hlsdl ::name::_hl.hxml</preBuildCommand>
-  <!-- Executed after build -->
-  <postBuildCommand alwaysRun="False" />
-  <!-- Other project options -->
-  <options>
-    <option showHiddenPaths="False" />
-    <option testMovie="Custom" />
-    <option testMovieCommand="hl ::name::.hl" />
-  </options>
-  <!-- Plugin storage -->
-  <storage />
-</project>

+ 0 - 57
samples/templates/__name_hldx.hxproj

@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<project version="2">
-  <!-- Output SWF options -->
-  <output>
-    <movie outputType="CustomBuild" />
-    <movie input="" />
-    <movie path="::name::.hl" />
-    <movie fps="60" />
-    <movie width="1280" />
-    <movie height="800" />
-    <movie version="14" />
-    <movie minorVersion="0" />
-    <movie platform="Flash Player" />
-    <movie background="#FFFFFF" />
-  </output>
-  <!-- Other classes to be compiled into your SWF -->
-  <classpaths>
-    <class path="..\.." />
-  </classpaths>
-  <!-- Build options -->
-  <build>
-    <option directives="" />
-    <option flashStrict="True" />
-    <option noInlineOnDebug="False" />
-    <option mainClass="::main::" />
-    <option enabledebug="False" />
-    <option additional="::params.split("\n").join("&#xA;")::" />
-  </build>
-  <!-- haxelib libraries -->
-  <haxelib>
-    <library name="heaps" />
-    <library name="hldx" />
-  </haxelib>
-  <!-- Class files to compile (other referenced classes will automatically be included) -->
-  <compileTargets>
-    <!-- example: <compile path="..." /> -->
-  </compileTargets>
-  <!-- Assets to embed into the output SWF -->
-  <library>
-    <!-- example: <asset path="..." id="..." update="..." glyphs="..." mode="..." place="..." sharepoint="..." /> -->
-  </library>
-  <!-- Paths to exclude from the Project Explorer tree -->
-  <hiddenPaths>
-  </hiddenPaths>
-  <!-- Executed before build -->
-  <preBuildCommand>haxe -lib hldx ::name::_hl.hxml</preBuildCommand>
-  <!-- Executed after build -->
-  <postBuildCommand alwaysRun="False" />
-  <!-- Other project options -->
-  <options>
-    <option showHiddenPaths="False" />
-    <option testMovie="Custom" />
-    <option testMovieCommand="hl ::name::.hl" />
-  </options>
-  <!-- Plugin storage -->
-  <storage />
-</project>

+ 0 - 51
samples/templates/__name_js.hxproj

@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<project version="2">
-  <!-- Output SWF options -->
-  <output>
-    <movie outputType="Application" />
-    <movie input="" />
-    <movie path="::name::.js" />
-    <movie fps="60" />
-    <movie width="800" />
-    <movie height="600" />
-    <movie version="1" />
-    <movie minorVersion="0" />
-    <movie platform="JavaScript" />
-    <movie background="#FFFFFF" />
-  </output>
-  <!-- Other classes to be compiled into your SWF -->
-  <classpaths>
-    <class path="..\.." />
-  </classpaths>
-  <!-- Build options -->
-  <build>
-    <option directives="" />
-    <option flashStrict="False" />
-    <option mainClass="::main::" />
-    <option enabledebug="False" />
-    <option additional="::params.split("\n").join("&#xA;")::" />
-  </build>
-  <!-- haxelib libraries -->
-  <haxelib>
-    <library name="heaps" />
-  </haxelib>
-  <!-- Class files to compile (other referenced classes will automatically be included) -->
-  <compileTargets>
-    <!-- example: <compile path="..." /> -->
-  </compileTargets>
-  <!-- Paths to exclude from the Project Explorer tree -->
-  <hiddenPaths>
-  </hiddenPaths>
-  <!-- Executed before build -->
-  <preBuildCommand />
-  <!-- Executed after build -->
-  <postBuildCommand alwaysRun="False" />
-  <!-- Other project options -->
-  <options>
-    <option showHiddenPaths="False" />
-    <option testMovie="OpenDocument" />
-    <option testMovieCommand="index.html" />
-  </options>
-  <!-- Plugin storage -->
-  <storage />
-</project>

+ 0 - 17
samples/templates/__name_lime.xml

@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<project>
-	<meta title="::name::" package="heaps.samples.::name::" version="1.0.0" company="" />
-	
-	<app main="LimeApp" file="::name::" path="bin" />
-	<app min-swf-version="12.0" />
-	
-	<source path="../.."/>
-	
-	<window background="#000000" fps="60" />
-	<window width="1280" height="800" unless="mobile" />
-	<window orientation="landscape" vsync="false" antialiasing="0" if="cpp" colors32b="true" allow-high-dpi="true"/>
-
-	<haxedef name="resourcesPath" value="::{ var k = params.split("-D resourcesPath="); if( k[1] == null ) "../../res" else StringTools.trim(k[1].split("\n")[0]); }::"/>
-	<haxelib name="lime" />
-	<haxelib name="heaps" />
-</project>

+ 0 - 56
samples/templates/__name_swf.hxproj

@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<project version="2">
-  <!-- Output SWF options -->
-  <output>
-    <movie outputType="Application" />
-    <movie input="" />
-    <movie path="::name::.swf" />
-    <movie fps="60" />
-    <movie width="1280" />
-    <movie height="800" />
-    <movie version="15" />
-    <movie minorVersion="0" />
-    <movie platform="Flash Player" />
-    <movie background="#FFFFFF" />
-  </output>
-  <!-- Other classes to be compiled into your SWF -->
-  <classpaths>
-    <class path="..\.." />
-  </classpaths>
-  <!-- Build options -->
-  <build>
-    <option directives="" />
-    <option flashStrict="True" />
-    <option noInlineOnDebug="False" />
-    <option mainClass="::main::" />
-    <option enabledebug="False" />
-    <option additional="::params.split("\n").join("&#xA;")::" />
-  </build>
-  <!-- haxelib libraries -->
-  <haxelib>
-    <library name="heaps" />
-  </haxelib>
-  <!-- Class files to compile (other referenced classes will automatically be included) -->
-  <compileTargets>
-    <!-- example: <compile path="..." /> -->
-  </compileTargets>
-  <!-- Assets to embed into the output SWF -->
-  <library>
-    <!-- example: <asset path="..." id="..." update="..." glyphs="..." mode="..." place="..." sharepoint="..." /> -->
-  </library>
-  <!-- Paths to exclude from the Project Explorer tree -->
-  <hiddenPaths>
-  </hiddenPaths>
-  <!-- Executed before build -->
-  <preBuildCommand />
-  <!-- Executed after build -->
-  <postBuildCommand alwaysRun="False" />
-  <!-- Other project options -->
-  <options>
-    <option showHiddenPaths="False" />
-    <option testMovie="Default" />
-    <option testMovieCommand="::name::.swf" />
-  </options>
-  <!-- Plugin storage -->
-  <storage />
-</project>