1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 09:27:46 +00:00

Ports: Format patches without numbering, commit hash or version number

This commit is contained in:
Tim Schumacher 2022-06-05 03:05:04 +02:00 committed by Linus Groh
parent d69a79b03b
commit d426c5a4b2
371 changed files with 806 additions and 1884 deletions

View file

@ -1,7 +1,7 @@
From 347946c86f0816ca4a76cfad176db3f7814f53e7 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Fri, 24 Dec 2021 15:24:16 +0100
Subject: [PATCH 1/3] Fix config macro reference syntax
Subject: [PATCH] Fix config macro reference syntax
---
src/game_config.c | 24 ++++++++++++------------
@ -64,6 +64,3 @@ index f12bb2d..6d1e979 100644
#define FN_PARAM_STRING( name ) \
FN_PARAM( name, string, char* )
--
2.36.1

View file

@ -1,14 +1,14 @@
From 8b1b102cd2dce045caf8603aa903bc9265c32cc4 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Jelle Raaijmakers <jelle@gmta.nl>
Date: Fri, 24 Dec 2021 15:24:16 +0100
Subject: [PATCH 2/3] Disable full screen
Subject: [PATCH] Disable full screen
---
src/game_config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/game_config.c b/src/game_config.c
index 6d1e979..f4c1c0c 100644
index 6d1e979..35b6036 100644
--- a/src/game_config.c
+++ b/src/game_config.c
@@ -505,7 +505,7 @@ void init_game_configuration()
@ -20,6 +20,3 @@ index 6d1e979..f4c1c0c 100644
"# If true then the game will run in full-screen mode." );
INIT_PARAM_INT(
--
2.36.1

View file

@ -1,14 +1,14 @@
From 99e0390e8974a0f0438fb95665edc910ef176883 Mon Sep 17 00:00:00 2001
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Grigoris Pavlakis <grigpavl@ece.auth.gr>
Date: Mon, 30 May 2022 01:54:22 +0300
Subject: [PATCH 3/3] Exit event loop on SDL_QUIT event
Subject: [PATCH] Exit event loop on SDL_QUIT event
---
src/winsys.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/winsys.c b/src/winsys.c
index d932a1d..95eeefa 100644
index d932a1d..5385cb7 100644
--- a/src/winsys.c
+++ b/src/winsys.c
@@ -392,6 +392,10 @@ void winsys_process_events()
@ -22,6 +22,3 @@ index d932a1d..95eeefa 100644
}
SDL_LockAudio();
--
2.36.1

View file

@ -2,13 +2,16 @@
## `0001-Fix-config-macro-reference-syntax.patch`
Fix macro definitions using old syntax for referring to struct fields
Fix config macro reference syntax
## `0002-Disable-full-screen.patch`
Disable full screen by default (start in windowed mode)
Disable full screen
## `0003-Exit-event-loop-on-SDL_QUIT-event.patch`
Check for SDL_QUIT event and exit on its reception
Allows the game to close from the window button instead from the menu only
Exit event loop on SDL_QUIT event