fix the stupid
This commit is contained in:
parent
00f269ca7e
commit
06f6550624
4
.github/workflows/appimage.yml
vendored
4
.github/workflows/appimage.yml
vendored
@ -38,11 +38,11 @@ jobs:
|
|||||||
# install EnTT
|
# install EnTT
|
||||||
git clone https://github.com/skypjack/entt.git
|
git clone https://github.com/skypjack/entt.git
|
||||||
cd entt/build
|
cd entt/build
|
||||||
cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Debug -DENTT_INSTALL=on ..
|
cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on ..
|
||||||
sudo make install
|
sudo make install
|
||||||
cd ../..
|
cd ../..
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: cmake -S . -B build -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Debug -DVOXELENGINE_BUILD_APPDIR=1 -DVOXELENGINE_BUILD_TESTS=ON -DVC_BUILD_NAME="${{ inputs.build_name }}"
|
run: cmake -S . -B build -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_APPDIR=1 -DVOXELENGINE_BUILD_TESTS=ON -DVC_BUILD_NAME="${{ inputs.build_name }}"
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build -t install
|
run: cmake --build build -t install
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
|
|||||||
@ -496,7 +496,6 @@ audio.__reset_fetch_buffer = nil
|
|||||||
core.get_core_token = audio.input.__get_core_token
|
core.get_core_token = audio.input.__get_core_token
|
||||||
|
|
||||||
function __process_post_runnables()
|
function __process_post_runnables()
|
||||||
print("1")
|
|
||||||
if #__post_runnables then
|
if #__post_runnables then
|
||||||
for _, func in ipairs(__post_runnables) do
|
for _, func in ipairs(__post_runnables) do
|
||||||
local status, result = xpcall(func, __vc__error)
|
local status, result = xpcall(func, __vc__error)
|
||||||
@ -507,7 +506,6 @@ function __process_post_runnables()
|
|||||||
__post_runnables = {}
|
__post_runnables = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
print("2")
|
|
||||||
local dead = {}
|
local dead = {}
|
||||||
for name, co in pairs(__vc_named_coroutines) do
|
for name, co in pairs(__vc_named_coroutines) do
|
||||||
local success, err = coroutine.resume(co)
|
local success, err = coroutine.resume(co)
|
||||||
@ -522,15 +520,10 @@ function __process_post_runnables()
|
|||||||
__vc_named_coroutines[name] = nil
|
__vc_named_coroutines[name] = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
print("3")
|
|
||||||
fn_audio_reset_fetch_buffer()
|
fn_audio_reset_fetch_buffer()
|
||||||
print("4")
|
|
||||||
debug.pull_events()
|
debug.pull_events()
|
||||||
print("5")
|
|
||||||
network.__process_events()
|
network.__process_events()
|
||||||
print("6")
|
|
||||||
block.__process_register_events()
|
block.__process_register_events()
|
||||||
print("7")
|
|
||||||
block.__perform_ticks(time.delta())
|
block.__perform_ticks(time.delta())
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@ -520,7 +520,7 @@ static int l_pull_events(lua::State* L, network::Network& network) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static int l_is_available(lua::State* L) {
|
static int l_is_available(lua::State* L) {
|
||||||
return engine->getNetwork() != nullptr;
|
return lua::pushboolean(L, engine->getNetwork() != nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <int(*func)(lua::State*, network::Network&)>
|
template <int(*func)(lua::State*, network::Network&)>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user