• R/O
  • SSH
  • HTTPS

deeangband: Commit


Commit MetaInfo

Revision9203 (tree)
Time2014-02-20 12:41:38
Authordeskull

Log Message

Create ttf and img directory.

Change Summary

Incremental Difference

--- source/branch/new_source/Deeangband/Deeangband/GameSurfaceSDL.cpp (revision 9202)
+++ source/branch/new_source/Deeangband/Deeangband/GameSurfaceSDL.cpp (revision 9203)
@@ -64,7 +64,7 @@
6464
6565 void GameSurfaceSDL::test(void)
6666 {
67- TTF_Font* font = TTF_OpenFont("ipam.ttf", 18);
67+ TTF_Font* font = TTF_OpenFont("ttf\\ipam.ttf", 18);
6868 SDL_Surface *surface, *surface2;
6969 SDL_Color color;
7070 SDL_Rect src = {0, 0, 300, 200};
@@ -84,7 +84,7 @@
8484 if(!font) exit(1);
8585 surface = TTF_RenderUTF8_Blended(font, toUTF8("D'angbandテスト"), color);
8686
87- rwop = SDL_RWFromFile(".\\Title.png", "rb");
87+ rwop = SDL_RWFromFile("img\\Title.png", "rb");
8888 error = IMG_GetError();
8989 surface2 = IMG_LoadPNG_RW(rwop);
9090
Show on old repository browser