mirror of
https://github.com/PrimeDecomp/PrimeRemasterStructs.git
synced 2026-07-12 18:18:58 -07:00
Add shader hint template
This commit is contained in:
@@ -16,12 +16,20 @@ typedef struct
|
||||
|
||||
string StringRead(CString &str)
|
||||
{
|
||||
return str.text;
|
||||
if (exists(str.text)) {
|
||||
return str.text;
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
string StringReadFixed(CStringFixed &str)
|
||||
{
|
||||
return str.text;
|
||||
if (exists(str.text)) {
|
||||
return str.text;
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
typedef char FourCC[4] <fgcolor=cLtGreen>;
|
||||
|
||||
@@ -31,6 +31,7 @@ if (!exists(isDKCTF)) {
|
||||
#include "CUniverseInfo.bt"
|
||||
#include "CVectorField.bt"
|
||||
#include "MessageTable.bt"
|
||||
#include "NShaderHint.bt"
|
||||
// #include "CRuleSet.bt"
|
||||
#include "CGameAreaResource.bt"
|
||||
#include "CScaleformFlashLibrary.bt"
|
||||
@@ -129,6 +130,9 @@ typedef struct {
|
||||
case "GUIF":
|
||||
CGuiFrame frame;
|
||||
break;
|
||||
case "SHNT":
|
||||
NShaderHint shaderHints;
|
||||
break;
|
||||
}
|
||||
FSeek(start + form.size);
|
||||
} File<open = true, bgcolor = cSilver>;
|
||||
|
||||
Reference in New Issue
Block a user