Clean up Premake5.lua
This commit is contained in:
parent
653760952c
commit
790b75e186
@ -161,7 +161,7 @@ newaction {
|
|||||||
local versionHeader = assert(io.open(wks.location .. "/src/version.h", "w"))
|
local versionHeader = assert(io.open(wks.location .. "/src/version.h", "w"))
|
||||||
versionHeader:write("/*\n")
|
versionHeader:write("/*\n")
|
||||||
versionHeader:write(" * Automatically generated by premake5.\n")
|
versionHeader:write(" * Automatically generated by premake5.\n")
|
||||||
versionHeader:write(" * Do not touch, you fucking moron!\n")
|
versionHeader:write(" * Do not touch!\n")
|
||||||
versionHeader:write(" */\n")
|
versionHeader:write(" */\n")
|
||||||
versionHeader:write("\n")
|
versionHeader:write("\n")
|
||||||
versionHeader:write("#define GIT_DESCRIBE " .. gitDescribeOutputQuoted .. "\n")
|
versionHeader:write("#define GIT_DESCRIBE " .. gitDescribeOutputQuoted .. "\n")
|
||||||
@ -181,7 +181,7 @@ newaction {
|
|||||||
local versionHeader = assert(io.open(wks.location .. "/src/version.hpp", "w"))
|
local versionHeader = assert(io.open(wks.location .. "/src/version.hpp", "w"))
|
||||||
versionHeader:write("/*\n")
|
versionHeader:write("/*\n")
|
||||||
versionHeader:write(" * Automatically generated by premake5.\n")
|
versionHeader:write(" * Automatically generated by premake5.\n")
|
||||||
versionHeader:write(" * Do not touch, you fucking moron!\n")
|
versionHeader:write(" * Do not touch!\n")
|
||||||
versionHeader:write(" *\n")
|
versionHeader:write(" *\n")
|
||||||
versionHeader:write(" * This file exists for reasons of complying with our coding standards.\n")
|
versionHeader:write(" * This file exists for reasons of complying with our coding standards.\n")
|
||||||
versionHeader:write(" *\n")
|
versionHeader:write(" *\n")
|
||||||
|
@ -930,7 +930,7 @@ namespace Game
|
|||||||
typedef Font_s* (__cdecl* UI_GetFontHandle_t)(ScreenPlacement* scrPlace, int fontEnum, float scale);
|
typedef Font_s* (__cdecl* UI_GetFontHandle_t)(ScreenPlacement* scrPlace, int fontEnum, float scale);
|
||||||
extern UI_GetFontHandle_t UI_GetFontHandle;
|
extern UI_GetFontHandle_t UI_GetFontHandle;
|
||||||
|
|
||||||
typedef void(__cdecl* ScrPlace_ApplyRect_t)(ScreenPlacement* a1, float* x, float* y, float* w, float* h, int horzAlign, int vertAlign);
|
typedef void(__cdecl* ScrPlace_ApplyRect_t)(const ScreenPlacement* scrPlace, float* x, float* y, float* w, float* h, int horzAlign, int vertAlign);
|
||||||
extern ScrPlace_ApplyRect_t ScrPlace_ApplyRect;
|
extern ScrPlace_ApplyRect_t ScrPlace_ApplyRect;
|
||||||
|
|
||||||
typedef const char*(__cdecl * Win_GetLanguage_t)();
|
typedef const char*(__cdecl * Win_GetLanguage_t)();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user