From a2b0ab4f579151bd2a6145dd18ce684fadedfe23 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Thu, 12 Jul 2012 11:22:28 +1000 Subject: Make it clear that stickman example animations are binary files. Add a .bin extension to the filenames to ensure that packaging scripts treat these files as binary instead of text. Change-Id: Ib49e2bdb93a43ddb7590cb8fc0b542a251a786f8 Reviewed-by: Eskil Abrahamsen Blomfeldt --- examples/animation/stickman/animations/chilling | Bin 6508 -> 0 bytes examples/animation/stickman/animations/chilling.bin | Bin 0 -> 6508 bytes examples/animation/stickman/animations/dancing | Bin 2348 -> 0 bytes examples/animation/stickman/animations/dancing.bin | Bin 0 -> 2348 bytes examples/animation/stickman/animations/dead | Bin 268 -> 0 bytes examples/animation/stickman/animations/dead.bin | Bin 0 -> 268 bytes examples/animation/stickman/animations/jumping | Bin 1308 -> 0 bytes examples/animation/stickman/animations/jumping.bin | Bin 0 -> 1308 bytes examples/animation/stickman/main.cpp | 8 ++++---- examples/animation/stickman/stickman.qrc | 10 +++++----- 10 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 examples/animation/stickman/animations/chilling create mode 100644 examples/animation/stickman/animations/chilling.bin delete mode 100644 examples/animation/stickman/animations/dancing create mode 100644 examples/animation/stickman/animations/dancing.bin delete mode 100644 examples/animation/stickman/animations/dead create mode 100644 examples/animation/stickman/animations/dead.bin delete mode 100644 examples/animation/stickman/animations/jumping create mode 100644 examples/animation/stickman/animations/jumping.bin (limited to 'examples/animation') diff --git a/examples/animation/stickman/animations/chilling b/examples/animation/stickman/animations/chilling deleted file mode 100644 index a81fc7a18c..0000000000 Binary files a/examples/animation/stickman/animations/chilling and /dev/null differ diff --git a/examples/animation/stickman/animations/chilling.bin b/examples/animation/stickman/animations/chilling.bin new file mode 100644 index 0000000000..a81fc7a18c Binary files /dev/null and b/examples/animation/stickman/animations/chilling.bin differ diff --git a/examples/animation/stickman/animations/dancing b/examples/animation/stickman/animations/dancing deleted file mode 100644 index 462f66f89b..0000000000 Binary files a/examples/animation/stickman/animations/dancing and /dev/null differ diff --git a/examples/animation/stickman/animations/dancing.bin b/examples/animation/stickman/animations/dancing.bin new file mode 100644 index 0000000000..462f66f89b Binary files /dev/null and b/examples/animation/stickman/animations/dancing.bin differ diff --git a/examples/animation/stickman/animations/dead b/examples/animation/stickman/animations/dead deleted file mode 100644 index 9859b4b4cd..0000000000 Binary files a/examples/animation/stickman/animations/dead and /dev/null differ diff --git a/examples/animation/stickman/animations/dead.bin b/examples/animation/stickman/animations/dead.bin new file mode 100644 index 0000000000..9859b4b4cd Binary files /dev/null and b/examples/animation/stickman/animations/dead.bin differ diff --git a/examples/animation/stickman/animations/jumping b/examples/animation/stickman/animations/jumping deleted file mode 100644 index 12661a15f8..0000000000 Binary files a/examples/animation/stickman/animations/jumping and /dev/null differ diff --git a/examples/animation/stickman/animations/jumping.bin b/examples/animation/stickman/animations/jumping.bin new file mode 100644 index 0000000000..12661a15f8 Binary files /dev/null and b/examples/animation/stickman/animations/jumping.bin differ diff --git a/examples/animation/stickman/main.cpp b/examples/animation/stickman/main.cpp index 55fc1ba310..3e49da8de3 100644 --- a/examples/animation/stickman/main.cpp +++ b/examples/animation/stickman/main.cpp @@ -93,11 +93,11 @@ int main(int argc, char **argv) view.setFocus(); LifeCycle cycle(stickMan, &view); - cycle.setDeathAnimation(":/animations/dead"); + cycle.setDeathAnimation(":/animations/dead.bin"); - cycle.addActivity(":/animations/jumping", Qt::Key_J); - cycle.addActivity(":/animations/dancing", Qt::Key_D); - cycle.addActivity(":/animations/chilling", Qt::Key_C); + cycle.addActivity(":/animations/jumping.bin", Qt::Key_J); + cycle.addActivity(":/animations/dancing.bin", Qt::Key_D); + cycle.addActivity(":/animations/chilling.bin", Qt::Key_C); cycle.start(); diff --git a/examples/animation/stickman/stickman.qrc b/examples/animation/stickman/stickman.qrc index e5d66cf2c7..4cf3ba3828 100644 --- a/examples/animation/stickman/stickman.qrc +++ b/examples/animation/stickman/stickman.qrc @@ -1,8 +1,8 @@ - animations/chilling - animations/dancing - animations/dead - animations/jumping + animations/chilling.bin + animations/dancing.bin + animations/dead.bin + animations/jumping.bin - \ No newline at end of file + -- cgit v1.2.3