Tools directory for ticket #1

This commit is contained in:
DavidWyand-GG 2012-09-19 11:22:58 -04:00
parent ecfd936095
commit 8337cad7ee
207 changed files with 25761 additions and 0 deletions

View file

@ -0,0 +1,2 @@
{assign var="dirWalk" value=$fileArray}
{include file="buildManifest_fileRecurse.tpl" dirWalk=$dirWalk depth=2 dirPath=$projOutput->base_dir}

View file

@ -0,0 +1,16 @@
{* *}
{* Is this a dir or an item? *}
{* *}
{if is_array($dirWalk)}
{* *}
{* Iterate over children *}
{* *}
{foreach from=$dirWalk item=dir key=key}
{include file="buildManifest_fileRecurse.tpl" dirWalk=$dir dirName=$key dirPath="$dirPath$dirName/" depth=$depth+1}
{/foreach}
{else}
{* *}
{* Output an item *}
{* *}
{$dirWalk->path}
{/if}

View file

@ -0,0 +1,90 @@
# I release this sample under the MIT license: free for any use, provided
# you hold me harmless from any such use you make, and you retain my
# copyright on the actual sources.
# Copyright 2005 Jon Watte.
# App Template
APPNAME := {$projectOffset}../../{$gameFolder}/{$projOutName}
{assign var="dirWalk" value=$fileArray}
SOURCES := {foreach from=$dirWalk item=file key=key}
{include file="make_fileRecurse.tpl" dirWalk=$file}
{/foreach}
LDFLAGS := -g -m32
LDLIBS := -lstdc++
CFLAGS := -MMD -I. -Wfatal-errors -m32
{foreach item=def from=$projIncludes}CFLAGS += -I{$def}
{/foreach}
CFLAGS += -DUNICODE;
{foreach item=def from=$projDefines}CFLAGS += -D{$def}
{/foreach}
CFLAGS_DEBUG := $(CFLAGS) -ggdb
CFLAGS_DEBUG += -DTORQUE_DEBUG
CFLAGS_DEBUG += -DTORQUE_DEBUG_GUARD
CFLAGS_DEBUG += -DTORQUE_NET_STATS
CFLAGS += -O3
#CC := gcc
LD := gcc
APP_TARGETS += $(APPNAME)
APP_TARGETS_DEBUG += $(APPNAME)_DEBUG
OBJS_{$projName} := $(patsubst ../../../../Engine/source/%,Release/{$projName}/%.o,$(SOURCES))
OBJS_{$projName} += $(patsubst ../../source/%, Release/{$projName}/%.o,$(SOURCES))
OBJS_{$projName} := $(filter %.o, $(OBJS_{$projName}))
OBJS_{$projName}_DEBUG := $(patsubst ../../../../Engine/source/%,Debug/{$projName}/%.o,$(SOURCES))
OBJS_{$projName}_DEBUG += $(patsubst ../../source/%, Debug/{$projName}/%.o,$(SOURCES))
OBJS_{$projName}_DEBUG := $(filter %.o, $(OBJS_{$projName}_DEBUG))
# Deriving the actual prerequisite list name to use from the target
# name in the shell command is the "secret sauce" that makes this all
# work.
#
$(APPNAME): $(OBJS_{$projName}) $(LIB_TARGETS)
$(LD) $(LDFLAGS) -o $@ $(OBJS_{$projName}) $(LIB_TARGETS) $(LDLIBS)
$(APPNAME)_DEBUG: $(OBJS_{$projName}_DEBUG) $(LIB_TARGETS_DEBUG)
$(LD) $(LDFLAGS) -o $@ $(OBJS_{$projName}_DEBUG) $(LIB_TARGETS_DEBUG) $(LDLIBS)
Release/{$projName}/%.asm.o: ../../../../Engine/source/%.asm
@mkdir -p $(dir $@)
nasm -f elf $< -o $@
Release/{$projName}/%.o: ../../../../Engine/source/%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS) $< -o $@
Release/{$projName}/%.o: ../../source/%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS) $< -o $@
Debug/{$projName}/%.asm.o: ../../../../Engine/source/%.asm
@mkdir -p $(dir $@)
nasm -f elf $< -o $@
Debug/{$projName}/%.o: ../../../../Engine/source/%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS_DEBUG) $< -o $@
Debug/{$projName}/%.o: ../../source/%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS_DEBUG) $< -o $@
release_{$projName}: $(APPNAME)
debug_{$projName}: $(APPNAME)_DEBUG
.PHONY: debug_{$projName} release_{$projName}
DEPS += $(patsubst %.o,%.d,$(OBJS_{$projName}))
DEPS += $(patsubst %.o,%.d,$(OBJS_{$projName}_DEBUG))
APPNAME :=
SOURCES :=

View file

@ -0,0 +1,82 @@
# I release this sample under the MIT license: free for any use, provided
# you hold me harmless from any such use you make, and you retain my
# copyright on the actual sources.
# Copyright 2005 Jon Watte.
# AppShared Template
APPNAME := {$projectOffset}../../{$gameFolder}/{$projOutName}
{assign var="dirWalk" value=$fileArray}
SOURCES := {foreach from=$dirWalk item=file key=key}
{include file="make_fileRecurse.tpl" dirWalk=$file}
{/foreach}
LDFLAGS := -g -m32
LDLIBS := -lstdc++
CFLAGS := -MMD -I. -Wfatal-errors -m32
{foreach item=def from=$projIncludes}CFLAGS += -I{$def}
{/foreach}
CFLAGS += -DUNICODE
{foreach item=def from=$projDefines}CFLAGS += -D{$def}
{/foreach}
CFLAGS_DEBUG := $(CFLAGS) -ggdb
CFLAGS_DEBUG += -DTORQUE_DEBUG
CFLAGS_DEBUG += -DTORQUE_NET_STATS
CFLAGS_DEBUG += -DTORQUE_DEBUG_GUARD
CFLAGS += -O3
#CC := gcc
LD := gcc
APP_TARGETS += $(APPNAME)
APP_TARGETS_DEBUG += $(APPNAME)_DEBUG
OBJS_{$projName} := $(patsubst ../../../../Engine/source/%,Release/{$projName}/%.o,$(SOURCES))
OBJS_{$projName} += $(patsubst ../../source/%, Release/{$projName}/%.o,$(SOURCES))
OBJS_{$projName} := $(filter %.o, $(OBJS_{$projName}))
OBJS_{$projName}_DEBUG := $(patsubst ../../../../Engine/source/%,Debug/{$projName}/%.o,$(SOURCES))
OBJS_{$projName}_DEBUG += $(patsubst ../../source/%, Debug/{$projName}/%.o,$(SOURCES))
OBJS_{$projName}_DEBUG := $(filter %.o, $(OBJS_{$projName}_DEBUG))
# Deriving the actual prerequisite list name to use from the target
# name in the shell command is the "secret sauce" that makes this all
# work.
#
$(APPNAME): $(OBJS_{$projName}) $(SHARED_LIB_TARGETS)
$(LD) $(LDFLAGS) -o $@ $(OBJS_{$projName}) $(SHARED_LIB_TARGETS) $(LDLIBS)
$(APPNAME)_DEBUG: $(OBJS_{$projName}_DEBUG) $(SHARED_LIB_TARGETS_DEBUG)
$(LD) $(LDFLAGS) -o $@ $(OBJS_{$projName}_DEBUG) $(SHARED_LIB_TARGETS_DEBUG) $(LDLIBS)
Release/{$projName}/%.asm.o: ../../../../Engine/source/%.asm
@mkdir -p $(dir $@)
nasm -f elf $< -o $@
Release/{$projName}/%.o: ../../../../Engine/source/%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS) $< -o $@
Debug/{$projName}/%.asm.o: ../../../../Engine/source/%.asm
@mkdir -p $(dir $@)
nasm -f elf $< -o $@
Debug/{$projName}/%.o: ../../../../Engine/source/%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS_DEBUG) $< -o $@
release_{$projName}: $(APPNAME)
debug_{$projName}: $(APPNAME)_DEBUG
.PHONY: debug_{$projName} release_{$projName}
DEPS += $(patsubst %.o,%.d,$(OBJS_{$projName}))
DEPS += $(patsubst %.o,%.d,$(OBJS_{$projName}_DEBUG))
APPNAME :=
SOURCES :=

View file

@ -0,0 +1,74 @@
# I release this sample under the MIT license: free for any use, provided
# you hold me harmless from any such use you make, and you retain my
# copyright on the actual sources.
# Copyright 2005 Jon Watte.
# Static Library Template
# If this errors out, you didn't specify the right variable value, or
# you're including the wrong template makefile.
LIBNAME := {$projName}
{assign var="dirWalk" value=$fileArray}
SOURCES := {foreach from=$dirWalk item=file key=key}
{include file="make_fileRecurse.tpl" dirWalk=$file}
{/foreach}
LDFLAGS_{$projName} := -g -m32
LDLIBS_{$projName} := -lstdc++
CFLAGS_{$projName} := -MMD -I. -m32
{foreach item=def from=$projIncludes}CFLAGS_{$projName} += -I{$def}
{/foreach}
CFLAGS_{$projName} += -DUNICODE
{foreach item=def from=$projDefines}CFLAGS_{$projName} += -D{$def}
{/foreach}
CFLAGS_DEBUG_{$projName} := $(CFLAGS_{$projName}) -ggdb
CFLAGS_DEBUG_{$projName} += -DTORQUE_DEBUG
CFLAGS_DEBUG_{$projName} += -DTORQUE_DEBUG_GUARD
CFLAGS_DEBUG_{$projName} += -DTORQUE_NET_STATS
CFLAGS_{$projName} += -O3
#CC := gcc
LD := gcc
TARGET_{$projName} := {$libDir}/compiled/Make/{$projName}.a
TARGET_{$projName}_DEBUG := {$libDir}/compiled/Make/{$projName}_DEBUG.a
LIB_TARGETS += $(TARGET_{$projName})
LIB_TARGETS_DEBUG += $(TARGET_{$projName}_DEBUG)
OBJS_{$projName} := $(patsubst {$libDir}%,Release/{$projName}/%.o,$(SOURCES))
OBJS_{$projName}_DEBUG := $(patsubst {$libDir}%,Debug/{$projName}/%.o,$(SOURCES))
# Deriving the variable name from the target name is the secret sauce
# of the build system.
#
$(TARGET_{$projName}): $(OBJS_{$projName})
@mkdir -p $(dir $@)
ar cr $@ $(OBJS_{$projName})
$(TARGET_{$projName}_DEBUG): $(OBJS_{$projName}_DEBUG)
@mkdir -p $(dir $@)
ar cr $@ $(OBJS_{$projName}_DEBUG)
Release/{$projName}/%.o: {$libDir}%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS_{$projName}) $< -o $@
Debug/{$projName}/%.o: {$libDir}%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS_DEBUG_{$projName}) $< -o $@
release_{$projName}: $(TARGET_{$projName})
debug_{$projName}: $(TARGET_{$projName}_DEBUG)
.PHONY: debug_{$projName} release_{$projName}
DEPS += $(patsubst %.o,%.d,$(OBJS_{$projName}))
DEPS += $(patsubst %.o,%.d,$(OBJS_{$projName}_DEBUG))

View file

@ -0,0 +1,89 @@
# I release this sample under the MIT license: free for any use, provided
# you hold me harmless from any such use you make, and you retain my
# copyright on the actual sources.
# Copyright 2005 Jon Watte.
# Dynamic Library Template
# If this errors out, you didn't specify the right variable value, or
# you're including the wrong template makefile.
LIBNAME := {$projName}
{assign var="dirWalk" value=$fileArray}
SOURCES := {foreach from=$dirWalk item=file key=key}
{include file="make_fileRecurse.tpl" dirWalk=$file}
{/foreach}
LDFLAGS_{$projName} := -g -m32 -shared
LDLIBS_{$projName} := -lstdc++ -lSDL -lpthread
CFLAGS_{$projName} := -MMD -I. -m32 -mmmx -msse -march=i686
{foreach item=def from=$projIncludes}CFLAGS_{$projName} += -I{$def}
{/foreach}
CFLAGS_{$projName} += -DUNICODE
{foreach item=def from=$projDefines}CFLAGS_{$projName} += -D{$def}
{/foreach}
CFLAGS_DEBUG_{$projName} := $(CFLAGS_{$projName}) -ggdb
CFLAGS_DEBUG_{$projName} += -DTORQUE_DEBUG
CFLAGS_DEBUG_{$projName} += -DTORQUE_DEBUG_GUARD
CFLAGS_DEBUG_{$projName} += -DTORQUE_NET_STATS
CFLAGS_{$projName} += -O3
#CC := gcc
LD := gcc
SHARED_LIB_TARGETS += {$projName}.so
SHARED_LIB_TARGETS_DEBUG += {$projName}_DEBUG.so
OBJS_{$projName} := $(patsubst ../../../../Engine/source/%,Release/{$projName}/%.o,$(SOURCES))
OBJS_{$projName} += $(patsubst ../../source/%,Release/{$projName}/%.o,$(SOURCES))
OBJS_{$projName} := $(filter %.o, $(OBJS_{$projName}))
OBJS_{$projName}_DEBUG := $(patsubst ../../../../Engine/source/%,Debug/{$projName}/%.o,$(SOURCES))
OBJS_{$projName}_DEBUG += $(patsubst ../../source/%, Debug/{$projName}/%.o,$(SOURCES))
OBJS_{$projName}_DEBUG := $(filter %.o, $(OBJS_{$projName}_DEBUG))
# Deriving the variable name from the target name is the secret sauce
# of the build system.
#
{$projName}.so: $(OBJS_{$projName}) $(LIB_TARGETS)
$(LD) $(LDFLAGS_{$projName}) -o $@ $(OBJS_{$projName}) $(LIB_TARGETS) $(LDLIBS_{$projName})
{$projName}_DEBUG.so: $(OBJS_{$projName}_DEBUG) $(LIB_TARGETS_DEBUG)
$(LD) $(LDFLAGS_{$projName}) -o $@ $(OBJS_{$projName}_DEBUG) $(LIB_TARGETS_DEBUG) $(LDLIBS_{$projName})
Release/{$projName}/%.asm.o: ../../../../Engine/source/%.asm
@mkdir -p $(dir $@)
nasm -f elf $< -o $@
Release/{$projName}/%.o: ../../../../Engine/source/%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS_{$projName}) $< -o $@
Release/{$projName}/%.o: ../../source/%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS_{$projName}) $< -o $@
Debug/{$projName}/%.asm.o: ../../../../Engine/source/%.asm
@mkdir -p $(dir $@)
nasm -f elf $< -o $@
Debug/{$projName}/%.o: ../../../../Engine/source/%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS_DEBUG_{$projName}) $< -o $@
Debug/{$projName}/%.o: ../../source/%
@mkdir -p $(dir $@)
$(CC) -c $(CFLAGS_DEBUG_{$projName}) $< -o $@
release_{$projName}: {$projName}.so
debug_{$projName}: {$projName}_DEBUG.so
.PHONY: debug_{$projName} release_{$projName}
DEPS += $(patsubst %.o,%.d,$(OBJS_{$projName}))
DEPS += $(patsubst %.o,%.d,$(OBJS_{$projName}_DEBUG))

View file

@ -0,0 +1,42 @@
# I release this sample under the MIT license: free for any use, provided
# you hold me harmless from any such use you make, and you retain my
# copyright on the actual sources.
# Copyright 2005 Jon Watte.
DEPS :=
LIB_TARGETS :=
LIB_TARGETS_DEBUG :=
SHARED_LIB_TARGETS :=
SHARED_LIB_TARGETS_DEBUG :=
APP_TARGETS :=
APP_TARGETS_DEBUG :=
all: debug release
clean:
rm -rf Release
rm -rf Debug
rm -rf {$libDir}/compiled/Make
rm -f $(SHARED_LIB_TARGETS) $(SHARED_LIB_TARGETS_DEBUG)
rm -f $(APP_TARGETS) $(APP_TARGETS_DEBUG)
rm -f *.d
.PHONY: all debug release clean
{foreach item=project from=$projects}
-include x {$project->name}
{/foreach}
-include x $(DEPS)
# it's important that I specify the libs and apps targets
# after they've actually been defined by the includes above.
#
release: $(LIB_TARGETS) $(SHARED_LIB_TARGETS) $(APP_TARGETS)
@echo Built libraries: $(LIB_TARGETS)
@echo Built shared libraries: $(SHARED_LIB_TARGETS)
@echo Build apps: $(APP_TARGETS)
debug: $(LIB_TARGETS_DEBUG) $(SHARED_LIB_TARGETS_DEBUG) $(APP_TARGETS_DEBUG)
@echo Built libraries: $(LIB_TARGETS_DEBUG)
@echo Built shared libraries: $(SHARED_LIB_TARGETS_DEBUG)
@echo Build apps: $(APP_TARGETS_DEBUG)

View file

@ -0,0 +1,8 @@
{foreach from=$dirWalk item=file key=key}
{if is_array($file)}
{include file="make_fileRecurse.tpl" dirWalk=$file}
{elseif dontCompile($file->path, $projOutput)}
{else}
{$file->path} \
{/if}
{/foreach}

View file

