Lenny Maiorani 
								
							 
						 
						
							
							
							
							
								
							
							
								f912a48315 
								
							 
						 
						
							
							
								
								Userland: Change static const variables to static constexpr  
							
							... 
							
							
							
							`static const` variables can be computed and initialized at run-time
during initialization or the first time a function is called. Change
them to `static constexpr` to ensure they are computed at
compile-time.
This allows some removal of `strlen` because the length of the
`StringView` can be used which is pre-computed at compile-time. 
							
						 
						
							2022-03-18 19:58:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vitaly Dyachkov 
								
							 
						 
						
							
							
							
							
								
							
							
								32b8795091 
								
							 
						 
						
							
							
								
								LibConfig: Rename pledge_domains(String) => pledge_domain(String)  
							
							... 
							
							
							
							pledge_domains() that takes only one String argument was specifically
added as a shortcut for pledging a single domain. So, it makes sense to
use singular here. 
							
						 
						
							2022-02-11 18:06:39 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									David Lindbom 
								
							 
						 
						
							
							
							
							
								
							
							
								570d63b601 
								
							 
						 
						
							
							
								
								FlappyBug: Add link to help pages in menu  
							
							
							
						 
						
							2022-01-13 03:45:17 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									creator1creeper1 
								
							 
						 
						
							
							
							
							
								
							
							
								615c2cbcce 
								
							 
						 
						
							
							
								
								FlappyBug: Make bitmap() methods return NonnullRefPtrs  
							
							... 
							
							
							
							We are already storing these as NonnullRefPtrs, so we might
as well make the functions return them as such. 
							
						 
						
							2021-12-23 17:42:05 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									creator1creeper1 
								
							 
						 
						
							
							
							
							
								
							
							
								6f592a32cc 
								
							 
						 
						
							
							
								
								FlappyBug: Propagate errors in Cloud class  
							
							... 
							
							
							
							Move-construct Cloud into the Game class to improve
error handling. 
							
						 
						
							2021-12-23 17:42:05 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									creator1creeper1 
								
							 
						 
						
							
							
							
							
								
							
							
								ff359c27e3 
								
							 
						 
						
							
							
								
								FlappyBug: Propagate errors in Bug class  
							
							... 
							
							
							
							Move-construct Bug into the Game class to improve
error handling. 
							
						 
						
							2021-12-23 17:42:05 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									creator1creeper1 
								
							 
						 
						
							
							
							
							
								
							
							
								a67afa735c 
								
							 
						 
						
							
							
								
								FlappyBug: Reposition Game constructor in file  
							
							... 
							
							
							
							This will become important later on because
the constructor will depend on the helper structs 
							
						 
						
							2021-12-23 17:42:05 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									creator1creeper1 
								
							 
						 
						
							
							
							
							
								
							
							
								81eb450369 
								
							 
						 
						
							
							
								
								FlappyBug: Make helper structs public  
							
							... 
							
							
							
							They will need to be referenced by main later on. 
							
						 
						
							2021-12-23 17:42:05 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Astraeus- 
								
							 
						 
						
							
							
							
							
								
							
							
								29d5fee07e 
								
							 
						 
						
							
							
								
								FlappyBug: Convert to try_create_default_icon  
							
							
							
						 
						
							2021-12-18 23:36:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Gianforcaro 
								
							 
						 
						
							
							
							
							
								
							
							
								cf4fa936be 
								
							 
						 
						
							
							
								
								Everywhere: Use default execpromises argument for Core::System::pledge  
							
							
							
						 
						
							2021-11-28 08:04:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pedro Pereira 
								
							 
						 
						
							
							
							
							
								
							
							
								2f5f53d1cf 
								
							 
						 
						
							
							
								
								FlappyBug: TRY() all the things in serenity_main() :^)  
							
							
							
						 
						
							2021-11-27 17:18:44 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pedro Pereira 
								
							 
						 
						
							
							
							
							
								
							
							
								913b1fad25 
								
							 
						 
						
							
							
								
								FlappyBug: Support mouse clicks for flapping  
							
							... 
							
							
							
							This change allows to play the game using the mouse. 
							
						 
						
							2021-11-24 21:18:31 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pedro Pereira 
								
							 
						 
						
							
							
							
							
								
							
							
								da50667bb5 
								
							 
						 
						
							
							
								
								FlappyBug: Replace construct() with TRY(try_create()) pattern  
							
							
							
						 
						
							2021-11-24 13:51:07 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pedro Pereira 
								
							 
						 
						
							
							
							
							
								
							
							
								9d2e169169 
								
							 
						 
						
							
							
								
								FlappyBug+Spider: Update GUI:Application::construct usage  
							
							... 
							
							
							
							Update code to use Main:Arguments directly. 
							
						 
						
							2021-11-23 14:15:00 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								21a5fb0fa2 
								
							 
						 
						
							
							
								
								LibCore+LibSystem: Move syscall wrappers from LibSystem to LibCore  
							
							... 
							
							
							
							With this change, System::foo() becomes Core::System::foo().
