forked from gaodayihao/QSanguosha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
QSanguosha.pro
354 lines (338 loc) · 9.76 KB
/
QSanguosha.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
# -------------------------------------------------
# Project created by QtCreator 2010-06-13T04:26:52
# -------------------------------------------------
TARGET = QSanguosha
QT += network sql declarative
TEMPLATE = app
CONFIG += warn_on audio
# If you want to enable joystick support, please uncomment the following line:
# CONFIG += joystick
# However, joystick is not supported under Mac OS X temporarily
# If you want enable voice reading for chat content, uncomment the following line:
# CONFIG += chatvoice
# Also, this function can only enabled under Windows system as it make use of Microsoft TTS
SOURCES += \
src/main.cpp \
src/client/aux-skills.cpp \
src/client/client.cpp \
src/client/clientplayer.cpp \
src/client/clientstruct.cpp \
src/core/banpair.cpp \
src/core/card.cpp \
src/core/engine.cpp \
src/core/general.cpp \
src/core/jsonutils.cpp \
src/core/lua-wrapper.cpp \
src/core/player.cpp \
src/core/protocol.cpp \
src/core/settings.cpp \
src/core/skill.cpp \
src/core/structs.cpp \
src/core/util.cpp \
src/dialog/cardeditor.cpp \
src/dialog/cardoverview.cpp \
src/dialog/choosegeneraldialog.cpp \
src/dialog/configdialog.cpp \
src/dialog/connectiondialog.cpp \
src/dialog/customassigndialog.cpp \
src/dialog/distanceviewdialog.cpp \
src/dialog/generaloverview.cpp \
src/dialog/halldialog.cpp \
src/dialog/mainwindow.cpp \
src/dialog/packagingeditor.cpp \
src/dialog/playercarddialog.cpp \
src/dialog/roleassigndialog.cpp \
src/dialog/scenario-overview.cpp \
src/package/bgm-package.cpp \
src/package/exppattern.cpp \
src/package/firepackage.cpp \
src/package/god.cpp \
src/package/joypackage.cpp \
src/package/lingpackage.cpp \
src/package/maneuvering.cpp \
src/package/mountainpackage.cpp \
src/package/nostalgia.cpp \
src/package/package.cpp \
src/package/special3v3-package.cpp \
src/package/sp-package.cpp \
src/package/standard.cpp \
src/package/standard-cards.cpp \
src/package/standard-generals.cpp \
src/package/standard-skillcards.cpp \
src/package/thicket.cpp \
src/package/wind.cpp \
src/package/wisdompackage.cpp \
src/package/yitianpackage.cpp \
src/package/yjcm-package.cpp \
src/package/yjcm2012-package.cpp \
src/scenario/boss-mode-scenario.cpp \
src/scenario/couple-scenario.cpp \
src/scenario/guandu-scenario.cpp \
src/scenario/miniscenarios.cpp \
src/scenario/scenario.cpp \
src/scenario/scenerule.cpp \
src/scenario/zombie-scenario.cpp \
src/server/ai.cpp \
src/server/contestdb.cpp \
src/server/gamerule.cpp \
src/server/generalselector.cpp \
src/server/room.cpp \
src/server/roomthread.cpp \
src/server/roomthread1v1.cpp \
src/server/roomthread3v3.cpp \
src/server/server.cpp \
src/server/serverplayer.cpp \
src/ui/button.cpp \
src/ui/cardcontainer.cpp \
src/ui/carditem.cpp \
src/ui/chatwidget.cpp \
src/ui/clientlogbox.cpp \
src/ui/dashboard.cpp \
src/ui/GenericCardContainerUI.cpp \
src/ui/indicatoritem.cpp \
src/ui/magatamasItem.cpp \
src/ui/photo.cpp \
src/ui/pixmapanimation.cpp \
src/ui/qsanbutton.cpp \
src/ui/QSanSelectableItem.cpp \
src/ui/rolecombobox.cpp \
src/ui/roomscene.cpp \
src/ui/SkinBank.cpp \
src/ui/sprite.cpp \
src/ui/startscene.cpp \
src/ui/TablePile.cpp \
src/ui/TimedProgressBar.cpp \
src/ui/uiUtils.cpp \
src/ui/window.cpp \
src/util/detector.cpp \
src/util/nativesocket.cpp \
src/util/recorder.cpp \
src/lua/print.c \
src/lua/lzio.c \
src/lua/lvm.c \
src/lua/lundump.c \
src/lua/ltm.c \
src/lua/ltablib.c \
src/lua/ltable.c \
src/lua/lstrlib.c \
src/lua/lstring.c \
src/lua/lstate.c \
src/lua/lparser.c \
src/lua/loslib.c \
src/lua/lopcodes.c \
src/lua/lobject.c \
src/lua/loadlib.c \
src/lua/lmem.c \
src/lua/lmathlib.c \
src/lua/llex.c \
src/lua/liolib.c \
src/lua/linit.c \
src/lua/lgc.c \
src/lua/lfunc.c \
src/lua/ldump.c \
src/lua/ldo.c \
src/lua/ldebug.c \
src/lua/ldblib.c \
src/lua/lcode.c \
src/lua/lbaselib.c \
src/lua/lauxlib.c \
src/lua/lapi.c \
src/jsoncpp/src/json_writer.cpp \
src/jsoncpp/src/json_valueiterator.inl \
src/jsoncpp/src/json_value.cpp \
src/jsoncpp/src/json_reader.cpp \
src/jsoncpp/src/json_internalmap.inl \
src/jsoncpp/src/json_internalarray.inl \
swig/sanguosha_wrap.cxx \
src/core/RoomState.cpp \
src/core/WrappedCard.cpp \
src/core/record-analysis.cpp
HEADERS += \
src/client/aux-skills.h \
src/client/client.h \
src/client/clientplayer.h \
src/client/clientstruct.h \
src/ui/SkinBank.h \
src/core/audio.h \
src/core/banpair.h \
src/core/card.h \
src/core/compiler-specific.h \
src/core/engine.h \
src/core/general.h \
src/core/jsonutils.h \
src/core/lua-wrapper.h \
src/core/player.h \
src/core/protocol.h \
src/core/settings.h \
src/core/skill.h \
src/core/structs.h \
src/core/util.h \
src/dialog/cardeditor.h \
src/dialog/cardoverview.h \
src/dialog/choosegeneraldialog.h \
src/dialog/configdialog.h \
src/dialog/connectiondialog.h \
src/dialog/customassigndialog.h \
src/dialog/distanceviewdialog.h \
src/dialog/generaloverview.h \
src/dialog/halldialog.h \
src/dialog/mainwindow.h \
src/dialog/packagingeditor.h \
src/dialog/playercarddialog.h \
src/dialog/roleassigndialog.h \
src/dialog/scenario-overview.h \
src/package/bgm-package.h \
src/package/exppattern.h \
src/package/firepackage.h \
src/package/god.h \
src/package/joypackage.h \
src/package/lingpackage.h \
src/package/maneuvering.h \
src/package/mountainpackage.h \
src/package/nostalgia.h \
src/package/package.h \
src/package/special3v3-package.h \
src/package/sp-package.h \
src/package/standard.h \
src/package/standard-equips.h \
src/package/standard-skillcards.h \
src/package/thicket.h \
src/package/wind.h \
src/package/wisdompackage.h \
src/package/yitianpackage.h \
src/package/yjcm-package.h \
src/package/yjcm2012-package.h \
src/scenario/boss-mode-scenario.h \
src/scenario/couple-scenario.h \
src/scenario/guandu-scenario.h \
src/scenario/miniscenarios.h \
src/scenario/scenario.h \
src/scenario/scenerule.h \
src/scenario/zombie-scenario.h \
src/server/ai.h \
src/server/contestdb.h \
src/server/gamerule.h \
src/server/generalselector.h \
src/server/room.h \
src/server/roomthread.h \
src/server/roomthread1v1.h \
src/server/roomthread3v3.h \
src/server/server.h \
src/server/serverplayer.h \
src/ui/button.h \
src/ui/cardcontainer.h \
src/ui/carditem.h \
src/ui/chatwidget.h \
src/ui/clientlogbox.h \
src/ui/dashboard.h \
src/ui/GenericCardContainerUI.h \
src/ui/indicatoritem.h \
src/ui/magatamasItem.h \
src/ui/photo.h \
src/ui/pixmapanimation.h \
src/ui/qsanbutton.h \
src/ui/QSanSelectableItem.h \
src/ui/rolecombobox.h \
src/ui/roomscene.h \
src/ui/SkinBank.h \
src/ui/sprite.h \
src/ui/startscene.h \
src/ui/TablePile.h \
src/ui/TimedProgressBar.h \
src/ui/uiUtils.h \
src/ui/window.h \
src/util/detector.h \
src/util/nativesocket.h \
src/util/recorder.h \
src/util/socket.h \
src/lua/lzio.h \
src/lua/lvm.h \
src/lua/lundump.h \
src/lua/lualib.h \
src/lua/luaconf.h \
src/lua/lua.hpp \
src/lua/lua.h \
src/lua/ltm.h \
src/lua/ltable.h \
src/lua/lstring.h \
src/lua/lstate.h \
src/lua/lparser.h \
src/lua/lopcodes.h \
src/lua/lobject.h \
src/lua/lmem.h \
src/lua/llimits.h \
src/lua/llex.h \
src/lua/lgc.h \
src/lua/lfunc.h \
src/lua/ldo.h \
src/lua/ldebug.h \
src/lua/lcode.h \
src/lua/lauxlib.h \
src/lua/lapi.h \
src/jsoncpp/src/json_tool.h \
src/jsoncpp/src/json_batchallocator.h \
src/jsoncpp/include/json/writer.h \
src/jsoncpp/include/json/value.h \
src/jsoncpp/include/json/reader.h \
src/jsoncpp/include/json/json.h \
src/jsoncpp/include/json/forwards.h \
src/jsoncpp/include/json/features.h \
src/jsoncpp/include/json/config.h \
src/jsoncpp/include/json/autolink.h \
src/jsoncpp/include/json/assertions.h \
src/core/RoomState.h \
src/core/WrappedCard.h \
src/core/record-analysis.h
FORMS += \
src/dialog/cardoverview.ui \
src/dialog/configdialog.ui \
src/dialog/connectiondialog.ui \
src/dialog/generaloverview.ui \
src/dialog/mainwindow.ui
INCLUDEPATH += include
INCLUDEPATH += src/client
INCLUDEPATH += src/core
INCLUDEPATH += src/dialog
INCLUDEPATH += src/package
INCLUDEPATH += src/scenario
INCLUDEPATH += src/server
INCLUDEPATH += src/ui
INCLUDEPATH += src/util
INCLUDEPATH += src/lua
INCLUDEPATH += src/jsoncpp/include
win32{
RC_FILE += resource/icon.rc
}
macx{
ICON = resource/icon/sgs.icns
}
LIBS += -L.
CONFIG(audio){
DEFINES += AUDIO_SUPPORT
INCLUDEPATH += include/fmod
LIBS += -lfmodex
SOURCES += src/core/audio.cpp
}
CONFIG(joystick){
DEFINES += JOYSTICK_SUPPORT
HEADERS += src/ui/joystick.h
SOURCES += src/ui/joystick.cpp
win32: LIBS += -lplibjs -lplibul -lwinmm
unix: LIBS += -lplibjs -lplibul
}
CONFIG(chatvoice){
win32{
CONFIG += qaxcontainer
DEFINES += CHAT_VOICE
}
}
TRANSLATIONS += sanguosha.ts
OTHER_FILES += \
sanguosha.qss \
acknowledgement/main.qml \
acknowledgement/list.png \
acknowledgement/back.png
symbian: LIBS += -lfreetype
else:unix|win32: LIBS += -L$$PWD/lib/ -lfreetype
INCLUDEPATH += $$PWD/include/freetype
DEPENDPATH += $$PWD/include/freetype