@ -0,0 +1,201 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- ActiveX Project Template -->
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{$GUID}</ProjectGuid>
<Keyword>AtlProj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfAtl>Static</UseOfAtl>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfAtl>Static</UseOfAtl>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projectOffset}../../{$gameFolder}/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</IgnoreImportLibrary>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projOutName}</TargetName>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projectOffset}../../{$gameFolder}/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<IgnoreImportLibrary Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</IgnoreImportLibrary>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projOutName}</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Midl>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MkTypLibCompatible>false</MkTypLibCompatible>
<TargetEnvironment>Win32</TargetEnvironment>
<GenerateStublessProxies>true</GenerateStublessProxies>
<TypeLibraryName>$(IntDir)IEWebGamePlugin.tlb</TypeLibraryName>
<HeaderFileName>..\..\..\web\source\activex\IEWebGamePlugin_i.h</HeaderFileName>
<DllDataFileName>
</DllDataFileName>
<InterfaceIdentifierFileName>..\..\..\web\source\activex\IEWebGamePlugin_i.c</InterfaceIdentifierFileName>
<ProxyFileName>..\..\..\web\source\activex\IEWebGamePlugin_p.c</ProxyFileName>
<ValidateAllParameters>true</ValidateAllParameters>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<PerUserRedirection>true</PerUserRedirection>
<RegisterOutput>true</RegisterOutput>
<ModuleDefinitionFile>..\..\..\web\source\activex\IEWebGamePlugin.def</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<OutputFile>$(OutDir){$projOutName}.dll</OutputFile>
<ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
<AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Midl>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MkTypLibCompatible>false</MkTypLibCompatible>
<TargetEnvironment>Win32</TargetEnvironment>
<GenerateStublessProxies>true</GenerateStublessProxies>
<TypeLibraryName>$(IntDir)IEWebGamePlugin.tlb</TypeLibraryName>
<HeaderFileName>..\..\..\web\source\activex\IEWebGamePlugin_i.h</HeaderFileName>
<DllDataFileName>
</DllDataFileName>
<InterfaceIdentifierFileName>..\..\..\web\source\activex\IEWebGamePlugin_i.c</InterfaceIdentifierFileName>
<ProxyFileName>..\..\..\web\source\activex\IEWebGamePlugin_p.c</ProxyFileName>
<ValidateAllParameters>true</ValidateAllParameters>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;_USRDLL;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>
</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>$(IntDir);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<PerUserRedirection>true</PerUserRedirection>
<RegisterOutput>true</RegisterOutput>
<ModuleDefinitionFile>..\..\..\web\source\activex\IEWebGamePlugin.def</ModuleDefinitionFile>
<GenerateDebugInformation>false</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
<OutputFile>$(OutDir){$projOutName}.dll</OutputFile>
<AdditionalDependencies>version.lib;%(AdditionalDependencies)</AdditionalDependencies>
<ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
<ProfileGuidedDatabase>$(IntDir)$(ProjectName).pgd</ProfileGuidedDatabase>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\web\source\activex\dllmain.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
</PrecompiledHeader>
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
</PrecompiledHeader>
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
</ClCompile>
<ClCompile Include="..\..\..\web\source\activex\IEWebGameCtrl.cpp" />
<ClCompile Include="..\..\..\web\source\activex\IEWebGamePlugin.cpp" />
<ClCompile Include="..\..\..\web\source\activex\IEWebGameWindow.cpp" />
<ClCompile Include="..\..\..\web\source\common\webCommon.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\web\source\activex\stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="..\..\..\web\source\activex\IEWebGamePlugin_i.c">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
</PrecompiledHeader>
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
</PrecompiledHeader>
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\web\source\activex\IEWebGamePlugin.def" />
<None Include="..\..\..\web\source\activex\IEWebGameCtrl.bmp" />
<None Include="..\..\..\web\source\activex\IEWebGameCtrl.rgs" />
<None Include="..\..\..\web\source\activex\IEWebGamePlugin.rgs" />
</ItemGroup>
<ItemGroup>
<Midl Include="..\..\..\web\source\activex\IEWebGamePlugin.idl" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\web\source\activex\dllmain.h" />
<ClInclude Include="..\..\..\web\source\activex\IEWebGameCtrl.h" />
<ClInclude Include="..\..\..\web\source\activex\IEWebGameWindow.h" />
<ClInclude Include="..\..\..\web\source\activex\Resource.h" />
<ClInclude Include="..\..\..\web\source\activex\stdafx.h" />
<ClInclude Include="..\..\..\web\source\activex\targetver.h" />
<ClInclude Include="..\..\..\web\source\common\webConfig.h" />
<ClInclude Include="..\..\..\web\source\common\webCommon.h" />
<ClInclude Include="..\..\..\web\source\activex\IEWebGamePlugin_i.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\..\web\source\activex\IEWebGamePlugin.rc" />
</ItemGroup>
<ItemGroup>
{foreach item=dep from=$projDepend}
<ProjectReference Include="{$projectDepends[$dep]->name}.vcxproj">
<Project>{$projectDepends[$dep]->guid}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
{/foreach}
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View file

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">Win32</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{$GUID}</ProjectGuid>
<OutputType>{if $projSubSystem eq 1}Exe{elseif $projSubSystem eq 2}WinExe{else}Library{/if}</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>{$projName}</RootNamespace>
<AssemblyName>{$projName}</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Win32' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\game\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Optimized Debug|Win32' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\game\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\game\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
{foreach item=version key=ref from=$projSettings->references}
{if ($version)}
<Reference Include="{$ref}">
<RequiredTargetFramework>{$version}</RequiredTargetFramework>
</Reference>
{else}
<Reference Include="{$ref}" />
{/if}
{/foreach}
</ItemGroup>
<ItemGroup>
{assign var="dirWalk" value=$fileArray}
{include file="vc2010_fileRecurseCSharp.tpl" dirWalk=$dirWalk depth=2 dirPath=$projOutput->base_dir}
</ItemGroup>
<ItemGroup>
{foreach item=dep from=$projDepend}
<ProjectReference Include="{$projectDepends[$dep]->name}.csproj">
<Project>{$projectDepends[$dep]->guid}</Project>
<Name>{$projectDepends[$dep]->name}</Name>
</ProjectReference>
{/foreach}
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View file

@ -0,0 +1,236 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- DLL Project Template -->
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Optimized Debug|Win32">
<Configuration>Optimized Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<RootNamespace>{$projName}</RootNamespace>
<ProjectGuid>{$GUID}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projectOffset}../../{$gameFolder}/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projOutName}_DEBUG</TargetName>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projectOffset}../../{$gameFolder}/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">false</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projOutName}_OPTIMIZEDDEBUG</TargetName>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projectOffset}../../{$gameFolder}/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projOutName}</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Midl>
<TypeLibraryName>$(IntDir)Torque 3D.tlb</TypeLibraryName>
<HeaderFileName>
</HeaderFileName>
</Midl>
<ClCompile>
<AdditionalOptions>/MP4 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}$(DXSDK_DIR)/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<StringPooling>true</StringPooling>
<RuntimeLibrary>{if $projRuntimeDebug == 1}MultiThreadedDebug{else}MultiThreadedDebugDLL{/if}</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>
</PrecompiledHeader>
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>{foreach item=def from=$projLibs}{$def};{/foreach}%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir){$projOutName}_DEBUG.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName);$(DXSDK_DIR)/Lib/x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>LIBC;LIBCD;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ModuleDefinitionFile>{$projModuleDefinitionFile}</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>{if $projSubSystem == 1}Console{else}Windows{/if}</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<ProfileGuidedDatabase>$(IntDir)$(ProjectName).pgd</ProfileGuidedDatabase>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">
<Midl>
<TypeLibraryName>$(IntDir)Torque 3D.tlb</TypeLibraryName>
<HeaderFileName>
</HeaderFileName>
</Midl>
<ClCompile>
<AdditionalOptions>/MP4 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}$(DXSDK_DIR)/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<StringPooling>true</StringPooling>
<RuntimeLibrary>{if $projRuntimeDebug == 1}MultiThreadedDebug{else}MultiThreadedDebugDLL{/if}</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>
</PrecompiledHeader>
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>{foreach item=def from=$projLibs}{$def};{/foreach}%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir){$projOutName}_OPTIMIZEDDEBUG.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>LIBC;LIBCD;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ModuleDefinitionFile>{$projModuleDefinitionFile}</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>{if $projSubSystem == 1}Console{else}Windows{/if}</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<ProfileGuidedDatabase>$(IntDir)$(ProjectName).pgd</ProfileGuidedDatabase>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Midl>
<TypeLibraryName>$(IntDir)Torque 3D.tlb</TypeLibraryName>
<HeaderFileName>
</HeaderFileName>
</Midl>
<ClCompile>
<AdditionalOptions>/MP4 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}$(DXSDK_DIR)/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<StringPooling>true</StringPooling>
<RuntimeLibrary>{if $projRuntimeRelease == 0}MultiThreaded{else}MultiThreadedDLL{/if}</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>
</PrecompiledHeader>
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>
</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>{foreach item=def from=$projLibs}{$def};{/foreach}%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir){$projOutName}.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName);$(DXSDK_DIR)/Lib/x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>LIBC;LIBCD;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ModuleDefinitionFile>{$projModuleDefinitionFile}</ModuleDefinitionFile>
<GenerateDebugInformation>false</GenerateDebugInformation>
<ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>{if $projSubSystem == 1}Console{else}Windows{/if}</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<ProfileGuidedDatabase>$(IntDir)$(ProjectName).pgd</ProfileGuidedDatabase>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ResourceCompile Include="Torque.rc" />
</ItemGroup>
<ItemGroup>
{assign var="dirWalk" value=$fileArray}
{include file="vc2010_fileRecurse.tpl" dirWalk=$dirWalk depth=1 dirPath=$projOutput->base_dir}
</ItemGroup>
<ItemGroup>
{foreach item=dep from=$projDepend}
<ProjectReference Include="{$projectDepends[$dep]->name}.vcxproj">
<Project>{$projectDepends[$dep]->guid}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
{/foreach}
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View file

@ -0,0 +1,46 @@
{* *}
{* Is this a dir or an item? *}
{* *}
{if is_array($dirWalk)}
{* *}
{* Iterate over children *}
{* *}
{foreach from=$dirWalk item=dir key=key}
{include file="vc2010_fileRecurse.tpl" dirWalk=$dir dirName=$key dirPath="$dirPath$dirName/" depth=$depth+1}
{/foreach}
{else}
{* *}
{* Output an item *}
{* *}
{capture assign="itemOut"}
{* we don't compile some files. *}
{if dontCompile($dirWalk->path, $projOutput)}
<ClCompile Include=
"{$dirWalk->path|replace:'//':'/'|replace:'/':'\\'}">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</ClCompile>
{else}
{if substr($dirWalk->path, -4, 4) == ".asm"}
<CustomBuild Include="{$dirWalk->path|replace:'//':'/'|replace:'/':'\\'}">
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">"{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe" -f win32 "%(FullPath)" -o "$(IntDir)%(Filename).obj"</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename).obj;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">"{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe" -f win32 "%(FullPath)" -o "$(IntDir)%(Filename).obj"</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">$(IntDir)%(Filename).obj;%(Outputs)</Outputs>
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">"{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe" -f win32 "%(FullPath)" -o "$(IntDir)%(Filename).obj"</Command>
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename).obj;%(Outputs)</Outputs>
</CustomBuild>
{elseif $projOutput->isSourceFile( $dirWalk->path ) }
<ClCompile Include="{$dirWalk->path|replace:'//':'/'|replace:'/':'\\'}" />
{else}
<ClInclude Include="{$dirWalk->path|replace:'//':'/'|replace:'/':'\\'}" />
{/if}{* if path == "*.asm" *}
{/if}{* if dontCompile() *}
{/capture}
{$itemOut|indent:$depth:"\t"}
{/if}

View file

@ -0,0 +1,9 @@
{if is_array($dirWalk)}
{foreach from=$dirWalk item=dir key=key}
{include file="vc2010_fileRecurseCSharp.tpl" dirWalk=$dir dirName=$key dirPath="$dirPath$dirName/" depth=$depth+1}
{/foreach}
{else}
<Compile Include="{$dirWalk->path|replace:'/':'\\'}" >
<Link>{$dirWalk->path|replace:'../':''|replace:'/':'\\'}</Link>
</Compile>
{/if}

View file

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{gen_uuid}</UniqueIdentifier>
<Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;cc</Extensions>
</Filter>
{foreach item=folder from=$Folders}
<Filter Include="Source Files\{$folder}">
<UniqueIdentifier>{gen_uuid}</UniqueIdentifier>
</Filter>
{/foreach}
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Torque.rc">
<Filter>Source Files</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
{foreach item=dir key=path from=$SrcFiles}
<ClCompile Include="{$path}">
<Filter>Source Files\{$dir}</Filter>
</ClCompile>
{/foreach}
</ItemGroup>
<ItemGroup>
{foreach item=dir key=path from=$IncFiles}
<ClInclude Include="{$path}">
<Filter>Source Files\{$dir}</Filter>
</ClInclude>
{/foreach}
</ItemGroup>
<ItemGroup>
{foreach item=dir key=path from=$OtherFiles}
<CustomBuild Include="{$path}">
<Filter>Source Files\{$dir}</Filter>
</CustomBuild>
{/foreach}
</ItemGroup>
</Project>

View file

@ -0,0 +1,181 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Library Project Template -->
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Optimized Debug|Win32">
<Configuration>Optimized Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{$GUID}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$libDir}/compiled/$(Configuration).$(Platform)/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projOutName}_DEBUG</TargetName>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$libDir}/compiled/$(Configuration).$(Platform)/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projOutName}_OPTIMIZEDDEBUG</TargetName>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$libDir}/compiled/$(Configuration).$(Platform)/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projOutName}</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>
</ExceptionHandling>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<StringPooling>true</StringPooling>
<RuntimeLibrary>{if $projRuntimeDebug == 1}MultiThreadedDebug{else}MultiThreadedDebugDLL{/if}</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>
</PrecompiledHeader>
<PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName)_DEBUG.pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>$(OutDir)</AssemblerListingLocation>
<ProgramDataBaseFileName>$(OutDir)$(ProjectName)_DEBUG.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4244;4305;4530;4355;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
</ResourceCompile>
<Lib>
<OutputFile>$(OutDir){$projOutName}_DEBUG.lib</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">
<ClCompile>
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>
</ExceptionHandling>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<StringPooling>true</StringPooling>
<RuntimeLibrary>{if $projRuntimeDebug == 1}MultiThreadedDebug{else}MultiThreadedDebugDLL{/if}</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>
</PrecompiledHeader>
<PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName)_OPTIMIZEDDEBUG.pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>$(OutDir)</AssemblerListingLocation>
<ProgramDataBaseFileName>$(OutDir)$(ProjectName)_OPTIMIZEDDEBUG.pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4244;4305;4530;4355;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
</ResourceCompile>
<Lib>
<OutputFile>$(OutDir){$projOutName}_OPTIMIZEDDEBUG.lib</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Lib>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>
</ExceptionHandling>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<StringPooling>true</StringPooling>
<RuntimeLibrary>{if $projRuntimeRelease == 0}MultiThreaded{else}MultiThreadedDLL{/if}</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>
</PrecompiledHeader>
<PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>$(OutDir)</AssemblerListingLocation>
<ProgramDataBaseFileName>$(OutDir)$(ProjectName).pdb</ProgramDataBaseFileName>
<WarningLevel>Level3</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4244;4305;4530;4355;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
<Lib>
<OutputFile>$(OutDir)/{$projOutName}.lib</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
</Lib>
</ItemDefinitionGroup>
<ItemGroup>
{assign var="dirWalk" value=$fileArray}
{include file="vc2010_fileRecurse.tpl" dirWalk=$dirWalk depth=1 dirPath=$projOutput->base_dir}
</ItemGroup>
<ItemGroup>
{foreach item=dep from=$projDepend}
<ProjectReference Include="{$projectDepends[$dep]->name}.vcxproj">
<Project>{$projectDepends[$dep]->guid}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
{/foreach}
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View file

@ -0,0 +1,236 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Project Template -->
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Optimized Debug|Win32">
<Configuration>Optimized Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<RootNamespace>{$projName}</RootNamespace>
<ProjectGuid>{$GUID}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projectOffset}../../{$gameFolder}/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projOutName}_DEBUG</TargetName>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projectOffset}../../{$gameFolder}/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">false</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projOutName}_OPTIMIZEDDEBUG</TargetName>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projectOffset}../../{$gameFolder}/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projOutName}</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Midl>
<TypeLibraryName>$(IntDir)Torque 3D.tlb</TypeLibraryName>
<HeaderFileName>
</HeaderFileName>
</Midl>
<ClCompile>
<AdditionalOptions>/MP4 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}$(DXSDK_DIR)/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<StringPooling>true</StringPooling>
<RuntimeLibrary>{if $projRuntimeDebug == 1}MultiThreadedDebug{else}MultiThreadedDebugDLL{/if}</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>
</PrecompiledHeader>
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>{foreach item=def from=$projLibs}{$def};{/foreach}%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir){$projOutName}_DEBUG.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName);$(DXSDK_DIR)/Lib/x86;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>LIBC;LIBCD;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ModuleDefinitionFile>{$projModuleDefinitionFile}</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>{if $projSubSystem == 1}Console{else}Windows{/if}</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<ProfileGuidedDatabase>$(IntDir)$(ProjectName).pgd</ProfileGuidedDatabase>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">
<Midl>
<TypeLibraryName>$(IntDir)Torque 3D.tlb</TypeLibraryName>
<HeaderFileName>
</HeaderFileName>
</Midl>
<ClCompile>
<AdditionalOptions>/MP4 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<StringPooling>true</StringPooling>
<RuntimeLibrary>{if $projRuntimeDebug == 1}MultiThreadedDebug{else}MultiThreadedDebugDLL{/if}</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>
</PrecompiledHeader>
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>{foreach item=def from=$projLibs}{$def};{/foreach}%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir){$projOutName}_OPTIMIZEDDEBUG.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>LIBC;LIBCD;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ModuleDefinitionFile>{$projModuleDefinitionFile}</ModuleDefinitionFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>{if $projSubSystem == 1}Console{else}Windows{/if}</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<ProfileGuidedDatabase>$(IntDir)$(ProjectName).pgd</ProfileGuidedDatabase>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Midl>
<TypeLibraryName>$(IntDir)Torque 3D.tlb</TypeLibraryName>
<HeaderFileName>
</HeaderFileName>
</Midl>
<ClCompile>
<AdditionalOptions>/MP4 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<StringPooling>true</StringPooling>
<RuntimeLibrary>{if $projRuntimeRelease == 0}MultiThreaded{else}MultiThreadedDLL{/if}</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>
</PrecompiledHeader>
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>
</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>{foreach item=def from=$projLibs}{$def};{/foreach}%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir){$projOutName}.dll</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>LIBC;LIBCD;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<ModuleDefinitionFile>{$projModuleDefinitionFile}</ModuleDefinitionFile>
<GenerateDebugInformation>false</GenerateDebugInformation>
<ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>{if $projSubSystem == 1}Console{else}Windows{/if}</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<ProfileGuidedDatabase>$(IntDir)$(ProjectName).pgd</ProfileGuidedDatabase>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ResourceCompile Include="Torque.rc" />
</ItemGroup>
<ItemGroup>
{assign var="dirWalk" value=$fileArray}
{include file="vc2010_fileRecurse.tpl" dirWalk=$dirWalk depth=1 dirPath=$projOutput->base_dir}
</ItemGroup>
<ItemGroup>
{foreach item=dep from=$projDepend}
<ProjectReference Include="{$projectDepends[$dep]->name}.vcxproj">
<Project>{$projectDepends[$dep]->guid}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
{/foreach}
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View file

