forked from alterware/s1-mod
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			master
			...
			disc-read-
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 25cd907a32 | |||
| 8acf4fcf8b | 
							
								
								
									
										32
									
								
								deps/premake/wintoast.lua
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										32
									
								
								deps/premake/wintoast.lua
									
									
									
									
										vendored
									
									
								
							| @@ -1,32 +0,0 @@ | |||||||
| 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,6 +189,9 @@ 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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user