~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/debug.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
#define MSDL_DisplayFormat(surface) \
58
58
    FakeSDL_DisplayFormat(surface, __FILE__, __LINE__)
59
59
 
60
 
#else
 
60
#else  // ENABLE_SDL_DEBUG
61
61
 
62
62
#define MIMG_LoadPNG_RW(src)  IMG_LoadPNG_RW(src)
63
63
#define MSDL_FreeSurface(surface) SDL_FreeSurface(surface)
72
72
#define MSDL_DisplayFormat(surface) SDL_DisplayFormat(surface)
73
73
 
74
74
#endif  // ENABLE_SDL_DEBUG
 
75
 
 
76
 
 
77
#ifdef DEBUG_PHYSFS
 
78
 
 
79
#define MPHYSFSRWOPS_openRead(name) \
 
80
    FakePHYSFSRWOPS_openRead(name, __FILE__, __LINE__)
 
81
 
 
82
#else  // DEBUG_PHYSFS
 
83
 
 
84
#define MPHYSFSRWOPS_openRead(name) PHYSFSRWOPS_openRead(name)
 
85
 
 
86
#endif  // DEBUG_PHYSFS