Mustafa Quraish
0f749681a9
Everywhere: Use my fancy new serenityos.org email :^)
2021-09-13 20:51:50 +00:00
Luke Wilde
c0c33a4604
Spider: Remove wpath and cpath pledges and pledge earlier
...
With the move to LibConfig, the wpath and cpath pledges are no longer
needed.
2021-08-28 12:22:16 +04:30
Mustafa Quraish
998d3a98ec
Spider: Use LibConfig instead of Core::ConfigFile
...
There was a lot of error handling here previously when writing to
a config file failed, but this was removed since we have no way of
conveying a `Config::write` failure from the ConfigServer.
2021-08-27 12:45:50 +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
Jamie Mansfield
705e91d332
Spider: Use YesNo dialog for user confirmation when closing
...
Cancel was superflous, and provided no difference to No.
2021-08-06 01:12:32 +02:00
Jamie Mansfield
28ee513bdf
Spider: Make statusbar high score display configurable
...
You can now choose what statistic (currently only high score or best
time) to display in the statusbar.
2021-07-27 16:53:56 +02:00
Jamie Mansfield
26cb559d37
Spider: Track win and loss counts
...
Again, this isn't exposed anywhere yet.
2021-07-27 16:53:56 +02:00
Jamie Mansfield
f7eb6772ce
Spider: Get user confirmation to close when there is a active game
2021-07-27 16:53:56 +02:00
Jamie Mansfield
4df9d05f91
Spider: Track quickest game time
...
This isn't exposed in the game anywhere yet.
2021-07-27 16:53:56 +02:00
Jamie Mansfield
29f15cfbae
Spider: Standardise fetching the mode identifier
...
This eliminates some code duplication, and will be helpful for future
commits introducing further statistic tracking.
2021-07-27 16:53:56 +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
Jamie Mansfield
3f8857cd21
Games: Add Spider
...
Scoring is designed to mimic Microsoft's implementation - starting at
500, decreasing by 1 every move, and increasing by 100 for every full
stack.
Fixes GH-5319.
2021-06-24 10:32:53 +02:00