Skip to content

Commit 2c3fc13

Browse files
authored
Merge pull request #18 from drojaazu/dev
Updated paths to gfxdefs to corrent installation bug and documentatio…
2 parents 6be2554 + ce57299 commit 2c3fc13

File tree

6 files changed

+11
-6
lines changed

6 files changed

+11
-6
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.23)
2-
project(chrgfx)
2+
project(chrgfx VERSION 3.0.1)
33

44
set(PROJECT_CONTACT "Damian R (damian@motoi.pro)")
55
set(PROJECT_WEBSITE "https://github.com/drojaazu")
@@ -47,7 +47,7 @@ if(NOT NO_UTILS)
4747
add_subdirectory(app/palview)
4848
endif()
4949

50-
install(FILES share/gfxdef/gfxdefs
50+
install(FILES share/gfxdefs
5151
DESTINATION ${CMAKE_INSTALL_DATADIR}/chrgfx)
5252

5353
#set(CMAKE_VERBOSE_MAKEFILE true)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The chrgfx library has a number of common, generic definitions included. Please
4747

4848
External graphics definitions are stored in the `gfxdefs` file. The project comes with a number of definitions for many common hardware systems already created in this file.
4949

50-
Please [see the readme in the gfxdef directory](share/gfxdef/README.md) and [the gfxdefs file itself](share/gfxdef/gfxdefs) for more details on the format.
50+
Please [see the readme in the gfxdef directory](share/README.md) and [the gfxdefs file itself](share/gfxdefs) for more details on the format.
5151

5252
### CLI Definitions
5353

@@ -103,7 +103,7 @@ Specify hardware profile to use
103103

104104
These arguments specify the tile, color and palette encoding, respectively. They are only required if a graphics profile was not specified. If they are used in conjunction with a graphics profile, they will override that particular encoding. (For example, using `--chr-def` will override the tile encoding that was specified in the profile.)
105105

106-
Please [see the readme in the gfxdef directory](share/gfxdef/README.md) for more information about values represent in a gfxdef.
106+
Please [see the readme in the gfxdef directory](share/README.md) for more information about values represent in a gfxdef.
107107

108108
The following options are used to build or modify a gfxdef:
109109

@@ -123,7 +123,7 @@ Specify the bits per pixel (BPP) of a tile
123123

124124
Specify the offset (in bits) to the start of each plane within a pixel.
125125

126-
This is written as either a comma-delimted list of values, or as a range in the format of [start:count:step]. Please [see the readme in the gfxdef directory](share/gfxdef/README.md) for more about this option and list/range formatting.
126+
This is written as either a comma-delimted list of values, or as a range in the format of [start:count:step]. Please [see the readme in the gfxdef directory](share/README.md) for more about this option and list/range formatting.
127127

128128
The number of entries should match the bits per pixel value for the tile.
129129

app/shared/cfgload.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#define __MOTOI__CFGLOAD_HPP
1414

1515
#include "lineread.hpp"
16+
#include <cstdint>
1617
#include <map>
1718
#include <stdexcept>
1819
#include <string>

lib/chrgfx/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ PUBLIC
2323
FILE_SET headers
2424
TYPE HEADERS
2525
FILES
26-
image.hpp
2726
builtin_defs.hpp
2827
chrconv.hpp
2928
chrdef.hpp
@@ -33,7 +32,10 @@ PUBLIC
3332
custom.hpp
3433
filesys.hpp
3534
gfxdef.hpp
35+
image.hpp
36+
image_types.hpp
3637
imageformat_png.hpp
38+
imaging.hpp
3739
palconv.hpp
3840
paldef.hpp
3941
rgb_layout.hpp

lib/chrgfx/chrgfx.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "custom.hpp"
1717
#include "gfxdef.hpp"
1818
#include "image.hpp"
19+
#include "image_types.hpp"
1920
#include "imageformat_png.hpp"
2021
#include "imaging.hpp"
2122
#include "palconv.hpp"

lib/chrgfx/coldef.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "gfxdef.hpp"
1212
#include "image_types.hpp"
1313
#include "rgb_layout.hpp"
14+
#include "types.hpp"
1415
#include <vector>
1516

1617
namespace chrgfx

0 commit comments

Comments
 (0)