Added static, maps, and data folders to build files, fixed crash for AssetViewer tool

This commit is contained in:
2020-03-23 17:32:16 -05:00
parent 87fcc3a05c
commit cb7b3d4883
5 changed files with 13 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
source "https://rubygems.org" source "https://rubygems.org"
gem "opengl-bindings", require: "opengl" gem "opengl-bindings", require: "opengl"
gem "cyberarm_engine", git: "https://github.com/cyberarm/cyberarm_engine" gem "cyberarm_engine", git: "https://github.com/cyberarm/cyberarm_engine"
gem "nokogiri" gem "nokogiri", ">= 1.11.0.rc1"
group(:packaging) do group(:packaging) do
gem "ocra" gem "ocra"

View File

@@ -1,26 +1,26 @@
GIT GIT
remote: https://github.com/cyberarm/cyberarm_engine remote: https://github.com/cyberarm/cyberarm_engine
revision: 9a3caabc7e36f572ef458dc473edd2961dad8f40 revision: 8cedb402833b7c81c30108ebc7bcd2e2849b6fa5
specs: specs:
cyberarm_engine (0.12.1) cyberarm_engine (0.13.0)
gosu (~> 0.14.0) gosu (~> 0.15.0)
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
gosu (0.14.5) gosu (0.15.1-x64-mingw32)
gosu (0.14.5-x64-mingw32) mini_portile2 (2.4.0)
gosu (0.14.5-x86-mingw32) nokogiri (1.11.0.rc1-x64-mingw32)
ocra (1.3.10) mini_portile2 (~> 2.4.0)
ocra (1.3.11)
opengl-bindings (1.6.9) opengl-bindings (1.6.9)
PLATFORMS PLATFORMS
ruby
x64-mingw32 x64-mingw32
x86-mingw32
DEPENDENCIES DEPENDENCIES
cyberarm_engine! cyberarm_engine!
nokogiri (>= 1.11.0.rc1)
ocra ocra
opengl-bindings opengl-bindings

View File

@@ -7,7 +7,7 @@ Releasy::Project.new do
version "#{IMICFPS::VERSION}" version "#{IMICFPS::VERSION}"
executable "i-mic-fps.rb" executable "i-mic-fps.rb"
files ["lib/**/*.*", "assets/**/*.*", "blends/**/*.*", "shaders/**/*.*"] files ["lib/**/*.*", "assets/**/*.*", "blends/**/*.*", "shaders/**/*.*", "static/**/*.*", "maps/**/*.*", "data/**/*.*"]
exclude_encoding # Applications that don't use advanced encoding (e.g. Japanese characters) can save build size with this. exclude_encoding # Applications that don't use advanced encoding (e.g. Japanese characters) can save build size with this.
verbose verbose

View File

@@ -20,7 +20,7 @@ class IMICFPS
@map = ProtoMap.new @map = ProtoMap.new
Publisher.new Publisher.new
@entity = Entity.new(manifest: @manifest, auto_manage: false) @entity = Entity.new(manifest: @manifest)
@entity.bind_model @entity.bind_model
@map.add_entity(@entity) @map.add_entity(@entity)
@map.entities.each { |e| e.backface_culling = false } @map.entities.each { |e| e.backface_culling = false }

View File

@@ -1,4 +1,4 @@
const int MAX_LIGHTS = 4; const int MAX_LIGHTS = 2;
struct Light { struct Light {
float end; float end;