Since LibCore builds on other systems than SerenityOS, we now have to
make sure that wrappers work with just a standard C library underneath. 
							
						 
						
							2021-11-23 11:33:36 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Pedro Pereira 
								
							 
						 
						
							
							
							
							
								
							
							
								85ae298b85 
								
							 
						 
						
							
							
								
								FlappyBug: Port to LibMain  
							
							... 
							
							
							
							Simplified two pledge() and two unveil() by using TRY(). 
							
						 
						
							2021-11-22 21:02:14 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								235f39e449 
								
							 
						 
						
							
							
								
								LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file()  
							
							... 
							
							
							
							This was used in a lot of places, so this patch makes liberal use of
ErrorOr<T>::release_value_but_fixme_should_propagate_errors(). 
							
						 
						
							2021-11-08 00:35:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Luke Wilde 
								
							 
						 
						
							
							
							
							
								
							
							
								fd51a3cf15 
								
							 
						 
						
							
							
								
								FlappyBug: Remove wpath and cpath pledges  
							
							... 
							
							
							
							With the move to LibConfig, these are no longer needed. 
							
						 
						
							2021-08-28 12:22:16 +04:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ralf Donau 
								
							 
						 
						
							
							
							
							
								
							
							
								5a0be07cf0 
								
							 
						 
						
							
							
								
								FlappyBug: Use LibConfig instead of Core::ConfigFile  
							
							
							
						 
						
							2021-08-26 19:54:50 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ralf Donau 
								
							 
						 
						
							
							
							
							
								
							
							
								9bef96748d 
								
							 
						 
						
							
							
								
								Games: Make cpath appear once in the pledge promises  
							
							
							
						 
						
							2021-08-22 23:39:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									networkException 
								
							 
						 
						
							
							
							
							
								
							
							
								acde7d12b0 
								
							 
						 
						
							
							
								
								Everywhere: Rename get in ConfigFile::get_for_{lib,app,system} to open  
							
							... 
							
							
							
							This patch brings the ConfigFile helpers for opening lib, app and system
configs more inline with the regular ConfigFile::open functions. 
							
						 
						
							2021-08-22 01:32:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									networkException 
								
							 
						 
						
							
							
							
							
								
							
							
								938051feb8 
								
							 
						 
						
							
							
								
								Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing  
							
							
							
						 
						
							2021-08-22 01:32:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mitchel Humpherys 
								
							 
						 
						
							
							
							
							
								
							
							
								2fb26299bb 
								
							 
						 
						
							
							
								
								FlappyBug: Flap less aggressively  
							
							... 
							
							
							
							The current flap strength makes the game a lot more difficult than
other flappy games. Decrease the flap strength to make it a little
easier to get higher scores.
Before this change I could only get past 3 or 4 obstacles, now I can
get 15 or 20 in, which seems more on par with other flappy games. 
							
						 
						
							2021-08-21 00:25:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								687a12d7fb 
								
							 
						 
						
							
							
								
								Userland: Add GUI::Window::add_menu() and use it everywhere  
							
							... 
							
							
							
							Applications previously had to create a GUI::Menubar object, add menus
