Bladeren bron

* Renamed sprites to < 8+3 names for the DOS port.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/ttyvaders/trunk@164 92316355-f0b4-4df1-b90c-862c8a59935f
master
sam 21 jaren geleden
bovenliggende
commit
8792f1ba25
19 gewijzigde bestanden met toevoegingen van 25 en 25 verwijderingen
  1. +11
    -11
      data/Makefile.am
  2. +0
    -0
      data/barboss.txt
  3. +0
    -0
      data/barfight.txt
  4. +0
    -0
      data/bazfight.txt
  5. +0
    -0
      data/bongem.txt
  6. +0
    -0
      data/bonheart.txt
  7. +0
    -0
      data/foofight.txt
  8. +0
    -0
      data/ship.txt
  9. +0
    -0
      data/wpnbomb.txt
  10. +0
    -0
      data/wpnfrag.txt
  11. +0
    -0
      data/xplmed.txt
  12. +0
    -0
      data/xplsmall.txt
  13. +3
    -3
      src/aliens.c
  14. +2
    -2
      src/bonus.c
  15. +2
    -2
      src/explosions.c
  16. +3
    -3
      src/intro.c
  17. +1
    -1
      src/player.c
  18. +2
    -2
      src/weapons.c
  19. +1
    -1
      test/demo.c

+ 11
- 11
data/Makefile.am Bestand weergeven

@@ -1,14 +1,14 @@
NULL =
EXTRA_DIST = \
foo_fighter \
bar_fighter \
bar_boss \
baz_fighter \
explosion_medium \
explosion_small \
item_gem \
item_heart \
ship_green \
weapon_bomb \
weapon_fragbomb \
barboss.txt \
barfight.txt \
bazfight.txt \
bongem.txt \
bonheart.txt \
foofight.txt \
ship.txt \
wpnbomb.txt \
wpnfrag.txt \
xplmed.txt \
xplsmall.txt \
$(NULL)

data/bar_boss → data/barboss.txt Bestand weergeven


data/bar_fighter → data/barfight.txt Bestand weergeven


data/baz_fighter → data/bazfight.txt Bestand weergeven


data/item_gem → data/bongem.txt Bestand weergeven


data/item_heart → data/bonheart.txt Bestand weergeven


data/foo_fighter → data/foofight.txt Bestand weergeven


data/ship_green → data/ship.txt Bestand weergeven


data/weapon_bomb → data/wpnbomb.txt Bestand weergeven


data/weapon_fragbomb → data/wpnfrag.txt Bestand weergeven


data/explosion_medium → data/xplmed.txt Bestand weergeven


data/explosion_small → data/xplsmall.txt Bestand weergeven


+ 3
- 3
src/aliens.c Bestand weergeven

@@ -39,9 +39,9 @@ void init_aliens(game *g, aliens *al)
al->type[i] = ALIEN_NONE;
}

foo_sprite = ee_load_sprite("data/foo_fighter");
bar_sprite = ee_load_sprite("data/bar_fighter");
baz_sprite = ee_load_sprite("data/baz_fighter");
foo_sprite = ee_load_sprite("data/foofight.txt");
bar_sprite = ee_load_sprite("data/barfight.txt");
baz_sprite = ee_load_sprite("data/bazfight.txt");
}

void draw_aliens(game *g, aliens *al)


+ 2
- 2
src/bonus.c Bestand weergeven

@@ -38,8 +38,8 @@ void init_bonus(game *g, bonus *bo)
bo->type[i] = BONUS_NONE;
}

heart_sprite = ee_load_sprite("data/heart");
gem_sprite = ee_load_sprite("data/gem");
heart_sprite = ee_load_sprite("data/bonheart.txt");
gem_sprite = ee_load_sprite("data/bongem.txt");
}

void draw_bonus(game *g, bonus *bo)


+ 2
- 2
src/explosions.c Bestand weergeven

@@ -38,8 +38,8 @@ void init_explosions(game *g, explosions *ex)
ex->type[i] = EXPLOSION_NONE;
}

medium_sprite = ee_load_sprite("data/explosion_medium");
small_sprite = ee_load_sprite("data/explosion_small");
medium_sprite = ee_load_sprite("data/xplmed.txt");
small_sprite = ee_load_sprite("data/xplsmall.txt");
}

void add_explosion(game *g, explosions *ex, int x, int y, int vx, int vy, int type)


+ 3
- 3
src/intro.c Bestand weergeven

@@ -30,9 +30,9 @@

void intro(void)
{
struct ee_sprite *foo_sprite = ee_load_sprite("data/foo_fighter");
struct ee_sprite *bar_sprite = ee_load_sprite("data/bar_fighter");
struct ee_sprite *baz_sprite = ee_load_sprite("data/baz_fighter");
struct ee_sprite *foo_sprite = ee_load_sprite("data/foofight.txt");
struct ee_sprite *bar_sprite = ee_load_sprite("data/barfight.txt");
struct ee_sprite *baz_sprite = ee_load_sprite("data/bazfight.txt");

int frame = 0;



+ 1
- 1
src/player.c Bestand weergeven

@@ -42,7 +42,7 @@ player * create_player(game *g)
p->life = MAX_LIFE;
p->dead = 0;

ship_sprite = ee_load_sprite("data/ship_green");
ship_sprite = ee_load_sprite("data/ship.txt");

return p;
}


+ 2
- 2
src/weapons.c Bestand weergeven

@@ -43,8 +43,8 @@ void init_weapons(game *g, weapons *wp)
wp->type[i] = WEAPON_NONE;
}

bomb_sprite = ee_load_sprite("data/weapon_bomb");
fragbomb_sprite = ee_load_sprite("data/weapon_fragbomb");
bomb_sprite = ee_load_sprite("data/wpnbomb.txt");
fragbomb_sprite = ee_load_sprite("data/wpnfrag.txt");
}

void draw_weapons(game *g, weapons *wp)


+ 1
- 1
test/demo.c Bestand weergeven

@@ -56,7 +56,7 @@ int main(int argc, char **argv)
}

/* Initialize data */
sprite = ee_load_sprite("data/bar_boss");
sprite = ee_load_sprite("data/barboss.txt");

/* Main menu */
display_menu();


Laden…
Annuleren
Opslaan