Skip to content

Commit 069a916

Browse files
committed
Update engine to 1.0.0
Including a lot of cleanup + bugfixes, more features, and an example program
1 parent b5d123d commit 069a916

18 files changed

+2134
-836
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "example/hardware.inc"]
2+
path = example/hardware.inc
3+
url = git@github.com:gbdev/hardware.inc.git

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 Eldred Habert
3+
Copyright (c) 2018-2020 Eldred Habert
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,12 @@
11
# gb-vwf
2-
A Variable-Width Font engine for the Game Boy.
2+
A very powerful Variable-Width Font engine for the Game Boy & Game Boy Color.
3+
4+
For detailed instructions, including installation and usage, please check [the wiki](https://github.com/ISSOtm/gb-vwf/wiki) out.
5+
6+
Bugs can be checked out and reported on [the issue tracker](https://github.com/ISSOtm/gb-vwf/issues), or by bugging me on the GBDev Discord, which you can find [here](https://gbdev.io).
7+
8+
## Licensing
9+
10+
The VWF engine itself is licensed under the MIT license; the example program is public domain, assets included.
11+
12+
According to US law, fonts cannot be copyrighted. You can find some [here](https://github.com/pinobatch/bitmap-fonts/tree/master/vwf).

example/.gitignore

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
*.vwf
2+
*.2bpp
3+
*.o
4+
*.gb
5+
*.sym
6+
*.map
7+
charmap.asm
8+
*.sn*
9+
*.sav
10+
*.srm

example/border_bottom.png

636 Bytes
Loading

example/border_top.png

6.85 KB
Loading

example/border_vert.png

6.13 KB
Loading

example/build.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
for font in fonts/*.png; do
6+
python3 ../make_font.py $font ${font%.png}.vwf
7+
done
8+
rgbasm -Wall -Wextra -o vwf_config.o vwf_config.asm > charmap.asm
9+
10+
rgbgfx -h -o button.2bpp button.png
11+
rgbgfx -o border_top.2bpp border_top.png
12+
rgbgfx -o border_vert.2bpp border_vert.png
13+
rgbgfx -o border_bottom.2bpp border_bottom.png
14+
rgbasm -Wall -Wextra -o main.o main.asm
15+
rgblink -d -n vwf.sym -m vwf.map -o vwf.gb vwf_config.o main.o
16+
rgbfix -v -p 0xff -m 0x11 vwf.gb
17+
rm fonts/*.vwf charmap.asm button.2bpp border_top.2bpp border_vert.2bpp border_bottom.2bpp main.o vwf_config.o

example/button.png

749 Bytes
Loading

example/fonts/BaseSeven.png

1.96 KB
Loading

example/fonts/BaseSevenBold_vx8.png

1.56 KB
Loading

example/fonts/optix.png

1.4 KB
Loading

example/fonts/optixBold.png

1.51 KB
Loading

example/hardware.inc

Submodule hardware.inc added at 3082d5d

0 commit comments

Comments
 (0)