forked from alterware/s1-mod
Compare commits
No commits in common. "disc-read-error" and "master" have entirely different histories.
disc-read-
...
master
32
deps/premake/wintoast.lua
vendored
Normal file
32
deps/premake/wintoast.lua
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
wintoast = {
|
||||||
|
source = path.join(dependencies.basePath, "WinToast"),
|
||||||
|
}
|
||||||
|
|
||||||
|
function wintoast.import()
|
||||||
|
links { "WinToast" }
|
||||||
|
wintoast.includes()
|
||||||
|
end
|
||||||
|
|
||||||
|
function wintoast.includes()
|
||||||
|
includedirs {
|
||||||
|
path.join(wintoast.source, "include"),
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
function wintoast.project()
|
||||||
|
project "WinToast"
|
||||||
|
language "C++"
|
||||||
|
|
||||||
|
wintoast.includes()
|
||||||
|
rapidjson.import();
|
||||||
|
|
||||||
|
files {
|
||||||
|
path.join(wintoast.source, "include/wintoastlib.h"),
|
||||||
|
path.join(wintoast.source, "src/wintoastlib.cpp"),
|
||||||
|
}
|
||||||
|
|
||||||
|
warnings "Off"
|
||||||
|
kind "StaticLib"
|
||||||
|
end
|
||||||
|
|
||||||
|
table.insert(dependencies, wintoast)
|
@ -189,9 +189,6 @@ namespace mods
|
|||||||
// Load mod.ff
|
// Load mod.ff
|
||||||
utils::hook::call(0x1405A562A, db_load_x_assets_stub); // R_LoadGraphicsAssets According to myself but I don't remember where I got it from
|
utils::hook::call(0x1405A562A, db_load_x_assets_stub); // R_LoadGraphicsAssets According to myself but I don't remember where I got it from
|
||||||
|
|
||||||
// Allow loading of unsigned fastfiles
|
|
||||||
utils::hook::nop(0x1402427A5, 2); // DB_InflateInit
|
|
||||||
|
|
||||||
command::add("loadmod", [](const command::params& params) -> void
|
command::add("loadmod", [](const command::params& params) -> void
|
||||||
{
|
{
|
||||||
if (params.size() != 2)
|
if (params.size() != 2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user