Lines Matching refs:name
49 static int open_png(const char* name, png_structp* png_ptr, png_infop* info_ptr, in open_png() argument
57 snprintf(resPath, sizeof(resPath)-1, "/res/images/%s.png", name); in open_png()
200 int res_create_display_surface(const char* name, GRSurface** pSurface) { in res_create_display_surface() argument
212 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_display_surface()
240 int res_create_multi_display_surface(const char* name, int* frames, GRSurface*** pSurface) { in res_create_multi_display_surface() argument
256 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_multi_display_surface()
319 int res_create_alpha_surface(const char* name, GRSurface** pSurface) { in res_create_alpha_surface() argument
329 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_alpha_surface()
383 int res_create_localized_alpha_surface(const char* name, in res_create_localized_alpha_surface() argument
406 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_localized_alpha_surface()
423 printf(" %20s: %s (%d x %d @ %d)\n", name, loc, w, h, y); in res_create_localized_alpha_surface()