@ -0,0 +1,233 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Shared Template -->
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Optimized Debug|Win32">
<Configuration>Optimized Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<RootNamespace>{$projName}</RootNamespace>
<ProjectGuid>{$GUID}</ProjectGuid>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="Torque.Cpp.$(Platform).user.props" Condition="exists('Torque.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projectOffset}../../{$gameFolder}/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">{$projOutName}_DEBUG</TargetName>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projectOffset}../../{$gameFolder}/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">false</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">{$projOutName}_OPTIMIZEDDEBUG</TargetName>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projectOffset}../../{$gameFolder}/</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName)/$(ProjectName)/</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">{$projOutName}</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Midl>
<TypeLibraryName>$(IntDir)Torque 3D.tlb</TypeLibraryName>
<HeaderFileName>
</HeaderFileName>
</Midl>
<ClCompile>
<AdditionalOptions>/MP4 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<StringPooling>true</StringPooling>
<RuntimeLibrary>{if $projRuntimeDebug == 1}MultiThreadedDebug{else}MultiThreadedDebugDLL{/if}</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>
</PrecompiledHeader>
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>{foreach item=def from=$projLibs}{$def};{/foreach}%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir){$projOutName}_DEBUG.exe</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>LIBC;LIBCD;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>{if $projSubSystem == 1}Console{else}Windows{/if}</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<ProfileGuidedDatabase>$(IntDir)$(ProjectName).pgd</ProfileGuidedDatabase>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Optimized Debug|Win32'">
<Midl>
<TypeLibraryName>$(IntDir)Torque 3D.tlb</TypeLibraryName>
<HeaderFileName>
</HeaderFileName>
</Midl>
<ClCompile>
<AdditionalOptions>/MP4 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<StringPooling>true</StringPooling>
<RuntimeLibrary>{if $projRuntimeDebug == 1}MultiThreadedDebug{else}MultiThreadedDebugDLL{/if}</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>
</PrecompiledHeader>
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>{foreach item=def from=$projLibs}{$def};{/foreach}%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir){$projOutName}_OPTIMIZEDDEBUG.exe</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>LIBC;LIBCD;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>true</GenerateDebugInformation>
<ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>{if $projSubSystem == 1}Console{else}Windows{/if}</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<ProfileGuidedDatabase>$(IntDir)$(ProjectName).pgd</ProfileGuidedDatabase>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Midl>
<TypeLibraryName>$(IntDir)Torque 3D.tlb</TypeLibraryName>
<HeaderFileName>
</HeaderFileName>
</Midl>
<ClCompile>
<AdditionalOptions>/MP4 %(AdditionalOptions)</AdditionalOptions>
<Optimization>Full</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>{foreach item=def from=$projDefines}{$def};{/foreach}UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<StringPooling>true</StringPooling>
<RuntimeLibrary>{if $projRuntimeRelease == 0}MultiThreaded{else}MultiThreadedDLL{/if}</RuntimeLibrary>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
<RuntimeTypeInfo>true</RuntimeTypeInfo>
<PrecompiledHeader>
</PrecompiledHeader>
<AssemblerListingLocation>$(IntDir)</AssemblerListingLocation>
<WarningLevel>Level4</WarningLevel>
<SuppressStartupBanner>true</SuppressStartupBanner>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>Default</CompileAs>
<DisableSpecificWarnings>{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<Culture>0x0409</Culture>
<AdditionalIncludeDirectories>{foreach item=def from=$projIncludes}{$def};{/foreach}%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ResourceCompile>
<Link>
<AdditionalDependencies>{foreach item=def from=$projLibs}{$def};{/foreach}%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir){$projOutName}.exe</OutputFile>
<SuppressStartupBanner>true</SuppressStartupBanner>
<AdditionalLibraryDirectories>{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2010.$(Configuration).$(PlatformName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<IgnoreSpecificDefaultLibraries>LIBC;LIBCD;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<GenerateDebugInformation>false</GenerateDebugInformation>
<ProgramDatabaseFile>$(IntDir)$(ProjectName).pdb</ProgramDatabaseFile>
<SubSystem>{if $projSubSystem == 1}Console{else}Windows{/if}</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<ProfileGuidedDatabase>$(IntDir)$(ProjectName).pgd</ProfileGuidedDatabase>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ResourceCompile Include="Torque.rc" />
</ItemGroup>
<ItemGroup>
{assign var="dirWalk" value=$fileArray}
{include file="vc2010_fileRecurse.tpl" dirWalk=$dirWalk depth=1 dirPath=$projOutput->base_dir}
</ItemGroup>
<ItemGroup>
{foreach item=dep from=$projDepend}
<ProjectReference Include="{$projectDepends[$dep]->name}.vcxproj">
<Project>{$projectDepends[$dep]->guid}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
</ProjectReference>
{/foreach}
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View file

@ -0,0 +1,42 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
{foreach name=projects item=project from=$projects}
{if $project->projectFileExt eq ".csproj"}
Project("{literal}{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}{/literal}") = "{$project->name}", "projects/{$project->name}{$project_ext}", "{$project->guid}"
{else}
Project("{$solution_guid}") = "{$project->name}", "projects/{$project->name}{$project_ext}", "{$project->guid}"
{/if}
EndProject
{/foreach}
{foreach key=pname item=v from=$projectExtRefs}
Project("{$v[2]}") = "{$pname}", "{$v[0]}", "{$v[1]}"
EndProject
{/foreach}
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Optimized Debug|Win32 = Optimized Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{foreach name=projects item=project from=$projects}
{$project->guid}.Debug|Win32.ActiveCfg = Debug|Win32
{$project->guid}.Debug|Win32.Build.0 = Debug|Win32
{$project->guid}.Optimized Debug|Win32.ActiveCfg = Optimized Debug|Win32
{$project->guid}.Optimized Debug|Win32.Build.0 = Optimized Debug|Win32
{$project->guid}.Release|Win32.ActiveCfg = Release|Win32
{$project->guid}.Release|Win32.Build.0 = Release|Win32
{/foreach}
{foreach key=pname item=v from=$projectExtRefs}
{$v[1]}.Debug|Win32.ActiveCfg = Debug|Win32
{$v[1]}.Debug|Win32.Build.0 = Debug|Win32
{$v[1]}.Optimized Debug|Win32.ActiveCfg = Optimized Debug|Win32
{$v[1]}.Optimized Debug|Win32.Build.0 = Optimized Debug|Win32
{$v[1]}.Release|Win32.ActiveCfg = Release|Win32
{$v[1]}.Release|Win32.Build.0 = Release|Win32
{/foreach}
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View file

@ -0,0 +1,386 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="{$projName}"
ProjectGUID="{$GUID}"
Keyword="AtlProj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="$(OutDir)/$(ProjectName)"
ConfigurationType="2"
UseOfATL="1"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="_DEBUG"
MkTypLibCompatible="false"
TargetEnvironment="1"
GenerateStublessProxies="true"
TypeLibraryName="$(IntDir)/IEWebGamePlugin.tlb"
HeaderFileName="..\..\..\web\source\activex\IEWebGamePlugin_i.h"
DLLDataFileName=""
InterfaceIdentifierFileName="..\..\..\web\source\activex\IEWebGamePlugin_i.c"
ProxyFileName="..\..\..\web\source\activex\IEWebGamePlugin_p.c"
ValidateParameters="true"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG;_USRDLL;_CRT_SECURE_NO_WARNINGS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="{$projRuntimeDebug}"
UsePrecompiledHeader="2"
WarningLevel="3"
DebugInformationFormat="4"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
AdditionalIncludeDirectories="$(IntDir)"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
PerUserRedirection="true"
RegisterOutput="true"
IgnoreImportLibrary="true"
LinkIncremental="2"
ModuleDefinitionFile="..\..\..\web\source\activex\IEWebGamePlugin.def"
GenerateDebugInformation="true"
SubSystem="2"
TargetMachine="1"
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}.dll"
ProgramDatabaseFile="$(OutDir)/$(ProjectName)_DEBUG.pdb"
AdditionalDependencies = "version.lib"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="$(OutDir)/$(ProjectName)"
ConfigurationType="2"
UseOfATL="1"
ATLMinimizesCRunTimeLibraryUsage="false"
CharacterSet="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
PreprocessorDefinitions="NDEBUG"
MkTypLibCompatible="false"
TargetEnvironment="1"
GenerateStublessProxies="true"
TypeLibraryName="$(IntDir)/IEWebGamePlugin.tlb"
HeaderFileName="..\..\..\web\source\activex\IEWebGamePlugin_i.h"
DLLDataFileName=""
InterfaceIdentifierFileName="..\..\..\web\source\activex\IEWebGamePlugin_i.c"
ProxyFileName="..\..\..\web\source\activex\IEWebGamePlugin_p.c"
ValidateParameters="true"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG;_USRDLL;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="{$projRuntimeRelease}"
UsePrecompiledHeader="2"
WarningLevel="3"
DebugInformationFormat="0"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
AdditionalIncludeDirectories="$(IntDir)"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
PerUserRedirection="true"
RegisterOutput="true"
IgnoreImportLibrary="true"
LinkIncremental="1"
ModuleDefinitionFile="..\..\..\web\source\activex\IEWebGamePlugin.def"
GenerateDebugInformation="false"
SubSystem="2"
OptimizeReferences="2"
EnableCOMDATFolding="2"
TargetMachine="1"
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}.dll"
AdditionalDependencies = "version.lib"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
>
<File
RelativePath="..\..\..\web\source\activex\dllmain.cpp"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
CompileAsManaged="0"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
CompileAsManaged="0"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\web\source\activex\IEWebGameCtrl.cpp"
>
</File>
<File
RelativePath="..\..\..\web\source\activex\IEWebGamePlugin.cpp"
>
</File>
<File
RelativePath="..\..\..\web\source\activex\IEWebGameWindow.cpp"
>
</File>
<File
RelativePath="..\..\..\web\source\activex\IEWebGamePlugin.def"
>
</File>
<File
RelativePath="..\..\..\web\source\activex\IEWebGamePlugin.idl"
>
</File>
<File
RelativePath="..\..\..\web\source\common\webCommon.cpp"
>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\web\source\activex\stdafx.cpp"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="1"
/>
</FileConfiguration>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
>
<File
RelativePath="..\..\..\web\source\activex\dllmain.h"
>
</File>
<File
RelativePath="..\..\..\web\source\activex\IEWebGameCtrl.h"
>
</File>
<File
RelativePath="..\..\..\web\source\activex\IEWebGameWindow.h"
>
</File>
<File
RelativePath="..\..\..\web\source\activex\Resource.h"
>
</File>
<File
RelativePath="..\..\..\web\source\activex\stdafx.h"
>
</File>
<File
RelativePath="..\..\..\web\source\activex\targetver.h"
>
</File>
<File
RelativePath="..\..\..\web\source\common\webConfig.h"
>
</File>
<File
RelativePath="..\..\..\web\source\common\webCommon.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
>
<File
RelativePath="..\..\..\web\source\activex\IEWebGameCtrl.bmp"
>
</File>
<File
RelativePath="..\..\..\web\source\activex\IEWebGameCtrl.rgs"
>
</File>
<File
RelativePath="..\..\..\web\source\activex\IEWebGamePlugin.rc"
>
</File>
<File
RelativePath="..\..\..\web\source\activex\IEWebGamePlugin.rgs"
>
</File>
</Filter>
<Filter
Name="Generated Files"
SourceControlFiles="false"
>
<File
RelativePath="..\..\..\web\source\activex\IEWebGamePlugin_i.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
CompileAsManaged="0"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
CompileAsManaged="0"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\..\web\source\activex\IEWebGamePlugin_i.h"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View file

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">Win32</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{$GUID}</ProjectGuid>
<OutputType>{if $projSubSystem eq 1}Exe{elseif $projSubSystem eq 2}WinExe{else}Library{/if}</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>{$projName}</RootNamespace>
<AssemblyName>{$projName}</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Win32' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\game\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Optimized Debug|Win32' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\game\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\game\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
{foreach item=version key=ref from=$projSettings->references}
{if ($version)}
<Reference Include="{$ref}">
<RequiredTargetFramework>{$version}</RequiredTargetFramework>
</Reference>
{else}
<Reference Include="{$ref}" />
{/if}
{/foreach}
</ItemGroup>
<ItemGroup>
{assign var="dirWalk" value=$fileArray}
{include file="vc2k8_fileRecurseCSharp.tpl" dirWalk=$dirWalk depth=2 dirPath=$projOutput->base_dir}
</ItemGroup>
<ItemGroup>
{foreach item=dep from=$projDepend}
<ProjectReference Include="{$projectDepends[$dep]->name}.csproj">
<Project>{$projectDepends[$dep]->guid}</Project>
<Name>{$projectDepends[$dep]->name}</Name>
</ProjectReference>
{/foreach}
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View file

@ -0,0 +1,357 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="{$projName}"
RootNamespace="{$projName}"
TargetFrameworkVersion="131072"
ProjectGUID="{$GUID}">
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="$(OutDir)/$(ProjectName)"
ConfigurationType="2"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName="$(IntDir)/Torque 3D.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP4"
Optimization="0"
EnableIntrinsicFunctions="1"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
PreprocessorDefinitions="{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS"
ExceptionHandling="1"
BasicRuntimeChecks="0"
StringPooling="true"
RuntimeLibrary="{$projRuntimeDebug}"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(OutDir)/$(ProjectName)_DEBUG.pdb"
WarningLevel="4"
SuppressStartupBanner="true"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="{foreach item=def from=$projLibs}{$def} {/foreach}"
{if $uniformOutputFile eq 1}
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}.dll"
{else}
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}_DEBUG.dll"
{/if}
LinkIncremental="2"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName);"
IgnoreDefaultLibraryNames="LIBC,LIBCD"
ModuleDefinitionFile="{$projModuleDefinitionFile}"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(OutDir)/$(ProjectName)_DEBUG.pdb"
SubSystem="2"
TargetMachine="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Optimized Debug|Win32"
OutputDirectory="{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="$(OutDir)/$(ProjectName)"
ConfigurationType="2"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName="$(IntDir)/Torque 3D.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP4"
Optimization="3"
InlineFunctionExpansion="2"
EnableIntrinsicFunctions="1"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
PreprocessorDefinitions="{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS"
ExceptionHandling="1"
BasicRuntimeChecks="0"
StringPooling="true"
RuntimeLibrary="{$projRuntimeDebug}"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(OutDir)/$(ProjectName)_OPTIMIZEDDEBUG.pdb"
WarningLevel="4"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="{foreach item=def from=$projLibs}{$def} {/foreach}"
{if $uniformOutputFile eq 1}
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}.dll"
{else}
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}_OPTIMIZEDDEBUG.dll"
{/if}
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName);"
IgnoreDefaultLibraryNames="LIBC,LIBCD"
ModuleDefinitionFile="{$projModuleDefinitionFile}"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(OutDir)/$(ProjectName)_OPTIMIZEDDEBUG.pdb"
SubSystem="2"
TargetMachine="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="$(OutDir)/$(ProjectName)"
ConfigurationType="2"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName="$(IntDir)/Torque 3D.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP4"
Optimization="3"
InlineFunctionExpansion="2"
EnableIntrinsicFunctions="1"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
PreprocessorDefinitions="{foreach item=def from=$projDefines}{$def};{/foreach}UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS"
ExceptionHandling="1"
BasicRuntimeChecks="0"
StringPooling="true"
RuntimeLibrary="{$projRuntimeRelease}"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(OutDir)/$(ProjectName).pdb"
WarningLevel="4"
SuppressStartupBanner="true"
DebugInformationFormat="0"
CompileAs="0"
DisableSpecificWarnings="{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="{foreach item=def from=$projLibs}{$def} {/foreach}"
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}.dll"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName);"
IgnoreDefaultLibraryNames="LIBC,LIBCD"
ModuleDefinitionFile="{$projModuleDefinitionFile}"
GenerateDebugInformation="false"
ProgramDatabaseFile="$(OutDir)/$(ProjectName).pdb"
SubSystem="2"
TargetMachine="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;cc">
<File
RelativePath=".\Torque.rc">
</File>
{assign var="dirWalk" value=$fileArray}
{include file="vc2k8_fileRecurse.tpl" dirWalk=$dirWalk depth=2 dirPath=$projOutput->base_dir}
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View file

@ -0,0 +1,89 @@
{* *}
{* Is this a dir or an item? *}
{* *}
{if is_array($dirWalk)}
{if $depth > 2}
{* *}
{* Generate dir prefix *}
{* *}
{capture assign="dirPrefix"}
<Filter
Name="{$dirName}"
Filter="">{/capture}
{$dirPrefix|indent:$depth:"\t"}
{/if}
{* *}
{* Iterate over children *}
{* *}
{foreach from=$dirWalk item=dir key=key}
{include file="vc2k8_fileRecurse.tpl" dirWalk=$dir dirName=$key dirPath="$dirPath$dirName/" depth=$depth+1}
{/foreach}
{if $depth > 2}
{* *}
{* Generate dir suffix *}
{* *}
{capture assign="dirSuffix"}
</Filter>{/capture}
{$dirSuffix|indent:$depth:"\t"}
{/if}
{else}
{* *}
{* Output an item *}
{* *}
{capture assign="itemOut"}
<File
RelativePath="{$dirWalk->path|replace:'//':'/'|replace:'/':'\\'}">
{* we don't compile some files. *}
{if dontCompile($dirWalk->path, $projOutput)}
<FileConfiguration
Name="Debug|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Optimized Debug|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCLCompilerTool"
/>
</FileConfiguration>
{else}
{if substr($dirWalk->path, -4, 4) == ".asm"}
<FileConfiguration
Name="Debug|Win32">
<Tool
Name="VCCustomBuildTool"
CommandLine="&quot;{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe&quot; -f win32 &quot;$(InputPath)&quot; -o &quot;$(IntDir)/$(InputName).obj&quot;"
Outputs="$(IntDir)/$(InputName).obj"/>
</FileConfiguration>
<FileConfiguration
Name="Optimized Debug|Win32">
<Tool
Name="VCCustomBuildTool"
CommandLine="&quot;{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe&quot; -f win32 &quot;$(InputPath)&quot; -o &quot;$(IntDir)/$(InputName).obj&quot;"
Outputs="$(IntDir)/$(InputName).obj"/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32">
<Tool
Name="VCCustomBuildTool"
CommandLine="&quot;{$binDir|replace:'//':'/'|replace:'/':'\\'}nasm\nasmw.exe&quot; -f win32 &quot;$(InputPath)&quot; -o &quot;$(IntDir)/$(InputName).obj&quot;"
Outputs="$(IntDir)/$(InputName).obj"/>
</FileConfiguration>
{/if}{* if path == "*.asm" *}
{/if}{* if dontCompile() *}
</File>{/capture}
{$itemOut|indent:$depth:"\t"}
{/if}

View file

@ -0,0 +1,9 @@
{if is_array($dirWalk)}
{foreach from=$dirWalk item=dir key=key}
{include file="vc2k8_fileRecurseCSharp.tpl" dirWalk=$dir dirName=$key dirPath="$dirPath$dirName/" depth=$depth+1}
{/foreach}
{else}
<Compile Include="{$dirWalk->path|replace:'/':'\\'}" >
<Link>{$dirWalk->path|replace:'../':''|replace:'/':'\\'}</Link>
</Compile>
{/if}

View file

@ -0,0 +1,272 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="{$projName}"
ProjectGUID="{$GUID}"
TargetFrameworkVersion="131072">
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="{$libDir}/compiled/$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="{$projectOffset}../Link/Vc2k8.$(ConfigurationName).$(PlatformName)/$(ProjectName)"
ConfigurationType="4"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="0"
EnableIntrinsicFunctions="1"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
PreprocessorDefinitions="{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS"
ExceptionHandling="0"
BasicRuntimeChecks="0"
StringPooling="true"
RuntimeLibrary="{$projRuntimeDebug}"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
PrecompiledHeaderFile="$(OutDir)/$(ProjectName)_DEBUG.pch"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(OutDir)/$(ProjectName)_DEBUG.pdb"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4244;4305;4530;4355"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="$(OutDir)/{$projOutName}_DEBUG.lib"
SuppressStartupBanner="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Optimized Debug|Win32"
OutputDirectory="{$libDir}/compiled/$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="{$projectOffset}../Link/Vc2k8.$(ConfigurationName).$(PlatformName)/$(ProjectName)"
ConfigurationType="4"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="3"
InlineFunctionExpansion="2"
EnableIntrinsicFunctions="1"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
PreprocessorDefinitions="{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS"
ExceptionHandling="0"
BasicRuntimeChecks="0"
StringPooling="true"
RuntimeLibrary="{$projRuntimeDebug}"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
PrecompiledHeaderFile="$(OutDir)/$(ProjectName)_OPTIMIZEDDEBUG.pch"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(OutDir)/$(ProjectName)_OPTIMIZEDDEBUG.pdb"
WarningLevel="3"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4244;4305;4530;4355"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="$(OutDir)/{$projOutName}_OPTIMIZEDDEBUG.lib"
SuppressStartupBanner="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="{$libDir}/compiled/$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="{$projectOffset}../Link/Vc2k8.$(ConfigurationName).$(PlatformName)/$(ProjectName)"
ConfigurationType="4"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="3"
InlineFunctionExpansion="2"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
PreprocessorDefinitions="{foreach item=def from=$projDefines}{$def};{/foreach}UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS"
ExceptionHandling="0"
BasicRuntimeChecks="0"
StringPooling="true"
RuntimeLibrary="{$projRuntimeRelease}"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
PrecompiledHeaderFile="$(OutDir)/$(ProjectName).pch"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(OutDir)/$(ProjectName).pdb"
WarningLevel="3"
SuppressStartupBanner="true"
CompileAs="0"
DisableSpecificWarnings="{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4244;4305;4530;4355"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
OutputFile="$(OutDir)/{$projOutName}.lib"
SuppressStartupBanner="true"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
>
{assign var="dirWalk" value=$fileArray}
{include file="vc2k8_fileRecurse.tpl" dirWalk=$dirWalk depth=1 dirPath=$projOutput->base_dir}
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View file

@ -0,0 +1,343 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="{$projName}"
ProjectGUID="{$GUID}"
RootNamespace="{$projName}"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="$(OutDir)/$(ProjectName)"
ConfigurationType="1"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName="$(IntDir)/Torque 3D.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="0"
EnableIntrinsicFunctions="1"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
PreprocessorDefinitions="{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS"
ExceptionHandling="0"
BasicRuntimeChecks="0"
StringPooling="true"
RuntimeLibrary="{$projRuntimeDebug}"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(OutDir)/$(ProjectName)_DEBUG.pdb"
WarningLevel="4"
SuppressStartupBanner="true"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="{foreach item=def from=$projLibs}{$def} {/foreach}"
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}_DEBUG.exe"
LinkIncremental="2"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName);"
IgnoreDefaultLibraryNames="LIBC,LIBCD"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(OutDir)/$(ProjectName)_DEBUG.pdb"
SubSystem="{$projSubSystem}"
TargetMachine="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Optimized Debug|Win32"
OutputDirectory="{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="$(OutDir)/$(ProjectName)"
ConfigurationType="1"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName="$(IntDir)/Torque 3D.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="3"
InlineFunctionExpansion="2"
EnableIntrinsicFunctions="1"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
PreprocessorDefinitions="{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS"
ExceptionHandling="0"
BasicRuntimeChecks="0"
StringPooling="true"
RuntimeLibrary="{$projRuntimeDebug}"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(OutDir)/$(ProjectName)_OPTIMIZEDDEBUG.pdb"
WarningLevel="4"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="{foreach item=def from=$projLibs}{$def} {/foreach}"
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}_OPTIMIZEDDEBUG.exe"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName);"
IgnoreDefaultLibraryNames="LIBC,LIBCD"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(OutDir)/$(ProjectName)_OPTIMIZEDDEBUG.pdb"
SubSystem="{$projSubSystem}"
TargetMachine="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="$(OutDir)/$(ProjectName)"
ConfigurationType="1"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName="$(IntDir)/Torque 3D.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="3"
InlineFunctionExpansion="2"
EnableIntrinsicFunctions="1"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
PreprocessorDefinitions="{foreach item=def from=$projDefines}{$def};{/foreach}UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS"
ExceptionHandling="0"
BasicRuntimeChecks="0"
StringPooling="true"
RuntimeLibrary="{$projRuntimeRelease}"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(OutDir)/$(ProjectName).pdb"
WarningLevel="4"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="{foreach item=def from=$projLibs}{$def} {/foreach}"
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}.exe"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName);"
IgnoreDefaultLibraryNames="LIBC"
GenerateDebugInformation="false"
ProgramDatabaseFile="$(OutDir)/$(ProjectName).pdb"
SubSystem="{$projSubSystem}"
TargetMachine="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;cc">
<File
RelativePath=".\Torque.rc">
</File>
{assign var="dirWalk" value=$fileArray}
{include file="vc2k8_fileRecurse.tpl" dirWalk=$dirWalk depth=2 dirPath=$projOutput->base_dir}
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View file

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioUserFile
ProjectType="Visual C++"
Version="9.00"
ShowAllFiles="false"
>
<Configurations>
<Configuration
Name="Debug|Win32"
>
<DebugSettings
Command="{$commandDebug}"
WorkingDirectory="$(TargetDir)"
CommandArguments="&quot;{$argsDebug}&quot;"
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine="MONSTER"
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor="0"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Optimized Debug|Win32"
>
<DebugSettings
Command="{$commandOptimized}"
WorkingDirectory="$(TargetDir)"
CommandArguments="&quot;{$argsOptimized}&quot;"
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine=""
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor=""
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
<Configuration
Name="Release|Win32"
>
<DebugSettings
Command="{$commandRelease}"
WorkingDirectory="$(TargetDir)"
CommandArguments="&quot;{$argsRelease}&quot;"
Attach="false"
DebuggerType="3"
Remote="1"
RemoteMachine=""
RemoteCommand=""
HttpUrl=""
PDBPath=""
SQLDebugging=""
Environment=""
EnvironmentMerge="true"
DebuggerFlavor="0"
MPIRunCommand=""
MPIRunArguments=""
MPIRunWorkingDirectory=""
ApplicationCommand=""
ApplicationArguments=""
ShimCommand=""
MPIAcceptMode=""
MPIAcceptFilter=""
/>
</Configuration>
</Configurations>
</VisualStudioUserFile>

