@@ -25,8 +25,8 @@ if (settings=1){
2525 draw_text (xx+493 ,yy+281 ,string_hash_to_newline (" Effects Volume" ));
2626 draw_text (xx+493 ,yy+339 ,string_hash_to_newline (" Music Volume" ));
2727 draw_text (xx+493 ,yy+423 ,string_hash_to_newline (" Full Screen?:" ));
28+ draw_text (xx+493 ,yy+483 ,string_hash_to_newline (" Enable Autosaves?:" ));
2829 // draw_text(xx+493,yy+423+59,string_hash_to_newline("Large Text?:"));
29- // draw_text(xx+493,yy+483+59,string_hash_to_newline("Heresy?:"));
3030
3131 draw_set_color (0 );// 264 long
3232 draw_rectangle (xx+710 ,yy+224 ,xx+974 ,yy+254 ,0 );
@@ -58,7 +58,7 @@ if (settings=1){
5858
5959 bar=settings_fullscreen;draw_sprite (spr_creation_check,bar,xx+626 ,yy+426 );
6060 // bar=large_text;draw_sprite(spr_creation_check,bar,xx+622,yy+426+59);
61- // bar=settings_heresy ;draw_sprite(spr_creation_check,bar,xx+590 ,yy+485+59 );
61+ bar=settings_autosave ;draw_sprite (spr_creation_check,bar,xx+680 ,yy+485 );
6262
6363
6464 if (cooldown<=0 ) and (mouse_left=1 ){var onceh;onceh=0 ;
@@ -72,6 +72,16 @@ if (settings=1){
7272 if (scr_hit (xx+626 ,yy+426 ,xx+626 +32 ,yy+426 +32 )=true ){
7373 if (settings_fullscreen=1 ) and (onceh=0 ){onceh=1 ;cooldown=8000 ;settings_fullscreen=0 ;window_set_fullscreen (false );change_volume=2 ;}
7474 if (settings_fullscreen=0 ) and (onceh=0 ){onceh=1 ;cooldown=8000 ;settings_fullscreen=1 ;window_set_fullscreen (true );change_volume=2 ;}
75+ ini_open (" saves.ini" );
76+ ini_write_real (" Settings" , " fullscreen" , settings_fullscreen);
77+ ini_close ();
78+ }
79+ if (scr_hit (xx+680 ,yy+485 ,xx+680 +32 ,yy+485 +32 )=true ){
80+ if (settings_autosave=1 ) and (onceh=0 ){onceh=1 ;cooldown=8000 ;settings_autosave=0 ;}
81+ if (settings_autosave=0 ) and (onceh=0 ){onceh=1 ;cooldown=8000 ;settings_autosave=1 ;}
82+ ini_open (" saves.ini" );
83+ ini_write_real (" Settings" , " settings_autosave" , settings_autosave);
84+ ini_close ();
7585 }
7686 // if (scr_hit(xx+622,yy+426+59,xx+622+32,yy+426+32+59)=true){
7787 // if (large_text=1) and (onceh=0){onceh=1;cooldown=8000;large_text=0;change_volume=2;}
0 commit comments