diff options
author | chai <chaifix@163.com> | 2019-01-21 20:26:33 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-01-21 20:26:33 +0800 |
commit | 14c54b13021b8512f784fa9d943d7567f6ebf2f5 (patch) | |
tree | 5ac4ac7ce584c0db32daf53ea92f3800376952e2 /Source | |
parent | de619ff34b3e82f10908c2e62e1fef948fbf8601 (diff) |
*packer
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Asura.Editor/Scripts/main.lua | 3 | ||||
-rw-r--r-- | Source/Asura.Engine/Audio/Source.cpp | 0 | ||||
-rw-r--r-- | Source/Asura.Engine/Audio/Source.h | 0 | ||||
-rw-r--r-- | Source/Asura.Framework/Audio/SoundPlayer.lua | 3 | ||||
-rw-r--r-- | Source/Asura.Framework/Filesystem/AnimationLoader.lua | 3 | ||||
-rw-r--r-- | Source/Asura.Framework/Framework.lua | 1 | ||||
-rw-r--r-- | Source/Asura.Framework/Graphics/Animation.lua | 3 | ||||
-rw-r--r-- | Source/Asura.Framework/Graphics/Camera.lua | 2 | ||||
-rw-r--r-- | Source/Asura.Framework/Graphics/Material.lua | 12 | ||||
-rw-r--r-- | Source/Asura.Framework/Graphics/Renderer.lua | 3 | ||||
-rw-r--r-- | Source/Asura.Packer/main.cpp | 11 | ||||
-rw-r--r-- | Source/Asura.Runner/main.cpp | 4 |
12 files changed, 37 insertions, 8 deletions
diff --git a/Source/Asura.Editor/Scripts/main.lua b/Source/Asura.Editor/Scripts/main.lua new file mode 100644 index 0000000..045e6c3 --- /dev/null +++ b/Source/Asura.Editor/Scripts/main.lua @@ -0,0 +1,3 @@ +local Editor = require("Asura.Editor") + + diff --git a/Source/Asura.Engine/Audio/Source.cpp b/Source/Asura.Engine/Audio/Source.cpp deleted file mode 100644 index e69de29..0000000 --- a/Source/Asura.Engine/Audio/Source.cpp +++ /dev/null diff --git a/Source/Asura.Engine/Audio/Source.h b/Source/Asura.Engine/Audio/Source.h deleted file mode 100644 index e69de29..0000000 --- a/Source/Asura.Engine/Audio/Source.h +++ /dev/null diff --git a/Source/Asura.Framework/Audio/SoundPlayer.lua b/Source/Asura.Framework/Audio/SoundPlayer.lua new file mode 100644 index 0000000..8bbeddb --- /dev/null +++ b/Source/Asura.Framework/Audio/SoundPlayer.lua @@ -0,0 +1,3 @@ +local SoundPlayer = AsuraEngine.Component.New("SoundPlayer") + +return SoundPlayer
\ No newline at end of file diff --git a/Source/Asura.Framework/Filesystem/AnimationLoader.lua b/Source/Asura.Framework/Filesystem/AnimationLoader.lua index 5d19758..f1dee29 100644 --- a/Source/Asura.Framework/Filesystem/AnimationLoader.lua +++ b/Source/Asura.Framework/Filesystem/AnimationLoader.lua @@ -1,7 +1,8 @@ local AnimationLoader = AsuraEngine.Loader.New("animation") local AnimationManager = require "AnimationManager" +local Animation = require "Animation" -function AnimationLoader.Load(mat) +function AnimationLoader.Load(asset) local animation = AsuraEngine.Class() diff --git a/Source/Asura.Framework/Framework.lua b/Source/Asura.Framework/Framework.lua new file mode 100644 index 0000000..b465f78 --- /dev/null +++ b/Source/Asura.Framework/Framework.lua @@ -0,0 +1 @@ +require ""
\ No newline at end of file diff --git a/Source/Asura.Framework/Graphics/Animation.lua b/Source/Asura.Framework/Graphics/Animation.lua index b73cdd8..8b52683 100644 --- a/Source/Asura.Framework/Graphics/Animation.lua +++ b/Source/Asura.Framework/Graphics/Animation.lua @@ -1,5 +1,6 @@ +--animation assetĬԴ local Animation = AsuraEngine.Asset.New("animation") -return Animation
\ No newline at end of file +AsuraEngine.Animation = Animation
\ No newline at end of file diff --git a/Source/Asura.Framework/Graphics/Camera.lua b/Source/Asura.Framework/Graphics/Camera.lua index 4c18f96..41d4394 100644 --- a/Source/Asura.Framework/Graphics/Camera.lua +++ b/Source/Asura.Framework/Graphics/Camera.lua @@ -4,6 +4,4 @@ Camera.mIsOnScreen = false Camera.mIsCulling = false - - return Camera
\ No newline at end of file diff --git a/Source/Asura.Framework/Graphics/Material.lua b/Source/Asura.Framework/Graphics/Material.lua index 5875efc..5f7a7fa 100644 --- a/Source/Asura.Framework/Graphics/Material.lua +++ b/Source/Asura.Framework/Graphics/Material.lua @@ -4,14 +4,22 @@ local Material = AsuraEngine.Class() function Material:Ctor() - + end function Material:ToAsset() end -function Material:GetUniform() +function Material:GetUniform(id, value) + +end + +function Material:SendFloat() + +end + +function Material:GetUniformID() end diff --git a/Source/Asura.Framework/Graphics/Renderer.lua b/Source/Asura.Framework/Graphics/Renderer.lua index e69de29..1e44c73 100644 --- a/Source/Asura.Framework/Graphics/Renderer.lua +++ b/Source/Asura.Framework/Graphics/Renderer.lua @@ -0,0 +1,3 @@ +local Renderer = Class() + +return Renderer
\ No newline at end of file diff --git a/Source/Asura.Packer/main.cpp b/Source/Asura.Packer/main.cpp new file mode 100644 index 0000000..71687d2 --- /dev/null +++ b/Source/Asura.Packer/main.cpp @@ -0,0 +1,11 @@ +/* +assets飺 +1) ɾűеע +2) ɾűеAsuraEditor +3) ѹ +*/ + +int main() +{ + +}
\ No newline at end of file diff --git a/Source/Asura.Runner/main.cpp b/Source/Asura.Runner/main.cpp index 1e71d40..218b1a9 100644 --- a/Source/Asura.Runner/main.cpp +++ b/Source/Asura.Runner/main.cpp @@ -1,6 +1,6 @@ // ϷᱻһԴļrunnerȡݣϷ - +// RunnerֻܶȡpackerϷļeditorֱϷassetsRunnerһСл int main() { -} +}
\ No newline at end of file |