Skip to content

Commit

Permalink
2d filenames => hex
Browse files Browse the repository at this point in the history
  • Loading branch information
Radvendii committed May 16, 2021
1 parent dda1a3d commit ac494ea
Show file tree
Hide file tree
Showing 91 changed files with 3 additions and 3 deletions.
Binary file renamed resources/2D/51_0.png → resources/2D/21_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added resources/2D/25_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added resources/2D/2d_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file modified resources/2D/33_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified resources/2D/37_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file renamed resources/2D/69_0.png → resources/2D/3c_0.png
File renamed without changes
Binary file added resources/2D/3f_0.png
Binary file renamed resources/2D/96_0.png → resources/2D/3f_1.png
Binary file added resources/2D/3f_2.png
Binary file renamed resources/2D/99_0.png → resources/2D/3f_3.png
Binary file added resources/2D/3f_4.png
File renamed without changes
File renamed without changes
File renamed without changes
Binary file modified resources/2D/45_0.png
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed resources/2D/55_8.png
Diff not rendered.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file modified resources/2D/60_0.png
File renamed without changes
Binary file modified resources/2D/63_0.png
Binary file modified resources/2D/63_1.png
Binary file modified resources/2D/63_2.png
Binary file modified resources/2D/63_3.png
Binary file modified resources/2D/63_4.png
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file removed resources/2D/99_1.png
Diff not rendered.
Binary file removed resources/2D/99_2.png
Diff not rendered.
Binary file removed resources/2D/99_3.png
Diff not rendered.
Binary file removed resources/2D/99_4.png
Diff not rendered.
6 changes: 3 additions & 3 deletions src/parsing.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,9 +208,9 @@ void io_getObj(FILE* f, obj *o, char oname, color cs[CHAR_MAX]) {
y=0; x=0; i=0;
char imFn[64];
// windows can't handle certain characters in file names, and mac can't deal
// with case sensitivity, so we give up and encode the obj char in ascii in
// the filename
sprintf(imFn, "2D/%d_%d.png", oname, j);
// with case sensitivity, so we give up and encode the obj char in ascii hex
// in the filename
sprintf(imFn, "2D/%x_%d.png", oname, j);
o->frames[j].im = io_getImage(imFn);
o->frames[j].ps = salloc(sizeof(point) * (size+1));
while(i<size){
Expand Down

0 comments on commit ac494ea

Please sign in to comment.