File tree 4 files changed +12
-9
lines changed
4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,11 @@ target_sources(DxLib
71
71
DxThread.cpp
72
72
)
73
73
74
+ target_compile_definitions (DxLib
75
+ PRIVATE
76
+ PROXY_TO_PTHREAD
77
+ )
78
+
74
79
set_target_properties (DxLib
75
80
PROPERTIES
76
81
COMPILE_FLAGS "-sUSE_FREETYPE=1 -pthread -fwasm-exceptions"
Original file line number Diff line number Diff line change 49
49
#define DX_NON_MOVIE
50
50
51
51
// BMP画像の読み込み機能がいらない方は次のコメントを外してください
52
- // #define DX_NON_BMPREAD
52
+ #define DX_NON_BMPREAD
53
53
54
54
// TGA画像の読み込み機能がいらない方は次のコメントを外してください
55
55
// #define DX_NON_TGA
56
56
57
57
// JPEG画像の読みこみ機能がいらない方は次のコメントを外してください
58
58
// ※DxUseCLib.lib も再コンパイルする必要があります
59
- // #define DX_NON_JPEGREAD
59
+ #define DX_NON_JPEGREAD
60
60
61
61
// PNG画像の読みこみ機能がいらない方は次のコメントを外してください
62
62
// ※DxUseCLib.lib も再コンパイルする必要があります
63
- // #define DX_NON_PNGREAD
63
+ #define DX_NON_PNGREAD
64
64
65
65
// TIFF画像の読みこみ機能がいらない方は次のコメントを外してください
66
66
// ※DxUseCLib.lib も再コンパイルする必要があります
82
82
//#define DX_NON_ACM
83
83
84
84
// 標準 WAVE ファイルを使用しない方は次のコメントを外してください
85
- // #define DX_NON_WAVE
85
+ #define DX_NON_WAVE
86
86
87
87
// DirectShow を使用した MP3 ファイルのデコードを行わない場合は次のコメントをはずしてください
88
88
//#define DX_NON_DSHOW_MP3
163
163
//#define DX_NON_FONT
164
164
165
165
// ブラウザ依存のフォント描画機能を有効にする場合は次のコメントを外して下さい
166
- // #define DX_USE_BROWSER_FONT
166
+ #define DX_USE_BROWSER_FONT
167
167
168
168
// サウンド再生機能( ソフトウエアサウンド、MIDI含む )を無効にする場合は次のコメントを外して下さい
169
169
//#define DX_NON_SOUND
Original file line number Diff line number Diff line change @@ -109,9 +109,6 @@ struct SOUNDCONV
109
109
int OggVorbisBitDepth ; // OggVorbis使用時のビット深度(1:8bit 2:16bit)
110
110
int OggVorbisFromTheoraFile ; // Ogg Theora ファイル中の Vorbis データを参照するかどうかのフラグ( TRUE:Theora ファイル中の Vorbis データを参照する )
111
111
#endif
112
- #ifdef EMSCRIPTEN
113
- int BufferId;
114
- #endif
115
112
} ;
116
113
117
114
// サウンド変換処理全体で使用するデータ構造体
Original file line number Diff line number Diff line change 50
50
#ifndef DX_NON_PNGREAD
51
51
#include " png.h"
52
52
// #include "pngpriv.h"
53
- #include " zlib.h"
54
53
#endif
55
54
55
+ #include " zlib.h"
56
+
56
57
#ifndef DX_NON_JPEGREAD
57
58
#ifdef DX_GCC_COMPILE
58
59
typedef unsigned char boolean;
You can’t perform that action at this time.
0 commit comments