aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_cryo
diff options
context:
space:
mode:
authorEugene Sandulenko2016-10-21 21:24:43 +0200
committerEugene Sandulenko2017-01-25 22:42:01 +0100
commit5bc0695ce3d24856be0f99bfd0803620306a8668 (patch)
treec705e43ff14b4af5460e8605be62d219bfebdd5c /devtools/create_cryo
parentd87f5e176e68c902ec581b39de542cd641d6662d (diff)
downloadscummvm-rg350-5bc0695ce3d24856be0f99bfd0803620306a8668.tar.gz
scummvm-rg350-5bc0695ce3d24856be0f99bfd0803620306a8668.tar.bz2
scummvm-rg350-5bc0695ce3d24856be0f99bfd0803620306a8668.zip
DEVTOOLS: Fix create_led_dat compilation
Diffstat (limited to 'devtools/create_cryo')
-rw-r--r--devtools/create_cryo/create_led_dat.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/devtools/create_cryo/create_led_dat.cpp b/devtools/create_cryo/create_led_dat.cpp
index 9c28447f87..88b1debdbf 100644
--- a/devtools/create_cryo/create_led_dat.cpp
+++ b/devtools/create_cryo/create_led_dat.cpp
@@ -10,7 +10,7 @@ static void writeLE(FILE *f, T value) {
unsigned char b = value & 0xFF;
fwrite(&b, 1, 1, f);
}
-};
+}
struct _icon_t : icon_t {
void write(FILE *f) {
@@ -28,7 +28,7 @@ static void emitIcons(FILE *f) {
_icon_t *icons = (_icon_t*)gameIcons;
for(int i = 0;i < kNumIcons;i++)
icons[i].write(f);
-};
+}
struct _room_t : room_t {
void write(FILE *f) {
@@ -51,7 +51,7 @@ static void emitRooms(FILE *f) {
_room_t *rooms = (_room_t*)gameRooms;
for(int i = 0;i < kNumRooms;i++)
rooms[i].write(f);
-};
+}
static int emitData(char *outputFilename) {
FILE *f = fopen(outputFilename, "w+b");
@@ -70,7 +70,7 @@ static int emitData(char *outputFilename) {
printf("Done!\n");
return 0;
-};
+}
int main(int argc, char **argv) {
@@ -80,4 +80,4 @@ int main(int argc, char **argv) {
printf("Usage: %s <output.dat>\n", argv[0]);
return 0;
-} \ No newline at end of file
+}