Skip to content

Commit

Permalink
Merge pull request #6 from daktak/hd2x
Browse files Browse the repository at this point in the history
Hd 2x gfx pack
  • Loading branch information
daktak authored May 31, 2018
2 parents 9ad8e42 + 2d6d53c commit 742b924
Show file tree
Hide file tree
Showing 128 changed files with 243 additions and 52 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.lock-waf_linux2_build
build/
node_modules/
170 changes: 167 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"ShipRotate",
"ShipChange",
"CapChange",
"TurretRotate"
"TurretRotate",
"Animations",
"Hd2x"
],
"projectType": "native",
"resources": {
Expand All @@ -27,102 +29,204 @@
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/ywing_hd2x.png",
"name": "YWING_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/xform.png",
"name": "XFORM",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/xform_hd2x.png",
"name": "XFORM_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/trader.png",
"name": "TRADER",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/trader_hd2x.png",
"name": "TRADER_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/torch.png",
"name": "TORCH",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/torch_hd2x.png",
"name": "TORCH_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/terminator.png",
"name": "TERMINATOR",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/terminator_hd2x.png",
"name": "TERMINATOR_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/stinger.png",
"name": "STINGER",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/stinger_hd2x.png",
"name": "STINGER_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/skiff.png",
"name": "SKIFF",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/skiff_hd2x.png",
"name": "SKIFF_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/scout.png",
"name": "SCOUT",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/scout_hd2x.png",
"name": "SCOUT_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/probe.png",
"name": "PROBE",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/probe_hd2x.png",
"name": "PROBE_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/podship.png",
"name": "PODSHIP",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/podship_hd2x.png",
"name": "PODSHIP_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/penetrator.png",
"name": "PENETRATOR",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/penetrator_hd2x.png",
"name": "PENETRATOR_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/nemesis.png",
"name": "NEMESIS",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/nemesis_turret.png",
"file": "images/turret.png",
"name": "NEMESIS_TURRET",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/turret_hd2x.png",
"name": "NEMESIS_TURRET_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/nemesis_hd2x.png",
"name": "NEMESIS_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/mauler.png",
"name": "MAULER",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/mauler_hd2x.png",
"name": "MAULER_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/marauder.png",
"name": "MARAUDER",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/marauder_hd2x.png",
"name": "MARAUDER_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/jugger.png",
"name": "JUGGER",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/jugger_hd2x.png",
"name": "JUGGER_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/intruder.png",
"name": "INTRUDER",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/intruder_hd2x.png",
"name": "INTRUDER_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/icon.png",
"menuIcon": true,
Expand All @@ -136,59 +240,119 @@
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/guardian_hd2x.png",
"name": "GUARDIAN_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/fury.png",
"name": "FURY",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/fury_hd2x.png",
"name": "FURY_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/eluder.png",
"name": "ELUDER",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/eluder_hd2x.png",
"name": "ELUDER_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/drone.png",
"name": "DRONE",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/drone_hd2x.png",
"name": "DRONE_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/dreadnought.png",
"name": "DREADNOUGHT",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/dreadnought_hd2x.png",
"name": "DREADNOUGHT_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/cruiser.png",
"name": "CRUISER",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/cruiser_hd2x.png",
"name": "CRUISER_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/broodhome.png",
"name": "BROODHOME",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/broodhome_hd2x.png",
"name": "BROODHOME_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/blade.png",
"name": "BLADE",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/blade_hd2x.png",
"name": "BLADE_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/avenger.png",
"name": "AVENGER",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/avenger_hd2x.png",
"name": "AVENGER_HD2X",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/avatar.png",
"name": "AVATAR",
"targetPlatforms": null,
"type": "bitmap"
},
{
"file": "images/avatar_hd2x.png",
"name": "AVATAR_HD2X",
"targetPlatforms": null,
"type": "bitmap"
}
]
},
Expand All @@ -203,5 +367,5 @@
"watchface": true
}
},
"version": "0.4.0"
"version": "0.5.0"
}
Binary file added resources/images/avatar_hd2x~bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/avatar_hd2x~color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/avatar~bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/avatar~color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/avenger_hd2x~bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/avenger_hd2x~color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/avenger~bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/avenger~color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/blade_hd2x~bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/blade_hd2x~color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/blade~bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/blade~color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/images/broodhome.png
Binary file not shown.
Binary file added resources/images/broodhome_hd2x~bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/broodhome_hd2x~color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/broodhome~bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/broodhome~color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/cruiser_hd2x~bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/cruiser_hd2x~color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/cruiser~bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/cruiser~color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/dreadnought_hd2x~bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/images/dreadnought_hd2x~color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/dreadnought~bw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/images/dreadnought~color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed resources/images/drone.png
Diff not rendered.
Binary file added resources/images/drone_hd2x~bw.png
Binary file added resources/images/drone_hd2x~color.png
Binary file modified resources/images/drone~bw.png
Binary file added resources/images/drone~color.png
Binary file added resources/images/eluder_hd2x~bw.png
Binary file added resources/images/eluder_hd2x~color.png
Binary file modified resources/images/eluder~bw.png
Binary file modified resources/images/eluder~color.png
Binary file removed resources/images/fury.png
Diff not rendered.
Binary file added resources/images/fury_hd2x~bw.png
Binary file added resources/images/fury_hd2x~color.png
Binary file modified resources/images/fury~bw.png
Binary file added resources/images/fury~color.png
Binary file removed resources/images/guardian.png
Diff not rendered.
Binary file added resources/images/guardian_hd2x~bw.png
Binary file added resources/images/guardian_hd2x~color.png
Binary file modified resources/images/guardian~bw.png
Binary file added resources/images/guardian~color.png
Binary file removed resources/images/icon.png
Diff not rendered.
Binary file modified resources/images/icon~bw.png
Binary file added resources/images/icon~color.png
Binary file added resources/images/intruder_hd2x~bw.png
Binary file added resources/images/intruder_hd2x~color.png
Binary file modified resources/images/intruder~bw.png
Binary file modified resources/images/intruder~color.png
Binary file removed resources/images/jugger.png
Diff not rendered.
Binary file added resources/images/jugger_hd2x~bw.png
Binary file added resources/images/jugger_hd2x~color.png
Binary file modified resources/images/jugger~bw.png
Binary file added resources/images/jugger~color.png
Binary file added resources/images/marauder_hd2x~bw.png
Binary file added resources/images/marauder_hd2x~color.png
Binary file modified resources/images/marauder~bw.png
Binary file modified resources/images/marauder~color.png
Binary file added resources/images/mauler_hd2x~bw.png
Binary file added resources/images/mauler_hd2x~color.png
Binary file modified resources/images/mauler~bw.png
Binary file modified resources/images/mauler~color.png
Binary file added resources/images/nemesis_hd2x~bw.png
Binary file added resources/images/nemesis_hd2x~color.png
Binary file removed resources/images/nemesis_turret~bw.png
Diff not rendered.
Binary file removed resources/images/nemesis_turret~color.png
Diff not rendered.
Binary file modified resources/images/nemesis~bw.png
Binary file modified resources/images/nemesis~color.png
Binary file added resources/images/penetrator_hd2x~bw.png
Binary file added resources/images/penetrator_hd2x~color.png
Binary file modified resources/images/penetrator~bw.png
Binary file modified resources/images/penetrator~color.png
Binary file added resources/images/podship_hd2x~bw.png
Binary file added resources/images/podship_hd2x~color.png
Binary file modified resources/images/podship~bw.png
Binary file modified resources/images/podship~color.png
Binary file added resources/images/probe_hd2x~bw.png
Binary file added resources/images/probe_hd2x~color.png
Binary file modified resources/images/probe~bw.png
Binary file modified resources/images/probe~color.png
Binary file added resources/images/scout_hd2x~bw.png
Binary file added resources/images/scout_hd2x~color.png
Binary file modified resources/images/scout~bw.png
Binary file modified resources/images/scout~color.png
Binary file added resources/images/skiff_hd2x~bw.png
Binary file added resources/images/skiff_hd2x~color.png
Binary file modified resources/images/skiff~bw.png
Binary file modified resources/images/skiff~color.png
Binary file added resources/images/stinger_hd2x~bw.png
Binary file added resources/images/stinger_hd2x~color.png
Binary file modified resources/images/stinger~bw.png
Binary file modified resources/images/stinger~color.png
Binary file added resources/images/terminator_hd2x~bw.png
Binary file added resources/images/terminator_hd2x~color.png
Binary file modified resources/images/terminator~bw.png
Binary file modified resources/images/terminator~color.png
Binary file added resources/images/torch_hd2x~bw.png
Binary file added resources/images/torch_hd2x~color.png
Binary file modified resources/images/torch~bw.png
Binary file modified resources/images/torch~color.png
Binary file added resources/images/trader_hd2x~bw.png
Binary file added resources/images/trader_hd2x~color.png
Binary file modified resources/images/trader~bw.png
Binary file modified resources/images/trader~color.png
Binary file added resources/images/turret_hd2x~bw.png
Binary file added resources/images/turret_hd2x~color.png
Binary file added resources/images/turret~bw.png
Binary file added resources/images/turret~color.png
Binary file added resources/images/xform_hd2x~bw.png
Binary file added resources/images/xform_hd2x~color.png
Binary file modified resources/images/xform~bw.png
Binary file modified resources/images/xform~color.png
Binary file added resources/images/ywing_hd2x~bw.png
Binary file added resources/images/ywing_hd2x~color.png
Binary file modified resources/images/ywing~bw.png
Binary file modified resources/images/ywing~color.png
6 changes: 2 additions & 4 deletions src/c/display_layer.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,8 @@ void window_load(GRect bounds, Layer *window_layer) {
text_layer_set_font(s_cap_layer, fonts_get_system_font(FONT_KEY_GOTHIC_18));
text_layer_set_text_alignment(s_cap_layer, GTextAlignmentCenter);
layer_add_child(window_layer, text_layer_get_layer(s_cap_layer));

create_turret(bounds, window_layer);

//SHIP

ClaySettings settings = get_settings();
create_turret(bounds, window_layer, settings.hd_gfx);
set_ship(settings);
}
7 changes: 5 additions & 2 deletions src/c/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@

/*
NOTES
-- UQM HD content too large to store all ships
-- UQM HD4X content too large to store all ships
-- max watchface size 100k
TODO
- HD2X move nemesis_turret to rotate correctly
- run all pngs through the palette
- test b&w
- Remember last ship and not redraw
- Remember last captain name
- Animate ship
Expand Down Expand Up @@ -181,4 +184,4 @@ int main(void) {
init();
app_event_loop();
window_destroy(s_main_window);
}
}
Loading

0 comments on commit 742b924

Please sign in to comment.