View file

@ -0,0 +1,342 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="{$projName}"
RootNamespace="{$projName}"
TargetFrameworkVersion="131072"
ProjectGUID="{$GUID}">
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="$(OutDir)/$(ProjectName)"
ConfigurationType="1"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName="$(IntDir)/Torque 3D.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP4"
Optimization="0"
EnableIntrinsicFunctions="1"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
PreprocessorDefinitions="{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS"
ExceptionHandling="1"
BasicRuntimeChecks="0"
StringPooling="true"
RuntimeLibrary="{$projRuntimeDebug}"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(OutDir)/$(ProjectName)_DEBUG.pdb"
WarningLevel="4"
SuppressStartupBanner="true"
DebugInformationFormat="4"
CompileAs="0"
DisableSpecificWarnings="{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="{foreach item=def from=$projLibs}{$def} {/foreach}"
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}_DEBUG.exe"
LinkIncremental="2"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName);"
IgnoreDefaultLibraryNames="LIBC,LIBCD"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(OutDir)/$(ProjectName)_DEBUG.pdb"
SubSystem="{$projSubSystem}"
TargetMachine="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Optimized Debug|Win32"
OutputDirectory="{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="$(OutDir)/$(ProjectName)"
ConfigurationType="1"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName="$(IntDir)/Torque 3D.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP4"
Optimization="3"
InlineFunctionExpansion="2"
EnableIntrinsicFunctions="1"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
PreprocessorDefinitions="{foreach item=def from=$projDefines}{$def};{/foreach}TORQUE_DEBUG;TORQUE_DEBUG_GUARD;D3D_DEBUG_INFO;TORQUE_NET_STATS;UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS"
ExceptionHandling="1"
BasicRuntimeChecks="0"
StringPooling="true"
RuntimeLibrary = "{$projRuntimeDebug}"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(OutDir)/$(ProjectName)_OPTIMIZEDDEBUG.pdb"
WarningLevel="4"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="{foreach item=def from=$projLibs}{$def} {/foreach}"
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}_OPTIMIZEDDEBUG.exe"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName);"
IgnoreDefaultLibraryNames="LIBC,LIBCD"
GenerateDebugInformation="true"
ProgramDatabaseFile="$(OutDir)/$(ProjectName)_OPTIMIZEDDEBUG.pdb"
SubSystem="{$projSubSystem}"
TargetMachine="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName)"
IntermediateDirectory="$(OutDir)/$(ProjectName)"
ConfigurationType="1"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="false"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TypeLibraryName="$(IntDir)/Torque 3D.tlb"
HeaderFileName=""
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP4"
Optimization="3"
InlineFunctionExpansion="2"
EnableIntrinsicFunctions="1"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
PreprocessorDefinitions="{foreach item=def from=$projDefines}{$def};{/foreach}UNICODE;_CRT_SECURE_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS"
ExceptionHandling="1"
BasicRuntimeChecks="0"
StringPooling="true"
RuntimeLibrary="{$projRuntimeRelease}"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="true"
TreatWChar_tAsBuiltInType="false"
RuntimeTypeInfo="true"
UsePrecompiledHeader="0"
AssemblerListingLocation="$(OutDir)"
ProgramDataBaseFileName="$(OutDir)/$(ProjectName).pdb"
WarningLevel="4"
SuppressStartupBanner="true"
DebugInformationFormat="3"
CompileAs="0"
DisableSpecificWarnings="{foreach item=def from=$projDisabledWarnings}{$def};{/foreach}4018;4100;4121;4127;4130;4244;4245;4389;4511;4512;4800"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
AdditionalIncludeDirectories="{foreach item=def from=$projIncludes}{$def};{/foreach}"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="{foreach item=def from=$projLibs}{$def} {/foreach}"
OutputFile="{$projectOffset}../../{$gameFolder}/{$projOutName}.exe"
LinkIncremental="1"
SuppressStartupBanner="true"
AdditionalLibraryDirectories="{foreach item=def from=$projLibDirs}{$def};{/foreach}{$projectOffset}../Link/VC2k8.$(ConfigurationName).$(PlatformName);"
IgnoreDefaultLibraryNames="LIBC"
GenerateDebugInformation="false"
ProgramDatabaseFile="$(OutDir)/$(ProjectName).pdb"
SubSystem="{$projSubSystem}"
TargetMachine="1"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat;cc">
<File
RelativePath=".\Torque.rc">
</File>
{assign var="dirWalk" value=$fileArray}
{include file="vc2k8_fileRecurse.tpl" dirWalk=$dirWalk depth=2 dirPath=$projOutput->base_dir}
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View file

@ -0,0 +1,49 @@
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C++ Express 2008
{foreach name=projects item=project from=$projects}
{if $project->projectFileExt eq ".csproj"}
Project("{literal}{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}{/literal}") = "{$project->name}", "projects/{$project->name}{$project_ext}", "{$project->guid}"
{else}
Project("{$solution_guid}") = "{$project->name}", "projects/{$project->name}{$project_ext}", "{$project->guid}"
{/if}
{if count($project->dependencies) > 0 }
ProjectSection(ProjectDependencies) = postProject
{foreach item=dep from=$project->dependencies}
{$dep} = {$dep}
{/foreach}
EndProjectSection
{/if}
EndProject
{/foreach}
{foreach key=pname item=v from=$projectExtRefs}
Project("{$v[2]}") = "{$pname}", "{$v[0]}", "{$v[1]}"
EndProject
{/foreach}
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Optimized Debug|Win32 = Optimized Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{foreach name=projects item=project from=$projects}
{$project->guid}.Debug|Win32.ActiveCfg = Debug|Win32
{$project->guid}.Debug|Win32.Build.0 = Debug|Win32
{$project->guid}.Optimized Debug|Win32.ActiveCfg = Optimized Debug|Win32
{$project->guid}.Optimized Debug|Win32.Build.0 = Optimized Debug|Win32
{$project->guid}.Release|Win32.ActiveCfg = Release|Win32
{$project->guid}.Release|Win32.Build.0 = Release|Win32
{/foreach}
{foreach key=pname item=v from=$projectExtRefs}
{$v[1]}.Debug|Win32.ActiveCfg = Debug|Win32
{$v[1]}.Debug|Win32.Build.0 = Debug|Win32
{$v[1]}.Optimized Debug|Win32.ActiveCfg = Optimized Debug|Win32
{$v[1]}.Optimized Debug|Win32.Build.0 = Optimized Debug|Win32
{$v[1]}.Release|Win32.ActiveCfg = Release|Win32
{$v[1]}.Release|Win32.Build.0 = Release|Win32
{/foreach}
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View file

@ -0,0 +1,34 @@
HKCR
{
__WEBGAME_PLUGINNAME__.__WEBGAME_CTRLNAME__.1 = s '__WEBGAME_CTRLNAME__ Class'
{
CLSID = s '{__WEBGAMELIB_UUID__}'
}
__WEBGAME_PLUGINNAME__.__WEBGAME_CTRLNAME__ = s '__WEBGAME_CTRLNAME__ Class'
{
CLSID = s '{__WEBGAMELIB_UUID__}'
CurVer = s '__WEBGAME_PLUGINNAME__.__WEBGAME_CTRLNAME__.1'
}
NoRemove CLSID
{
ForceRemove {__WEBGAMELIB_UUID__} = s '__WEBGAME_CTRLNAME__ Class'
{
ProgID = s '__WEBGAME_PLUGINNAME__.__WEBGAME_CTRLNAME__.1'
VersionIndependentProgID = s '__WEBGAME_PLUGINNAME__.__WEBGAME_CTRLNAME__'
ForceRemove 'Programmable'
InprocServer32 = s '%MODULE%'
{
val ThreadingModel = s 'Apartment'
}
val AppID = s '%APPID%'
ForceRemove 'Control'
ForceRemove 'ToolboxBitmap32' = s '%MODULE%, 102'
'MiscStatus' = s '0'
{
'1' = s '%OLEMISC%'
}
'TypeLib' = s '{__WEBGAME_UUID__}'
'Version' = s '1.0'
}
}
}

View file

@ -0,0 +1,7 @@
/* this file contains the actual definitions of */
/* the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler */

View file

@ -0,0 +1 @@
/* MIDL: this ALWAYS GENERATED file contains the definitions for the interfaces */

View file

@ -0,0 +1,46 @@
// IEWebGamePlugin.idl : IDL source for IEWebGamePlugin
//
// This file will be processed by the MIDL tool to
// produce the type library (IEWebGamePlugin.tlb) and marshalling code.
#include "olectl.h"
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(__WEBGAME_UUID__),
dual,
nonextensible,
helpstring("IIEWebGameCtrl Interface"),
pointer_default(unique)
]
interface IIEWebGameCtrl : IDispatch{
[propget, bindable, requestedit, id(DISPID_HWND)]
HRESULT HWND([out, retval]LONG_PTR* pHWND);
[id(1), helpstring("method getVariable")] HRESULT getVariable([in] BSTR name, [out, retval] BSTR* value);
[id(2), helpstring("method setVariable")] HRESULT setVariable([in] BSTR name, [in] BSTR value);
[id(3), helpstring("method export")] HRESULT exportFunction([in] BSTR callback, [in] LONG numArguments);
[id(4), helpstring("method callScript")] HRESULT callScript([in] BSTR code, [out, retval] BSTR* retValue);
[id(5), helpstring("method startup")] HRESULT startup();
};
[
uuid(__IWEBGAMECTRL_UUID__),
version(1.0),
helpstring("__WEBGAME_PLUGINNAME__ 1.0 Type Library")
]
library __WEBGAME_PLUGINNAME__Lib
{
importlib("stdole2.tlb");
[
uuid(__WEBGAMELIB_UUID__),
control,
helpstring("IEWebGameCtrl Class")
]
coclass IEWebGameCtrl
{
[default] interface IIEWebGameCtrl;
};
};

View file

@ -0,0 +1,135 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#ifndef APSTUDIO_INVOKED
#include "targetver.h"
#endif
#include "winres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#ifndef APSTUDIO_INVOKED\r\n"
"#include ""targetver.h""\r\n"
"#endif\r\n"
"#include ""winres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"1 TYPELIB ""IEWebGamePlugin.tlb""\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION __PLUGIN_VERSION_COMMA_DELIMITED__
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904e4"
BEGIN
VALUE "PluginType", "ActiveX"
VALUE "CompanyName", "My Game Company"
VALUE "FileDescription", "ActiveX Web Game Plugin"
VALUE "FileVersion", "1.0.0.1"
VALUE "LegalCopyright", "(c) My Game Company. All rights reserved."
VALUE "InternalName", "__PLUGIN_DLL__"
VALUE "OriginalFilename", "__PLUGIN_DLL__"
VALUE "ProductName", "My Web Game"
VALUE "ProductVersion", "__PLUGIN_VERSION_STRING__"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
/////////////////////////////////////////////////////////////////////////////
//
// REGISTRY
//
IDR_IEWEBGAMEPLUGIN REGISTRY "IEWebGamePlugin.rgs"
IDR_IEWEBGAMECTRL REGISTRY "IEWebGameCtrl.rgs"
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDB_IEWEBGAMECTRL BITMAP "IEWebGameCtrl.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_PROJNAME "__WEBGAME_PLUGINNAME__"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
1 TYPELIB "IEWebGamePlugin.tlb"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

View file

@ -0,0 +1,11 @@
HKCR
{
NoRemove AppID
{
'%APPID%' = s '__WEBGAME_PLUGINNAME__'
'__WEBGAME_PLUGINNAME__.DLL'
{
val AppID = s '%APPID%'
}
}
}

View file

@ -0,0 +1,10 @@
// dllmain.h : Declaration of module class.
class CIEWebGamePluginModule : public CAtlDllModuleT< CIEWebGamePluginModule >
{
public :
DECLARE_LIBID(LIBID___WEBGAME_PLUGINNAME__Lib)
DECLARE_REGISTRY_APPID_RESOURCEID(IDR_IEWEBGAMEPLUGIN, "{__REGISTRY_APPID_RESOURCEID__}")
};
extern class CIEWebGamePluginModule _AtlModule;

View file

@ -0,0 +1,14 @@
<!-- saved from url=(0013)about:internet -->
<!-- see, http://technet.microsoft.com/en-us/library/bb457150.aspx#EHAA for how, why, this works for local controls --!>
<HTML>
<HEAD>
<TITLE>Test page for IEWebGamePlugin</TITLE>
</HEAD>
<BODY>
<OBJECT ID="IEWebGameCtrl" CLASSID="CLSID:__CLASSID__" WIDTH="100%" HEIGHT="100%"></OBJECT>
</BODY>
</HTML>

View file

@ -0,0 +1,106 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "windows.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION __PRODUCTVERSION__
PRODUCTVERSION __PRODUCTVERSION__
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904e4"
BEGIN
VALUE "PluginType", "Mozilla"
VALUE "FileDescription", "__FILEDESCRIPTION__"
VALUE "FileExtents", "*"
VALUE "FileVersion", "__PRODUCTVERSION__"
VALUE "InternalName", "__INTERNALNAME__"
VALUE "MIMEType", "__MIMETYPE__"
VALUE "OriginalFilename", "__ORIGINALFILENAME__"
VALUE "ProductName", "__PRODUCTNAME__"
VALUE "ProductVersion", "__PRODUCTVERSION__"
VALUE "CompanyName", "__COMPANY__"
VALUE "CompanyKey", "__COMPANYKEY__"
VALUE "Plugin", "__PLUGIN__"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""windows.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>__CFBundleExecutable__</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>__CFBundleIdentifier__</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
<string>BRPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>CFBundleShortVersionString</key>
<string>1.01</string>
<key>CSResourcesFileMapped</key>
<true/>
<key>WebPluginDescription</key>
<string>__WebPluginDescription__</string>
<key>WebPluginMIMETypes</key>
<dict>
<key>__WebPluginMIMEType__</key>
<dict>
<key>WebPluginTypeDescription</key>
<string>1.0</string>
</dict>
</dict>
<key>WebPluginName</key>
<string>__WebPluginName__</string>
<key>GameName</key>
<string>__GameName__</string>
<key>GameInstallPath</key>
<string>__GameInstallPath__</string>
</dict>
</plist>

View file

