8 static int nb_images = 0;
13 #include "texture_map.h"
16 class Gliv:Image from G:Object {
23 public texture_map *maps;
24 public gboolean has_alpha;
26 public GlivImage *new(void)
30 printf("There are more than 4 images: %d images\n", nb_images);
35 override (G:Object) void finalize(GObject * self)
39 GlivImage *im = GLIV_IMAGE(self);
41 for (level = 0; level < im->nb_maps; level++) {
42 map = im->maps + level;
44 glDeleteTextures(map->nb_tiles, map->tex_ids);
47 glDeleteLists(map->list, map->nb_tiles);