Misc. clean up.
This commit is contained in:
parent
8a30dd36ae
commit
2bca049973
|
@ -69,10 +69,10 @@ dist:
|
||||||
mkdir $(PROG)-$(VERSION)
|
mkdir $(PROG)-$(VERSION)
|
||||||
cp -r $(DIST_FILES) $(PROG)-$(VERSION)
|
cp -r $(DIST_FILES) $(PROG)-$(VERSION)
|
||||||
git log --oneline --decorate >$(PROG)-$(VERSION)/CHANGELOG.raw
|
git log --oneline --decorate >$(PROG)-$(VERSION)/CHANGELOG.raw
|
||||||
tar czf $(PROG)-$(VERSION).$(REVISION)-src.tar.gz $(PROG)-$(VERSION)
|
tar czf $(PROG)-$(VERSION)-$(REVISION).src.tar.gz $(PROG)-$(VERSION)
|
||||||
mkdir -p dist
|
mkdir -p dist
|
||||||
$(RM) -rf dist/*
|
$(RM) -rf dist/*
|
||||||
mv $(PROG)-$(VERSION).$(REVISION)-src.tar.gz dist
|
mv $(PROG)-$(VERSION)-$(REVISION).src.tar.gz dist
|
||||||
$(RM) -rf $(PROG)-$(VERSION)
|
$(RM) -rf $(PROG)-$(VERSION)
|
||||||
|
|
||||||
# cleaning everything that can be automatically recreated with "make".
|
# cleaning everything that can be automatically recreated with "make".
|
||||||
|
|
|
@ -203,7 +203,7 @@ void saveScreenshot(void)
|
||||||
char filename[MAX_NAME_LENGTH];
|
char filename[MAX_NAME_LENGTH];
|
||||||
SDL_Surface *sshot;
|
SDL_Surface *sshot;
|
||||||
|
|
||||||
sprintf(filename, "/tmp/tbftss/%d.bmp", ++i);
|
sprintf(filename, "dev/screenshots/tmp/%d.bmp", ++i);
|
||||||
|
|
||||||
sshot = SDL_CreateRGBSurface(0, SCREEN_WIDTH, SCREEN_HEIGHT, 32, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000);
|
sshot = SDL_CreateRGBSurface(0, SCREEN_WIDTH, SCREEN_HEIGHT, 32, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000);
|
||||||
SDL_RenderReadPixels(app.renderer, NULL, SDL_PIXELFORMAT_ARGB8888, sshot->pixels, sshot->pitch);
|
SDL_RenderReadPixels(app.renderer, NULL, SDL_PIXELFORMAT_ARGB8888, sshot->pixels, sshot->pitch);
|
||||||
|
|
|
@ -38,7 +38,6 @@ extern SDL_Texture *getTexture(char *filename);
|
||||||
extern void startSectionTransition(void);
|
extern void startSectionTransition(void);
|
||||||
extern void endSectionTransition(void);
|
extern void endSectionTransition(void);
|
||||||
extern void saveGame(void);
|
extern void saveGame(void);
|
||||||
extern char *getChallengeDescription(Challenge *c);
|
|
||||||
extern void blit(SDL_Texture *t, int x, int y, int centered);
|
extern void blit(SDL_Texture *t, int x, int y, int centered);
|
||||||
extern int collision(int x1, int y1, int w1, int h1, int x2, int y2, int w2, int h2);
|
extern int collision(int x1, int y1, int w1, int h1, int x2, int y2, int w2, int h2);
|
||||||
extern void updateStarSystemDescriptions(void);
|
extern void updateStarSystemDescriptions(void);
|
||||||
|
|
Loading…
Reference in New Issue