@ -0,0 +1,259 @@
<!-- saved from url=(0013)about:internet -->
<!-- see, http://technet.microsoft.com/en-us/library/bb457150.aspx#EHAA for how, why, this works for local controls -->
<!-- Please note that the saved from line must end in CR LF. Some HTML editors only insert a LF. (Thanks Microsoft) -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Web Game Template" />
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<link rel="stylesheet" href="styles.css" type="text/css" />
<script type="text/javascript" language="javascript">
// Relative path on web server to installer
var installerPath = "MyGameInstaller"
ua = navigator.userAgent.toLowerCase();
if( ua.indexOf('os x') != -1 || ua.indexOf('osx') != -1)
installerPath += ".pkg";
else
installerPath += ".exe";
// Firefox/Chrome/Safari
var mimeType = "application/__MIMETYPE__";
// Internet Explorer
var projId = "__PROJID__";
var clsId = "__CLSID__";
var pluginInstalled = false;
var minimumPluginVersion = 1.0;
// You can set this to true if you want the page to automatically reload
// once the plugin is installed. However, this can be better handled by
// the installer process in most cases (by opening up web page at end of
// install process, setting up desktop/start menu shortcuts to launch web page
// etc
var autoReload = false;
// Default client screen (overridden below from actual browser window)
var cscreenW = 800;
var cscreenH = 600;
function getClientScreenSize() {
if( typeof( window.innerWidth ) == 'number' ) {
//Non-IE
cscreenW = window.innerWidth;
cscreenH = window.innerHeight;
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
cscreenW = document.documentElement.clientWidth;
cscreenH = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
//IE 4 compatible
cscreenW = document.body.clientWidth;
cscreenH = document.body.clientHeight;
}
}
function gameObjectResize(){
if (!pluginInstalled)
return;
getClientScreenSize();
var aspectRatio = 800.0/600.0;
var w = cscreenW - 50;
var h = cscreenH - 125;
if( w/h > aspectRatio )
w = h*aspectRatio;
else
h = w/aspectRatio;
var minW = 640;
if( w < minW ){
w = minW;
h = w/aspectRatio;
}
$('#gameobject').width( Math.floor(w) );
$('#gameobject').height( Math.floor(h) );
$('#main').width( Math.floor(w + 2) );
var mygame = document.getElementById("MyGame");
mygame.width = Math.floor(w);
mygame.height = Math.floor(h);
}
$(window).resize( gameObjectResize );
$(document).ready(function(){
if (pluginInstalled)
{
var mygame = document.getElementById("MyGame");
// Let the game object know the page is all loaded
// This is important to register any TorqueScript <-> JavaScript callbacks, etc
mygame.startup();
// Export the TorqueScript -> JavaScript bridge test function
mygame.exportFunction("bridgeCallback",3);
// Enable the bridge test button now that we're all set
var bridgetest = document.getElementById("bridgetest");
bridgetest.disabled = false;
gameObjectResize();
}
});
// Returns the version of Internet Explorer
// or -1 for non-IE browser
// or -2 for 64 bit IE browser
// (indicating the use of another browser).
function getInternetExplorerVersion()
{
var rv = -1; // Return value for non-IE browser
if (navigator.appName == 'Microsoft Internet Explorer')
{
var ua = navigator.userAgent;
if (ua.search("Win64") != -1 || ua.search("x64") != -1)
return -2; // Return value for IE 64 bit
var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
if (re.exec(ua) != null)
rv = parseFloat( RegExp.$1 );
}
return rv;
}
// Checks whether the NPPlugin is installed (under Firefox/Chrome/Safari)
function nppluginIsInstalled() {
if (!navigator || !navigator.mimeTypes) {
return -1;
}
var mt = navigator.mimeTypes[mimeType];
if (mt && mt.enabledPlugin)
{
var desc = mt.enabledPlugin.description;
var descArray = desc.split(" ");
var version = descArray[descArray.length - 1]
return Number(version);
}
return -1;
}
function nppluginReload () {
navigator.plugins.refresh();
if (nppluginIsInstalled() < 0)
window.location.reload();
setTimeout('nppluginReload()', 500);
}
function activexReload () {
if (activexIsInstalled() < 0)
window.location.reload();
setTimeout('activexReload()', 500);
}
function onTestBridge()
{
var mygame = document.getElementById("MyGame");
// set/get console variables test
// variables are automatically stored Torque 3D side in the Javascript:: namespace
// for security reasons.
mygame.setVariable("$TestBridge", 42);
var everything = mygame.getVariable("$TestBridge");
// this tests bidirectional calling of JavaScript <-> TorqueScript including arguments and return values
// note that testJavaScriptBridge must be specified in webConfig.h as a secure function
var result = mygame.callScript("testJavaScriptBridge('one', 'two', 'three');");
if (parseInt(everything) != 42)
alert("JavaScript <-> TorqueScript: Failed, get/set console variable doesn't match");
else if (result == "0")
alert("JavaScript <-> TorqueScript: All Tests Passed!");
else if (result == "1")
alert("JavaScript -> TorqueScript: Failed, incorrect number of arguments");
else if (result == "2")
alert("JavaScript -> TorqueScript: Failed, incorrect argument");
else if (result == "3")
alert("TorqueScript -> JavaScript: Failed, incorrect return");
else
alert("JavaScript -> TorqueScript: Failed, unknown error");
}
// Called from TorqueScript console -> JavaScript during bridge test
function bridgeCallback(arg1, arg2, arg3)
{
if (arg1 != "one" || arg2 != "two" || arg3 != "three")
{
alert("TorqueScript -> JavaScript: Failed, incorrect argument");
return "0";
}
return "42";
}
</script>
<script language='VBScript'>
function activexIsInstalled()
on error resume next
dim gameControl
dim version
version = -1
set gameControl = CreateObject(projId)
if IsObject(gameControl) then
version = CDbl(gameControl.getVariable("$version"))
end if
activexIsInstalled = version
end function
</script>
</head>
<body>
<img id = "torqueLogo" src = "./torque3D_logo.jpg">
<div id="main">
<div style = "height: 20px;"></div>
<center>Web Game Template</center>
<div id="gameobject">
<script type="text/javascript" language="javascript">
// ActiveX
var ie = getInternetExplorerVersion();
if ( ie == -2) {
document.write('<center><h3>This plugin is not currently supported on Internet Explorer 64 bit<br><br>Please use Internet Explorer 32 bit to access this site.</h3><centre>');
}
else if ( ie != -1) {
if (activexIsInstalled() >= minimumPluginVersion) {
pluginInstalled = true;
document.write('<OBJECT ID="MyGame" CLASSID="CLSID:'+clsId+'" WIDTH="100%" HEIGHT="100%"></OBJECT>');
}
else {
document.write('<center><a href="'+installerPath+'"><img src="getplugin.jpg" /></a></center>');
if (autoReload)
activexReload();
}
}
// Firefox/Chrome/Safari
else {
//we do an initial refresh in case the plugin information has changed (new DLL location, newly installed, etc)
navigator.plugins.refresh();
if (nppluginIsInstalled() >= minimumPluginVersion) {
pluginInstalled = true;
document.write('<object id="MyGame" type="'+mimeType+'" width="100% height="100%" ></object>');
}
else {
document.write('<center><a href="'+installerPath+'"><img src="getplugin.jpg" /></a></center>');
if (autoReload)
nppluginReload();
}
}
</script>
</div>
<center>(Press ESC to show the mouse cursor if hidden)</center>
<center><button id="bridgetest" disabled="true" onclick="onTestBridge();">Test JavaScript <-> TorqueScript Bridge</button></center>
</div>
</body>
</html>

View file

@ -0,0 +1,7 @@
[if is_array($dirWalk)]
[foreach from=$dirWalk item=dir key=key]
[include file="xcode.buildfiles.tpl" dirWalk=$dir dirName=$key parentDir=$dirName]
[/foreach]
[elseif strcasecmp( pathinfo( $dirWalk->name, PATHINFO_EXTENSION ), "h" ) != 0]
B[$dirWalk->hash] = /* [$dirWalk->name] in [$parentDir] */ {isa = PBXBuildFile; fileRef = F[$dirWalk->hash] /* [$dirWalk->name] */; };
[/if]

View file

@ -0,0 +1,7 @@
[if is_array($dirWalk)]
[foreach from=$dirWalk item=dir key=key]
[include file="xcode.filerefs.tpl" dirWalk=$dir dirName=$key parentDir=$dirName]
[/foreach]
[else]
F[$dirWalk->hash] = /* [$dirWalk->name] */ {isa = PBXFileReference; sourceTree = SOURCE_ROOT; name = [$dirWalk->name]; path = [$dirWalk->path]; };
[/if]

View file

@ -0,0 +1,36 @@
[* *]
[* emit a PBXGroup for this folder *]
[* *]
[if is_array($dirWalk)]
A[$groupHash] /* [$groupName] */ = {
isa = PBXGroup;
children = (
[foreach from=$dirWalk item=child key=key]
[if is_array($child)]
[assign var='childpath' value=$groupPath|cat:"/"|cat:$key]
[assign var=childhash value=$childpath|uid]
A[$childhash] /* [$key] -- [$childpath] */,
[else]
F[$child->hash] /* [$child->name] */,
[/if]
[/foreach]
);
name = [$groupName];
sourceTree = "<group>"; /* [$groupPath] */
};
[/if]
[* *]
[* now we emit a group for every child folder *]
[* *]
[foreach from=$dirWalk item=child key=key]
[if is_array($child)]
[assign var='childpath' value=$groupPath|cat:"/"|cat:$key]
[assign var='childhash' value=$childpath|uid]
[include file="xcode.groups.tpl" dirWalk=$child groupPath=$childpath groupName=$key groupHash=$childhash]
[/if]
[/foreach]
[*----------------------------------------------------------------------------*]
[* groupPath does not correctly correspond to the file system, and so it is *]
[* only used for getting the groupHash. *]
[*----------------------------------------------------------------------------*]

View file

@ -0,0 +1,9 @@
[if is_array($dirWalk)]
[foreach from=$dirWalk item=dir key=key]
[include file="xcode.list_buildfiles.tpl" dirWalk=$dir dirName=$key parentDir=$dirName]
[/foreach]
[else]
[if !dontCompile($dirWalk->path, $projOutput)]
B[$dirWalk->hash] /* [$dirWalk->name] in [$parentDir] */,
[/if]
[/if]

View file

