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;
@@ -1656,7 +1660,6 @@ end;
1656
1660
-- TODO: Mother should require several attacks before being "split"
1657
1661
-- TODO: Enemies should attack on zero just like a bomb.
1658
1662
-- TODO: Properly disablable DEV features
1659
- -- TODO: Fullscreen mode
1660
1663
-- TODO: Try MSAA (if too slow, don't)
1661
1664
-- TODO: Show Eeper Cooldown timer outside of the screen somehow
1662
1665
-- 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,8 +83,10 @@ 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 ;
89
+ KEY_LEFT_ALT: constant Int := 342 ;
82
90
83
91
function Is_Key_Pressed (key: int) return C_bool
84
92
with
You can’t perform that action at this time.
0 commit comments