mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
In Respawn's engine, the '-forceborder' command line parameter does the same thing as '-noborder'. '-forceborder' should remove the flags (nand) while '-noborder' should append the borderless flag. This code is an attempt to mitigate the problem. There was not enough bytes to assemble the nand operation for this code path without involving code caves or shifting.
28 lines
667 B
C
28 lines
667 B
C
#ifndef IMATERIALSYSTEM_H
|
|
#define IMATERIALSYSTEM_H
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Video mode info..
|
|
//-----------------------------------------------------------------------------
|
|
struct MaterialVideoMode_t
|
|
{
|
|
int m_Width;
|
|
int m_Height;
|
|
int m_Format;
|
|
int m_RefreshRate;
|
|
};
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Material system config..
|
|
//-----------------------------------------------------------------------------
|
|
struct MaterialSystem_Config_t
|
|
{
|
|
MaterialVideoMode_t m_VideoMode;
|
|
int m_nPad;
|
|
int m_Flags;
|
|
|
|
// TODO: The rest..
|
|
};
|
|
|
|
#endif // IMATERIALSYSTEM_H
|