to it, and then call GUI::Window::set_menubar().
This patch introduces GUI::Window::add_menu() which creates the menubar
automatically and adds items to it. Application code becomes slightly
simpler as a result. :^) 
							
						 
						
							2021-07-21 21:24:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andreas Kling 
								
							 
						 
						
							
							
							
							
								
							
							
								c7d891765c 
								
							 
						 
						
							
							
								
								LibGfx: Use "try_" prefix for static factory functions  
							
							... 
							
							
							
							Also mark them as [[nodiscard]]. 
							
						 
						
							2021-07-21 18:02:15 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								dd65f52331 
								
							 
						 
						
							
							
								
								FlappyBug: Only paint areas which need to be painted  
							
							... 
							
							
							
							Drawing the entire PNG background is rather expensive. Instead, only
draw the rects that are updating. 
							
						 
						
							2021-07-10 23:28:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								675b8ba995 
								
							 
						 
						
							
							
								
								FlappyBug: Standardize on "high score" rather than "highscore"  
							
							... 
							
							
							
							"High score" should be two words, and this matches other games in the
system. 
							
						 
						
							2021-06-22 23:05:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								1a2053781f 
								
							 
						 
						
							
							
								
								FlappyBug: Persist high score to disk  
							
							... 
							
							
							
							Previously, the high score was only in-memory, so only persisted for as
long as the FlappyBug window was open. 
							
						 
						
							2021-06-22 23:05:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Timothy Flynn 
								
							 
						 
						
							
							
							
							
								
							
							
								25c53e35e7 
								
							 
						 
						
							
							
								
								FlappyBug: Convert the main game widget to a GUI::Frame  
							
							
							
						 
						
							2021-06-22 23:05:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Linus Groh 
								
							 
						 
						
							
							
							
							
								
							
							
								ade85d980b 
								
							 
						 
						
							
							
								
								FlappyBug: Add missing component declaration  
							
							... 
							
							
							
							The PR for this pre-dates the concept of components, so it was forgotten
to add one. 
							
						 
						
							2021-06-20 11:13:30 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								ddc855ffcd 
								
							 
						 
						
							
							
								
								FlappyBug: Add cloud and sky graphics  
							
							... 
							
							
							
							We now have a nice sunset sky and some random cloud graphics.
The obstacles will get graphics at some point too :) 
							
						 
						
							2021-06-20 10:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								28e08f08c2 
								
							 
						 
						
							
							
								
								FlappyBug: Add new graphics and tweak colors  
							
							... 
							
							
							
							This adds some actual graphics to the game, and tweaks the obstacle and
sky colors. Eventually there will be graphics for those elements too. 
							
						 
						
							2021-06-20 10:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								f50003bdd2 
								
							 
						 
						
							
							
								
								FlappyBug: Add an input cooldown after game over  
							
							... 
							
							
							
							This makes sure the player doesn't accidentally start a new game after
they bump into an obstacle. 
							
						 
						
							2021-06-20 10:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								018344bb07 
								
							 
						 
						
							
							
								
								FlappyBug: Keep track of score and highscore  
							
							... 
							
							
							
							Better information is now shown to the player. Instructions are shown
when first loading the program, and any available scores are shown on
the game over screen. 
							
						 
						
							2021-06-20 10:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								3f603ab082 
								
							 
						 
						
							
							
								
								FlappyBug: Start obstacles off the screen  
							
							... 
							
							
							
							Previously obstacles were respawning fully on-screen which caused a
discontinuous look. Now they smoothly move into view from off-screen. 
							
						 
						
							2021-06-20 10:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								444fcfd0d2 
								
							 
						 
						
							
							
								
								FlappyBug: Make the obstacle gap position random  
							
							... 
							
							
							
							The position of the gap in the obstacle is now randomly generated each
time it spawns. The game is more fun to play now :) 
							
						 
						
							2021-06-20 10:54:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mim Hufford 
								
							 
						 
						
							
							
							
							
								
							
							
								811d9722f9 
								
							 
						 
						
							
							
								
								FlappyBug: Introduce a new Flappy Bug game  
							
							... 
							
							
							
							This introduces a Flappy Bug game. It's pretty simple currently, but is
playable. 
							
						 
						
							2021-06-20 10:54:27 +01:00