summaryrefslogtreecommitdiff
path: root/Userland/Games
AgeCommit message (Collapse)Author
2022-03-04LibGfx: Rename Color::from_rgba() => Color::from_argb()Andreas Kling
This matches the rename of RGBA32 to ARGB32. It also makes more sense when you see it used with 32-bit hexadecimal literals: Before: Color::from_rgba(0xaarrggbb) After: Color::from_argb(0xaarrggbb)
2022-03-04LibGfx+GameOfLife: Remove Gfx::make_rgb() and its one userAndreas Kling
2022-02-24LibGUI+Apps: Convert Statusbar Labels to Segmentsthankyouverycool
Segments inherit from Button and let us add clickable widgets to status bars. This patch also adds proportional, fixed and autosized modes for segments and lets the status bar consume all non-clickable segments for override text.
2022-02-16Games: Use default constructors/destructorsLenny Maiorani
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#cother-other-default-operation-rules "The compiler is more likely to get the default semantics right and you cannot implement these functions better than the compiler."
2022-02-13Userland: Run gml-formatIdan Horowitz
This brings the existing GML files up to spec with the new requirements
2022-02-11LibConfig: Rename pledge_domains(String) => pledge_domain(String)Vitaly Dyachkov
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-07Meta+Userland: Run the GML formatter on CI and pre-commitkleines Filmröllchen
Now that the GML formatter is both perserving comments and also mostly agrees to the existing GML style, it can be used to auto-format all the GML files in the system. This commit does not only contain the scripts for running the formatting on CI and the pre-commit hook, but also initially formats all the existing GML files so that the hook is successfull.
2022-02-06AK: Move integral log2 and exp to IntegerMath.hHendiadyoin1
2022-01-28Chess: Don't use Vector in a literal iteratorkleines Filmröllchen
2022-01-13Snake: Add link to help pages in menuDavid Lindbom
2022-01-13Pong: Add link to help pages in menuDavid Lindbom
2022-01-13Minesweeper: Add link to help pages in menuDavid Lindbom
2022-01-13Hearts: Add link to help pages in menuDavid Lindbom
2022-01-13GameOfLife: Add link to help pages in menuDavid Lindbom
2022-01-13FlappyBug: Add link to help pages in menuDavid Lindbom
2022-01-13Chess: Add link to help pages in menuDavid Lindbom
2022-01-13Breakout: Add link to help pages in menuDavid Lindbom
2022-01-132048: Add link to help pages in menuDavid Lindbom
2022-01-102048: Add action icons for New Game and SettingsDylan Katz
2022-01-102048: Simplify dialog box when target reachedDylan Katz
Previously, upon reaching the target, the player is presented with potentially two dialog boxes: one asking if the user wants to continue endlessly and another showing the player's statistics, which would only be shown if the user does not want to continue. This commit consolidates these into a single dialog box that shows the relevant statistics and asks the user if they want to continue endlessly.
2022-01-102048: Fix off-by-1 when opening settingsDylan Katz
When opening 2048's settings, it translates the target tile into a power of 2. Previously, it was done incorrectly, causing the resulting value to be off by one, and the number would increase every time one opens, saves and closes the settings. With this change, it now works as expected.
2022-01-08Spider: Add functionality to automatically move cards to valid stacksNeolyum
This commit adds the possibility to use the secondary mouse button to let the game move the selected card(s) to the next valid stack.
2022-01-02Spider: Redraw completely when drawing cardsJamie Mansfield
Spider was only updating the new bounding box area after drawing cards from the deck - leaving behind a sliver of the old deck. This was a regression, as the game previously used the old bounding box, introduced by GH-11153.
2021-12-30Pong: Support W and S keys for movementr00ster91
2021-12-24Spider: Add animation when drawing cardsNihal Jere
2021-12-23FlappyBug: Make bitmap() methods return NonnullRefPtrscreator1creeper1
We are already storing these as NonnullRefPtrs, so we might as well make the functions return them as such.
2021-12-23FlappyBug: Propagate errors in Cloud classcreator1creeper1
Move-construct Cloud into the Game class to improve error handling.
2021-12-23FlappyBug: Propagate errors in Bug classcreator1creeper1
Move-construct Bug into the Game class to improve error handling.
2021-12-23FlappyBug: Reposition Game constructor in filecreator1creeper1
This will become important later on because the constructor will depend on the helper structs
2021-12-23FlappyBug: Make helper structs publiccreator1creeper1
They will need to be referenced by main later on.
2021-12-18Solitaire: Convert to try_create_default_iconAstraeus-
2021-12-18Pong: Convert to try_create_default_iconAstraeus-
2021-12-182048: Convert to try_create_default_iconAstraeus-
2021-12-18Minesweeper: Convert to try_create_default_iconAstraeus-
2021-12-18Hearts: Convert to try_create_default_iconAstraeus-
2021-12-18Chess: Convert to try_create_default_iconAstraeus-
2021-12-18Spider: Convert to try_create_default_iconAstraeus-
2021-12-18FlappyBug: Convert to try_create_default_iconAstraeus-
2021-12-18GameOfLife: Convert to try_create_default_iconAstraeus-
2021-12-18Snake: Convert to try_create_default_iconAstraeus-
2021-12-18Breakout: Convert to try_create_default_iconAstraeus-
2021-12-05Games: Cast unused smart-pointer return values to voidSam Atkins
2021-11-28Everywhere: Use default execpromises argument for Core::System::pledgeBrian Gianforcaro
2021-11-27Spider: TRY() all the things in serenity_main() :^)Pedro Pereira
2021-11-27Solitaire: TRY() all the things in serenity_main() :^)Pedro Pereira
2021-11-27Snake: TRY() all the things in serenity_main() :^)Pedro Pereira
2021-11-27Pong: TRY() all the things in serenity_main() :^)Pedro Pereira
2021-11-27Minesweeper: TRY() all the things in serenity_main() :^)Pedro Pereira
2021-11-27Hearts: TRY() all the things in serenity_main() :^)Pedro Pereira
2021-11-27GameOfLife: TRY() all the things in serenity_main() :^)Pedro Pereira