Skip to content

Commit

Permalink
fixes wrong enum call
Browse files Browse the repository at this point in the history
last fixed before 0.3.0 version release.
  • Loading branch information
ericoporto committed Jun 7, 2020
1 parent 2b2206c commit 5f9dddb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion agsimgui_demo/room1.asc
Expand Up @@ -5,7 +5,7 @@ function room_RepExec()
AgsImGui.NewFrame(); //let's begin a new frame, we end it with a Render
AgsImGui.ShowDemoWindow(); //Shows a demo of everything possible

AgsImGui.SetNextWindowPos(16, 16, ImGuiCond_Always);
AgsImGui.SetNextWindowPos(16, 16, eImGuiCond_Always);
AgsImGui.BeginWindow("Level Selector",false, eImGuiWindowFlags_NoTitleBar);
if(AgsImGui.Button("Go To Next Level")) player.ChangeRoom(2, 424, 561, eDirectionDown);
AgsImGui.EndWindow();
Expand Down
2 changes: 1 addition & 1 deletion agsimgui_demo/room2.asc
Expand Up @@ -35,7 +35,7 @@ void room_RepExec(){


// This is our corner GUI to help us go to the next level
AgsImGui.SetNextWindowPos(16, 16, ImGuiCond_Always);
AgsImGui.SetNextWindowPos(16, 16, eImGuiCond_Always);
AgsImGui.BeginWindow("Level Selector",false, eImGuiWindowFlags_NoTitleBar);
if(AgsImGui.Button("Go To Next Level")) AgsImGui.OpenPopup("Do you really want to?");

Expand Down
4 changes: 2 additions & 2 deletions agsimgui_demo/room3.asc
Expand Up @@ -27,7 +27,7 @@ function room_RepExec()
{
AgsImGui.NewFrame();

AgsImGui.SetNextWindowPos(16, 16, ImGuiCond_Always);
AgsImGui.SetNextWindowPos(16, 16, eImGuiCond_Always);
AgsImGui.BeginWindow("Level Selector",false, eImGuiWindowFlags_NoTitleBar);
if(AgsImGui.Button("Go To Next Level")) player.ChangeRoom(4, 160, 160, eDirectionDown);
AgsImGui.EndWindow();
Expand Down Expand Up @@ -58,7 +58,7 @@ function room_RepExec()
AgsImGui.EndWindow();

if(key_count > 3){
AgsImGui.SetNextWindowPos(16, 16, ImGuiCond_Always);
AgsImGui.SetNextWindowPos(16, 16, eImGuiCond_Always);
AgsImGui.BeginWindow("End Demo",false, eImGuiWindowFlags_NoTitleBar);
if(AgsImGui.Button("Click Here to End Game")) QuitGame(0);
AgsImGui.EndWindow();
Expand Down
2 changes: 1 addition & 1 deletion agsimgui_demo/room4.asc
Expand Up @@ -5,7 +5,7 @@ function room_RepExec()
AgsImGui.ShowDemoWindow(); //Shows a demo of everything possible

// This is our corner GUI to help us Quit the game
AgsImGui.SetNextWindowPos(16, 16, ImGuiCond_Always);
AgsImGui.SetNextWindowPos(16, 16, eImGuiCond_Always);
AgsImGui.BeginWindow("Level Selector",false, eImGuiWindowFlags_NoTitleBar);
if(AgsImGui.Button("Quit Game")) AgsImGui.OpenPopup("Do you really want to Quit?");

Expand Down
Binary file modified agsimgui_demo/room4.crm
Binary file not shown.

0 comments on commit 5f9dddb

Please sign in to comment.