mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-11 13:21:39 +00:00
84173ee09b
The main bulk of this is the new start screen code. To make this work in Raze some more work on the startup procedure is needed. What this does provide is support for the DOS end-of-game text screens in Duke and SW on non-Windows systems.
31 lines
747 B
C++
31 lines
747 B
C++
#pragma once
|
|
|
|
#include "tarray.h"
|
|
#include "zstring.h"
|
|
#include "utility"
|
|
|
|
FString RemoveLegacyUserUniforms(FString code);
|
|
FString RemoveSamplerBindings(FString code, TArray<std::pair<FString, int>> &samplerstobind); // For GL 3.3 compatibility which cannot declare sampler bindings in the sampler source.
|
|
FString RemoveLayoutLocationDecl(FString code, const char *inoutkeyword);
|
|
|
|
struct FDefaultShader
|
|
{
|
|
const char * ShaderName;
|
|
const char * gettexelfunc;
|
|
const char * lightfunc;
|
|
const char * Defines;
|
|
};
|
|
|
|
struct FEffectShader
|
|
{
|
|
const char *ShaderName;
|
|
const char *vp;
|
|
const char *fp1;
|
|
const char *fp2;
|
|
const char *fp3;
|
|
const char *defines;
|
|
};
|
|
|
|
extern const FDefaultShader defaultshaders[];
|
|
extern const FEffectShader effectshaders[];
|
|
|