@ -0,0 +1,515 @@
[assign var="dirWalk" value=$fileArray]
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 42;
objects = {
/* Begin PBXContainerItemProxy section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"proxy_file"|uid]
[assign var=libuid2 value=$def|cat:"proxy"|uid]
[assign var=libuid3 value=$def|cat:"remote"|uid]
[assign var=libuid4 value=$def|uid]
[assign var=libuid5 value=$def|cat:"target"|uid]
F[$libuid] /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C[$libuid4] /* [$def].xcodeproj */;
proxyType = 2;
remoteGlobalIDString = F[$libuid3];
remoteInfo = [$def];
};
E[$libuid2] /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C[$libuid4] /* [$def].xcodeproj */;
proxyType = 1;
remoteGlobalIDString = D[$libuid5] /* [$def] */;
remoteInfo = [$def];
};
[/foreach]
/* End PBXContainerItemProxy section */
/* Begin PBXBuildFile section */
FAE3EDA00EEE3A0F0024DCA3 /* resizeNWSE.png in Resources */ = {isa = PBXBuildFile; fileRef = FAE3ED9D0EEE3A0F0024DCA3 /* resizeNWSE.png */; };
FAE3EDA10EEE3A0F0024DCA3 /* resizeall.png in Resources */ = {isa = PBXBuildFile; fileRef = FAE3ED9E0EEE3A0F0024DCA3 /* resizeall.png */; };
FAE3EDA20EEE3A0F0024DCA3 /* resizeNESW.png in Resources */ = {isa = PBXBuildFile; fileRef = FAE3ED9F0EEE3A0F0024DCA3 /* resizeNESW.png */; };
D21C29DF0CE933AB00670EED /* mainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = D21C29DE0CE933AB00670EED /* mainMenu.nib */; };
D297FD360C05187F00C14A16 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D297FD350C05187F00C14A16 /* OpenAL.framework */; };
D297FD360C05187F00C14A16 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D297FD350C05187F00C14A16 /* OpenAL.framework */; };
bf_copy_openal_framework /* OpenAL.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = D297FD350C05187F00C14A16 /* OpenAL.framework */; };
D29CADE70C88C2C900BBF312 /* AGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CADE30C88C2C900BBF312 /* AGL.framework */; };
D29CADE80C88C2C900BBF312 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CADE40C88C2C900BBF312 /* Carbon.framework */; };
D29CADE90C88C2C900BBF312 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CADE50C88C2C900BBF312 /* Cocoa.framework */; };
D29CADEA0C88C2C900BBF312 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CADE60C88C2C900BBF312 /* OpenGL.framework */; };
D2559B3B0C921A2B0003B62A /* torqueDemo.icns in Resources */ = {isa = PBXBuildFile; fileRef = D2559B3A0C921A2B0003B62A /* torqueDemo.icns */; };
/* Begin PBXBuildFiles included by project generator */
[include file="xcode.buildfiles.tpl" dirWalk=$dirWalk]
/* End PBXBuildFiles included by project generator */
/* Begin PBXBuildFiles for built lib dependencies */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
F[$libuid] /* lib[$def].a in Frameworks */ = {isa = PBXBuildFile; fileRef = D[$libuid] /* lib[$def].a */; };
[/foreach]
/* End PBXBuildFiles for built lib dependencies */
/* End PBXBuildFile section */
/* Begin PBXBuildRule section */
D297FC2D0C04FB9A00C14A16 /* PBXBuildRule */ = {
isa = PBXBuildRule;
compilerSpec = com.apple.compilers.nasm;
filePatterns = "*.asm";
fileType = pattern.proxy;
isEditable = 1;
outputFiles = (
);
};
/* End PBXBuildRule section */
/* Begin PBXFileReference section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
C[$libuid] /* [$def].xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = [$def].xcodeproj; path = [$def].xcodeproj; sourceTree = SOURCE_ROOT; };
[/foreach]
[foreach key=def item=type from=$projTypes]
[assign var=libuid value=$def|uid]
[if $type eq 1]
D[$libuid] /* lib[$def].a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = [$def].dylib; path = ../../game/[$projName]_DEBUG.app/Contents/Frameworks/[$def].dylib; sourceTree = SOURCE_ROOT; };
[else]
D[$libuid] /* lib[$def].a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = lib[$def].a; path = ../../../../engine/lib/builtLibs/lib[$def].a; sourceTree = SOURCE_ROOT; };
[/if]
[/foreach]
D26834AB0C02C77B0020EE4F /* [$projName].app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "[$projName].app"; sourceTree = BUILT_PRODUCTS_DIR; };
D21C29DE0CE933AB00670EED /* mainMenu.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = mainMenu.nib; path = ../../../../engine/source/platformMac/menus/mainMenu.nib; sourceTree = SOURCE_ROOT; };
D26834AE0C02C77B0020EE4F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = "Info.plist"; sourceTree = "<group>"; };
D2559B3A0C921A2B0003B62A /* torqueDemo.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = torqueDemo.icns; sourceTree = "<group>"; };
D297FD350C05187F00C14A16 /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = ../../../../engine/lib/openal/macosx/OpenAL.framework; sourceTree = SOURCE_ROOT; };
D29CADE30C88C2C900BBF312 /* AGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AGL.framework; path = /System/Library/Frameworks/AGL.framework; sourceTree = "<absolute>"; };
D29CADE40C88C2C900BBF312 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
D29CADE50C88C2C900BBF312 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
D29CADE60C88C2C900BBF312 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = "<absolute>"; };
FAE3ED9D0EEE3A0F0024DCA3 /* resizeNWSE.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = resizeNWSE.png; path = ../../../../engine/source/platformMac/cursors/resizeNWSE.png; sourceTree = SOURCE_ROOT; };
FAE3ED9E0EEE3A0F0024DCA3 /* resizeall.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = resizeall.png; path = ../../../../engine/source/platformMac/cursors/resizeall.png; sourceTree = SOURCE_ROOT; };
FAE3ED9F0EEE3A0F0024DCA3 /* resizeNESW.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = resizeNESW.png; path = ../../../../engine/source/platformMac/cursors/resizeNESW.png; sourceTree = SOURCE_ROOT; };
/* Begin PBXFileReferences included by project generator */
[include file="xcode.filerefs.tpl" dirWalk=$dirWalk ]
/* End PBXFileReferences included by project generator */
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
D26834A90C02C77B0020EE4F /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D297FD360C05187F00C14A16 /* OpenAL.framework in Frameworks */,
D29CADE70C88C2C900BBF312 /* AGL.framework in Frameworks */,
D29CADE80C88C2C900BBF312 /* Carbon.framework in Frameworks */,
D29CADE90C88C2C900BBF312 /* Cocoa.framework in Frameworks */,
D29CADEA0C88C2C900BBF312 /* OpenGL.framework in Frameworks */,
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
F[$libuid] /* lib[$def].a */,
[/foreach]
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXCopyFilesBuildPhase section */
AFFFF000000000000000FFFF /* Copy Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
AAAAA00000000000000000AA /* OpenAL.framework */,
[foreach key=def item=type from=$projTypes]
[assign var=libuid value=$def|cat:"target"|uid]
[if $type eq 1]
[$libuid] /* libtgea.dylib in Copy Frameworks */,
[/if]
[/foreach]
);
name = "Copy Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXGroup section */
AFFFF0000000000000000000 = {
isa = PBXGroup;
children = (
A00000000000000000000000 /* Code */,
AEEEE0000000000000000000 /* Dependencies */,
D297FD340C05186400C14A16 /* Frameworks */,
D26834AC0C02C77B0020EE4F /* Products */,
D26834AE0C02C77B0020EE4F /* Info.plist */,
D2559B3A0C921A2B0003B62A /* torqueDemo.icns */,
D21C29DE0CE933AB00670EED /* mainMenu.nib */,
FAE3ED9D0EEE3A0F0024DCA3 /* resizeNWSE.png */,
FAE3ED9E0EEE3A0F0024DCA3 /* resizeall.png */,
FAE3ED9F0EEE3A0F0024DCA3 /* resizeNESW.png */,
);
sourceTree = "<group>";
};
/* Begin Generated Dependencies Group */
AEEEE0000000000000000000 /* Dependencies */ = {
isa = PBXGroup;
children = (
ADDDD0000000000000000000 /* builtLibs */,
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
C[$libuid], /* [$def].xcodeproj */
[/foreach]
);
name = Dependencies;
sourceTree = "<group>";
};
ADDDD0000000000000000000 /* builtLibs */ = {
isa = PBXGroup;
children = (
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
D[$libuid] /* lib[$def].a */,
[/foreach]
);
name = builtLibs;
path = ../../../../engine/lib/builtLibs;
sourceTree = SOURCE_ROOT;
};
/* End Generated Dependencies Group */
/* Begin Products Groups for each Dependency */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
[assign var=libuid2 value=$def|cat:"refproxy_file"|uid]
B[$libuid] /* Products */ = {
isa = PBXGroup;
children = (
C[$libuid2] /* [$def].a */,
);
name = Products;
sourceTree = "<group>";
};
[/foreach]
/* End Products Groups for each Dependency */
D26834AC0C02C77B0020EE4F /* Products */ = {
isa = PBXGroup;
children = (
D26834AB0C02C77B0020EE4F /* [$projName].app */,
);
name = Products;
sourceTree = "<group>";
};
D297FD340C05186400C14A16 /* Frameworks */ = {
isa = PBXGroup;
children = (
D29CAE9C0C88C2D200BBF312 /* System */,
D29CAEAF0C88C2DE00BBF312 /* Local */,
);
name = Frameworks;
sourceTree = "<group>";
};
D29CAE9C0C88C2D200BBF312 /* System */ = {
isa = PBXGroup;
children = (
D29CADE30C88C2C900BBF312 /* AGL.framework */,
D29CADE40C88C2C900BBF312 /* Carbon.framework */,
D29CADE50C88C2C900BBF312 /* Cocoa.framework */,
D29CADE60C88C2C900BBF312 /* OpenGL.framework */,
);
name = System;
sourceTree = "<group>";
};
D29CAEAF0C88C2DE00BBF312 /* Local */ = {
isa = PBXGroup;
children = (
D297FD350C05187F00C14A16 /* OpenAL.framework */,
);
name = Local;
sourceTree = "<group>";
};
/* Begin PBXGroups from project generator */
[include file="xcode.groups.tpl" dirWalk=$dirWalk recurse="no" groupPath="paxorr" groupName="Code" groupHash="00000000000000000000000"]
/* End PBXGroups from project generator */
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
D26834AA0C02C77B0020EE4F /* [$projName] */ = {
isa = PBXNativeTarget;
buildConfigurationList = D26834AF0C02C77B0020EE4F /* Build configuration list for PBXNativeTarget [$projName] */;
buildPhases = (
D26834A70C02C77B0020EE4F /* Resources */,
D26834A80C02C77B0020EE4F /* Sources */,
D26834A90C02C77B0020EE4F /* Frameworks */,
AFFFF000000000000000FFFF /* Copy Frameworks */,
);
buildRules = (
D297FC2D0C04FB9A00C14A16 /* PBXBuildRule */,
);
dependencies = (
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"dep"|uid]
D[$libuid] /* PBXTargetDependency */,
[/foreach]
);
name = "[$projName]";
productName = "[$projName]";
productReference = D26834AB0C02C77B0020EE4F /* [$projName].app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
D268347E0C02C5750020EE4F /* Project object */ = {
isa = PBXProject;
buildConfigurationList = D268347F0C02C5750020EE4F /* Build configuration list for PBXProject [$projName] */;
compatibilityVersion = "Xcode 3.2";
hasScannedForEncodings = 0;
mainGroup = AFFFF0000000000000000000;
productRefGroup = D26834AC0C02C77B0020EE4F /* Products */;
projectDirPath = "";
targets = (
D26834AA0C02C77B0020EE4F /* [$projName] */,
);
projectRoot = "";
projectReferences = (
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
{
ProductGroup = B[$libuid] /* Products */;
ProjectRef = C[$libuid] /* [$def].xcodeproj */;
},
[/foreach]
);
};
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"proxy_file"|uid]
[assign var=libuid2 value=$def|cat:"refproxy_file"|uid]
C[$libuid2] /* lib[$def].a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = lib[$def].a;
remoteRef = F[$libuid] /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
[/foreach]
/* End PBXReferenceProxy section */
/* Begin PBXTargetDependency section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"dep"|uid]
[assign var=libuid2 value=$def|cat:"proxy"|uid]
D[$libuid] /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = [$def];
targetProxy = E[$libuid2] /* PBXContainerItemProxy */;
};
[/foreach]
/* End PBXTargetDependency section */
/* Begin PBXResourcesBuildPhase section */
D26834A70C02C77B0020EE4F /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D2559B3B0C921A2B0003B62A /* torqueDemo.icns in Resources */,
D21C29DF0CE933AB00670EED /* mainMenu.nib in Resources */,
FAE3EDA00EEE3A0F0024DCA3 /* resizeNWSE.png in Resources */,
FAE3EDA10EEE3A0F0024DCA3 /* resizeall.png in Resources */,
FAE3EDA20EEE3A0F0024DCA3 /* resizeNESW.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
D26834A80C02C77B0020EE4F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
[include file="xcode.list_buildfiles.tpl" dirWalk=$dirWalk]
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
D26834800C02C5750020EE4F /* Debug */ = {
isa = XCBuildConfiguration;
/* Project level debug config */
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CONFIGURATION_BUILD_DIR = ../../[$gameFolder]/;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_ENABLE_SSE3_EXTENSIONS = YES;
OTHER_LDFLAGS_i386 = "-framework Accelerate";
OTHER_LDFLAGS_ppc = "-framework vecLib";
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
GCC_VERSION = 4.2;
TORQUE_BUILT_LIBS_DIR = ../../../../engine/lib/builtLibs/;
};
name = Debug;
};
D26834810C02C5750020EE4F /* Release */ = {
isa = XCBuildConfiguration;
/* Project level release config */
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CONFIGURATION_BUILD_DIR = ../../[$gameFolder]/;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_ENABLE_SSE3_EXTENSIONS = YES;
OTHER_LDFLAGS_i386 = "-framework Accelerate";
OTHER_LDFLAGS_ppc = "-framework vecLib";
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
GCC_VERSION = 4.2;
TORQUE_BUILT_LIBS_DIR = ../../../../engine/lib/builtLibs/;
};
name = Release;
};
D26834B00C02C77B0020EE4F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings =
{
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
../../../../engine/lib/openal/macosx,
../../../../engine/lib/xiph/macosx,
);
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_CPP_EXCEPTIONS = YES;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(TORQUE_DEBUG_DEFINE)",
__MACOSX__,
WIN32_LEAN_AND_MEAN,
NOMINMAX,
TORQUE_MULTITHREAD,
TORQUE_DISABLE_MEMORY_MANAGER,
TORQUE_UNICODE,
[foreach item=def from=$projDefines]
"[$def]",
[/foreach]
);
GCC_TREAT_NONCONFORMANT_CODE_ERRORS_AS_WARNINGS = YES;
GCC_WARN_INHIBIT_ALL_WARNINGS = YES;
HEADER_SEARCH_PATHS = (
[foreach item=def from=$projIncludes]
"[$def]",
[/foreach]
);
INFOPLIST_FILE = "Info.plist";
LIBRARY_SEARCH_PATHS = "$(TORQUE_BUILT_LIBS_DIR)";
OTHER_LDFLAGS = "-lz";
PREBINDING = NO;
PRODUCT_NAME = "[$projName]_DEBUG";
TORQUE_DEBUG_DEFINE = TORQUE_DEBUG;
WARNING_CFLAGS = "-Wall -Wno-sign-compare -Wpointer-arith";
WRAPPER_EXTENSION = app;
ZERO_LINK = NO;
};
name = Debug;
};
D26834B10C02C77B0020EE4F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
../../../../engine/lib/openal/macosx,
../../../../engine/lib/xiph/macosx,
);
GCC_ENABLE_CPP_EXCEPTIONS = YES;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = s;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(TORQUE_DEBUG_DEFINE)",
__MACOSX__,
WIN32_LEAN_AND_MEAN,
NOMINMAX,
TORQUE_MULTITHREAD,
TORQUE_DISABLE_MEMORY_MANAGER,
TORQUE_UNICODE,
[foreach item=def from=$projDefines]
"[$def]",
[/foreach]
);
GCC_TREAT_NONCONFORMANT_CODE_ERRORS_AS_WARNINGS = YES;
GCC_WARN_INHIBIT_ALL_WARNINGS = YES;
HEADER_SEARCH_PATHS = (
[foreach item=def from=$projIncludes]
"[$def]",
[/foreach]
);
INFOPLIST_FILE = "Info.plist";
LIBRARY_SEARCH_PATHS = "$(TORQUE_BUILT_LIBS_DIR)";
OTHER_LDFLAGS = "-lz";
PREBINDING = NO;
PRODUCT_NAME = "[$projName]";
TORQUE_DEBUG_DEFINE = "";
WARNING_CFLAGS = "-Wall -Wno-sign-compare -Wpointer-arith";
WRAPPER_EXTENSION = app;
ZERO_LINK = NO;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
D268347F0C02C5750020EE4F /* Build configuration list for PBXProject [$projName] */ = {
isa = XCConfigurationList;
buildConfigurations = (
D26834800C02C5750020EE4F /* Debug */,
D26834810C02C5750020EE4F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
D26834AF0C02C77B0020EE4F /* Build configuration list for PBXNativeTarget [$projName] */ = {
isa = XCConfigurationList;
buildConfigurations = (
D26834B00C02C77B0020EE4F /* Debug */,
D26834B10C02C77B0020EE4F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = D268347E0C02C5750020EE4F /* Project object */;
}

View file

@ -0,0 +1,230 @@
[assign var="dirWalk" value=$fileArray]
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 42;
objects = {
[assign var=libuid value=$projName|cat:"remote"|uid]
[assign var=libuid2 value=$projName|cat:"target"|uid]
/* Begin PBXBuildFile section */
/* Begin PBXBuildFiles included by project generator */
[include file="xcode.buildfiles.tpl" dirWalk=$dirWalk]
/* End PBXBuildFiles included by project generator */
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
F[$libuid] /* lib[$projName].a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = lib[$projName].a; sourceTree = BUILT_PRODUCTS_DIR; };
/* Begin PBXFileReferences included by project generator */
[include file="xcode.filerefs.tpl" dirWalk=$dirWalk ]
/* End PBXFileReferences included by project generator */
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
D27393730CDABF9C006111D4 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
D268347C0C02C5750020EE4F = {
isa = PBXGroup;
children = (
A00000000000000000000000 /* Code */,
D26834AC0C02C77B0020EE4F /* Products */,
);
sourceTree = "<group>";
};
D26834AC0C02C77B0020EE4F /* Products */ = {
isa = PBXGroup;
children = (
F[$libuid] /* lib[$projName].a */,
);
name = Products;
sourceTree = SOURCE_ROOT;
};
/* Begin PBXGroups from project generator */
[include file="xcode.groups.tpl" dirWalk=$dirWalk recurse="no" groupPath="paxorr" groupName="Code" groupHash="00000000000000000000000"]
/* End PBXGroups from project generator */
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
D[$libuid2] /* [$projName] */ = {
isa = PBXNativeTarget;
buildConfigurationList = D27393740CDABF9C006111D4 /* Build configuration list for PBXNativeTarget "[$projName]" */;
buildPhases = (
D27393300CDABF9C006111D4 /* Sources */,
);
buildRules = (
);
dependencies = (
);
name = [$projName];
productName = lib[$projName];
productReference = F[$libuid] /* lib[$projName].a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
D268347E0C02C5750020EE4F /* Project object */ = {
isa = PBXProject;
buildConfigurationList = D268347F0C02C5750020EE4F /* Build configuration list for PBXProject "[$projName]" */;
compatibilityVersion = "Xcode 3.2";
hasScannedForEncodings = 0;
mainGroup = D268347C0C02C5750020EE4F;
productRefGroup = D26834AC0C02C77B0020EE4F /* Products */;
projectDirPath = "";
projectRoot = ../../../..;
targets = (
D[$libuid2] /* [$projName] */,
);
};
/* End PBXProject section */
/* Begin PBXSourcesBuildPhase section */
D27393300CDABF9C006111D4 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
[include file="xcode.list_buildfiles.tpl" dirWalk=$dirWalk]
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
D26834800C02C5750020EE4F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CONFIGURATION_BUILD_DIR = "$(TORQUE_BUILT_LIBS_DIR)";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_ENABLE_SSE3_EXTENSIONS = YES;
OTHER_LDFLAGS_i386 = "-framework Accelerate";
OTHER_LDFLAGS_ppc = "-framework vecLib";
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
GCC_VERSION = 4.2;
TORQUE_BUILT_LIBS_DIR = ../../../../engine/lib/builtLibs/;
};
name = Debug;
};
D26834810C02C5750020EE4F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CONFIGURATION_BUILD_DIR = ../../assets/;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_ENABLE_SSE3_EXTENSIONS = YES;
OTHER_LDFLAGS_i386 = "-framework Accelerate";
OTHER_LDFLAGS_ppc = "-framework vecLib";
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
GCC_VERSION = 4.2;
TORQUE_BUILT_LIBS_DIR = ../../../../engine/lib/builtLibs/;
};
name = Release;
};
D27393750CDABF9C006111D4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = NO;
DEAD_CODE_STRIPPING = YES;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_CPP_EXCEPTIONS = NO;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
__MACOSX__,
[foreach item=def from=$projDefines]
"[$def]",
[/foreach]
);
GENERATE_MASTER_OBJECT_FILE = YES;
HEADER_SEARCH_PATHS = (
[foreach item=def from=$projIncludes]
"[$def]",
[/foreach]
);
INSTALL_PATH = /usr/local/lib;
PREBINDING = NO;
PRODUCT_NAME = [$projName];
ZERO_LINK = NO;
};
name = Debug;
};
D27393760CDABF9C006111D4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
CONFIGURATION_BUILD_DIR = "$(TORQUE_BUILT_LIBS_DIR)";
COPY_PHASE_STRIP = YES;
DEAD_CODE_STRIPPING = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_CPP_EXCEPTIONS = NO;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = s;
GCC_PREPROCESSOR_DEFINITIONS = (
__MACOSX__,
[foreach item=def from=$projDefines]
"[$def]",
[/foreach]
);
GENERATE_MASTER_OBJECT_FILE = YES;
HEADER_SEARCH_PATHS = (
[foreach item=def from=$projIncludes]
"[$def]",
[/foreach]
);
INSTALL_PATH = /usr/local/lib;
PREBINDING = NO;
PRODUCT_NAME = [$projName];
ZERO_LINK = NO;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
D268347F0C02C5750020EE4F /* Build configuration list for PBXProject "LibTemplate" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D26834800C02C5750020EE4F /* Debug */,
D26834810C02C5750020EE4F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
D27393740CDABF9C006111D4 /* Build configuration list for PBXNativeTarget "[$projName]" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D27393750CDABF9C006111D4 /* Debug */,
D27393760CDABF9C006111D4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = D268347E0C02C5750020EE4F /* Project object */;
}

View file

