File tree 2 files changed +14
-3
lines changed
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -1502,7 +1502,11 @@ begin
1502
1502
TURN_DURATION_SECS := BASE_TURN_DURATION_SECS;
1503
1503
end if ;
1504
1504
end if ;
1505
-
1505
+
1506
+ if Is_Key_Pressed(KEY_F11) or (Is_Key_Down(KEY_LEFT_ALT) and Is_Key_Pressed(KEY_ENTER)) then
1507
+ Toggle_Fullscreen;
1508
+ end if ;
1509
+
1506
1510
Any_Key_Pressed := False;
1507
1511
while not Any_Key_Pressed and then Get_Key_Pressed /= KEY_NULL loop
1508
1512
Any_Key_Pressed := True;
@@ -1653,7 +1657,6 @@ end;
1653
1657
-- TODO: Mother should require several attacks before being "split"
1654
1658
-- TODO: Enemies should attack on zero just like a bomb.
1655
1659
-- TODO: Properly disablable DEV features
1656
- -- TODO: Fullscreen mode
1657
1660
-- TODO: Try MSAA (if too slow, don't)
1658
1661
-- TODO: Show Eeper Cooldown timer outside of the screen somehow
1659
1662
-- TODO: Visual Clue that the Eeper is about to kill the Player when Completely outside of the Screen
Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ package Raylib is
13
13
Import => True,
14
14
Convention => C,
15
15
External_Name => " CloseWindow" ;
16
+ procedure Toggle_Fullscreen
17
+ with
18
+ Import => True,
19
+ Convention => C,
20
+ External_Name => " ToggleFullscreen" ;
21
+
16
22
function Window_Should_Close return C_Bool
17
23
with
18
24
Import => True,
@@ -77,9 +83,11 @@ package Raylib is
77
83
KEY_UP: constant int := 265 ;
78
84
KEY_SPACE: constant int := 32 ;
79
85
KEY_ESCAPE: constant int := 256 ;
80
- KEY_ENTER: constant Int := 257 ;
86
+ KEY_F11: constant Int := 300 ;
87
+ KEY_ENTER: constant Int := 257 ;
81
88
KEY_LEFT_SHIFT: constant Int := 340 ;
82
89
KEY_RIGHT_SHIFT: constant Int := 344 ;
90
+ KEY_LEFT_ALT: constant Int := 342 ;
83
91
84
92
function Is_Key_Pressed (key: int) return C_bool
85
93
with
You can’t perform that action at this time.
0 commit comments