Add guards to only include SJIS font code, when KYRA or SCI is enabled.
svn-id: r42233
This commit is contained in:
parent
e35dd4df1c
commit
2a117d9a90
2 changed files with 16 additions and 0 deletions
|
@ -22,6 +22,12 @@
|
|||
* $Id$
|
||||
*/
|
||||
|
||||
// The code in this files is currently only used in KYRA and SCI.
|
||||
// So if no of those is enabled, we will not compile it.
|
||||
// If you plan to use this code in another engine, you will have
|
||||
// to add the proper defined check here and in sjis.h
|
||||
#if defined(ENABLE_KYRA) || defined(ENABLE_SCI)
|
||||
|
||||
#include "graphics/sjis.h"
|
||||
|
||||
#include "common/debug.h"
|
||||
|
@ -191,3 +197,5 @@ uint FontTowns::sjisToChunk(uint8 f, uint8 s) {
|
|||
|
||||
} // end of namespace Graphics
|
||||
|
||||
#endif // defined(ENABLE_KYRA) || defined(ENABLE_SCI)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue