first blood

This commit is contained in:
vladislav.khorev committed 2013-01-19 21:23:44 +00:00
1 parent 11b8e5136d
commit 8623958378
124 files changed
+5933

No files matched your search

@@ -0,0 +1,106 @@
<?xml version="1.0" encoding="utf-8"?>
<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>{1CC98EEE-BBCB-4D79-B6D7-8511789172C5}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>DoubleHitBallswin</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>NotSet</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;$(SalmonEnginePath)include</IncludePath>
<LibraryPath>$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib;$(SalmonEnginePath)$(Configuration)</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<IncludePath>$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;$(SalmonEnginePath)include</IncludePath>
<LibraryPath>$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib;$(SalmonEnginePath)$(Configuration)</LibraryPath>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;TARGET_WIN32;TARGET_HALIBUT;_WIN32_WINNT=0x0501;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SalmonEnginePath);$(LibsPath)\boost_1_52_0;$(LibsPath)\libogg-1.3.0\include;$(LibsPath)\libvorbis-1.3.2\include;$(LibsPath)\sqplus\sqplus;$(LibsPath)\sqplus\include;$(LibsPath)\DirectXsdk\Include;$(LibsPath)\lpng1510;$(SolutionDir)\..\..\jni;</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(LibsPath)\boost_1_52_0\boost_windows\libs_engine\$(Configuration);$(LibsPath)\libogg-1.3.0\win32\VS2010\Win32\$(Configuration);$(LibsPath)\libvorbis-1.3.2\win32\VS2010\Win32\$(Configuration);$(LibsPath)\sqplus\lib;$(LibsPath)\DirectXsdk\Lib\x86;$(LibsPath)\lpng1510\projects\vstudio\Debug Library</AdditionalLibraryDirectories>
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;opengl32.lib;glu32.lib;Halibut Engine.lib;libogg_static.lib;libvorbis_static.lib;libvorbisfile_static.lib;zlib.lib;libpng15.lib;dsound.lib;dxguid.lib;sqplusD.lib;squirrelD.lib;sqdbglibD.lib;sqstdlibD.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;TARGET_WIN32;TARGET_HALIBUT;_WIN32_WINNT=0x0501;WIN32_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SalmonEnginePath);$(LibsPath)\boost_1_52_0;$(LibsPath)\libogg-1.3.0\include;$(LibsPath)\libvorbis-1.3.2\include;$(LibsPath)\sqplus\sqplus;$(LibsPath)\sqplus\include;$(LibsPath)\DirectXsdk\Include;$(LibsPath)\lpng1510;$(SolutionDir)\..\..\jni;</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalLibraryDirectories>$(LibsPath)\boost_1_52_0\boost_windows\libs_engine\$(Configuration);$(LibsPath)\libogg-1.3.0\win32\VS2010\Win32\$(Configuration);$(LibsPath)\libvorbis-1.3.2\win32\VS2010\Win32\$(Configuration);$(LibsPath)\sqplus\lib;$(LibsPath)\DirectXsdk\Lib\x86;$(LibsPath)\lpng1510\projects\vstudio\Release Library</AdditionalLibraryDirectories>
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;opengl32.lib;glu32.lib;Halibut Engine.lib;libogg_static.lib;libvorbis_static.lib;libvorbisfile_static.lib;zlib.lib;libpng15.lib;dsound.lib;dxguid.lib;sqplus.lib;squirrel.lib;sqdbglib.lib;sqstdlib.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\..\jni\creditscode.cpp" />
<ClCompile Include="..\..\..\jni\gamecode.cpp" />
<ClCompile Include="..\..\..\jni\loadingcode.cpp" />
<ClCompile Include="..\..\..\jni\main_code.cpp" />
<ClCompile Include="..\..\..\jni\menucode.cpp" />
<ClCompile Include="main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\jni\creditscode.h" />
<ClInclude Include="..\..\..\jni\gamecode.h" />
<ClInclude Include="..\..\..\jni\game_area_interface.h" />
<ClInclude Include="..\..\..\jni\loadingcode.h" />
<ClInclude Include="..\..\..\jni\main_code.h" />
<ClInclude Include="..\..\..\jni\menucode.h" />
<ClInclude Include="main.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Файлы исходного кода">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Заголовочные файлы">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Файлы ресурсов">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="main.cpp">
<Filter>Файлы исходного кода</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jni\creditscode.cpp">
<Filter>Файлы исходного кода</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jni\gamecode.cpp">
<Filter>Файлы исходного кода</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jni\loadingcode.cpp">
<Filter>Файлы исходного кода</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jni\main_code.cpp">
<Filter>Файлы исходного кода</Filter>
</ClCompile>
<ClCompile Include="..\..\..\jni\menucode.cpp">
<Filter>Файлы исходного кода</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="main.h">
<Filter>Заголовочные файлы</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jni\loadingcode.h">
<Filter>Заголовочные файлы</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jni\main_code.h">
<Filter>Заголовочные файлы</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jni\menucode.h">
<Filter>Заголовочные файлы</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jni\creditscode.h">
<Filter>Заголовочные файлы</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jni\game_area_interface.h">
<Filter>Заголовочные файлы</Filter>
</ClInclude>
<ClInclude Include="..\..\..\jni\gamecode.h">
<Filter>Заголовочные файлы</Filter>
</ClInclude>
</ItemGroup>
</Project>
@@ -0,0 +1,113 @@
2012-Dec-10 00:12:14: Log started
2012-Dec-10 00:12:18: OpenGL Window created
2012-Dec-10 00:12:18: Script manager ready
2012-Dec-10 00:12:20: Render::OpenGL glVersion = 4.0.10318 Compatibility Profile Context
2012-Dec-10 00:12:20: Render::OpenGL glVersion above 2.0 ok
2012-Dec-10 00:12:20: Render::OpenGL GL_ARB_framebuffer_object supported ok
2012-Dec-10 00:12:20: Bind basic functions
2012-Dec-10 00:12:20: APP INIT
2012-Dec-10 00:12:20: Prepare to add shader TestShader
2012-Dec-10 00:12:21: ResourceManager::ShaderManager::Shader Vertex shader was successfully compiled to run on hardware.
2012-Dec-10 00:12:22: ResourceManager::ShaderManager::Shader Fragment shader was successfully compiled to run on hardware.
WARNING: 0:1: warning(#260) Keyword 'precision' is supported in GLSL 1.3
2012-Dec-10 00:12:22: Shader program is - 3
2012-Dec-10 00:12:22: ResourceManager::ShaderManager::Shader Fragment shader(s) linked, vertex shader(s) linked.
WARNING: 0:1: warning(#260) Keyword 'precision' is supported in GLSL 1.3
WARNING: warning(#276) Symbol 'texCoord' usage doesn't match between two stages
WARNING: warning(#276) Symbol 'texCoord' usage do
2012-Dec-10 00:12:22: ResourceManager::ShaderManager shader loaded: TestShader
2012-Dec-10 00:12:22: Prepare to add shader FrameShader
2012-Dec-10 00:12:22: ResourceManager::ShaderManager::Shader Vertex shader was successfully compiled to run on hardware.
2012-Dec-10 00:12:22: ResourceManager::ShaderManager::Shader Fragment shader was successfully compiled to run on hardware.
WARNING: 0:1: warning(#260) Keyword 'precision' is supported in GLSL 1.3
2012-Dec-10 00:12:22: Shader program is - 6
2012-Dec-10 00:12:23: ResourceManager::ShaderManager::Shader Fragment shader(s) linked, vertex shader(s) linked.
WARNING: 0:1: warning(#260) Keyword 'precision' is supported in GLSL 1.3
WARNING: warning(#276) Symbol 'texCoord' usage doesn't match between two stages
WARNING: warning(#276) Symbol 'texCoord' usage do
2012-Dec-10 00:12:23: ResourceManager::ShaderManager shader loaded: FrameShader
2012-Dec-10 00:12:23: Prepare to add shader BrickShader
2012-Dec-10 00:12:23: ResourceManager::ShaderManager::Shader Vertex shader was successfully compiled to run on hardware.
2012-Dec-10 00:12:23: ResourceManager::ShaderManager::Shader Fragment shader was successfully compiled to run on hardware.
WARNING: 0:1: warning(#260) Keyword 'precision' is supported in GLSL 1.3
2012-Dec-10 00:12:23: Shader program is - 9
2012-Dec-10 00:12:23: ResourceManager::ShaderManager::Shader Fragment shader(s) linked, vertex shader(s) linked.
WARNING: 0:1: warning(#260) Keyword 'precision' is supported in GLSL 1.3
WARNING: warning(#276) Symbol 'texCoord' usage doesn't match between two stages
WARNING: warning(#276) Symbol 'texCoord' usage do
2012-Dec-10 00:12:23: ResourceManager::ShaderManager shader loaded: BrickShader
2012-Dec-10 00:12:24: ResourceManager::TexList Texture added: loading with id = 1
2012-Dec-10 00:12:24: ResourceManager::TexList Texture added: logo_small with id = 2
2012-Dec-10 00:12:24: ResourceManager::TexList Texture added: console_bkg.bmp with id = 3
2012-Dec-10 00:12:24: FrameManager:: frame buffer added: LevelBuffer
2012-Dec-10 00:12:24: Halibut Render OpenGL init
2012-Dec-10 00:12:25: ResourceManager::TexList Texture added: droid_sans14_font_bitmap.png with id = 5
2012-Dec-10 00:12:26: ResourceManager::TexList Texture added: main_menu_bkg_left with id = 6
2012-Dec-10 00:12:27: ResourceManager::TexList Texture added: main_menu_bkg_right with id = 7
2012-Dec-10 00:12:27: ResourceManager::TexList Texture added: select_level with id = 8
2012-Dec-10 00:12:27: ResourceManager::TexList Texture added: shutterstock1 with id = 9
2012-Dec-10 00:12:29: ResourceManager::TexList Texture added: shutterstock2 with id = 10
2012-Dec-10 00:12:29: ResourceManager::TexList Texture added: shutterstock3 with id = 11
2012-Dec-10 00:12:30: ResourceManager::TexList Texture added: shutterstock4 with id = 12
2012-Dec-10 00:12:31: ResourceManager::TexList Texture added: shutterstock5 with id = 13
2012-Dec-10 00:12:31: ResourceManager::TexList Texture added: shutterstock6 with id = 14
2012-Dec-10 00:12:32: ResourceManager::TexList Texture added: shutterstock7 with id = 15
2012-Dec-10 00:12:32: ResourceManager::TexList Texture added: shutterstock8 with id = 16
2012-Dec-10 00:12:33: ResourceManager::TexList Texture added: shutterstock9 with id = 17
2012-Dec-10 00:12:33: ResourceManager::TexList Texture added: shutterstock10 with id = 18
2012-Dec-10 00:12:34: ResourceManager::TexList Texture added: shutterstock11 with id = 19
2012-Dec-10 00:12:35: ResourceManager::TexList Texture added: shutterstock12 with id = 20
2012-Dec-10 00:12:35: ResourceManager::TexList Texture added: levelshot1 with id = 21
2012-Dec-10 00:12:35: ResourceManager::TexList Texture added: levelshot2 with id = 22
2012-Dec-10 00:12:36: ResourceManager::TexList Texture added: levelshot3 with id = 23
2012-Dec-10 00:12:36: ResourceManager::TexList Texture added: levelshot4 with id = 24
2012-Dec-10 00:12:36: ResourceManager::TexList Texture added: levelshot5 with id = 25
2012-Dec-10 00:12:37: ResourceManager::TexList Texture added: levelshot6 with id = 26
2012-Dec-10 00:12:37: ResourceManager::TexList Texture added: levelshot7 with id = 27
2012-Dec-10 00:12:38: ResourceManager::TexList Texture added: levelshot8 with id = 28
2012-Dec-10 00:12:38: ResourceManager::TexList Texture added: levelshot9 with id = 29
2012-Dec-10 00:12:38: ResourceManager::TexList Texture added: levelshot10 with id = 30
2012-Dec-10 00:12:38: ResourceManager::TexList Texture added: levelshot11 with id = 31
2012-Dec-10 00:12:38: ResourceManager::TexList Texture added: levelshot12 with id = 32
2012-Dec-10 00:12:39: ResourceManager::TexList Texture added: game_end with id = 33
2012-Dec-10 00:12:39: ResourceManager::TexList Texture added: block1 with id = 34
2012-Dec-10 00:12:39: ResourceManager::TexList Texture added: block2 with id = 35
2012-Dec-10 00:12:39: ResourceManager::TexList Texture added: block3 with id = 36
2012-Dec-10 00:12:39: ResourceManager::TexList Texture added: bonus_gothrough with id = 37
2012-Dec-10 00:12:39: ResourceManager::TexList Texture added: bonus_multiplier with id = 38
2012-Dec-10 00:12:39: ResourceManager::TexList Texture added: bonus_floor with id = 39
2012-Dec-10 00:12:39: ResourceManager::TexList Texture added: ball with id = 40
2012-Dec-10 00:12:39: ResourceManager::TexList Texture added: ball_glow with id = 41
2012-Dec-10 00:12:39: ResourceManager::TexList Texture added: wall_left with id = 42
2012-Dec-10 00:12:40: ResourceManager::TexList Texture added: wall_right with id = 43
2012-Dec-10 00:12:40: ResourceManager::TexList Texture added: wall_up with id = 44
2012-Dec-10 00:12:40: ResourceManager::TexList Texture added: wall_bonus with id = 45
2012-Dec-10 00:12:40: ResourceManager::TexList Texture added: reflector with id = 46
2012-Dec-10 00:12:40: ResourceManager::TexList Texture added: back_btn with id = 47
2012-Dec-10 00:12:40: ResourceManager::TexList Texture added: slide_up_btn with id = 48
2012-Dec-10 00:12:41: ResourceManager::TexList Texture added: tap_to_continue_btn with id = 49
2012-Dec-10 00:12:41: ResourceManager::TexList Texture added: credits with id = 50
2012-Dec-10 00:13:19: Program prepares to quit
2012-Dec-10 00:13:19: APP DEINIT
2012-Dec-10 00:13:19: HalibutAnimationManager deleting...
2012-Dec-10 00:13:19: TFontManager deleting...
2012-Dec-10 00:13:19: ResourceManager::FrameManager deleting
2012-Dec-10 00:13:19: GUI Manager deleting...
2012-Dec-10 00:13:20: Script manager shutdown
2012-Dec-10 00:13:20: ResourceManager::ShaderManager::Shader deleting
2012-Dec-10 00:13:20: ResourceManager::ShaderManager::Shader deleting
2012-Dec-10 00:13:20: ResourceManager::ShaderManager::Shader deleting
2012-Dec-10 00:13:20: ResourceManager::ShaderManager cleared
2012-Dec-10 00:13:20: ResourceManager::ShaderManager deleting
2012-Dec-10 00:13:20: ResourceManager::TexList cleared
2012-Dec-10 00:13:20: ResourceManager::TexList deleting
2012-Dec-10 00:13:20: HalibutRender::deleting
@@ -0,0 +1,19 @@
#include "main.h"
#include "main_code.h"
TAndroidApplication* App = NULL;
int APIENTRY WinMain(HINSTANCE hCurrentInst, HINSTANCE hPreviousInst,
LPSTR lpszCmdLine, int nCmdShow)
{
//Create application
TAndroidApplication Application;
Application.Width = 480;
Application.Height = 320;
App = &Application;
//Start application
return MainLoop(Application);
}
@@ -0,0 +1,6 @@
#pragma once
#include <iostream>
#define NOMINMAX 1
#include <Windows.h>
#undef NOMINMAX
@@ -0,0 +1 @@
9