mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-12 08:00:55 +02:00
Soviets will now have paratroopers at the start of soviet mission 1, modified lua GiveSpecialWeapon and super code to allow perputual usage of script granted super weapons even if the prereq requirements aren't met.
This commit is contained in:
@@ -170,6 +170,14 @@ void GL_DrawForegroundText(int color, int x, int y, char* text) {
|
||||
ImGui::GetForegroundDrawList()->AddText(pos, ImGui::ColorConvertFloat4ToU32(ImVec4(r, g, b, 1)), text);
|
||||
}
|
||||
|
||||
void GL_DrawForegroundText(int color, float fontsize, float r, float g, float b, int x, int y, char* text) {
|
||||
ImVec2 pos(x, y);
|
||||
float _r = r / 255.0f;
|
||||
float _g = r / 255.0f;
|
||||
float _b = r / 255.0f;
|
||||
ImGui::GetForegroundDrawList()->AddText(NULL, fontsize, pos, ImGui::ColorConvertFloat4ToU32(ImVec4(_r, _g, _b, 1)), text);
|
||||
}
|
||||
|
||||
void GL_DrawLine(int color, int x, int y, int dx, int dy) {
|
||||
ImVec2 pos(x, y);
|
||||
ImVec2 pos2(dx, dy);
|
||||
|
||||
Reference in New Issue
Block a user