mirror of
https://github.com/HarbourMasters/Starship
synced 2026-05-23 06:54:39 -04:00
update LUS
This commit is contained in:
+1
-1
Submodule libultraship updated: dda07c8ac6...a8cddd2f89
@@ -186,7 +186,7 @@ float4 PSMain(PSInput input, float4 screenSpace : SV_Position) : SV_TARGET {
|
||||
float2 tc@{i} = input.uv@{i};
|
||||
@{s = o_clamp[i][0]}
|
||||
@{t = o_clamp[i][1]}
|
||||
@if(s && t)
|
||||
@if(s || t)
|
||||
int2 texSize@{i};
|
||||
g_texture@{i}.GetDimensions(texSize@{i}.x, texSize@{i}.y);
|
||||
@if(s && t)
|
||||
@@ -224,7 +224,7 @@ float4 PSMain(PSInput input, float4 screenSpace : SV_Position) : SV_TARGET {
|
||||
@else
|
||||
float4 blendVal@{i} = float4(0, 0, 0, 0);
|
||||
@end
|
||||
texval@{i} = lerp(texVal@{i}, blendVal@{i}, g_textureMask@{i}.Sample(g_sampler@{i}, tc@{i}).a);
|
||||
texVal@{i} = lerp(texVal@{i}, blendVal@{i}, g_textureMask@{i}.Sample(g_sampler@{i}, tc@{i}).a);
|
||||
@end
|
||||
}
|
||||
@else
|
||||
@@ -329,4 +329,4 @@ float4 PSMain(PSInput input, float4 screenSpace : SV_Position) : SV_TARGET {
|
||||
return float4(texel, 1.0);
|
||||
@end
|
||||
@end
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,7 +70,12 @@ GameEngine::GameEngine() {
|
||||
|
||||
std::vector<std::string> archiveFiles;
|
||||
const std::string main_path = Ship::Context::GetPathRelativeToAppDirectory("sf64.o2r");
|
||||
#ifdef __linux__
|
||||
const std::string assets_path = Ship::Context::GetPathRelativeToAppBundle("starship.o2r");
|
||||
#else
|
||||
const std::string assets_path = Ship::Context::GetPathRelativeToAppDirectory("starship.o2r");
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
AllocConsole();
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "resourcebridge.h"
|
||||
#include "ResourceManager.h"
|
||||
#include "Context.h"
|
||||
|
||||
namespace SF64 {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "sf64audio_provisional.h"
|
||||
#define DR_WAV_IMPLEMENTATION
|
||||
#include <dr_wav.h>
|
||||
|
||||
#include <tinyxml2.h>
|
||||
#define DR_MP3_IMPLEMENTATION
|
||||
#include <dr_mp3.h>
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "utils/StringHelper.h"
|
||||
#include <sf64audio_provisional.h>
|
||||
#include "port/resource/type/audio/SoundFont.h"
|
||||
#include <tinyxml2.h>
|
||||
|
||||
namespace SF64 {
|
||||
std::shared_ptr<Ship::IResource> ResourceFactoryBinarySoundFontV0::ReadResource(std::shared_ptr<Ship::File> file,
|
||||
|
||||
Reference in New Issue
Block a user