@ -0,0 +1,383 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 44;
objects = {
/* Begin PBXContainerItemProxy section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"proxy_file"|uid]
[assign var=libuid2 value=$def|cat:"proxy"|uid]
[assign var=libuid3 value=$def|cat:"remote"|uid]
[assign var=libuid4 value=$def|uid]
[assign var=libuid5 value=$def|cat:"target"|uid]
F[$libuid] /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C[$libuid4] /* [$def].xcodeproj */;
proxyType = 2;
remoteGlobalIDString = F[$libuid3];
remoteInfo = "[$def]";
};
E[$libuid2] /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C[$libuid4] /* [$def].xcodeproj */;
proxyType = 1;
remoteGlobalIDString = D[$libuid5] /* [$def] */;
remoteInfo = "[$def]";
};
[/foreach]
/* End PBXContainerItemProxy section */
/* Begin PBXBuildFile section */
4315B01B0F3A517D002F4B9F /* npWebGamePlugin.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4315B01A0F3A517D002F4B9F /* npWebGamePlugin.mm */; };
43E38C570FE438E300E9AAA9 /* npPlugin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43E38C570FD438E300E9AAA9 /* npPlugin.cpp */; };
43E38C5A0FE4393700E9AAA9 /* webCommon.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43E38C5A0FD4393700E9AAA9 /* webCommon.cpp */; };
4315B02C0F3A5261002F4B9F /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4315B02B0F3A5261002F4B9F /* Cocoa.framework */; };
8D01CCCA0486CAD60068D4B7 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; };
8D01CCCE0486CAD60068D4B7 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 08EA7FFBFE8413EDC02AAC07 /* Carbon.framework */; };
/* Begin PBXBuildFiles for built lib dependencies */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
F[$libuid] /* lib[$def].a in Frameworks */ = {isa = PBXBuildFile; fileRef = D[$libuid] /* lib[$def].a */; };
[/foreach]
/* End PBXBuildFiles for built lib dependencies */
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
C[$libuid] /* [$def].xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = "[$def].xcodeproj"; path = "[$def].xcodeproj"; sourceTree = SOURCE_ROOT; };
[/foreach]
089C167EFE841241C02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = ../../web/source/npplugin/mac/English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
08EA7FFBFE8413EDC02AAC07 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
32BAE0B30371A71500C91783 /* WebGamePlugin_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WebGamePlugin_Prefix.pch; path = ../../web/source/npplugin/mac/WebGamePlugin_Prefix.pch; sourceTree = "<group>"; };
43E38C570FD438E300E9AAA9 /* npPlugin.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = npPlugin.cpp; path = ../../web/source/npplugin/npPlugin.cpp; sourceTree = SOURCE_ROOT; };
43E38C590BC4393700E9AAA9 /* webConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = webConfig.h; path = ../../web/source/common/webConfig.h; sourceTree = SOURCE_ROOT; };
43E38C590FD4393700E9AAA9 /* webCommon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = webCommon.h; path = ../../web/source/common/webCommon.h; sourceTree = SOURCE_ROOT; };
43E38C5A0FD4393700E9AAA9 /* webCommon.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = webCommon.cpp; path = ../../web/source/common/webCommon.cpp; sourceTree = SOURCE_ROOT; };
4315B01A0F3A517D002F4B9F /* npWebGamePlugin.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = npWebGamePlugin.mm; path = ../../web/source/npplugin/mac/npWebGamePlugin.mm; sourceTree = "<group>"; };
4315B01A0F3A627D002F4B9F /* npWebGamePlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = npWebGamePlugin.h; path = ../../web/source/npplugin/mac/npWebGamePlugin.h; sourceTree = "<group>"; };
4315B02B0F3A5261002F4B9F /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
8D01CCD10486CAD60068D4B7 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; name = Info.plist; path = ../../web/source/npplugin/mac/Info.plist; sourceTree = "<group>"; };
8D01CCD20486CAD60068D4B7 /* WebGamePlugin.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "[$projName].bundle"; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
8D01CCCD0486CAD60068D4B7 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
8D01CCCE0486CAD60068D4B7 /* Carbon.framework in Frameworks */,
4315B02C0F3A5261002F4B9F /* Cocoa.framework in Frameworks */,
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
F[$libuid] /* lib[$def].a */,
[/foreach]
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
089C166AFE841209C02AAC07 /* WebGamePlugin */ = {
isa = PBXGroup;
children = (
08FB77ADFE841716C02AAC07 /* Source */,
AEEEE0000000000000000000 /* Dependencies */,
089C167CFE841241C02AAC07 /* Resources */,
089C1671FE841209C02AAC07 /* External Frameworks and Libraries */,
19C28FB4FE9D528D11CA2CBB /* Products */,
);
name = "[$projName]";
sourceTree = "<group>";
};
/* Begin Generated Dependencies Group */
AEEEE0000000000000000000 /* Dependencies */ = {
isa = PBXGroup;
children = (
ADDDD0000000000000000000 /* builtLibs */,
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
C[$libuid], /* [$def].xcodeproj */
[/foreach]
);
name = Dependencies;
sourceTree = "<group>";
};
ADDDD0000000000000000000 /* builtLibs */ = {
isa = PBXGroup;
children = (
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
D[$libuid] /* lib[$def].a */,
[/foreach]
);
name = builtLibs;
path = ../../../../engine/lib/builtLibs;
sourceTree = SOURCE_ROOT;
};
/* End Generated Dependencies Group */
/* Begin Products Groups for each Dependency */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
[assign var=libuid2 value=$def|cat:"refproxy_file"|uid]
B[$libuid] /* Products */ = {
isa = PBXGroup;
children = (
C[$libuid2] /* [$def].a */,
);
name = Products;
sourceTree = "<group>";
};
[/foreach]
/* End Products Groups for each Dependency */
089C1671FE841209C02AAC07 /* External Frameworks and Libraries */ = {
isa = PBXGroup;
children = (
4315B02B0F3A5261002F4B9F /* Cocoa.framework */,
08EA7FFBFE8413EDC02AAC07 /* Carbon.framework */,
);
name = "External Frameworks and Libraries";
sourceTree = "<group>";
};
089C167CFE841241C02AAC07 /* Resources */ = {
isa = PBXGroup;
children = (
8D01CCD10486CAD60068D4B7 /* Info.plist */,
089C167DFE841241C02AAC07 /* InfoPlist.strings */,
);
name = Resources;
sourceTree = "<group>";
};
08FB77ADFE841716C02AAC07 /* Source */ = {
isa = PBXGroup;
children = (
4315B01A0F3A517D002F4B9F /* npWebGamePlugin.mm */,
4315B01A0F3A627D002F4B9F /* npWebGamePlugin.h */,
43E38C570FD438E300E9AAA9 /* npPlugin.cpp */,
43E38C590BC4393700E9AAA9 /* webConfig.h */,
43E38C590FD4393700E9AAA9 /* webCommon.h */,
43E38C5A0FD4393700E9AAA9 /* webCommon.cpp */,
32BAE0B30371A71500C91783 /* WebGamePlugin_Prefix.pch */,
);
name = Source;
sourceTree = "<group>";
};
19C28FB4FE9D528D11CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
8D01CCD20486CAD60068D4B7 /* WebGamePlugin.bundle */,
);
name = Products;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
8D01CCC60486CAD60068D4B7 /* WebGamePlugin */ = {
isa = PBXNativeTarget;
buildConfigurationList = 4FADC23308B4156C00ABE55E /* Build configuration list for PBXNativeTarget "WebGamePlugin" */;
buildPhases = (
8D01CCC90486CAD60068D4B7 /* Resources */,
8D01CCCB0486CAD60068D4B7 /* Sources */,
8D01CCCD0486CAD60068D4B7 /* Frameworks */,
);
buildRules = (
);
dependencies = (
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"dep"|uid]
D[$libuid] /* PBXTargetDependency */,
[/foreach]
);
name = "[$projName]";
productInstallPath = "$(HOME)/Library/Bundles";
productName = "[$projName]";
productReference = 8D01CCD20486CAD60068D4B7 /* WebGamePlugin.bundle */;
productType = "com.apple.product-type.bundle";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
089C1669FE841209C02AAC07 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 4FADC23708B4156C00ABE55E /* Build configuration list for PBXProject "WebGamePlugin" */;
compatibilityVersion = "Xcode 3.2";
hasScannedForEncodings = 1;
mainGroup = 089C166AFE841209C02AAC07 /* WebGamePlugin */;
projectDirPath = "";
projectRoot = "";
projectReferences = (
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
{
ProductGroup = B[$libuid] /* Products */;
ProjectRef = C[$libuid] /* [$def].xcodeproj */;
},
[/foreach]
);
targets = (
8D01CCC60486CAD60068D4B7 /* WebGamePlugin */,
);
};
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"proxy_file"|uid]
[assign var=libuid2 value=$def|cat:"refproxy_file"|uid]
C[$libuid2] /* lib[$def].a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = "lib[$def].a";
remoteRef = F[$libuid] /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
[/foreach]
/* End PBXReferenceProxy section */
/* Begin PBXTargetDependency section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"dep"|uid]
[assign var=libuid2 value=$def|cat:"proxy"|uid]
D[$libuid] /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "[$def]";
targetProxy = E[$libuid2] /* PBXContainerItemProxy */;
};
[/foreach]
/* End PBXTargetDependency section */
/* Begin PBXResourcesBuildPhase section */
8D01CCC90486CAD60068D4B7 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
8D01CCCA0486CAD60068D4B7 /* InfoPlist.strings in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
8D01CCCB0486CAD60068D4B7 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
4315B01B0F3A517D002F4B9F /* npWebGamePlugin.mm in Sources */,
43E38C570FE438E300E9AAA9 /* npPlugin.cpp in Sources */,
43E38C5A0FE4393700E9AAA9 /* webCommon.cpp in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXVariantGroup section */
089C167DFE841241C02AAC07 /* InfoPlist.strings */ = {
isa = PBXVariantGroup;
children = (
089C167EFE841241C02AAC07 /* English */,
);
name = InfoPlist.strings;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
4FADC23408B4156C00ABE55E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_FIX_AND_CONTINUE = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = ../../web/source/npplugin/mac/WebGamePlugin_Prefix.pch;
INFOPLIST_FILE = ../../web/source/npplugin/mac/Info.plist;
INSTALL_PATH = "$(HOME)/Library/Internet Plug-Ins";
PRODUCT_NAME = "[$projName]";
WRAPPER_EXTENSION = bundle;
ZERO_LINK = YES;
GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1" );
};
name = Debug;
};
4FADC23508B4156C00ABE55E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CONFIGURATION_BUILD_DIR = "$HOME/Library/Internet Plug-Ins";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = ../../web/source/npplugin/mac/WebGamePlugin_Prefix.pch;
INFOPLIST_FILE = ../../web/source/npplugin/mac/Info.plist;
INSTALL_PATH = "$HOME/Library/Internet Plug-Ins";
PRODUCT_NAME = "[$projName]";
WRAPPER_EXTENSION = bundle;
};
name = Release;
};
4FADC23808B4156C00ABE55E /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CONFIGURATION_BUILD_DIR = "$HOME/Library/Internet Plug-Ins";
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
GCC_VERSION = 4.2;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk";
};
name = Debug;
};
4FADC23908B4156C00ABE55E /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CONFIGURATION_BUILD_DIR = "$HOME/Library/Internet Plug-Ins";
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
GCC_VERSION = 4.2;
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.5.sdk";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
4FADC23308B4156C00ABE55E /* Build configuration list for PBXNativeTarget "WebGamePlugin" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4FADC23408B4156C00ABE55E /* Debug */,
4FADC23508B4156C00ABE55E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
4FADC23708B4156C00ABE55E /* Build configuration list for PBXProject "WebGamePlugin" */ = {
isa = XCConfigurationList;
buildConfigurations = (
4FADC23808B4156C00ABE55E /* Debug */,
4FADC23908B4156C00ABE55E /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 089C1669FE841209C02AAC07 /* Project object */;
}

View file

@ -0,0 +1,514 @@
[assign var="dirWalk" value=$fileArray]
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 42;
objects = {
/* Begin PBXContainerItemProxy section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"proxy_file"|uid]
[assign var=libuid2 value=$def|cat:"proxy"|uid]
[assign var=libuid3 value=$def|cat:"remote"|uid]
[assign var=libuid4 value=$def|uid]
[assign var=libuid5 value=$def|cat:"target"|uid]
F[$libuid] /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C[$libuid4] /* [$def].xcodeproj */;
proxyType = 2;
remoteGlobalIDString = F[$libuid3];
remoteInfo = "[$def]";
};
E[$libuid2] /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C[$libuid4] /* [$def].xcodeproj */;
proxyType = 1;
remoteGlobalIDString = D[$libuid5] /* [$def] */;
remoteInfo = "[$def]";
};
[/foreach]
/* End PBXContainerItemProxy section */
/* Begin PBXBuildFile section */
FAE3EDA00EEE3A0F0024DCA3 /* resizeNWSE.png in Resources */ = {isa = PBXBuildFile; fileRef = FAE3ED9D0EEE3A0F0024DCA3 /* resizeNWSE.png */; };
FAE3EDA10EEE3A0F0024DCA3 /* resizeall.png in Resources */ = {isa = PBXBuildFile; fileRef = FAE3ED9E0EEE3A0F0024DCA3 /* resizeall.png */; };
FAE3EDA20EEE3A0F0024DCA3 /* resizeNESW.png in Resources */ = {isa = PBXBuildFile; fileRef = FAE3ED9F0EEE3A0F0024DCA3 /* resizeNESW.png */; };
D21C29DF0CE933AB00670EED /* mainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = D21C29DE0CE933AB00670EED /* mainMenu.nib */; };
D297FD360C05187F00C14A16 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D297FD350C05187F00C14A16 /* OpenAL.framework */; };
D297FD360C05187F00C14A16 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D297FD350C05187F00C14A16 /* OpenAL.framework */; };
bf_copy_openal_framework /* OpenAL.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = D297FD350C05187F00C14A16 /* OpenAL.framework */; };
D29CADE70C88C2C900BBF312 /* AGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CADE30C88C2C900BBF312 /* AGL.framework */; };
D29CADE80C88C2C900BBF312 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CADE40C88C2C900BBF312 /* Carbon.framework */; };
D29CADE90C88C2C900BBF312 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CADE50C88C2C900BBF312 /* Cocoa.framework */; };
D29CADEA0C88C2C900BBF312 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CADE60C88C2C900BBF312 /* OpenGL.framework */; };
D2559B3B0C921A2B0003B62A /* torqueDemo.icns in Resources */ = {isa = PBXBuildFile; fileRef = D2559B3A0C921A2B0003B62A /* torqueDemo.icns */; };
/* Begin PBXBuildFiles included by project generator */
[include file="xcode.buildfiles.tpl" dirWalk=$dirWalk]
/* End PBXBuildFiles included by project generator */
/* Begin PBXBuildFiles for built lib dependencies */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
F[$libuid] /* lib[$def].a in Frameworks */ = {isa = PBXBuildFile; fileRef = D[$libuid] /* lib[$def].a */; };
[/foreach]
/* End PBXBuildFiles for built lib dependencies */
/* End PBXBuildFile section */
/* Begin PBXBuildRule section */
D297FC2D0C04FB9A00C14A16 /* PBXBuildRule */ = {
isa = PBXBuildRule;
compilerSpec = com.apple.compilers.nasm;
filePatterns = "*.asm";
fileType = pattern.proxy;
isEditable = 1;
outputFiles = (
);
};
/* End PBXBuildRule section */
/* Begin PBXFileReference section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
C[$libuid] /* [$def].xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = "[$def].xcodeproj"; path = "[$def].xcodeproj"; sourceTree = SOURCE_ROOT; };
[/foreach]
[foreach key=def item=type from=$projTypes]
[assign var=libuid value=$def|uid]
[if $type eq 1]
[else]
D[$libuid] /* lib[$def].a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = lib[$def].a; path = ../../../../engine/lib/builtLibs/lib[$def].a; sourceTree = SOURCE_ROOT; };
[/if]
[/foreach]
D26834AB0C02C77B0020EE4F /* [$projName].app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "[$projName].app"; sourceTree = BUILT_PRODUCTS_DIR; };
D21C29DE0CE933AB00670EED /* mainMenu.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = mainMenu.nib; path = ../../../../engine/source/platformMac/menus/mainMenu.nib; sourceTree = SOURCE_ROOT; };
D26834AE0C02C77B0020EE4F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = "Info.plist"; sourceTree = "<group>"; };
D2559B3A0C921A2B0003B62A /* torqueDemo.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = torqueDemo.icns; sourceTree = "<group>"; };
D297FD350C05187F00C14A16 /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = ../../../../engine/lib/openal/macosx/OpenAL.framework; sourceTree = SOURCE_ROOT; };
D29CADE30C88C2C900BBF312 /* AGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AGL.framework; path = /System/Library/Frameworks/AGL.framework; sourceTree = "<absolute>"; };
D29CADE40C88C2C900BBF312 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
D29CADE50C88C2C900BBF312 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
D29CADE60C88C2C900BBF312 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = "<absolute>"; };
FAE3ED9D0EEE3A0F0024DCA3 /* resizeNWSE.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = resizeNWSE.png; path = ../../../../engine/source/platformMac/cursors/resizeNWSE.png; sourceTree = SOURCE_ROOT; };
FAE3ED9E0EEE3A0F0024DCA3 /* resizeall.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = resizeall.png; path = ../../../../engine/source/platformMac/cursors/resizeall.png; sourceTree = SOURCE_ROOT; };
FAE3ED9F0EEE3A0F0024DCA3 /* resizeNESW.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = resizeNESW.png; path = ../../../../engine/source/platformMac/cursors/resizeNESW.png; sourceTree = SOURCE_ROOT; };
/* Begin PBXFileReferences included by project generator */
[include file="xcode.filerefs.tpl" dirWalk=$dirWalk ]
/* End PBXFileReferences included by project generator */
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
D26834A90C02C77B0020EE4F /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D297FD360C05187F00C14A16 /* OpenAL.framework in Frameworks */,
D29CADE70C88C2C900BBF312 /* AGL.framework in Frameworks */,
D29CADE80C88C2C900BBF312 /* Carbon.framework in Frameworks */,
D29CADE90C88C2C900BBF312 /* Cocoa.framework in Frameworks */,
D29CADEA0C88C2C900BBF312 /* OpenGL.framework in Frameworks */,
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
F[$libuid] /* lib[$def].a */,
[/foreach]
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXCopyFilesBuildPhase section */
AFFFF000000000000000FFFF /* Copy Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
AAAAA00000000000000000AA /* OpenAL.framework */,
[foreach key=def item=type from=$projTypes]
[assign var=libuid value=$def|cat:"target"|uid]
[if $type eq 1]
[$libuid] /* libtgea.dylib in Copy Frameworks */,
[/if]
[/foreach]
);
name = "Copy Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXGroup section */
AFFFF0000000000000000000 = {
isa = PBXGroup;
children = (
A00000000000000000000000 /* Code */,
AEEEE0000000000000000000 /* Dependencies */,
D297FD340C05186400C14A16 /* Frameworks */,
D26834AC0C02C77B0020EE4F /* Products */,
D26834AE0C02C77B0020EE4F /* Info.plist */,
D2559B3A0C921A2B0003B62A /* torqueDemo.icns */,
D21C29DE0CE933AB00670EED /* mainMenu.nib */,
FAE3ED9D0EEE3A0F0024DCA3 /* resizeNWSE.png */,
FAE3ED9E0EEE3A0F0024DCA3 /* resizeall.png */,
FAE3ED9F0EEE3A0F0024DCA3 /* resizeNESW.png */,
);
sourceTree = "<group>";
};
/* Begin Generated Dependencies Group */
AEEEE0000000000000000000 /* Dependencies */ = {
isa = PBXGroup;
children = (
ADDDD0000000000000000000 /* builtLibs */,
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
C[$libuid], /* [$def].xcodeproj */
[/foreach]
);
name = Dependencies;
sourceTree = "<group>";
};
ADDDD0000000000000000000 /* builtLibs */ = {
isa = PBXGroup;
children = (
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
D[$libuid] /* lib[$def].a */,
[/foreach]
);
name = builtLibs;
path = ../../../../engine/lib/builtLibs;
sourceTree = SOURCE_ROOT;
};
/* End Generated Dependencies Group */
/* Begin Products Groups for each Dependency */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
[assign var=libuid2 value=$def|cat:"refproxy_file"|uid]
B[$libuid] /* Products */ = {
isa = PBXGroup;
children = (
C[$libuid2] /* [$def].a */,
);
name = Products;
sourceTree = "<group>";
};
[/foreach]
/* End Products Groups for each Dependency */
D26834AC0C02C77B0020EE4F /* Products */ = {
isa = PBXGroup;
children = (
D26834AB0C02C77B0020EE4F /* [$projName].app */,
);
name = Products;
sourceTree = "<group>";
};
D297FD340C05186400C14A16 /* Frameworks */ = {
isa = PBXGroup;
children = (
D29CAE9C0C88C2D200BBF312 /* System */,
D29CAEAF0C88C2DE00BBF312 /* Local */,
);
name = Frameworks;
sourceTree = "<group>";
};
D29CAE9C0C88C2D200BBF312 /* System */ = {
isa = PBXGroup;
children = (
D29CADE30C88C2C900BBF312 /* AGL.framework */,
D29CADE40C88C2C900BBF312 /* Carbon.framework */,
D29CADE50C88C2C900BBF312 /* Cocoa.framework */,
D29CADE60C88C2C900BBF312 /* OpenGL.framework */,
);
name = System;
sourceTree = "<group>";
};
D29CAEAF0C88C2DE00BBF312 /* Local */ = {
isa = PBXGroup;
children = (
D297FD350C05187F00C14A16 /* OpenAL.framework */,
);
name = Local;
sourceTree = "<group>";
};
/* Begin PBXGroups from project generator */
[include file="xcode.groups.tpl" dirWalk=$dirWalk recurse="no" groupPath="paxorr" groupName="Code" groupHash="00000000000000000000000"]
/* End PBXGroups from project generator */
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
D26834AA0C02C77B0020EE4F /* [$projName] */ = {
isa = PBXNativeTarget;
buildConfigurationList = D26834AF0C02C77B0020EE4F /* Build configuration list for PBXNativeTarget [$projName] */;
buildPhases = (
D26834A70C02C77B0020EE4F /* Resources */,
D26834A80C02C77B0020EE4F /* Sources */,
D26834A90C02C77B0020EE4F /* Frameworks */,
AFFFF000000000000000FFFF /* Copy Frameworks */,
);
buildRules = (
D297FC2D0C04FB9A00C14A16 /* PBXBuildRule */,
);
dependencies = (
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"dep"|uid]
D[$libuid] /* PBXTargetDependency */,
[/foreach]
);
name = "[$projName]";
productName = "[$projName]";
productReference = D26834AB0C02C77B0020EE4F /* [$projName].app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
D268347E0C02C5750020EE4F /* Project object */ = {
isa = PBXProject;
buildConfigurationList = D268347F0C02C5750020EE4F /* Build configuration list for PBXProject [$projName] */;
compatibilityVersion = "Xcode 3.2";
hasScannedForEncodings = 0;
mainGroup = AFFFF0000000000000000000;
productRefGroup = D26834AC0C02C77B0020EE4F /* Products */;
projectDirPath = "";
targets = (
D26834AA0C02C77B0020EE4F /* [$projName] */,
);
projectRoot = "";
projectReferences = (
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
{
ProductGroup = B[$libuid] /* Products */;
ProjectRef = C[$libuid] /* [$def].xcodeproj */;
},
[/foreach]
);
};
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"proxy_file"|uid]
[assign var=libuid2 value=$def|cat:"refproxy_file"|uid]
C[$libuid2] /* lib[$def].a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = "lib[$def].a";
remoteRef = F[$libuid] /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
[/foreach]
/* End PBXReferenceProxy section */
/* Begin PBXTargetDependency section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"dep"|uid]
[assign var=libuid2 value=$def|cat:"proxy"|uid]
D[$libuid] /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "[$def]";
targetProxy = E[$libuid2] /* PBXContainerItemProxy */;
};
[/foreach]
/* End PBXTargetDependency section */
/* Begin PBXResourcesBuildPhase section */
D26834A70C02C77B0020EE4F /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D2559B3B0C921A2B0003B62A /* torqueDemo.icns in Resources */,
D21C29DF0CE933AB00670EED /* mainMenu.nib in Resources */,
FAE3EDA00EEE3A0F0024DCA3 /* resizeNWSE.png in Resources */,
FAE3EDA10EEE3A0F0024DCA3 /* resizeall.png in Resources */,
FAE3EDA20EEE3A0F0024DCA3 /* resizeNESW.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
D26834A80C02C77B0020EE4F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
[include file="xcode.list_buildfiles.tpl" dirWalk=$dirWalk]
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
D26834800C02C5750020EE4F /* Debug */ = {
isa = XCBuildConfiguration;
/* Project level debug config */
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CONFIGURATION_BUILD_DIR = ../../[$gameFolder]/;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_ENABLE_SSE3_EXTENSIONS = YES;
OTHER_LDFLAGS_i386 = "-framework Accelerate";
OTHER_LDFLAGS_ppc = "-framework vecLib";
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
GCC_VERSION = 4.2;
TORQUE_BUILT_LIBS_DIR = ../../../../engine/lib/builtLibs/;
};
name = Debug;
};
D26834810C02C5750020EE4F /* Release */ = {
isa = XCBuildConfiguration;
/* Project level release config */
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CONFIGURATION_BUILD_DIR = ../../[$gameFolder]/;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_ENABLE_SSE3_EXTENSIONS = YES;
OTHER_LDFLAGS_i386 = "-framework Accelerate";
OTHER_LDFLAGS_ppc = "-framework vecLib";
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
GCC_VERSION = 4.2;
TORQUE_BUILT_LIBS_DIR = ../../../../engine/lib/builtLibs/;
};
name = Release;
};
D26834B00C02C77B0020EE4F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings =
{
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
../../../../engine/lib/openal/macosx,
../../../../engine/lib/xiph/macosx,
);
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_CPP_EXCEPTIONS = YES;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(TORQUE_DEBUG_DEFINE)",
__MACOSX__,
WIN32_LEAN_AND_MEAN,
NOMINMAX,
TORQUE_MULTITHREAD,
TORQUE_DISABLE_MEMORY_MANAGER,
TORQUE_UNICODE,
[foreach item=def from=$projDefines]
"[$def]",
[/foreach]
);
GCC_TREAT_NONCONFORMANT_CODE_ERRORS_AS_WARNINGS = YES;
GCC_WARN_INHIBIT_ALL_WARNINGS = YES;
HEADER_SEARCH_PATHS = (
[foreach item=def from=$projIncludes]
"[$def]",
[/foreach]
);
INFOPLIST_FILE = "Info.plist";
LIBRARY_SEARCH_PATHS = "$(TORQUE_BUILT_LIBS_DIR)";
OTHER_LDFLAGS = "-lz";
PREBINDING = NO;
PRODUCT_NAME = "[$projName]_DEBUG";
TORQUE_DEBUG_DEFINE = TORQUE_DEBUG;
WARNING_CFLAGS = "-Wall -Wno-sign-compare -Wpointer-arith";
WRAPPER_EXTENSION = app;
ZERO_LINK = NO;
};
name = Debug;
};
D26834B10C02C77B0020EE4F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
../../../../engine/lib/openal/macosx,
../../../../engine/lib/xiph/macosx,
);
GCC_ENABLE_CPP_EXCEPTIONS = YES;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = s;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(TORQUE_DEBUG_DEFINE)",
__MACOSX__,
WIN32_LEAN_AND_MEAN,
NOMINMAX,
TORQUE_MULTITHREAD,
TORQUE_DISABLE_MEMORY_MANAGER,
TORQUE_UNICODE,
[foreach item=def from=$projDefines]
"[$def]",
[/foreach]
);
GCC_TREAT_NONCONFORMANT_CODE_ERRORS_AS_WARNINGS = YES;
GCC_WARN_INHIBIT_ALL_WARNINGS = YES;
HEADER_SEARCH_PATHS = (
[foreach item=def from=$projIncludes]
"[$def]",
[/foreach]
);
INFOPLIST_FILE = "Info.plist";
LIBRARY_SEARCH_PATHS = "$(TORQUE_BUILT_LIBS_DIR)";
OTHER_LDFLAGS = "-lz";
PREBINDING = NO;
PRODUCT_NAME = "[$projName]";
TORQUE_DEBUG_DEFINE = "";
WARNING_CFLAGS = "-Wall -Wno-sign-compare -Wpointer-arith";
WRAPPER_EXTENSION = app;
ZERO_LINK = NO;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
D268347F0C02C5750020EE4F /* Build configuration list for PBXProject [$projName] */ = {
isa = XCConfigurationList;
buildConfigurations = (
D26834800C02C5750020EE4F /* Debug */,
D26834810C02C5750020EE4F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
D26834AF0C02C77B0020EE4F /* Build configuration list for PBXNativeTarget [$projName] */ = {
isa = XCConfigurationList;
buildConfigurations = (
D26834B00C02C77B0020EE4F /* Debug */,
D26834B10C02C77B0020EE4F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = D268347E0C02C5750020EE4F /* Project object */;
}

View file

@ -0,0 +1,490 @@
[assign var="dirWalk" value=$fileArray]
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 42;
objects = {
/* Begin PBXContainerItemProxy section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"proxy_file"|uid]
[assign var=libuid2 value=$def|cat:"proxy"|uid]
[assign var=libuid3 value=$def|cat:"remote"|uid]
[assign var=libuid4 value=$def|uid]
[assign var=libuid5 value=$def|cat:"target"|uid]
F[$libuid] /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C[$libuid4] /* [$def].xcodeproj */;
proxyType = 2;
remoteGlobalIDString = F[$libuid3];
remoteInfo = [$def];
};
E[$libuid2] /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C[$libuid4] /* [$def].xcodeproj */;
proxyType = 1;
remoteGlobalIDString = D[$libuid5] /* [$def] */;
remoteInfo = [$def];
};
[/foreach]
/* End PBXContainerItemProxy section */
/* Begin PBXBuildFile section */
FAE3EDA00EEE3A0F0024DCA3 /* resizeNWSE.png in Resources */ = {isa = PBXBuildFile; fileRef = FAE3ED9D0EEE3A0F0024DCA3 /* resizeNWSE.png */; };
FAE3EDA10EEE3A0F0024DCA3 /* resizeall.png in Resources */ = {isa = PBXBuildFile; fileRef = FAE3ED9E0EEE3A0F0024DCA3 /* resizeall.png */; };
FAE3EDA20EEE3A0F0024DCA3 /* resizeNESW.png in Resources */ = {isa = PBXBuildFile; fileRef = FAE3ED9F0EEE3A0F0024DCA3 /* resizeNESW.png */; };
D21C29DF0CE933AB00670EED /* mainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = D21C29DE0CE933AB00670EED /* mainMenu.nib */; };
D297FD360C05187F00C14A16 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D297FD350C05187F00C14A16 /* OpenAL.framework */; };
D297FD360C05187F00C14A16 /* OpenAL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D297FD350C05187F00C14A16 /* OpenAL.framework */; };
bf_copy_openal_framework /* OpenAL.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = D297FD350C05187F00C14A16 /* OpenAL.framework */; };
D29CADE70C88C2C900BBF312 /* AGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CADE30C88C2C900BBF312 /* AGL.framework */; };
D29CADE80C88C2C900BBF312 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CADE40C88C2C900BBF312 /* Carbon.framework */; };
D29CADE90C88C2C900BBF312 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CADE50C88C2C900BBF312 /* Cocoa.framework */; };
D29CADEA0C88C2C900BBF312 /* OpenGL.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D29CADE60C88C2C900BBF312 /* OpenGL.framework */; };
D2559B3B0C921A2B0003B62A /* torqueDemo.icns in Resources */ = {isa = PBXBuildFile; fileRef = D2559B3A0C921A2B0003B62A /* torqueDemo.icns */; };
/* Begin PBXBuildFiles included by project generator */
[include file="xcode.buildfiles.tpl" dirWalk=$dirWalk]
/* End PBXBuildFiles included by project generator */
/* Begin PBXBuildFiles for built lib dependencies */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
F[$libuid] /* lib[$def].a in Frameworks */ = {isa = PBXBuildFile; fileRef = D[$libuid] /* lib[$def].a */; };
[/foreach]
/* End PBXBuildFiles for built lib dependencies */
/* End PBXBuildFile section */
/* Begin PBXBuildRule section */
D297FC2D0C04FB9A00C14A16 /* PBXBuildRule */ = {
isa = PBXBuildRule;
compilerSpec = com.apple.compilers.nasm;
filePatterns = "*.asm";
fileType = pattern.proxy;
isEditable = 1;
outputFiles = (
);
};
/* End PBXBuildRule section */
/* Begin PBXFileReference section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
C[$libuid] /* [$def].xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = [$def].xcodeproj; path = [$def].xcodeproj; sourceTree = SOURCE_ROOT; };
[/foreach]
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
D[$libuid] /* lib[$def].a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = lib[$def].a; path = ../../../../engine/lib/builtLibs/lib[$def].a; sourceTree = SOURCE_ROOT; };
[/foreach]
D26834AB0C02C77B0020EE4F /* [$projName].app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "[$projName].app"; sourceTree = BUILT_PRODUCTS_DIR; };
D21C29DE0CE933AB00670EED /* mainMenu.nib */ = {isa = PBXFileReference; lastKnownFileType = wrapper.nib; name = mainMenu.nib; path = ../../../../engine/source/platformMac/menus/mainMenu.nib; sourceTree = SOURCE_ROOT; };
D26834AE0C02C77B0020EE4F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = "Info.plist"; sourceTree = "<group>"; };
D2559B3A0C921A2B0003B62A /* torqueDemo.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; path = torqueDemo.icns; sourceTree = "<group>"; };
D297FD350C05187F00C14A16 /* OpenAL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenAL.framework; path = ../../../../engine/lib/openal/macosx/OpenAL.framework; sourceTree = SOURCE_ROOT; };
D29CADE30C88C2C900BBF312 /* AGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AGL.framework; path = /System/Library/Frameworks/AGL.framework; sourceTree = "<absolute>"; };
D29CADE40C88C2C900BBF312 /* Carbon.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Carbon.framework; path = /System/Library/Frameworks/Carbon.framework; sourceTree = "<absolute>"; };
D29CADE50C88C2C900BBF312 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
D29CADE60C88C2C900BBF312 /* OpenGL.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGL.framework; path = /System/Library/Frameworks/OpenGL.framework; sourceTree = "<absolute>"; };
FAE3ED9D0EEE3A0F0024DCA3 /* resizeNWSE.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = resizeNWSE.png; path = ../../../../engine/source/platformMac/cursors/resizeNWSE.png; sourceTree = SOURCE_ROOT; };
FAE3ED9E0EEE3A0F0024DCA3 /* resizeall.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = resizeall.png; path = ../../../../engine/source/platformMac/cursors/resizeall.png; sourceTree = SOURCE_ROOT; };
FAE3ED9F0EEE3A0F0024DCA3 /* resizeNESW.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = resizeNESW.png; path = ../../../../engine/source/platformMac/cursors/resizeNESW.png; sourceTree = SOURCE_ROOT; };
/* Begin PBXFileReferences included by project generator */
[include file="xcode.filerefs.tpl" dirWalk=$dirWalk ]
/* End PBXFileReferences included by project generator */
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
D26834A90C02C77B0020EE4F /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D297FD360C05187F00C14A16 /* OpenAL.framework in Frameworks */,
D29CADE70C88C2C900BBF312 /* AGL.framework in Frameworks */,
D29CADE80C88C2C900BBF312 /* Carbon.framework in Frameworks */,
D29CADE90C88C2C900BBF312 /* Cocoa.framework in Frameworks */,
D29CADEA0C88C2C900BBF312 /* OpenGL.framework in Frameworks */,
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
F[$libuid] /* lib[$def].a */,
[/foreach]
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXCopyFilesBuildPhase section */
AFFFF000000000000000FFFF /* Copy Frameworks */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = "";
dstSubfolderSpec = 10;
files = (
AAAAA00000000000000000AA /* OpenAL.framework */,
);
name = "Copy Frameworks";
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXGroup section */
AFFFF0000000000000000000 = {
isa = PBXGroup;
children = (
A00000000000000000000000 /* Code */,
AEEEE0000000000000000000 /* Dependencies */,
D297FD340C05186400C14A16 /* Frameworks */,
D26834AC0C02C77B0020EE4F /* Products */,
D26834AE0C02C77B0020EE4F /* Info.plist */,
D2559B3A0C921A2B0003B62A /* torqueDemo.icns */,
D21C29DE0CE933AB00670EED /* mainMenu.nib */,
FAE3ED9D0EEE3A0F0024DCA3 /* resizeNWSE.png */,
FAE3ED9E0EEE3A0F0024DCA3 /* resizeall.png */,
FAE3ED9F0EEE3A0F0024DCA3 /* resizeNESW.png */,
);
sourceTree = "<group>";
};
/* Begin Generated Dependencies Group */
AEEEE0000000000000000000 /* Dependencies */ = {
isa = PBXGroup;
children = (
ADDDD0000000000000000000 /* builtLibs */,
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
C[$libuid], /* [$def].xcodeproj */
[/foreach]
);
name = Dependencies;
sourceTree = "<group>";
};
ADDDD0000000000000000000 /* builtLibs */ = {
isa = PBXGroup;
children = (
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
D[$libuid] /* lib[$def].a */,
[/foreach]
);
name = builtLibs;
path = ../../../../engine/lib/builtLibs;
sourceTree = SOURCE_ROOT;
};
/* End Generated Dependencies Group */
/* Begin Products Groups for each Dependency */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
[assign var=libuid2 value=$def|cat:"refproxy_file"|uid]
B[$libuid] /* Products */ = {
isa = PBXGroup;
children = (
C[$libuid2] /* [$def].a */,
);
name = Products;
sourceTree = "<group>";
};
[/foreach]
/* End Products Groups for each Dependency */
D26834AC0C02C77B0020EE4F /* Products */ = {
isa = PBXGroup;
children = (
D26834AB0C02C77B0020EE4F /* [$projName].app */,
);
name = Products;
sourceTree = "<group>";
};
D297FD340C05186400C14A16 /* Frameworks */ = {
isa = PBXGroup;
children = (
D29CAE9C0C88C2D200BBF312 /* System */,
D29CAEAF0C88C2DE00BBF312 /* Local */,
);
name = Frameworks;
sourceTree = "<group>";
};
D29CAE9C0C88C2D200BBF312 /* System */ = {
isa = PBXGroup;
children = (
D29CADE30C88C2C900BBF312 /* AGL.framework */,
D29CADE40C88C2C900BBF312 /* Carbon.framework */,
D29CADE50C88C2C900BBF312 /* Cocoa.framework */,
D29CADE60C88C2C900BBF312 /* OpenGL.framework */,
);
name = System;
sourceTree = "<group>";
};
D29CAEAF0C88C2DE00BBF312 /* Local */ = {
isa = PBXGroup;
children = (
D297FD350C05187F00C14A16 /* OpenAL.framework */,
);
name = Local;
sourceTree = "<group>";
};
/* Begin PBXGroups from project generator */
[include file="xcode.groups.tpl" dirWalk=$dirWalk recurse="no" groupPath="paxorr" groupName="Code" groupHash="00000000000000000000000"]
/* End PBXGroups from project generator */
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
D26834AA0C02C77B0020EE4F /* [$projName] */ = {
isa = PBXNativeTarget;
buildConfigurationList = D26834AF0C02C77B0020EE4F /* Build configuration list for PBXNativeTarget "[$projName]" */;
buildPhases = (
D26834A70C02C77B0020EE4F /* Resources */,
D26834A80C02C77B0020EE4F /* Sources */,
D26834A90C02C77B0020EE4F /* Frameworks */,
AFFFF000000000000000FFFF /* Copy Frameworks */,
);
buildRules = (
D297FC2D0C04FB9A00C14A16 /* PBXBuildRule */,
);
dependencies = (
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"dep"|uid]
D[$libuid] /* PBXTargetDependency */,
[/foreach]
);
name = "[$projName]";
productName = "[$projName]";
productReference = D26834AB0C02C77B0020EE4F /* [$projName].app */;
productType = "com.apple.product-type.bundle";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
D268347E0C02C5750020EE4F /* Project object */ = {
isa = PBXProject;
buildConfigurationList = D268347F0C02C5750020EE4F /* Build configuration list for PBXProject [$projName] */;
compatibilityVersion = "Xcode 3.2";
hasScannedForEncodings = 0;
mainGroup = AFFFF0000000000000000000;
productRefGroup = D26834AC0C02C77B0020EE4F /* Products */;
projectDirPath = "";
targets = (
D26834AA0C02C77B0020EE4F /* [$projName] */,
);
projectRoot = "";
projectReferences = (
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|uid]
{
ProductGroup = B[$libuid] /* Products */;
ProjectRef = C[$libuid] /* [$def].xcodeproj */;
},
[/foreach]
);
};
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"proxy_file"|uid]
[assign var=libuid2 value=$def|cat:"refproxy_file"|uid]
C[$libuid2] /* lib[$def].a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = lib[$def].a;
remoteRef = F[$libuid] /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
[/foreach]
/* End PBXReferenceProxy section */
/* Begin PBXTargetDependency section */
[foreach item=def from=$projDepend]
[assign var=libuid value=$def|cat:"dep"|uid]
[assign var=libuid2 value=$def|cat:"proxy"|uid]
D[$libuid] /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = [$def];
targetProxy = E[$libuid2] /* PBXContainerItemProxy */;
};
[/foreach]
/* End PBXTargetDependency section */
/* Begin PBXResourcesBuildPhase section */
D26834A70C02C77B0020EE4F /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D2559B3B0C921A2B0003B62A /* torqueDemo.icns in Resources */,
D21C29DF0CE933AB00670EED /* mainMenu.nib in Resources */,
FAE3EDA00EEE3A0F0024DCA3 /* resizeNWSE.png in Resources */,
FAE3EDA10EEE3A0F0024DCA3 /* resizeall.png in Resources */,
FAE3EDA20EEE3A0F0024DCA3 /* resizeNESW.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
D26834A80C02C77B0020EE4F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
[include file="xcode.list_buildfiles.tpl" dirWalk=$dirWalk]
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
D26834800C02C5750020EE4F /* Debug */ = {
isa = XCBuildConfiguration;
/* Project level debug config */
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CONFIGURATION_BUILD_DIR = "../../game/[$gameProjectName]_DEBUG.app/Contents/Frameworks";
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_ENABLE_SSE3_EXTENSIONS = YES;
OTHER_LDFLAGS_i386 = "-framework Accelerate";
OTHER_LDFLAGS_ppc = "-framework vecLib";
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
GCC_VERSION = 4.2;
TORQUE_BUILT_LIBS_DIR = ../../../../engine/lib/builtLibs/;
};
name = Debug;
};
D26834810C02C5750020EE4F /* Release */ = {
isa = XCBuildConfiguration;
/* Project level release config */
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
CONFIGURATION_BUILD_DIR = "../../game/[$gameProjectName].app/Contents/Frameworks";
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
GCC_ENABLE_SSE3_EXTENSIONS = YES;
GCC_DYNAMIC_NO_PIC = NO;
OTHER_LDFLAGS_i386 = "-framework Accelerate";
OTHER_LDFLAGS_ppc = "-framework vecLib";
SDKROOT = /Developer/SDKs/MacOSX10.5.sdk;
GCC_VERSION = 4.2;
TORQUE_BUILT_LIBS_DIR = ../../../../engine/lib/builtLibs/;
};
name = Release;
};
D26834B00C02C77B0020EE4F /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings =
{
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = NO;
DEBUG_INFORMATION_FORMAT = dwarf;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
../../../../engine/lib/openal/macosx,
../../../../engine/lib/xiph/macosx,
);
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_CPP_EXCEPTIONS = YES;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(TORQUE_DEBUG_DEFINE)",
__MACOSX__,
TORQUE_UNICODE,
[foreach item=def from=$projDefines]
"[$def]",
[/foreach]
);
HEADER_SEARCH_PATHS = (
[foreach item=def from=$projIncludes]
"[$def]",
[/foreach]
);
INFOPLIST_FILE = "Info.plist";
LIBRARY_SEARCH_PATHS = "$(TORQUE_BUILT_LIBS_DIR)";
OTHER_LDFLAGS = "-lz";
PREBINDING = NO;
PRODUCT_NAME = "[$projName]";
TORQUE_DEBUG_DEFINE = TORQUE_DEBUG;
WARNING_CFLAGS = "-Wall -Wno-sign-compare -Wpointer-arith -Wno-unknown-pragmas -Wno-unused-parameter -Wno-non-virtual-dtor -Wno-reorder";
WRAPPER_EXTENSION = bundle;
ZERO_LINK = NO;
};
name = Debug;
};
D26834B10C02C77B0020EE4F /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = dwarf;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
../../../../engine/lib/openal/macosx,
../../../../engine/lib/xiph/macosx,
);
GCC_ENABLE_CPP_EXCEPTIONS = YES;
GCC_ENABLE_FIX_AND_CONTINUE = NO;
GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = s;
GCC_PREPROCESSOR_DEFINITIONS = (
"$(TORQUE_DEBUG_DEFINE)",
__MACOSX__,
TORQUE_UNICODE,
[foreach item=def from=$projDefines]
"[$def]",
[/foreach]
);
HEADER_SEARCH_PATHS = (
[foreach item=def from=$projIncludes]
"[$def]",
[/foreach]
);
INFOPLIST_FILE = "Info.plist";
LIBRARY_SEARCH_PATHS = "$(TORQUE_BUILT_LIBS_DIR)";
OTHER_LDFLAGS = "-lz";
PREBINDING = NO;
PRODUCT_NAME = "[$projName]";
TORQUE_DEBUG_DEFINE = "";
WARNING_CFLAGS = "-Wall -Wno-sign-compare -Wpointer-arith -Wno-unknown-pragmas -Wno-unused-parameter -Wno-non-virtual-dtor -Wno-reorder";
WRAPPER_EXTENSION = bundle;
ZERO_LINK = NO;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
D268347F0C02C5750020EE4F /* Build configuration list for PBXProject [$projName] */ = {
isa = XCConfigurationList;
buildConfigurations = (
D26834800C02C5750020EE4F /* Debug */,
D26834810C02C5750020EE4F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
D26834AF0C02C77B0020EE4F /* Build configuration list for PBXNativeTarget [$projName] */ = {
isa = XCConfigurationList;
buildConfigurations = (
D26834B00C02C77B0020EE4F /* Debug */,
D26834B10C02C77B0020EE4F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = D268347E0C02C5750020EE4F /* Project object */;
}