Commit graph

15 commits

Author SHA1 Message Date
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
747209f744 Add new methods to BasicBlock. 2020-03-20 18:24: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
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
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
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
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
Renamed from src/gui/block.hpp (Browse further)