mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- updated script definitions to silcence startup warnings.
This commit is contained in:
parent
dff8339ba3
commit
46a1fe3826
2 changed files with 17 additions and 3 deletions
|
@ -541,7 +541,7 @@ DEFINE_ACTION_FUNCTION(_CVar, FindCVar)
|
|||
//
|
||||
//
|
||||
//=============================================================================
|
||||
|
||||
#if 0
|
||||
DEFINE_ACTION_FUNCTION(FKeyBindings, SetBind)
|
||||
{
|
||||
PARAM_SELF_STRUCT_PROLOGUE(FKeyBindings);
|
||||
|
@ -623,7 +623,7 @@ DEFINE_ACTION_FUNCTION(DOptionMenuItemCommand, DoCommand)
|
|||
C_DoCommand(cmd);
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
DEFINE_ACTION_FUNCTION(_Console, MidPrint)
|
||||
{
|
||||
PARAM_PROLOGUE;
|
||||
|
|
|
@ -155,9 +155,22 @@ enum DrawTextureTags
|
|||
|
||||
DTA_FullscreenEx, // advanced fullscreen control.
|
||||
DTA_FullscreenScale, // enable DTA_Fullscreen coordinate calculation for placed overlays.
|
||||
DTA_ScaleX, // scales the patch dimensions before applying any other transformation.
|
||||
|
||||
DTA_ScaleX,
|
||||
DTA_ScaleY,
|
||||
|
||||
DTA_ViewportX, // Defines the viewport on the screen that should be rendered to.
|
||||
DTA_ViewportY,
|
||||
DTA_ViewportWidth,
|
||||
DTA_ViewportHeight,
|
||||
DTA_CenterOffsetRel, // Apply texture offsets relative to center, instead of top left. This is standard alignment for Build's 2D content.
|
||||
DTA_TopLeft, // always align to top left. Added to have a boolean condition for this alignment.
|
||||
DTA_Pin, // Pin a non-widescreen image to the left/right edge of the screen.
|
||||
DTA_Rotate,
|
||||
DTA_FlipOffsets, // Flips offsets when using DTA_FlipX and DTA_FlipY, this cannot be automatic due to unexpected behavior with unoffsetted graphics.
|
||||
DTA_Indexed, // Use an indexed texture combined with the given translation.
|
||||
DTA_CleanTop, // Like DTA_Clean but aligns to the top of the screen instead of the center.
|
||||
|
||||
};
|
||||
|
||||
class Shape2DTransform : Object native
|
||||
|
@ -205,6 +218,7 @@ struct Screen native
|
|||
native static void ClearClipRect();
|
||||
native static int, int, int, int GetClipRect();
|
||||
//native static int, int, int, int GetViewWindow();
|
||||
native static double, double, double, double GetFullscreenRect(double vwidth, double vheight, int fsmode);
|
||||
}
|
||||
|
||||
struct Font native
|
||||
|
|
Loading…
Reference in a new issue