Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The OpenGFX source is available in a git repository or as gzip'ed tarball. You c
Prerequisites to building OpenGFX:

- gcc (the pre-processor is needed)
- [NML 0.5+](https://github.com/OpenTTD/nml)
- [NML 0.7.6+](https://github.com/OpenTTD/nml)
- grfid from the [grfcodec package](https://www.openttd.org/downloads/grfcodec-releases/latest)
- some gnu utils: `make`, `cat`, `sed`, `awk` and you might additionally want a text editor of your choice and a graphics programme suitable to handle palettes.

Expand Down
1 change: 1 addition & 0 deletions ogfxe_extra.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "sprites/extra/extra-openttd-gui.pnml"
#include "sprites/extra/extra-openttd-airport-preview.pnml"
#include "sprites/extra/extra-openttd-recolour.pnml"
#include "sprites/extra/extra-road-waypoints.pnml"

#include "sprites/extra/extra-plus-canals.pnml"
#include "sprites/extra/extra-plus-locks.pnml"
Expand Down
4 changes: 4 additions & 0 deletions sprites/extra/extra-road-waypoints.pnml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
//Road waypoints
replacenew(ROAD_WAYPOINTS, "sprites/png/infrastructure/roadwaypoints.png", 0) {
tmpl_road_waypoints(0, 0)
}
Binary file added sprites/png/infrastructure/roadwaypoints.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions sprites/templates/sprite_templates.pnml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,13 @@ template tmpl_canalsides(dike_ne, dike_nw, dike_se, dike_sw, corner_e, corner_s,
[27, 1, 12, 5, -5, 0, smallcorners]
}

template tmpl_road_waypoints(x, y) {
[ 66, 66, 64, 64, -5, -46]
[ 1, 66, 64, 64, -31, -33]
[ 1, 1, 64, 64, -31, -33]
[ 66, 1, 64, 64, -57, -46]
}

/* Templates for 2x zoom */
template tmpl_gui2x_file_toolbar(x, y, file) { [x, y, 40, 40, 0, 0, NOCROP, file] }
template tmpl_gui2x_file_toolbar_wide(x, y, file) { [x, y, 80, 40, 0, 0, NOCROP, file] }
Expand Down