mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-12-25 13:29:59 +00:00
Started adding tile engine support to the build/pack -- still have to pack maps and tilesets and create a test stub for the tile engine
This commit is contained in:
parent
e82f75009d
commit
bcd2e6c83e
@ -965,6 +965,7 @@ class PackPartitions
|
||||
readCode("render", "src/raycast/build/render.b")
|
||||
readCode("expand", "src/raycast/build/expand.b")
|
||||
readCode("fontEngine", "src/font/build/fontEngine.b")
|
||||
readCode("tileEngine", "src/tile/build/tile.b")
|
||||
|
||||
println "Reading modules."
|
||||
readModule("gameloop", "src/plasma/build/gameloop.b")
|
||||
|
@ -38,6 +38,8 @@
|
||||
<ant dir="${src.dir}/raycast" target="build" useNativeBasedir="true" inheritAll="false"/>
|
||||
<echo>Building font engine.</echo>
|
||||
<ant dir="${src.dir}/font" target="build" useNativeBasedir="true" inheritAll="false"/>
|
||||
<echo>Building tile engine.</echo>
|
||||
<ant dir="${src.dir}/tile" target="build" useNativeBasedir="true" inheritAll="false"/>
|
||||
|
||||
<!-- Pack the game data -->
|
||||
<echo>Packing game and code resources.</echo>
|
||||
|
43
Platform/Apple/virtual/src/tile/build.xml
Normal file
43
Platform/Apple/virtual/src/tile/build.xml
Normal file
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<project name="tile" default="build">
|
||||
|
||||
<property name="projName" value="tile"/> <!-- base part of output bin name -->
|
||||
<property name="src.dir" location="."/>
|
||||
<property name="include.dir" location="../include"/>
|
||||
<property file="${include.dir}/build.props"/> <!-- needs to define ACME_BIN_DIR -->
|
||||
|
||||
<property name="build.dir" value="${src.dir}/build"/>
|
||||
|
||||
<property name="ACME_TOOL" location="${ACME_BIN_DIR}/acme"/>
|
||||
|
||||
<property name="ASM_SETTINGS" value="-f plain"/>
|
||||
|
||||
<target name="all">
|
||||
<antcall target="clean"/>
|
||||
<antcall target="build"/>
|
||||
</target>
|
||||
|
||||
<target name="clean">
|
||||
<delete failonerror="false" dir="${build.dir}"/>
|
||||
</target>
|
||||
|
||||
<target name="build">
|
||||
|
||||
<!-- Create build directory -->
|
||||
<mkdir dir="${build.dir}"/>
|
||||
|
||||
<!-- Assemble all .s files -->
|
||||
<apply executable="${ACME_TOOL}" dir="${src.dir}"
|
||||
relative="true" parallel="false" failonerror="true" verbose="true">
|
||||
<fileset dir="${src.dir}" includes="*.s"/>
|
||||
<mapper type="glob" from="*.s" to="${build.dir}/*.b"/>
|
||||
<arg line="${ASM_SETTINGS}"/>
|
||||
<arg value="-o"/>
|
||||
<targetfile/>
|
||||
<srcfile/>
|
||||
</apply>
|
||||
|
||||
</target>
|
||||
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user