Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
newcodepusher committed Dec 11, 2021
0 parents commit f1df285
Show file tree
Hide file tree
Showing 818 changed files with 89,677 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
syntax: regexp
.idea/*
syntax: glob
CMake/*
cmake-build-debug/
bin/EditorData/GameSettings.xml

AndroidGradle/*
android/build/*
android/**/build/*
android/.*/*
android/**/.*/*
android/**/assets/*
android/local.properties
**.jar
11 changes: 11 additions & 0 deletions AndroidBuildAndInstall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# !/bin/sh
export ANDROID_NDK=~/Android/Sdk/ndk/21.0.6113669
export ANDROID_SDK=~/Android/Sdk
export PATH=$ANDROID_NDK/toolchains/x86_64-4.9/prebuilt/linux-x86_64/bin:$ANDROID_NDK/build:$ANDROID_NDK/prebuilt/linux-x86_64/bin:$ANDROID_SDK/tools:$ANDROID_SDK/tools/bin:$ANDROID_SDK/platform-tools:$PATH

export URHO3D_HOME=~/workspace/Urho3D/android/urho3d-lib/build/outputs/aar


cd ./android

./gradlew installDebug
39 changes: 39 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
set(CMAKE_CXX_STANDARD 11) # C++11...
set(CMAKE_CXX_STANDARD_REQUIRED ON) #...is required...
set(CMAKE_CXX_EXTENSIONS OFF) #...without compiler extensions like gnu++11

# Set CMake minimum version and CMake policy required by Urho3D-CMake-common module
if (WIN32)
cmake_minimum_required (VERSION 3.2.3) # Going forward all platforms will use this as minimum version
else ()
cmake_minimum_required (VERSION 2.8.6)
endif ()
if (COMMAND cmake_policy)
cmake_policy (SET CMP0003 NEW)
if (CMAKE_VERSION VERSION_GREATER 2.8.12 OR CMAKE_VERSION VERSION_EQUAL 2.8.12)
# INTERFACE_LINK_LIBRARIES defines the link interface
cmake_policy (SET CMP0022 NEW)
endif ()
if (CMAKE_VERSION VERSION_GREATER 3.0.0 OR CMAKE_VERSION VERSION_EQUAL 3.0.0)
# Disallow use of the LOCATION target property - so we set to OLD as we still need it
cmake_policy (SET CMP0026 OLD)
# MACOSX_RPATH is enabled by default
cmake_policy (SET CMP0042 NEW)
endif ()
endif ()
# Set project name
project (MyMultiLineEdit)
# Set CMake modules search path
set (CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMake/Modules)
# Include Urho3D Cmake common module
include (UrhoCommon)
# Define target name
set (TARGET_NAME MyMultiLineEdit)
# Define source files
define_source_files (EXTRA_H_FILES ${COMMON_SAMPLE_H_FILES}
GLOB_CPP_PATTERNS *.cpp src/*.cpp
GLOB_H_PATTERNS *.h src/*.h GROUP )
# Setup target with resource copying
setup_main_executable ()

INCLUDE_DIRECTORIES(./)
23 changes: 23 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/Check.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRMetallicRoughDiffNormalSpec.xml" quality="0" loddistance="0" />
<texture unit="diffuse" name="Textures/PBR/Check/Albedo.jpg" />
<texture unit="normal" name="Textures/PBR/Check/Normal.jpg" />
<texture unit="specular" name="Textures/PBR/Check/Properties.jpg" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0" />
<parameter name="Metallic" value="0" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<lineantialias enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
18 changes: 18 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/ColorGrid.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRDiff.xml" quality="0" loddistance="0" />
<texture unit="diffuse" name="Textures/T_ColorGrid.png" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="0 0 0 1" />
<parameter name="Roughness" value="0.5" />
<parameter name="Metallic" value="0" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<renderorder value="128" />
</material>
20 changes: 20 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/Concrete.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRMetallicRoughDiffNormalSpec.xml" quality="0" loddistance="0" />
<texture unit="diffuse" name="Textures/PBR/Concrete/Albedo.jpg" />
<texture unit="normal" name="Textures/PBR/Concrete/Normal.jpg" />
<texture unit="specular" name="Textures/PBR/Concrete/PBR.jpg" />
<parameter name="UOffset" value="0.5 0 0 0" />
<parameter name="VOffset" value="0 0.5 0 0" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0" />
<parameter name="Metallic" value="0" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<renderorder value="128" />
</material>
22 changes: 22 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/DiamonPlate.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRMetallicRoughDiffNormalSpec.xml" quality="0" loddistance="0" />
<texture unit="diffuse" name="Textures/PBR/DiamonPlate/Albedo.jpg" />
<texture unit="normal" name="Textures/PBR/DiamonPlate/Normal.jpg" />
<texture unit="specular" name="Textures/PBR/DiamonPlate/Properties.jpg" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0" />
<parameter name="Metallic" value="0" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
19 changes: 19 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/Dynamic.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRNoTexture.xml" quality="0" loddistance="0" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0" />
<parameter name="Metallic" value="1" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
19 changes: 19 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/Emissive.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRNoTexture.xml" quality="0" loddistance="0" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="MatEmissiveColor" value="1 1 1" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="1" />
<parameter name="Metallic" value="0" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
23 changes: 23 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/EmissivePannel.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRMetallicRoughDiffNormalSpecEmissive.xml" quality="0" loddistance="0" />
<texture unit="diffuse" name="Textures/PBR/Emissive Pannel/Albedo.jpg" />
<texture unit="normal" name="Textures/PBR/Emissive Pannel/Normal.jpg" />
<texture unit="specular" name="Textures/PBR/Emissive Pannel/PBR.jpg" />
<texture unit="emissive" name="Textures/PBR/Emissive Pannel/Emissive.jpg" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="MatEmissiveColor" value="1 1 1" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0" />
<parameter name="Metallic" value="0" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
20 changes: 20 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/HighRoughMetallic0.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRNoTexture.xml" quality="0" loddistance="0" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="0.8 0.3 0.1 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0.7" />
<parameter name="Metallic" value="0" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<lineantialias enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
20 changes: 20 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/HighRoughMetallic10.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRNoTexture.xml" quality="0" loddistance="0" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="0.8 0.3 0.1 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0.7" />
<parameter name="Metallic" value="1" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<lineantialias enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
20 changes: 20 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/HighRoughMetallic3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRNoTexture.xml" quality="0" loddistance="0" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="0.8 0.3 0.1 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0.75" />
<parameter name="Metallic" value="0.25" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<lineantialias enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
20 changes: 20 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/HighRoughMetallic5.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRNoTexture.xml" quality="0" loddistance="0" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="0.8 0.3 0.1 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0.7" />
<parameter name="Metallic" value="0.5" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<lineantialias enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
20 changes: 20 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/HighRoughMetallic7.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRNoTexture.xml" quality="0" loddistance="0" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="0.8 0.3 0.1 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0.75" />
<parameter name="Metallic" value="0.75" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<lineantialias enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
22 changes: 22 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/HoverBikeGlass.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRMetallicRoughDiffSpecAlpha.xml" quality="0" loddistance="0" />
<texture unit="diffuse" name="Textures/PBR/HoverBike/Glass/Albedo.jpg" />
<texture unit="normal" name="Textures/PBR/HoverBike/Glass/Normal.jpg" />
<texture unit="specular" name="Textures/PBR/HoverBike/Glass/Properties.jpg" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="1 1 1 0.5" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0" />
<parameter name="Metallic" value="0" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
22 changes: 22 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/HoverBikeHull.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRMetallicRoughDiffNormalSpec.xml" quality="0" loddistance="0" />
<texture unit="diffuse" name="Textures/PBR/HoverBike/Hull/Albedo.jpg" />
<texture unit="normal" name="Textures/PBR/HoverBike/Hull/Normal.jpg" />
<texture unit="specular" name="Textures/PBR/HoverBike/Hull/Properties.jpg" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0" />
<parameter name="Metallic" value="0" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
22 changes: 22 additions & 0 deletions bin/Autoload/LargeData/Materials/PBR/Lead.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0"?>
<material>
<technique name="Techniques/PBR/PBRMetallicRoughDiffNormalSpec.xml" quality="0" loddistance="0" />
<texture unit="diffuse" name="Textures/PBR/Lead/Albedo.jpg" />
<texture unit="normal" name="Textures/PBR/Lead/Normal.jpg" />
<texture unit="specular" name="Textures/PBR/Lead/Properties.jpg" />
<parameter name="UOffset" value="1 0 0 0" />
<parameter name="VOffset" value="0 1 0 0" />
<parameter name="MatDiffColor" value="1 1 1 1" />
<parameter name="MatEmissiveColor" value="0 0 0" />
<parameter name="MatEnvMapColor" value="1 1 1" />
<parameter name="MatSpecColor" value="1 1 1 1" />
<parameter name="Roughness" value="0" />
<parameter name="Metallic" value="0" />
<cull value="ccw" />
<shadowcull value="ccw" />
<fill value="solid" />
<depthbias constant="0" slopescaled="0" />
<alphatocoverage enable="false" />
<renderorder value="128" />
<occlusion enable="true" />
</material>
Loading

0 comments on commit f1df285

Please sign in to comment.