Skip to content

Commit

Permalink
Build ready
Browse files Browse the repository at this point in the history
  • Loading branch information
terrydubois committed Apr 7, 2023
1 parent f7ac7ef commit 9b16a37
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 13,967 deletions.
22 changes: 0 additions & 22 deletions Rezonator/Rezonator.yyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions Rezonator/datafiles/Firebase Web Setup - Release.zip

This file was deleted.

Binary file not shown.
13,665 changes: 0 additions & 13,665 deletions Rezonator/datafiles/Steamworks_Extension_Documentation.html

This file was deleted.

Binary file not shown.
23 changes: 17 additions & 6 deletions Rezonator/objects/obj_aiControl/Draw_0.gml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,32 @@ var promptSendY1 = instInputBox_Prompt.textBoxY;
var promptSendX1 = promptSendX2 - promptSendWidth;
var promptSendY2 = promptSendY1 + promptSendWidth;
var promptSendPadding = 3;
var promptSendHolding = false;
var mouseoverPromptSend = point_in_rectangle(mouse_x, mouse_y, promptSendX1, promptSendY1, promptSendX2, promptSendY2) && !mouseoverCancel;
draw_set_alpha(mouseoverPromptSend ? 1 : 0.5);
draw_set_color(global.colorThemeBG);
draw_roundrect(promptSendX1 + (promptSendPadding * 2), promptSendY1 + promptSendPadding, promptSendX2, promptSendY2 - promptSendPadding, false);
draw_set_alpha(1);
draw_sprite_ext(spr_send, 0, floor(mean(promptSendX1, promptSendX2)), floor(mean(promptSendY1, promptSendY2)), 1, 1, 0, global.colorThemeSelected2, 1);
if (mouseoverPromptSend) {
scr_createTooltip(floor(mean(promptSendX1, promptSendX2)), promptSendY2, scr_get_translation("option_submit-prompt"), TOOLTIP_DIR_UP);
if (mouse_check_button_pressed(mb_left)) {
mousePressedButton = "send";
}
if (mouse_check_button(mb_left) && mousePressedButton == "send") promptSendHolding = true;
if (mouse_check_button_released(mb_left) && mousePressedButton == "send") {
sendPrompt = true;
if (is_string(instInputBox_Prompt.str) && instInputBox_Prompt.str != "") {
sendPrompt = true;
}
}
}
if (keyboard_check(vk_enter) && is_string(instInputBox_Prompt.str) && instInputBox_Prompt.str != "") promptSendHolding = true;
draw_set_alpha(mouseoverPromptSend || promptSendHolding ? 1 : 0.5);
draw_set_color(global.colorThemeBG);
draw_roundrect(promptSendX1 + (promptSendPadding * 2), promptSendY1 + promptSendPadding, promptSendX2, promptSendY2 - promptSendPadding, false);
draw_set_alpha(1);
if (promptSendHolding) {
draw_set_color(global.colorThemeText);
draw_roundrect(promptSendX1 + (promptSendPadding * 2), promptSendY1 + promptSendPadding, promptSendX2, promptSendY2 - promptSendPadding, true);
}
draw_sprite_ext(spr_send, 0, floor(mean(promptSendX1, promptSendX2)), floor(mean(promptSendY1, promptSendY2)), 1, 1, 0, global.colorThemeSelected2, 1);



// position AI prompt input box
var _instInputBox_ApiKey = instInputBox_ApiKey;
Expand Down
2 changes: 1 addition & 1 deletion Rezonator/objects/obj_aiControl/Step_0.gml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// use enter key to submit prompt
if (keyboard_check_released(vk_enter)) sendPrompt = true;
if (keyboard_check_released(vk_enter) && is_string(instInputBox_Prompt.str) && instInputBox_Prompt.str != "") sendPrompt = true;

// when sending prompt, check that prompt and api key are both valid strings and then send request
if (sendPrompt) {
Expand Down
4 changes: 2 additions & 2 deletions Rezonator/options/windows/options_windows.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

102 changes: 0 additions & 102 deletions Rezonator/post_build_step.bat

This file was deleted.

74 changes: 0 additions & 74 deletions Rezonator/post_build_step.sh

This file was deleted.

46 changes: 0 additions & 46 deletions Rezonator/post_package_step.bat

This file was deleted.

44 changes: 0 additions & 44 deletions Rezonator/post_package_step.sh

This file was deleted.

4 changes: 2 additions & 2 deletions Rezonator/scripts/scr_macros/scr_macros.gml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ function scr_macros(){

#region BUILD SETTINGS
// set BUILD to true when you want to load CJK fonts, set false if not
#macro BUILD false
#macro BUILD true

// BUILDTYPE should be set to one of the following values:
// "Windows_GitHub_Master", "Mac_GitHub_Master", "Windows_GitHub_Release"
// "Mac_GitHub_Release", "Steam", "Windows_Website", "Mac_Website", "Web"
#macro BUILDTYPE "Windows_Website"
#macro BUILDTYPE "Windows_Website"

// to set whether Steam is enabled, open the Steamworks extension in the Asset Browser
// and set the platforms and App ID
Expand Down

0 comments on commit 9b16a37

Please sign in to comment.