1c3de27a16
Refactor window creation stuff outside of main()
2020-03-20 21:24:17 +01:00
5d5cba5e3f
Add command line help/verbose options to gui too.
...
Refactor code to reduce code duplication across the two programs.
2020-03-20 20:02:21 +01:00
f86032d2b4
Attach GPL3 licence.
2020-03-20 19:22:16 +01:00
f1157429ba
Add some temporary options for choosing what to print.
...
I'm planning to let users pass in some format string in the
future instead, but for now this is what I've got.
2020-03-20 18:58:47 +01:00
e40d092b7d
Add methods to get the TOC checksum as per the specs.
2020-03-20 18:58:06 +01:00
c89a27f427
Print the savegame identifier.
...
Returned string is always 8 chars long, even though when
printed it may be shorter. It's therefore always safe to
memcopy 8 from it.
2020-03-20 18:34:09 +01:00
62b4b8b307
Print P for "has PocketStation content".
2020-03-20 18:26:44 +01:00
747209f744
Add new methods to BasicBlock.
2020-03-20 18:24:54 +01:00
30ef4cd49d
Remove code duplication, leverage ContentInfo.
2020-03-20 16:48:54 +01:00
a190a76b5d
Allow iterating over a block's frames.
...
Yeah, the PartIterator thing seems to have worked.
2020-03-20 16:44:48 +01:00
db70dead33
Add new BasicFrame class.
2020-03-20 16:21:17 +01:00
4eaa2fc734
Generalise BlockIterator and rename to PartIterator.
...
I'm going to need a FrameIterator class too so let's see if
I can reuse BlockIterator.
2020-03-20 15:33:16 +01:00
1bca8f0201
Rename palette() to icon_palette().
2020-03-20 14:59:27 +01:00
c5987d882d
Block should be lightweight so don't store palette.
2020-03-20 14:58:36 +01:00
905e6be0c4
Add proper typedefs and restore block number printing in CLI.
2020-03-20 14:54:05 +01:00
dfc466fc87
Refactoring, allow iterating over blocks.
2020-03-20 14:33:42 +01:00
ee163a213a
Refactor MemoryCard istream ctor out.
...
Also move everything into a psx namespace, though I'm not
too sure about this yet.
2020-03-20 13:51:09 +01:00
ef348fe1ca
Use the new frame() method.
2020-03-20 01:53:57 +01:00
965dafa240
Make FrameSize a static constant.
2020-03-20 01:46:42 +01:00
d475003215
Add frame() method.
2020-03-20 01:43:50 +01:00
55427a71d6
Print blocks to stdout.
2020-03-20 00:08:01 +01:00
2a7eab3170
Add --version to cli
2020-03-19 22:28:45 +01:00
b2b87c7459
Add a CLI program to access the memoserv lib.
2020-03-19 22:13:55 +01:00
4c655850de
Committing old changes.
...
I'm not sure what this is, I think it's just adding a new
MemoryCard::content_info() method. There might be unwanted
debug stuff included in this commit too.
2020-03-19 19:48:28 +01:00
5102dae552
Add BasicBlock::block_count() method.
2019-08-20 01:40:19 +01:00
cb37f21502
Add BasicBlock::title() method.
...
Latin letters and spaces get converted to halfwidth utf-8
characters. Not ideal as this will break visualisation for
Japanese users.
Leading and trailing spaces are trimmed and repeated spaces
in the names are replaced with a single space.
2019-08-20 01:39:51 +01:00
15e7edbc72
Move memcard code to the mc namespace.
2019-08-19 22:27:55 +01:00
d7d1ca4a24
Move memory card stuff to a separate lib.
2019-08-19 22:22:21 +01:00
3536487cc5
This is apparently needed to get NDEBUG defined properly
2019-08-19 21:36:13 +01:00
5a77970b79
Add measurer so grids can be placed at fixed positions.
2019-08-11 01:06:43 +01:00
2c1c731cae
Fix displaying animated icons.
2019-08-10 20:48:45 +01:00
b8e3fd0987
Migrate to meson as the build system.
...
Nana needs to be present as a dependency on the system now.
You can use meson setup -Dnanaincl=path -Dnanaroot=path ~/memoserv
to specify non-standard include and library locations for nana.
2019-08-09 09:52:18 +01:00
b448766c21
Code refactoring
...
This is so that the icon size is not hardcoded in the widget
anymore. Also the grid widget is more flexible now as it's not
limited to a 3x5 grid only.
2019-08-09 00:51:42 +01:00
94f6085e36
Finally got blackman-harris to work correctly.
2018-09-21 10:19:22 +01:00
e40b7c1a29
Fix 8bit to float to 8bit conversion
2018-09-14 19:35:29 +01:00
5b20c5df29
Use a temporary float buffer when scaling. Return original 4bit if unchanged.
2018-09-14 13:21:01 +01:00
3e05244b95
Add reference code from OIIO.
2018-09-13 19:55:11 +01:00
b0530a2be6
Return icons as 24 bit RGB images.
...
Fetch function now accepts width/height parameters, which must be 16 for now.
Next I'm going to implement resizing to the specified width height.
2018-09-13 19:54:56 +01:00
1c8f07d51d
Experiment writing a grid widget. WiP.
2018-09-08 10:05:54 +01:00
73baf26696
Ignore build dir
2018-09-05 16:54:24 +01:00
f0e037fb36
Add some documentation.
2018-09-05 02:01:06 +01:00
384ed98f12
Delete unneeded test code.
2018-09-05 01:42:06 +01:00
6fecd102b7
Add Block class and refactor around that.
2018-09-05 01:41:39 +01:00
f1ec7799af
First commit.
...
Savegame icons are displayed on the window.
2018-09-05 00:55:24 +01:00