Merge branch 'master' into wp8
This commit is contained in:
@@ -57,7 +57,6 @@ LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.cpp \
|
||||
$(MTG_PATH)/src/DeckMetaData.cpp \
|
||||
$(MTG_PATH)/src/DeckStats.cpp \
|
||||
$(MTG_PATH)/src/DuelLayers.cpp \
|
||||
$(MTG_PATH)/src/Effects.cpp \
|
||||
$(MTG_PATH)/src/ExtraCost.cpp \
|
||||
$(MTG_PATH)/src/GameApp.cpp \
|
||||
$(MTG_PATH)/src/GameLauncher.cpp \
|
||||
|
||||
@@ -80,7 +80,6 @@ public class SDLActivity extends Activity implements OnKeyListener
|
||||
public Boolean mErrorHappened = false;
|
||||
public final static String RES_FOLDER = Environment.getExternalStorageDirectory().getPath() + "/Wagic/Res/";
|
||||
public static String RES_FILENAME = "core_0184.zip";
|
||||
public static final String RES_URL = "http://wagic.googlecode.com/files/";
|
||||
|
||||
public String systemFolder = Environment.getExternalStorageDirectory().getPath() + "/Wagic/Res/";
|
||||
private String userFolder;
|
||||
@@ -307,7 +306,7 @@ public class SDLActivity extends Activity implements OnKeyListener
|
||||
|
||||
private void startDownload()
|
||||
{
|
||||
String url = RES_URL + RES_FILENAME;
|
||||
String url = getResourceUrl();
|
||||
if (!checkStorageState())
|
||||
{
|
||||
Log.e(TAG, "Error in initializing storage space.");
|
||||
@@ -437,7 +436,7 @@ public class SDLActivity extends Activity implements OnKeyListener
|
||||
mContext = this.getApplicationContext();
|
||||
// get the current version of the app to set the core filename
|
||||
String versionCodeString = getApplicationCode();
|
||||
RES_FILENAME = "core_" + versionCodeString + ".zip";
|
||||
RES_FILENAME = getResourceName();
|
||||
|
||||
StorageOptions.determineStorageOptions();
|
||||
checkStorageLocationPreference();
|
||||
@@ -525,6 +524,9 @@ public class SDLActivity extends Activity implements OnKeyListener
|
||||
}
|
||||
|
||||
// C functions we call
|
||||
public static native String getResourceUrl();
|
||||
public static native String getResourceName();
|
||||
|
||||
public static native void nativeInit();
|
||||
|
||||
public static native void nativeQuit();
|
||||
|
||||
@@ -6,7 +6,7 @@ OBJS = objs/InteractiveButton.o objs/AbilityParser.o objs/ActionElement.o\
|
||||
objs/Counters.o objs/Credits.o objs/Damage.o objs/DamagerDamaged.o\
|
||||
objs/DeckDataWrapper.o objs/DeckEditorMenu.o objs/DeckMenu.o\
|
||||
objs/DeckMenuItem.o objs/DeckMetaData.o objs/DeckStats.o objs/DuelLayers.o\
|
||||
objs/Effects.o objs/ExtraCost.o objs/GameApp.o objs/GameLauncher.o\
|
||||
objs/ExtraCost.o objs/GameApp.o objs/GameLauncher.o\
|
||||
objs/GameObserver.o objs/GameOptions.o objs/GameState.o\
|
||||
objs/GameStateAwards.o objs/GameStateDeckViewer.o objs/GameStateDuel.o\
|
||||
objs/DeckManager.o objs/GameStateMenu.o objs/GameStateOptions.o\
|
||||
@@ -128,7 +128,7 @@ clean:
|
||||
endif
|
||||
|
||||
define compile
|
||||
$(CXX) -c $(CXXFLAGS) $< -o $@
|
||||
$(CXX) -c $(CXXFLAGS) $< -o $@
|
||||
endef
|
||||
|
||||
PrecompiledHeader.h.gch: ../../projects/mtg/include/PrecompiledHeader.h
|
||||
|
||||
@@ -30,8 +30,8 @@ def createResZipFile(filename):
|
||||
zip_file.close()
|
||||
|
||||
if rename:
|
||||
os.rename('settings/options.txt', 'settings/options.orig.txt')
|
||||
os.rename('player/options.txt', 'player/options.orig.txt')
|
||||
os.rename('settings/options.txt', 'settings/options.orig.txt')
|
||||
os.rename('player/options.txt', 'player/options.orig.txt')
|
||||
|
||||
def getFilename():
|
||||
p = Properties();
|
||||
@@ -44,16 +44,18 @@ def getFilename():
|
||||
|
||||
|
||||
|
||||
def createStandardResFile():
|
||||
print "Creating Standard Resource File"
|
||||
filename = getFilename() + '.zip'
|
||||
def createStandardResFile(filename):
|
||||
print('Creating Standard Resource File')
|
||||
if not filename:
|
||||
filename = getFilename() + '.zip'
|
||||
createResZipFile( filename )
|
||||
print >> sys.stderr, 'Created Resource Package for Standard Distribution: {0}'.format( filename)
|
||||
|
||||
def createIosResFile():
|
||||
print 'Preparing Resource Package for iOS'
|
||||
def createIosResFile(filename):
|
||||
print('Preparing Resource Package for iOS')
|
||||
utilities = ZipUtilities()
|
||||
filename = getFilename() + '_iOS.zip'
|
||||
if not filename:
|
||||
filename = getFilename() + '_iOS.zip'
|
||||
#createResZipFile( filename )
|
||||
zip_file = zipfile.ZipFile(filename, 'a', zipfile.ZIP_STORED)
|
||||
zip_file.write("../../iOS/Res/rules/modrules.xml", "rules/modrules.xml", zipfile.ZIP_STORED)
|
||||
@@ -78,10 +80,10 @@ class ZipUtilities:
|
||||
if file != '.svn':
|
||||
full_path = os.path.join(folder, file)
|
||||
if os.path.isfile(full_path):
|
||||
print 'File added: ' + str(full_path)
|
||||
print('File added: ' + str(full_path))
|
||||
zip_file.write(full_path)
|
||||
elif os.path.isdir(full_path):
|
||||
print 'Entering folder: ' + str(full_path)
|
||||
print('Entering folder: ' + str(full_path))
|
||||
self.addFolderToZip(zip_file, full_path)
|
||||
|
||||
|
||||
@@ -90,16 +92,17 @@ def main():
|
||||
|
||||
parser = OptionParser()
|
||||
parser.add_option("-p", "--platform", help="PLATFORM: specify custom build. (eg ios, android, etc)", metavar="PLATFORM", dest="platform")
|
||||
parser.add_option("-n", "--name", help="NAME: specify resource file name", metavar="NAME", dest="name")
|
||||
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
if (options.platform):
|
||||
if (options.platform == "ios"):
|
||||
createIosResFile()
|
||||
else:
|
||||
createStandardResFile()
|
||||
if (options.platform == "ios"):
|
||||
createIosResFile(options.name)
|
||||
else:
|
||||
createStandardResFile(options.name)
|
||||
else:
|
||||
createStandardResFile()
|
||||
createStandardResFile(options.name)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
1259
projects/mtg/bin/Res/sets/M14/_cards.dat
Normal file
1259
projects/mtg/bin/Res/sets/M14/_cards.dat
Normal file
File diff suppressed because it is too large
Load Diff
@@ -28204,7 +28204,7 @@ subtype=Equipment
|
||||
[card]
|
||||
name=Executioner's Swing
|
||||
text=Target creature that dealt damage this turn gets -5/-5 until end of turn.
|
||||
target=creature[damaged]
|
||||
target=creature[damager]
|
||||
auto=-5/-5 ueot
|
||||
mana={W}{B}
|
||||
type=Instant
|
||||
@@ -31457,7 +31457,7 @@ toughness=2
|
||||
[/card]
|
||||
[card]
|
||||
name=Flourishing Defenses
|
||||
auto=@counteradded(-1/-1) from(creature|mybattlefield):may token(Elf Warrior,Creature elf warrior,1/1,green)
|
||||
auto=@counteradded(-1/-1) from(creature):may token(Elf Warrior,Creature elf warrior,1/1,green)
|
||||
text=Whenever a -1/-1 counter is placed on a creature, you may put a 1/1 green Elf Warrior creature token onto the battlefield.
|
||||
mana={4}{G}
|
||||
type=Enchantment
|
||||
@@ -37166,7 +37166,7 @@ type=Sorcery
|
||||
[/card]
|
||||
[card]
|
||||
name=Grave Pact
|
||||
auto=@movedTo(creature|mygraveyard) from(mybattlefield):ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ opponent
|
||||
auto=@movedTo(creature|graveyard) from(mybattlefield):ability$!name(sacrifice) notatarget(creature|mybattlefield) sacrifice!$ opponent
|
||||
text=Whenever a creature you control dies, each other player sacrifices a creature.
|
||||
mana={1}{B}{B}{B}
|
||||
type=Enchantment
|
||||
@@ -73586,7 +73586,7 @@ toughness=6
|
||||
###The 2 cards below should stay together (Flip Card)###
|
||||
[card]
|
||||
name=Rune-Tail, Kitsune Ascendant
|
||||
auto=this(controllerlife >30) all(this) flip(Rune-Tail's Essence)
|
||||
auto=this(controllerlife > 29) transforms((,newability[flip(Rune-Tail's Essence)]))
|
||||
text=When you have 30 or more life, flip Rune-Tail, Kitsune Ascendant.
|
||||
mana={2}{W}
|
||||
type=Legendary Creature
|
||||
@@ -78444,11 +78444,7 @@ toughness=2
|
||||
[/card]
|
||||
[card]
|
||||
name=Shifting Sky
|
||||
auto=choice name(choose white) all(this) transforms((,newability[lord(*[-land]) becomes(,white)])) forever
|
||||
auto=choice name(choose blue) all(this) transforms((,newability[lord(*[-land]) becomes(,blue)])) forever
|
||||
auto=choice name(choose black) all(this) transforms((,newability[lord(*[-land]) becomes(,black)])) forever
|
||||
auto=choice name(choose red) all(this) transforms((,newability[lord(*[-land]) becomes(,red)])) forever
|
||||
auto=choice name(choose green) all(this) transforms((,newability[lord(*[-land]) becomes(,green)])) forever
|
||||
auto=chooseacolor lord(*[-land]) becomes(,chosencolor) chooseend
|
||||
text=As Shifting Sky enters the battlefield, choose a color. -- All nonland permanents are the chosen color.
|
||||
mana={2}{U}
|
||||
type=Enchantment
|
||||
@@ -104302,4 +104298,4 @@ type=Land Creature
|
||||
subtype=Forest Dryad
|
||||
power=1
|
||||
toughness=1
|
||||
[/card]
|
||||
[/card]
|
||||
|
||||
@@ -204,6 +204,7 @@ brass_man.txt
|
||||
brass_man_i161.txt
|
||||
briarhorn.txt
|
||||
bringer_of_the_red_dawn.txt
|
||||
buyback.txt
|
||||
cage_of_hands.txt
|
||||
Call_to_Heel_1.txt
|
||||
Call_to_Heel_2.txt
|
||||
@@ -308,6 +309,9 @@ evil_presence3.txt
|
||||
evil_presence_i647.txt
|
||||
evil_presence_i647_2.txt
|
||||
exaltedsourcekilled.txt
|
||||
executioners_swing.txt
|
||||
executioners_swing2.txt
|
||||
executioners_swing3.txt
|
||||
explore.txt
|
||||
Faceless_Butcher.txt
|
||||
fading.txt
|
||||
|
||||
30
projects/mtg/bin/Res/test/buyback.txt
Normal file
30
projects/mtg/bin/Res/test/buyback.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
# Cast card once with buyback and second time without.
|
||||
# The card must be in the graveyard, not in the hand
|
||||
[INIT]
|
||||
FIRSTMAIN
|
||||
|
||||
[PLAYER1]
|
||||
hand:Capsize
|
||||
manapool:{5}{U}{U}{U}{U}
|
||||
|
||||
[PLAYER2]
|
||||
inplay:Swamp,Island
|
||||
|
||||
[DO]
|
||||
Capsize
|
||||
# pay buyback
|
||||
choice 1
|
||||
Swamp
|
||||
Capsize
|
||||
Island
|
||||
|
||||
[ASSERT]
|
||||
FIRSTMAIN
|
||||
|
||||
[PLAYER1]
|
||||
graveyard:Capsize
|
||||
|
||||
[PLAYER2]
|
||||
hand:Swamp,Island
|
||||
|
||||
[END]
|
||||
42
projects/mtg/bin/Res/test/executioners_swing.txt
Normal file
42
projects/mtg/bin/Res/test/executioners_swing.txt
Normal file
@@ -0,0 +1,42 @@
|
||||
#NAME: Executioner's Swing
|
||||
#DESC: Checks targetability
|
||||
#DESC: Test that can target creature that damaged creature this turn
|
||||
|
||||
[INIT]
|
||||
combatattackers
|
||||
|
||||
[PLAYER1]
|
||||
inplay:Grizzly Bears
|
||||
|
||||
[PLAYER2]
|
||||
inplay:Flying Men,Swamp,Plains
|
||||
hand:Executioner's Swing
|
||||
|
||||
[DO]
|
||||
Grizzly Bears
|
||||
next
|
||||
Flying Men
|
||||
next
|
||||
next
|
||||
next
|
||||
|
||||
# second main
|
||||
# kill bear
|
||||
yes
|
||||
Swamp
|
||||
Plains
|
||||
Executioner's Swing
|
||||
Grizzly Bears
|
||||
endinterruption
|
||||
|
||||
[ASSERT]
|
||||
secondmain
|
||||
|
||||
[PLAYER1]
|
||||
graveyard:Grizzly Bears
|
||||
|
||||
[PLAYER2]
|
||||
graveyard:Executioner's Swing,Flying Men
|
||||
inplay:Plains,Swamp
|
||||
|
||||
[END]
|
||||
42
projects/mtg/bin/Res/test/executioners_swing2.txt
Normal file
42
projects/mtg/bin/Res/test/executioners_swing2.txt
Normal file
@@ -0,0 +1,42 @@
|
||||
#NAME: Executioner's Swing
|
||||
#DESC: Checks targetability
|
||||
#DESC: Test that can target creature that damaged player
|
||||
|
||||
[INIT]
|
||||
combatattackers
|
||||
|
||||
[PLAYER1]
|
||||
inplay:Grizzly Bears
|
||||
|
||||
[PLAYER2]
|
||||
inplay:Swamp,Plains
|
||||
hand:Executioner's Swing
|
||||
|
||||
[DO]
|
||||
Grizzly Bears
|
||||
next
|
||||
next
|
||||
next
|
||||
next
|
||||
|
||||
# second main
|
||||
# kill bear
|
||||
yes
|
||||
Swamp
|
||||
Plains
|
||||
Executioner's Swing
|
||||
Grizzly Bears
|
||||
endinterruption
|
||||
|
||||
[ASSERT]
|
||||
secondmain
|
||||
|
||||
[PLAYER1]
|
||||
graveyard:Grizzly Bears
|
||||
|
||||
[PLAYER2]
|
||||
graveyard:Executioner's Swing
|
||||
inplay:Plains,Swamp
|
||||
life:18
|
||||
|
||||
[END]
|
||||
34
projects/mtg/bin/Res/test/executioners_swing3.txt
Normal file
34
projects/mtg/bin/Res/test/executioners_swing3.txt
Normal file
@@ -0,0 +1,34 @@
|
||||
#NAME: Executioner's Swing
|
||||
#DESC: Checks targetability
|
||||
#DESC: Prove that can't target passive creature
|
||||
|
||||
[INIT]
|
||||
secondmain
|
||||
|
||||
[PLAYER1]
|
||||
inplay:Grizzly Bears
|
||||
|
||||
[PLAYER2]
|
||||
manapool:{B}{W}
|
||||
hand:Executioner's Swing
|
||||
|
||||
[DO]
|
||||
# attempt to kill bear
|
||||
yes
|
||||
Swamp
|
||||
Plains
|
||||
Executioner's Swing
|
||||
Grizzly Bears
|
||||
endinterruption
|
||||
|
||||
[ASSERT]
|
||||
secondmain
|
||||
|
||||
[PLAYER1]
|
||||
inplay:Grizzly Bears
|
||||
|
||||
[PLAYER2]
|
||||
hand:Executioner's Swing
|
||||
manapool:{W}{B}
|
||||
|
||||
[END]
|
||||
73
projects/mtg/bin/createWindowsZip.py
Normal file
73
projects/mtg/bin/createWindowsZip.py
Normal file
@@ -0,0 +1,73 @@
|
||||
import sys
|
||||
import os
|
||||
import zipfile
|
||||
from pyjavaproperties import Properties
|
||||
from optparse import OptionParser
|
||||
|
||||
def createWindowsZipFile(filename):
|
||||
utilities = ZipUtilities()
|
||||
zip_file = zipfile.ZipFile(filename, 'w', zipfile.ZIP_STORED)
|
||||
zip_file.write('../../../LICENSE')
|
||||
zip_file.write('libpng13.dll')
|
||||
zip_file.write('SDL.dll')
|
||||
zip_file.write('fmod.dll')
|
||||
zip_file.write('zlib1.dll')
|
||||
zip_file.write('Wagic.exe')
|
||||
zip_file.write('Res/' + getFilename('core') + '.zip')
|
||||
zip_file.close()
|
||||
|
||||
def getFilename(filename):
|
||||
p = Properties();
|
||||
p.load(open('../build.number.properties'));
|
||||
minor = p['build.minor'];
|
||||
major = p['build.major'];
|
||||
point = p['build.point'];
|
||||
filename = filename + '-' + major + minor + point
|
||||
return filename
|
||||
|
||||
def createStandardResFile():
|
||||
print "Creating Resource File"
|
||||
cmd = 'python createResourceZip.py -n ' + getFilename('core') + '.zip'
|
||||
os.chdir("Res")
|
||||
os.system(cmd)
|
||||
os.chdir("..")
|
||||
print "Creating Windows Package File"
|
||||
filename = 'Wagic-windows.zip'
|
||||
createWindowsZipFile( filename )
|
||||
print >> sys.stderr, 'Created Windows Package: {0}'.format( filename)
|
||||
|
||||
class ZipUtilities:
|
||||
|
||||
def toZip(self, file, filename):
|
||||
zip_file = zipfile.ZipFile(filename, 'w')
|
||||
if os.path.isfile(file):
|
||||
zip_file.write(file)
|
||||
else:
|
||||
self.addFolderToZip(zip_file, file)
|
||||
zip_file.close()
|
||||
|
||||
def addFolderToZip(self, zip_file, folder):
|
||||
zip_file.writestr(folder + '/', '')
|
||||
for file in os.listdir(folder):
|
||||
if file != '.svn':
|
||||
full_path = os.path.join(folder, file)
|
||||
if os.path.isfile(full_path):
|
||||
print 'File added: ' + str(full_path)
|
||||
zip_file.write(full_path)
|
||||
elif os.path.isdir(full_path):
|
||||
print 'Entering folder: ' + str(full_path)
|
||||
self.addFolderToZip(zip_file, full_path)
|
||||
|
||||
|
||||
def main():
|
||||
## using optparse instead of argParse for now since python 2.7 may not be installed.
|
||||
|
||||
parser = OptionParser()
|
||||
parser.add_option("-p", "--platform", help="PLATFORM: specify custom build. (eg ios, android, etc)", metavar="PLATFORM", dest="platform")
|
||||
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
createStandardResFile()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -3,7 +3,7 @@
|
||||
<property file="build.properties" />
|
||||
<property file="build.number.properties" />
|
||||
<property environment="env"/>
|
||||
|
||||
|
||||
<path id="groovy.class.path" >
|
||||
<fileset dir="${groovy.dir}" />
|
||||
</path>
|
||||
@@ -90,7 +90,9 @@ Author: Michael Nguyen
|
||||
#define WAGIC_RESOURCE_VERSION VERSION_FILE(WAGIC_VERSION_MAJOR, WAGIC_VERSION_MEDIUM, WAGIC_VERSION_MINOR)
|
||||
#define WAGIC_VERSION_STRING VERSION_STRINGIFY(WAGIC_VERSION)
|
||||
#define WAGIC_CORE_VERSION_STRING "core_" VERSION_STRINGIFY(WAGIC_RESOURCE_VERSION)
|
||||
#define WAGIC_RESOURCE_NAME WAGIC_CORE_VERSION_STRING ".zip"
|
||||
#define WAGIC_RESOURCE_NAME "Wagic-core.zip"
|
||||
#define WAGIC_RELEASE_NAME "${env.RELEASE_NAME}"
|
||||
#define WAGIC_RESOURCE_URL "https://github.com/WagicProject/wagic/releases/download/" WAGIC_RELEASE_NAME "/" WAGIC_RESOURCE_NAME
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
}
|
||||
|
||||
Interruptible(GameObserver* observer, int inID = 0, bool hasFocus = false)
|
||||
: PlayGuiObject(40, x, y, inID, hasFocus), Targetable(observer), state(NOT_RESOLVED), display(0), source(NULL)
|
||||
: PlayGuiObject(40, 0.0f, 0.0f, inID, hasFocus), Targetable(observer), state(NOT_RESOLVED), display(0), source(NULL)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -64,6 +64,7 @@ class CardDescriptor: public MTGCardInstance
|
||||
string compareName;
|
||||
int CDopponentDamaged;
|
||||
int CDcontrollerDamaged;
|
||||
int CDdamager;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
#ifndef _EFFECTS_H_
|
||||
#define _EFFECTS_H_
|
||||
|
||||
#include <JGui.h>
|
||||
|
||||
class Effect: public JGuiObject
|
||||
{
|
||||
static int id_counter;
|
||||
public:
|
||||
Effect() : JGuiObject(++id_counter) {};
|
||||
};
|
||||
|
||||
#endif // _EFFECTS_H_
|
||||
@@ -17,7 +17,6 @@ private:
|
||||
WSrcCards * setSrc;
|
||||
SimpleMenu * menu;
|
||||
bool showMenu;
|
||||
bool showAlt;
|
||||
bool saveMe;
|
||||
int mState;
|
||||
int mDetailItem;
|
||||
|
||||
@@ -47,7 +47,6 @@ protected:
|
||||
{
|
||||
static const float HEIGHT;
|
||||
unsigned attackers;
|
||||
unsigned blockers;
|
||||
unsigned currentAttacker;
|
||||
float height;
|
||||
|
||||
|
||||
@@ -65,6 +65,7 @@ public:
|
||||
bool wasDealtDamage;
|
||||
bool damageToOpponent;
|
||||
bool damageToController;
|
||||
bool damageToCreature;
|
||||
bool mPropertiesChangedSinceLastUpdate;
|
||||
int reduxamount;
|
||||
int flanked;
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#define GUI_OPPONENTHAND 5
|
||||
|
||||
#include <JGui.h>
|
||||
#include "Effects.h"
|
||||
#include "WEvent.h"
|
||||
#include "Pos.h"
|
||||
|
||||
@@ -65,7 +64,6 @@ public:
|
||||
}
|
||||
;
|
||||
virtual ~PlayGuiObject() {};
|
||||
vector<Effect*> effects;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -20,7 +20,6 @@ class SimplePopup: public JGuiController
|
||||
private:
|
||||
float mWidth, mX, mY;
|
||||
int mMaxLines;
|
||||
int mFontId;
|
||||
DeckMetaData * mDeckInformation;
|
||||
string mTitle;
|
||||
WFont *mTextFont;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#ifndef WRESOURCE_FWD_H
|
||||
#define WRESOURCE_FWD_H
|
||||
|
||||
#if !defined(WP8) && !(defined(SDL_CONFIG) && defined(__MINGW32__))
|
||||
#include <boost/shared_ptr.hpp>
|
||||
typedef boost::shared_ptr<JQuad> JQuadPtr;
|
||||
#else
|
||||
#include <memory>
|
||||
typedef std::shared_ptr<JQuad> JQuadPtr;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#ifndef WRESOURCE_FWD_H
|
||||
#define WRESOURCE_FWD_H
|
||||
|
||||
#if (_MSC_VER >= 1700) || (__cplusplus > 199711L)
|
||||
#include <memory>
|
||||
typedef std::shared_ptr<JQuad> JQuadPtr;
|
||||
#else
|
||||
#include <boost/shared_ptr.hpp>
|
||||
typedef boost::shared_ptr<JQuad> JQuadPtr;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef _DEBUG_H_
|
||||
#define _DEBUG_H_
|
||||
|
||||
#if ((defined WIN32) || (defined WP8))
|
||||
#if ((defined WIN32) || (defined WP8)) && !defined(__MINGW32__)
|
||||
#define snprintf sprintf_s
|
||||
#endif
|
||||
|
||||
|
||||
@@ -314,7 +314,7 @@ bool AIHints::canWeCombo(GameObserver* observer,MTGCardInstance * card,AIPlayerB
|
||||
int comboPartsRestriction = 0;
|
||||
|
||||
if(gotCombo)
|
||||
return gotCombo;//because more then one might be possible at any time.
|
||||
return gotCombo;//because more than one might be possible at any time.
|
||||
if (hints[i]->hold.size())
|
||||
{
|
||||
for(unsigned int hPart = 0; hPart < hints[i]->hold.size(); hPart++)
|
||||
|
||||
@@ -445,7 +445,7 @@ int OrderedAIAction::getEfficiency()
|
||||
}
|
||||
if ((drawer->getNumCards() >= p->game->library->nb_cards && (Targetable*)p == drawer->getTarget()) || (p->game->hand->nb_cards > 10 && (Targetable*)p == drawer->getTarget()))
|
||||
{
|
||||
//if the amount im drawing will mill me to death or i have more then 10 cards in hand, eff is 0;
|
||||
//if the amount im drawing will mill me to death or i have more than 10 cards in hand, eff is 0;
|
||||
efficiency = 0;
|
||||
}
|
||||
break;
|
||||
@@ -853,7 +853,7 @@ ManaCost * AIPlayerBaka::getPotentialMana(MTGCardInstance * target)
|
||||
if (card == target)
|
||||
used[card] = true; //http://code.google.com/p/wagic/issues/detail?id=76
|
||||
if (!used[card] && amp->isReactingToClick(card) && amp->output->getConvertedCost() == 1)
|
||||
{//ai can't use cards which produce more then 1 converted while using the old pMana method.
|
||||
{//ai can't use cards which produce more than 1 converted while using the old pMana method.
|
||||
result->add(amp->output);
|
||||
used[card] = true;
|
||||
}
|
||||
|
||||
@@ -1994,28 +1994,23 @@ int AADynamic::resolve()
|
||||
break;
|
||||
case DYNAMIC_ABILITY_WHO_ITSELF:
|
||||
source = ((MTGCardInstance *) _target);
|
||||
_target = _target;
|
||||
break;
|
||||
case DYNAMIC_ABILITY_WHO_TARGETCONTROLLER:
|
||||
_target = _target;
|
||||
secondaryTarget = ((MTGCardInstance *) _target)->controller();
|
||||
break;
|
||||
case DYNAMIC_ABILITY_WHO_TARGETOPPONENT:
|
||||
_target = _target;
|
||||
secondaryTarget = ((MTGCardInstance *) _target)->controller()->opponent();
|
||||
break;
|
||||
case DYNAMIC_ABILITY_WHO_TOSOURCE:
|
||||
tosrc = true;
|
||||
break;
|
||||
case DYNAMIC_ABILITY_WHO_SOURCECONTROLLER:
|
||||
_target = _target;
|
||||
secondaryTarget = ((MTGCardInstance *) OriginalSrc)->controller();
|
||||
break;
|
||||
case DYNAMIC_ABILITY_WHO_SOURCEOPPONENT:
|
||||
secondaryTarget = OriginalSrc->controller()->opponent();
|
||||
break;
|
||||
default:
|
||||
_target = _target;
|
||||
break;
|
||||
}
|
||||
if(amountsource == DYNAMIC_MYSELF_AMOUNT)
|
||||
@@ -4728,14 +4723,15 @@ void AVanishing::Update(float dt)
|
||||
|
||||
int AVanishing::resolve()
|
||||
{
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
const string AVanishing::getMenuText()
|
||||
{
|
||||
if(counterName.find("fade") != string::npos)
|
||||
return "Fading";
|
||||
if (counterName.find("fade") != string::npos)
|
||||
{
|
||||
return "Fading";
|
||||
}
|
||||
return "Vanishing";
|
||||
}
|
||||
|
||||
@@ -5708,7 +5704,8 @@ void ATutorialMessage::Update(float dt)
|
||||
|
||||
mElapsed += dt;
|
||||
|
||||
IconButtonsController::Update(dt);
|
||||
if(!mUserCloseRequest)
|
||||
IconButtonsController::Update(dt);
|
||||
|
||||
if (mIsImage)
|
||||
return;
|
||||
|
||||
@@ -23,6 +23,7 @@ CardDescriptor::CardDescriptor()
|
||||
colorComparisonMode = COMPARISON_NONE;
|
||||
CDopponentDamaged = 0;
|
||||
CDcontrollerDamaged = 0;
|
||||
CDdamager = 0;
|
||||
}
|
||||
|
||||
int CardDescriptor::init()
|
||||
@@ -226,16 +227,27 @@ MTGCardInstance * CardDescriptor::match(MTGCardInstance * card)
|
||||
{
|
||||
match = NULL;
|
||||
}
|
||||
if(CDopponentDamaged == -1 || CDopponentDamaged == 1)
|
||||
{
|
||||
Player * p = card->controller()->opponent();//controller()->opponent();
|
||||
if ((CDopponentDamaged == -1 && card->damageToOpponent && card->controller() == p) || (CDopponentDamaged == 1 && !card->damageToOpponent && card->controller() == p)
|
||||
|| (CDopponentDamaged == -1 && card->damageToController && card->controller() == p->opponent()) || (CDopponentDamaged == 1 && !card->damageToController && card->controller() == p->opponent()))
|
||||
|
||||
if ((CDdamager == -1 && (card->damageToOpponent || card->damageToController || card->damageToCreature))
|
||||
|| (CDdamager == 1 && !(card->damageToOpponent || card->damageToController || card->damageToCreature)))
|
||||
{
|
||||
match = NULL;
|
||||
}
|
||||
if ((CDcontrollerDamaged == -1 && card->damageToController && card->controller() == p) || (CDcontrollerDamaged == 1 && !card->damageToController && card->controller() == p)
|
||||
|| (CDcontrollerDamaged == -1 && card->damageToOpponent && card->controller() == p->opponent()) || (CDcontrollerDamaged == 1 && !card->damageToOpponent && card->controller() == p->opponent()))
|
||||
|
||||
if(CDopponentDamaged == -1 || CDopponentDamaged == 1)
|
||||
{
|
||||
Player * p = card->controller()->opponent();//controller()->opponent();
|
||||
if ((CDopponentDamaged == -1 && card->damageToOpponent && card->controller() == p)
|
||||
|| (CDopponentDamaged == 1 && !card->damageToOpponent && card->controller() == p)
|
||||
|| (CDopponentDamaged == -1 && card->damageToController && card->controller() == p->opponent())
|
||||
|| (CDopponentDamaged == 1 && !card->damageToController && card->controller() == p->opponent()))
|
||||
{
|
||||
match = NULL;
|
||||
}
|
||||
if ((CDcontrollerDamaged == -1 && card->damageToController && card->controller() == p)
|
||||
|| (CDcontrollerDamaged == 1 && !card->damageToController && card->controller() == p)
|
||||
|| (CDcontrollerDamaged == -1 && card->damageToOpponent && card->controller() == p->opponent())
|
||||
|| (CDcontrollerDamaged == 1 && !card->damageToOpponent && card->controller() == p->opponent()))
|
||||
{
|
||||
match = NULL;
|
||||
}
|
||||
|
||||
@@ -1224,6 +1224,18 @@ bool CardGui::FilterCard(MTGCard * _card,string filter)
|
||||
cd.CDcontrollerDamaged = 1;
|
||||
}
|
||||
}
|
||||
//creature dealt damage to anything
|
||||
else if (attribute.find("damager") != string::npos)
|
||||
{
|
||||
if (minus)
|
||||
{
|
||||
cd.CDdamager = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
cd.CDdamager = 1;
|
||||
}
|
||||
}
|
||||
else if (attribute.find("multicolor") != string::npos)
|
||||
{
|
||||
//card is multicolored?
|
||||
|
||||
@@ -386,7 +386,7 @@ void Credits::computeTournament(GameObserver* g, GameApp * _app,bool tournament,
|
||||
}
|
||||
if (mGamesWon>mGamesPlayed*0.80 && mGamesWon<mGamesPlayed)
|
||||
{
|
||||
CreditBonus * b = NEW CreditBonus(250, _("Won more then 80 percentage of games"));
|
||||
CreditBonus * b = NEW CreditBonus(250, _("Won more than 80 percentage of games"));
|
||||
bonus.push_back(b);
|
||||
}
|
||||
|
||||
|
||||
@@ -192,8 +192,10 @@ int Damage::resolve()
|
||||
//return the left over amount after effects have been applied to them.
|
||||
a = target->dealDamage(damage);
|
||||
target->damageCount += damage;//the amount must be the actual damage so i changed this from 1 to damage, this fixes pdcount and odcount
|
||||
if (target->type_as_damageable == Damageable::DAMAGEABLE_MTGCARDINSTANCE)
|
||||
if (target->type_as_damageable == Damageable::DAMAGEABLE_MTGCARDINSTANCE){
|
||||
((MTGCardInstance*)target)->wasDealtDamage = true;
|
||||
((MTGCardInstance*)source)->damageToCreature = true;
|
||||
}
|
||||
if (target->type_as_damageable == Damageable::DAMAGEABLE_PLAYER)
|
||||
{
|
||||
if(target == source->controller())
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
#include "../include/Effects.h"
|
||||
|
||||
int Effect::id_counter = 0;
|
||||
@@ -795,6 +795,7 @@ void GameObserver::gameStateBasedEffects()
|
||||
c->wasDealtDamage = false;
|
||||
c->damageToController = false;
|
||||
c->damageToOpponent = false;
|
||||
c->damageToCreature = false;
|
||||
c->isAttacking = NULL;
|
||||
}
|
||||
for (int t = 0; t < nbcards; t++)
|
||||
|
||||
@@ -796,7 +796,7 @@ void GameStateDuel::Update(float dt)
|
||||
|
||||
if (game->didWin())
|
||||
{
|
||||
//the following section will be called only in a classic or demo gamemode and if a tournament or match with more then one game is activ
|
||||
//the following section will be called only in a classic or demo gamemode and if a tournament or match with more than one game is activ
|
||||
if ( (mParent->gameType == GAME_TYPE_CLASSIC || mParent->gameType == GAME_TYPE_DEMO)&& mParent->players[1] == PLAYER_TYPE_CPU && (tournament->isTournament() || tournament->getGamesToPlay()>1 ))
|
||||
{
|
||||
setGamePhase(DUEL_STATE_SHOW_SCORE);
|
||||
|
||||
@@ -215,34 +215,39 @@ void GameStateOptions::Render()
|
||||
const char * const CreditsText[] = {
|
||||
"Wagic, The Homebrew?! by Wololo",
|
||||
"",
|
||||
"updates, new cards, and more on http://wololo.net/wagic",
|
||||
"Updates, new cards, and more on http://wololo.net/wagic",
|
||||
"Many thanks to the people who help this project",
|
||||
"",
|
||||
"",
|
||||
"Art: Ilya B, Julio, Jeck, J, Kaioshin, Lakeesha",
|
||||
"Art:",
|
||||
"Ilya B, Julio, Jeck, J, Kaioshin, Lakeesha",
|
||||
"Check themeinfo.txt for the full credits of each theme!",
|
||||
"",
|
||||
"Dev Team:",
|
||||
"Abrasax, Almosthumane, Daddy32, DJardin, Dr.Solomat,",
|
||||
"J, Jeck, kevlahnota, Leungclj, linshier, Mootpoint, Mnguyen,",
|
||||
"Psyringe, Salmelo, Superhiro, Wololo, Yeshua, Zethfox",
|
||||
"Abrasax, Almosthumane, Daddy32, DJardin, Dr.Solomat, J, Jeck,",
|
||||
"kevlahnota, Leungclj, linshier, Mootpoint, Mnguyen, Psyringe,",
|
||||
"Rolzad73, Salmelo, Superhiro, Wololo, Yeshua, Zethfox",
|
||||
"",
|
||||
"Music by Celestial Aeon Project, http://www.jamendo.com",
|
||||
"",
|
||||
"Deck Builders: Abrasax, AzureKnight, colarchon",
|
||||
"Excessum, Hehotfarv, Jeremy, Jog1118, JonyAS",
|
||||
"Lachaux, Link17, Muddobbers, Nakano, Niegen",
|
||||
"Kaioshin, Psyringe, r1c47, Superhiro, Szei",
|
||||
"Thanatos02, Whismer, Wololo",
|
||||
"Deck Builders:",
|
||||
"Abrasax, AzureKnight, colarchon, Excessum, Hehotfarv,",
|
||||
"Jeremy, Jog1118, JonyAS, Lachaux, Link17, Muddobbers,",
|
||||
"Nakano, Niegen, Kaioshin, Psyringe, r1c47, Superhiro,",
|
||||
"Szei, Thanatos02, Whismer, Wololo",
|
||||
"",
|
||||
"Thanks also go to Dr.Watson, Orine, Raphael, Sakya, Tyranid",
|
||||
"for their help.",
|
||||
"",
|
||||
"Thanks to everyone who contributes code/content on the forums!",
|
||||
"",
|
||||
"Developed with the JGE++ Library (http://code.google.com/p/wagic)",
|
||||
"",
|
||||
"Source:",
|
||||
"http://code.google.com/p/wagic (2009-2013)",
|
||||
"https://github.com/WagicProject/wagic (2013- )",
|
||||
"",
|
||||
"Developed with the JGE++ Library",
|
||||
"SFX From www.soundsnap.com",
|
||||
|
||||
"",
|
||||
"",
|
||||
"This work is not related to or endorsed by Wizards of the Coast, Inc",
|
||||
|
||||
@@ -103,7 +103,7 @@ inline float GuiPlay::VertStack::nextX()
|
||||
}
|
||||
|
||||
GuiPlay::BattleField::BattleField() :
|
||||
attackers(0), blockers(0), height(0.0), red(0), colorFlow(0)
|
||||
attackers(0), height(0.0), red(0), colorFlow(0)
|
||||
{
|
||||
}
|
||||
const float GuiPlay::BattleField::HEIGHT = 80.0f;
|
||||
|
||||
@@ -4276,8 +4276,6 @@ void AbilityFactory::addAbilities(int _id, Spell * spell)
|
||||
if (card->hasType(Subtypes::TYPE_INSTANT) || card->hasType(Subtypes::TYPE_SORCERY))
|
||||
{
|
||||
MTGPlayerCards * zones = card->owner->game;
|
||||
if(card->getCurrentZone())
|
||||
card->currentZone->owner->game;//grab it from where ever it is.
|
||||
MTGPlayerCards * Endzones = card->owner->game;//put them in thier owners respective zones as per rules.
|
||||
if (card->basicAbilities[(int)Constants::EXILEDEATH])
|
||||
{
|
||||
@@ -4286,6 +4284,7 @@ void AbilityFactory::addAbilities(int _id, Spell * spell)
|
||||
}
|
||||
else if (card->alternateCostPaid[ManaCost::MANA_PAID_WITH_BUYBACK] > 0)
|
||||
{
|
||||
card->alternateCostPaid[ManaCost::MANA_PAID_WITH_BUYBACK] = 0;
|
||||
zones->putInZone(card, zones->stack, Endzones->hand);
|
||||
}
|
||||
else if (card->alternateCostPaid[ManaCost::MANA_PAID_WITH_FLASHBACK] > 0)
|
||||
|
||||
@@ -158,6 +158,7 @@ void MTGCardInstance::initMTGCI()
|
||||
auras = 0;
|
||||
damageToOpponent = false;
|
||||
damageToController = false;
|
||||
damageToCreature = false;
|
||||
wasDealtDamage = false;
|
||||
isDualWielding = false;
|
||||
suspended = false;
|
||||
|
||||
@@ -146,7 +146,7 @@ int MTGEventBonus::receiveEvent(WEvent * event)
|
||||
}
|
||||
//////bonus for having a LOT of specific type.
|
||||
//not else'd becuase it is possible for a card to contain
|
||||
//more then one of the types, and for more then one to trigger.
|
||||
//more than one of the types, and for more than one to trigger.
|
||||
if(e->card->hasType(Subtypes::TYPE_ARTIFACT))
|
||||
toys[currentPlayer->getId()]++;
|
||||
if(e->card->isCreature())
|
||||
|
||||
@@ -38,13 +38,9 @@ void PlayGuiObject::Update(float dt)
|
||||
if (mHeight < defaultHeight) mHeight = defaultHeight;
|
||||
}
|
||||
wave = (wave + 2 * (int) (100 * dt)) % 255;
|
||||
for (vector<Effect*>::iterator it = effects.begin(); it != effects.end(); ++it)
|
||||
(*it)->Update(dt);
|
||||
Pos::Update(dt);
|
||||
}
|
||||
|
||||
void PlayGuiObject::Render()
|
||||
{
|
||||
for (vector<Effect*>::iterator it = effects.begin(); it != effects.end(); ++it)
|
||||
(*it)->Render();
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include <iomanip>
|
||||
|
||||
SimplePopup::SimplePopup(int id, JGuiListener* listener, const int fontId, const char * _title, DeckMetaData* deckMetaData, MTGAllCards * collection, float cancelX, float cancelY) :
|
||||
JGuiController(JGE::GetInstance(), id, listener), mFontId(fontId), mCollection(collection)
|
||||
JGuiController(JGE::GetInstance(), id, listener), mCollection(collection)
|
||||
{
|
||||
mX = 19;
|
||||
mY = 66;
|
||||
|
||||
@@ -485,6 +485,18 @@ TargetChooser * TargetChooserFactory::createTargetChooser(string s, MTGCardInsta
|
||||
cd->CDcontrollerDamaged = 1;
|
||||
}
|
||||
}
|
||||
//creature dealt damage to anything
|
||||
else if (attribute.find("damager") != string::npos)
|
||||
{
|
||||
if (minus)
|
||||
{
|
||||
cd->CDdamager = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
cd->CDdamager = 1;
|
||||
}
|
||||
}
|
||||
else if (attribute.find("multicolor") != string::npos)
|
||||
{
|
||||
//card is multicolored?
|
||||
|
||||
@@ -493,7 +493,6 @@
|
||||
<ClInclude Include="include\DeckView.h" />
|
||||
<ClInclude Include="include\DuelLayers.h" />
|
||||
<ClInclude Include="include\Easing.h" />
|
||||
<ClInclude Include="include\Effects.h" />
|
||||
<ClInclude Include="include\ExtraCost.h" />
|
||||
<ClInclude Include="include\GameApp.h" />
|
||||
<ClInclude Include="include\GameObserver.h" />
|
||||
@@ -592,4 +591,4 @@
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -417,9 +417,6 @@
|
||||
<ClInclude Include="include\DuelLayers.h">
|
||||
<Filter>inc</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\Effects.h">
|
||||
<Filter>inc</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="include\ExtraCost.h">
|
||||
<Filter>inc</Filter>
|
||||
</ClInclude>
|
||||
@@ -725,4 +722,4 @@
|
||||
<Filter>res</Filter>
|
||||
</ResourceCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -5,7 +5,7 @@ addExclusiveBuilds(graphics, Graphics, console, Console)
|
||||
|
||||
INCLUDEPATH += ../../JGE/include/qt
|
||||
CONFIG(console, graphics|console){
|
||||
QT += core network
|
||||
QT += core network multimedia
|
||||
QT -= gui
|
||||
|
||||
DEFINES += CONSOLE_CONFIG
|
||||
@@ -17,7 +17,7 @@ else:CONFIG(graphics, graphics|console){
|
||||
folder_01.source = qml/QmlWagic
|
||||
folder_01.target = /usr/share
|
||||
DEPLOYMENTFOLDERS = folder_01
|
||||
QT += core gui opengl network
|
||||
QT += core gui opengl network multimedia
|
||||
QT -= declarative quick qml
|
||||
#maemo5:DEFINES += QT_WIDGET
|
||||
DEFINES += QT_WIDGET
|
||||
@@ -46,6 +46,7 @@ CONFIG(graphics, graphics|console){
|
||||
../../JGE/src/qt/qtcorewrapper.cpp\
|
||||
../../JGE/src/Qtmain.cpp\
|
||||
../../JGE/src/JMD2Model.cpp\
|
||||
../../JGE/src/pc/JSfx.cpp\
|
||||
../../JGE/src/pc/JGfx.cpp
|
||||
}
|
||||
else:CONFIG(console, graphics|console){
|
||||
@@ -54,6 +55,7 @@ else:CONFIG(console, graphics|console){
|
||||
|
||||
SOURCES += \
|
||||
../../JGE/src/OutputCapturer.cpp\
|
||||
../../JGE/src/pc/JSfx.cpp\
|
||||
../../JGE/src/JGfx-fake.cpp\
|
||||
../../JGE/src/Qtconsole.cpp\
|
||||
}
|
||||
|
||||
@@ -4,13 +4,14 @@ TEMPLATE = app
|
||||
|
||||
#!macx:CONFIG += precompile_header
|
||||
unix|macx:QMAKE_CXXFLAGS += -Wno-unused-parameter
|
||||
unix:!macx:QMAKE_CXXFLAGS += -Wno-unused-but-set-parameter
|
||||
unix:!macx:QMAKE_CXXFLAGS += -Wno-unused-but-set-variable
|
||||
unix|macx:QMAKE_CXXFLAGS += -Wno-unused-value
|
||||
unix:!macx:QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
|
||||
unix:!macx:!maemo5:!symbian:QMAKE_CXXFLAGS += -Werror
|
||||
unix:!*macx*:QMAKE_CXXFLAGS += -Wno-unused-but-set-parameter
|
||||
unix:!*macx*:QMAKE_CXXFLAGS += -Wno-unused-but-set-variable
|
||||
unix|*macx*:QMAKE_CXXFLAGS += -Wno-unused-value
|
||||
unix:!*macx*:QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
|
||||
unix:!*macx*:!maemo5:!symbian:QMAKE_CXXFLAGS += -Werror
|
||||
|
||||
windows:DEFINES += _CRT_SECURE_NO_WARNINGS
|
||||
windows|winrt:DEFINES += NOMINMAX
|
||||
unix|macx:DEFINES += LINUX
|
||||
CONFIG(debug, debug|release) {
|
||||
DEFINES += _DEBUG
|
||||
@@ -28,10 +29,12 @@ windows{
|
||||
# INCLUDEPATH += /usr/i686-w64-mingw32/sys-root/mingw/include/c++
|
||||
LIBS += -L/usr/i686-w64-mingw32/sys-root/mingw/lib
|
||||
LIBS += -lwsock32
|
||||
DEFINES += FORCE_GL2
|
||||
}
|
||||
*-msvc* {
|
||||
INCLUDEPATH += extra
|
||||
DEFINES += WIN32
|
||||
DEFINES += FORCE_GL2
|
||||
}
|
||||
}
|
||||
macx:INCLUDEPATH += /opt/include
|
||||
@@ -41,9 +44,9 @@ INCLUDEPATH += ../../Boost
|
||||
INCLUDEPATH += include
|
||||
|
||||
unix:!symbian:LIBS += -lz
|
||||
win32:LIBS += ../../JGE/Dependencies/lib/fmodvc.lib
|
||||
win32:LIBS += ../../JGE/Dependencies/lib/zlibd.lib
|
||||
#PRECOMPILED_HEADER = include/PrecompiledHeader.h
|
||||
|
||||
windows:LIBS += ../../JGE/Dependencies/lib/zlibd.lib
|
||||
PRECOMPILED_HEADER = include/PrecompiledHeader.h
|
||||
|
||||
#DEFINES += TRACK_OBJECT_USAGE
|
||||
#DEFINES += AI_CHANGE_TESTING
|
||||
@@ -80,7 +83,6 @@ SOURCES += \
|
||||
src/DeckStats.cpp\
|
||||
src/DeckView.cpp\
|
||||
src/DuelLayers.cpp\
|
||||
src/Effects.cpp\
|
||||
src/ExtraCost.cpp\
|
||||
src/GameApp.cpp\
|
||||
src/GameLauncher.cpp\
|
||||
@@ -271,7 +273,6 @@ HEADERS += \
|
||||
include/WResourceManager.h\
|
||||
include/DuelLayers.h\
|
||||
include/GuiStatic.h\
|
||||
include/Effects.h\
|
||||
include/StyleManager.h\
|
||||
include/WFont.h\
|
||||
include/DeckManager.h\
|
||||
@@ -284,6 +285,7 @@ HEADERS += \
|
||||
# JGE, could probably be moved outside
|
||||
SOURCES += \
|
||||
../../JGE/src/corewrapper.cpp\
|
||||
../../JGE/src/Downloader.cpp\
|
||||
../../JGE/src/Encoding.cpp\
|
||||
../../JGE/src/JAnimator.cpp\
|
||||
../../JGE/src/JApp.cpp\
|
||||
@@ -303,7 +305,6 @@ SOURCES += \
|
||||
../../JGE/src/JSpline.cpp\
|
||||
../../JGE/src/JNetwork.cpp\
|
||||
../../JGE/src/pc/JSocket.cpp\
|
||||
../../JGE/src/pc/JSfx.cpp\
|
||||
../../JGE/src/JSprite.cpp\
|
||||
../../JGE/src/Vector2D.cpp\
|
||||
../../JGE/src/tinyxml/tinystr.cpp\
|
||||
@@ -322,6 +323,7 @@ SOURCES += \
|
||||
|
||||
HEADERS += \
|
||||
../../JGE/include/corewrapper.h\
|
||||
../../JGE/include/Downloader.h\
|
||||
../../JGE/include/Threading.h\
|
||||
../../JGE/include/decoder_prx.h\
|
||||
../../JGE/include/DebugRoutines.h\
|
||||
|
||||
@@ -67,7 +67,6 @@
|
||||
12059DA814980B7300DAC43B /* AllAbilities.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376F41291C60500B9016A /* AllAbilities.cpp */; };
|
||||
12059DA914980B7300DAC43B /* CardDescriptor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376F51291C60500B9016A /* CardDescriptor.cpp */; };
|
||||
12059DAA14980B7300DAC43B /* CardDisplay.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376F61291C60500B9016A /* CardDisplay.cpp */; };
|
||||
12059DAB14980B7300DAC43B /* CardEffect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376F71291C60500B9016A /* CardEffect.cpp */; };
|
||||
12059DAC14980B7300DAC43B /* CardGui.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376F81291C60500B9016A /* CardGui.cpp */; };
|
||||
12059DAD14980B7300DAC43B /* CardPrimitive.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376F91291C60500B9016A /* CardPrimitive.cpp */; };
|
||||
12059DAE14980B7300DAC43B /* CardSelector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376FA1291C60500B9016A /* CardSelector.cpp */; };
|
||||
@@ -85,7 +84,6 @@
|
||||
12059DBA14980B7300DAC43B /* DeckMetaData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA377061291C60500B9016A /* DeckMetaData.cpp */; };
|
||||
12059DBB14980B7300DAC43B /* DeckStats.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA377071291C60500B9016A /* DeckStats.cpp */; };
|
||||
12059DBC14980B7300DAC43B /* DuelLayers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA377081291C60500B9016A /* DuelLayers.cpp */; };
|
||||
12059DBD14980B7300DAC43B /* Effects.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA377091291C60500B9016A /* Effects.cpp */; };
|
||||
12059DBE14980B7300DAC43B /* ExtraCost.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA3770A1291C60500B9016A /* ExtraCost.cpp */; };
|
||||
12059DBF14980B7300DAC43B /* GameApp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA3770B1291C60500B9016A /* GameApp.cpp */; };
|
||||
12059DC014980B7300DAC43B /* GameLauncher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA3770C1291C60500B9016A /* GameLauncher.cpp */; };
|
||||
@@ -198,7 +196,6 @@
|
||||
12059E4A14980B7300DAC43B /* libstdc++.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 12D095E014417D0500F69056 /* libstdc++.dylib */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||
12059E4B14980B7300DAC43B /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 12211EBA14934A2C00641703 /* CFNetwork.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||
12059E4C14980B7300DAC43B /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 12211EB814934A1800641703 /* MobileCoreServices.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||
12059E4D14980B7300DAC43B /* libGoogleAdMobAds.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 128ED379148BAE7B00C58E83 /* libGoogleAdMobAds.a */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||
12059E4E14980B7300DAC43B /* libc++abi.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 1216D632148F7411000F2295 /* libc++abi.dylib */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||
12059E4F14980B7300DAC43B /* libsqlite3.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 128ED50F148BCC1900C58E83 /* libsqlite3.dylib */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||
12059E5014980B7300DAC43B /* iAd.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 129654D0148A52730031100B /* iAd.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||
@@ -217,7 +214,6 @@
|
||||
12059E5D14980B7300DAC43B /* MapKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 128ED50B148BCBBC00C58E83 /* MapKit.framework */; };
|
||||
12059E5E14980B7300DAC43B /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 128ED518148BF0E000C58E83 /* MediaPlayer.framework */; };
|
||||
1216D633148F7411000F2295 /* libc++abi.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 1216D632148F7411000F2295 /* libc++abi.dylib */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||
1216D634148F747D000F2295 /* libGoogleAdMobAds.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 128ED379148BAE7B00C58E83 /* libGoogleAdMobAds.a */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||
12211E7914931CBB00641703 /* ASIAuthenticationDialog.m in Sources */ = {isa = PBXBuildFile; fileRef = 12211E2814931CBB00641703 /* ASIAuthenticationDialog.m */; };
|
||||
12211E7A14931CBB00641703 /* ASIDataCompressor.m in Sources */ = {isa = PBXBuildFile; fileRef = 12211E2B14931CBB00641703 /* ASIDataCompressor.m */; };
|
||||
12211E7B14931CBB00641703 /* ASIDataDecompressor.m in Sources */ = {isa = PBXBuildFile; fileRef = 12211E2D14931CBB00641703 /* ASIDataDecompressor.m */; };
|
||||
@@ -285,6 +281,9 @@
|
||||
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
|
||||
28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD14FF0DC6FC520079059D /* OpenGLES.framework */; };
|
||||
28FD15080DC6FC5B0079059D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD15070DC6FC5B0079059D /* QuartzCore.framework */; };
|
||||
751E1F1518FAE53E001B1E16 /* CarouselDeckView.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 751E1F1218FAE53E001B1E16 /* CarouselDeckView.cpp */; };
|
||||
751E1F1618FAE53E001B1E16 /* DeckView.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 751E1F1318FAE53E001B1E16 /* DeckView.cpp */; };
|
||||
751E1F1718FAE53E001B1E16 /* GridDeckView.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 751E1F1418FAE53E001B1E16 /* GridDeckView.cpp */; };
|
||||
75D209D3181D54FD009916AC /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 75D209D1181D54FD009916AC /* Default-568h@2x.png */; };
|
||||
75D209D4181D54FD009916AC /* wagic-80x80.png in Resources */ = {isa = PBXBuildFile; fileRef = 75D209D2181D54FD009916AC /* wagic-80x80.png */; };
|
||||
CE97CD1E1295AB4300FDFD3B /* SimplePopup.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CE97CD1D1295AB4300FDFD3B /* SimplePopup.cpp */; };
|
||||
@@ -307,7 +306,6 @@
|
||||
CEA3775E1291C60500B9016A /* AllAbilities.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376F41291C60500B9016A /* AllAbilities.cpp */; };
|
||||
CEA3775F1291C60500B9016A /* CardDescriptor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376F51291C60500B9016A /* CardDescriptor.cpp */; };
|
||||
CEA377601291C60500B9016A /* CardDisplay.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376F61291C60500B9016A /* CardDisplay.cpp */; };
|
||||
CEA377611291C60500B9016A /* CardEffect.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376F71291C60500B9016A /* CardEffect.cpp */; };
|
||||
CEA377621291C60500B9016A /* CardGui.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376F81291C60500B9016A /* CardGui.cpp */; };
|
||||
CEA377631291C60500B9016A /* CardPrimitive.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376F91291C60500B9016A /* CardPrimitive.cpp */; };
|
||||
CEA377641291C60500B9016A /* CardSelector.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA376FA1291C60500B9016A /* CardSelector.cpp */; };
|
||||
@@ -325,7 +323,6 @@
|
||||
CEA377701291C60500B9016A /* DeckMetaData.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA377061291C60500B9016A /* DeckMetaData.cpp */; };
|
||||
CEA377711291C60500B9016A /* DeckStats.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA377071291C60500B9016A /* DeckStats.cpp */; };
|
||||
CEA377721291C60500B9016A /* DuelLayers.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA377081291C60500B9016A /* DuelLayers.cpp */; };
|
||||
CEA377731291C60500B9016A /* Effects.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA377091291C60500B9016A /* Effects.cpp */; };
|
||||
CEA377741291C60500B9016A /* ExtraCost.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA3770A1291C60500B9016A /* ExtraCost.cpp */; };
|
||||
CEA377751291C60500B9016A /* GameApp.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA3770B1291C60500B9016A /* GameApp.cpp */; };
|
||||
CEA377761291C60500B9016A /* GameLauncher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = CEA3770C1291C60500B9016A /* GameLauncher.cpp */; };
|
||||
@@ -578,6 +575,13 @@
|
||||
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
||||
28FD14FF0DC6FC520079059D /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; };
|
||||
28FD15070DC6FC5B0079059D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
|
||||
751E1F0E18FAE52D001B1E16 /* CarouselDeckView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CarouselDeckView.h; sourceTree = "<group>"; };
|
||||
751E1F0F18FAE52D001B1E16 /* DeckView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DeckView.h; sourceTree = "<group>"; };
|
||||
751E1F1018FAE52D001B1E16 /* Easing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Easing.h; sourceTree = "<group>"; };
|
||||
751E1F1118FAE52D001B1E16 /* GridDeckView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GridDeckView.h; sourceTree = "<group>"; };
|
||||
751E1F1218FAE53E001B1E16 /* CarouselDeckView.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CarouselDeckView.cpp; sourceTree = "<group>"; };
|
||||
751E1F1318FAE53E001B1E16 /* DeckView.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = DeckView.cpp; sourceTree = "<group>"; };
|
||||
751E1F1418FAE53E001B1E16 /* GridDeckView.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = GridDeckView.cpp; sourceTree = "<group>"; };
|
||||
75D209D1181D54FD009916AC /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = SOURCE_ROOT; };
|
||||
75D209D2181D54FD009916AC /* wagic-80x80.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "wagic-80x80.png"; sourceTree = SOURCE_ROOT; };
|
||||
8D1107310486CEB800E47090 /* wagic-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "wagic-Info.plist"; plistStructureDefinitionIdentifier = "com.apple.xcode.plist.structure-definition.iphone.info-plist"; sourceTree = "<group>"; };
|
||||
@@ -609,7 +613,6 @@
|
||||
CEA3768C1291C60500B9016A /* AllAbilities.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = AllAbilities.h; sourceTree = "<group>"; };
|
||||
CEA3768D1291C60500B9016A /* CardDescriptor.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = CardDescriptor.h; sourceTree = "<group>"; };
|
||||
CEA3768E1291C60500B9016A /* CardDisplay.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = CardDisplay.h; sourceTree = "<group>"; };
|
||||
CEA3768F1291C60500B9016A /* CardEffect.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = CardEffect.h; sourceTree = "<group>"; };
|
||||
CEA376901291C60500B9016A /* CardGui.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = CardGui.h; sourceTree = "<group>"; };
|
||||
CEA376911291C60500B9016A /* CardPrimitive.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = CardPrimitive.h; sourceTree = "<group>"; };
|
||||
CEA376921291C60500B9016A /* CardSelector.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = CardSelector.h; sourceTree = "<group>"; };
|
||||
@@ -627,7 +630,6 @@
|
||||
CEA3769E1291C60500B9016A /* DeckMetaData.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = DeckMetaData.h; sourceTree = "<group>"; };
|
||||
CEA3769F1291C60500B9016A /* DeckStats.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = DeckStats.h; sourceTree = "<group>"; };
|
||||
CEA376A01291C60500B9016A /* DuelLayers.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = DuelLayers.h; sourceTree = "<group>"; };
|
||||
CEA376A11291C60500B9016A /* Effects.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = Effects.h; sourceTree = "<group>"; };
|
||||
CEA376A21291C60500B9016A /* ExtraCost.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = ExtraCost.h; sourceTree = "<group>"; };
|
||||
CEA376A31291C60500B9016A /* GameApp.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = GameApp.h; sourceTree = "<group>"; };
|
||||
CEA376A41291C60500B9016A /* GameObserver.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.h; fileEncoding = 4; path = GameObserver.h; sourceTree = "<group>"; };
|
||||
@@ -711,7 +713,6 @@
|
||||
CEA376F41291C60500B9016A /* AllAbilities.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = AllAbilities.cpp; sourceTree = "<group>"; };
|
||||
CEA376F51291C60500B9016A /* CardDescriptor.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = CardDescriptor.cpp; sourceTree = "<group>"; };
|
||||
CEA376F61291C60500B9016A /* CardDisplay.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = CardDisplay.cpp; sourceTree = "<group>"; };
|
||||
CEA376F71291C60500B9016A /* CardEffect.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = CardEffect.cpp; sourceTree = "<group>"; };
|
||||
CEA376F81291C60500B9016A /* CardGui.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = CardGui.cpp; sourceTree = "<group>"; };
|
||||
CEA376F91291C60500B9016A /* CardPrimitive.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = CardPrimitive.cpp; sourceTree = "<group>"; };
|
||||
CEA376FA1291C60500B9016A /* CardSelector.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = CardSelector.cpp; sourceTree = "<group>"; };
|
||||
@@ -729,7 +730,6 @@
|
||||
CEA377061291C60500B9016A /* DeckMetaData.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = DeckMetaData.cpp; sourceTree = "<group>"; };
|
||||
CEA377071291C60500B9016A /* DeckStats.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = DeckStats.cpp; sourceTree = "<group>"; };
|
||||
CEA377081291C60500B9016A /* DuelLayers.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = DuelLayers.cpp; sourceTree = "<group>"; };
|
||||
CEA377091291C60500B9016A /* Effects.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = Effects.cpp; sourceTree = "<group>"; };
|
||||
CEA3770A1291C60500B9016A /* ExtraCost.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = ExtraCost.cpp; sourceTree = "<group>"; };
|
||||
CEA3770B1291C60500B9016A /* GameApp.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = GameApp.cpp; sourceTree = "<group>"; };
|
||||
CEA3770C1291C60500B9016A /* GameLauncher.cpp */ = {isa = PBXFileReference; explicitFileType = sourcecode.cpp.cpp; fileEncoding = 4; path = GameLauncher.cpp; sourceTree = "<group>"; };
|
||||
@@ -890,7 +890,6 @@
|
||||
12059E4A14980B7300DAC43B /* libstdc++.dylib in Frameworks */,
|
||||
12059E4B14980B7300DAC43B /* CFNetwork.framework in Frameworks */,
|
||||
12059E4C14980B7300DAC43B /* MobileCoreServices.framework in Frameworks */,
|
||||
12059E4D14980B7300DAC43B /* libGoogleAdMobAds.a in Frameworks */,
|
||||
12059E4E14980B7300DAC43B /* libc++abi.dylib in Frameworks */,
|
||||
12059E4F14980B7300DAC43B /* libsqlite3.dylib in Frameworks */,
|
||||
12059E5014980B7300DAC43B /* iAd.framework in Frameworks */,
|
||||
@@ -922,7 +921,6 @@
|
||||
12D095E114417D0500F69056 /* libstdc++.dylib in Frameworks */,
|
||||
12211EBB14934A2C00641703 /* CFNetwork.framework in Frameworks */,
|
||||
12211EB914934A1900641703 /* MobileCoreServices.framework in Frameworks */,
|
||||
1216D634148F747D000F2295 /* libGoogleAdMobAds.a in Frameworks */,
|
||||
1216D633148F7411000F2295 /* libc++abi.dylib in Frameworks */,
|
||||
128ED510148BCC1900C58E83 /* libsqlite3.dylib in Frameworks */,
|
||||
129654D1148A52740031100B /* iAd.framework in Frameworks */,
|
||||
@@ -1284,6 +1282,10 @@
|
||||
CEA376851291C60500B9016A /* include */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
751E1F0E18FAE52D001B1E16 /* CarouselDeckView.h */,
|
||||
751E1F0F18FAE52D001B1E16 /* DeckView.h */,
|
||||
751E1F1018FAE52D001B1E16 /* Easing.h */,
|
||||
751E1F1118FAE52D001B1E16 /* GridDeckView.h */,
|
||||
12272FC114CD558C00192DC7 /* SimpleButton.h */,
|
||||
12CCA032144A05DF00E343A0 /* AbilityParser.h */,
|
||||
127694891441274D0088F6D3 /* AIPlayerBaka.h */,
|
||||
@@ -1306,7 +1308,6 @@
|
||||
CEA3768C1291C60500B9016A /* AllAbilities.h */,
|
||||
CEA3768D1291C60500B9016A /* CardDescriptor.h */,
|
||||
CEA3768E1291C60500B9016A /* CardDisplay.h */,
|
||||
CEA3768F1291C60500B9016A /* CardEffect.h */,
|
||||
CEA376901291C60500B9016A /* CardGui.h */,
|
||||
CEA376911291C60500B9016A /* CardPrimitive.h */,
|
||||
CEA376921291C60500B9016A /* CardSelector.h */,
|
||||
@@ -1324,7 +1325,6 @@
|
||||
CEA3769E1291C60500B9016A /* DeckMetaData.h */,
|
||||
CEA3769F1291C60500B9016A /* DeckStats.h */,
|
||||
CEA376A01291C60500B9016A /* DuelLayers.h */,
|
||||
CEA376A11291C60500B9016A /* Effects.h */,
|
||||
CEA376A21291C60500B9016A /* ExtraCost.h */,
|
||||
CEA376A31291C60500B9016A /* GameApp.h */,
|
||||
CEA376A41291C60500B9016A /* GameObserver.h */,
|
||||
@@ -1408,6 +1408,9 @@
|
||||
CEA376ED1291C60500B9016A /* src */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
751E1F1218FAE53E001B1E16 /* CarouselDeckView.cpp */,
|
||||
751E1F1318FAE53E001B1E16 /* DeckView.cpp */,
|
||||
751E1F1418FAE53E001B1E16 /* GridDeckView.cpp */,
|
||||
12CCA02F144A05D100E343A0 /* AbilityParser.cpp */,
|
||||
12769483144127380088F6D3 /* AIPlayerBaka.cpp */,
|
||||
12769484144127380088F6D3 /* AIPlayerBakaB.cpp */,
|
||||
@@ -1427,7 +1430,6 @@
|
||||
CEA376F41291C60500B9016A /* AllAbilities.cpp */,
|
||||
CEA376F51291C60500B9016A /* CardDescriptor.cpp */,
|
||||
CEA376F61291C60500B9016A /* CardDisplay.cpp */,
|
||||
CEA376F71291C60500B9016A /* CardEffect.cpp */,
|
||||
CEA376F81291C60500B9016A /* CardGui.cpp */,
|
||||
CEA376F91291C60500B9016A /* CardPrimitive.cpp */,
|
||||
CEA376FA1291C60500B9016A /* CardSelector.cpp */,
|
||||
@@ -1445,7 +1447,6 @@
|
||||
CEA377061291C60500B9016A /* DeckMetaData.cpp */,
|
||||
CEA377071291C60500B9016A /* DeckStats.cpp */,
|
||||
CEA377081291C60500B9016A /* DuelLayers.cpp */,
|
||||
CEA377091291C60500B9016A /* Effects.cpp */,
|
||||
CEA3770A1291C60500B9016A /* ExtraCost.cpp */,
|
||||
CEA3770B1291C60500B9016A /* GameApp.cpp */,
|
||||
CEA3770C1291C60500B9016A /* GameLauncher.cpp */,
|
||||
@@ -1703,7 +1704,7 @@
|
||||
29B97313FDCFA39411CA2CEA /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
LastUpgradeCheck = 0430;
|
||||
LastUpgradeCheck = 0510;
|
||||
};
|
||||
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "wagic" */;
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
@@ -1827,7 +1828,6 @@
|
||||
12059DA814980B7300DAC43B /* AllAbilities.cpp in Sources */,
|
||||
12059DA914980B7300DAC43B /* CardDescriptor.cpp in Sources */,
|
||||
12059DAA14980B7300DAC43B /* CardDisplay.cpp in Sources */,
|
||||
12059DAB14980B7300DAC43B /* CardEffect.cpp in Sources */,
|
||||
12059DAC14980B7300DAC43B /* CardGui.cpp in Sources */,
|
||||
12059DAD14980B7300DAC43B /* CardPrimitive.cpp in Sources */,
|
||||
12059DAE14980B7300DAC43B /* CardSelector.cpp in Sources */,
|
||||
@@ -1845,7 +1845,6 @@
|
||||
12059DBA14980B7300DAC43B /* DeckMetaData.cpp in Sources */,
|
||||
12059DBB14980B7300DAC43B /* DeckStats.cpp in Sources */,
|
||||
12059DBC14980B7300DAC43B /* DuelLayers.cpp in Sources */,
|
||||
12059DBD14980B7300DAC43B /* Effects.cpp in Sources */,
|
||||
12059DBE14980B7300DAC43B /* ExtraCost.cpp in Sources */,
|
||||
12059DBF14980B7300DAC43B /* GameApp.cpp in Sources */,
|
||||
12059DC014980B7300DAC43B /* GameLauncher.cpp in Sources */,
|
||||
@@ -2009,7 +2008,6 @@
|
||||
CEA3775E1291C60500B9016A /* AllAbilities.cpp in Sources */,
|
||||
CEA3775F1291C60500B9016A /* CardDescriptor.cpp in Sources */,
|
||||
CEA377601291C60500B9016A /* CardDisplay.cpp in Sources */,
|
||||
CEA377611291C60500B9016A /* CardEffect.cpp in Sources */,
|
||||
CEA377621291C60500B9016A /* CardGui.cpp in Sources */,
|
||||
CEA377631291C60500B9016A /* CardPrimitive.cpp in Sources */,
|
||||
CEA377641291C60500B9016A /* CardSelector.cpp in Sources */,
|
||||
@@ -2027,7 +2025,6 @@
|
||||
CEA377701291C60500B9016A /* DeckMetaData.cpp in Sources */,
|
||||
CEA377711291C60500B9016A /* DeckStats.cpp in Sources */,
|
||||
CEA377721291C60500B9016A /* DuelLayers.cpp in Sources */,
|
||||
CEA377731291C60500B9016A /* Effects.cpp in Sources */,
|
||||
CEA377741291C60500B9016A /* ExtraCost.cpp in Sources */,
|
||||
CEA377751291C60500B9016A /* GameApp.cpp in Sources */,
|
||||
CEA377761291C60500B9016A /* GameLauncher.cpp in Sources */,
|
||||
@@ -2057,6 +2054,7 @@
|
||||
CEA3778F1291C60500B9016A /* ManaCostHybrid.cpp in Sources */,
|
||||
CEA377901291C60500B9016A /* MenuItem.cpp in Sources */,
|
||||
CEA377911291C60500B9016A /* MTGAbility.cpp in Sources */,
|
||||
751E1F1718FAE53E001B1E16 /* GridDeckView.cpp in Sources */,
|
||||
CEA377931291C60500B9016A /* MTGCard.cpp in Sources */,
|
||||
CEA377941291C60500B9016A /* MTGCardInstance.cpp in Sources */,
|
||||
CEA377951291C60500B9016A /* MTGDeck.cpp in Sources */,
|
||||
@@ -2095,6 +2093,7 @@
|
||||
CEA377BA1291C60500B9016A /* utils.cpp in Sources */,
|
||||
CEA377BB1291C60500B9016A /* WCachedResource.cpp in Sources */,
|
||||
CEA377BC1291C60500B9016A /* WDataSrc.cpp in Sources */,
|
||||
751E1F1618FAE53E001B1E16 /* DeckView.cpp in Sources */,
|
||||
CEA377BD1291C60500B9016A /* WEvent.cpp in Sources */,
|
||||
CEA377BE1291C60500B9016A /* WFilter.cpp in Sources */,
|
||||
CEA377BF1291C60500B9016A /* WFont.cpp in Sources */,
|
||||
@@ -2104,6 +2103,7 @@
|
||||
CE9A478512B514BA00C9F38A /* EAGLView.m in Sources */,
|
||||
CE9A478612B514BA00C9F38A /* EAGLViewController.m in Sources */,
|
||||
CE9A478912B514BA00C9F38A /* ES2Renderer.m in Sources */,
|
||||
751E1F1518FAE53E001B1E16 /* CarouselDeckView.cpp in Sources */,
|
||||
CE9A478A12B514BA00C9F38A /* main.m in Sources */,
|
||||
CE9A478D12B514BA00C9F38A /* wagicAppDelegate.m in Sources */,
|
||||
CE9E71DD1375A58600759DDC /* thread.cpp in Sources */,
|
||||
@@ -2152,10 +2152,6 @@
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = (
|
||||
armv6,
|
||||
"$(ARCHS_STANDARD_32_BIT)",
|
||||
);
|
||||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
@@ -2205,10 +2201,6 @@
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
ARCHS = (
|
||||
armv6,
|
||||
"$(ARCHS_STANDARD_32_BIT)",
|
||||
);
|
||||
CODE_SIGN_IDENTITY = "iPhone Distribution";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
|
||||
COPY_PHASE_STRIP = YES;
|
||||
@@ -2252,10 +2244,6 @@
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = YES;
|
||||
ARCHS = (
|
||||
armv6,
|
||||
"$(ARCHS_STANDARD_32_BIT)",
|
||||
);
|
||||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
@@ -2291,10 +2279,7 @@
|
||||
"\"$(SRCROOT)/../../admobsdk/iOS/GoogleAdMobAdsSDKiOS-5.0.5\"",
|
||||
);
|
||||
"New Setting" = "";
|
||||
OTHER_LDFLAGS = (
|
||||
"-no_implicit_dylibs",
|
||||
"-Wl",
|
||||
);
|
||||
OTHER_LDFLAGS = "-Wl";
|
||||
PRODUCT_NAME = wagic;
|
||||
PROVISIONING_PROFILE = "";
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
|
||||
@@ -2307,10 +2292,6 @@
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
ARCHS = (
|
||||
armv6,
|
||||
"$(ARCHS_STANDARD_32_BIT)",
|
||||
);
|
||||
CODE_SIGN_IDENTITY = "iPhone Distribution";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
|
||||
COPY_PHASE_STRIP = YES;
|
||||
@@ -2339,10 +2320,7 @@
|
||||
"$(inherited)",
|
||||
"\"$(SRCROOT)/../../admobsdk/iOS/GoogleAdMobAdsSDKiOS-5.0.5\"",
|
||||
);
|
||||
OTHER_LDFLAGS = (
|
||||
"-no_implicit_dylibs",
|
||||
"-Wl",
|
||||
);
|
||||
OTHER_LDFLAGS = "-Wl";
|
||||
PRODUCT_NAME = wagic;
|
||||
PROVISIONING_PROFILE = "";
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
|
||||
@@ -2354,7 +2332,6 @@
|
||||
C01FCF4F08A954540054247B /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)";
|
||||
CODE_SIGN_IDENTITY = "iPhone Developer";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
||||
DEPLOYMENT_LOCATION = NO;
|
||||
@@ -2365,6 +2342,11 @@
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = ../../Boost/boost;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_CFLAGS = (
|
||||
"-DTIXML_USE_STL",
|
||||
"-fno-objc-arc",
|
||||
);
|
||||
PROVISIONING_PROFILE = "";
|
||||
SDKROOT = iphoneos;
|
||||
TARGETED_DEVICE_FAMILY = "1,2";
|
||||
@@ -2374,7 +2356,6 @@
|
||||
C01FCF5008A954540054247B /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ARCHS = "$(ARCHS_UNIVERSAL_IPHONE_OS)";
|
||||
CODE_SIGN_IDENTITY = "iPhone Distribution";
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
@@ -2382,7 +2363,10 @@
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = ../../Boost/boost;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 5.1;
|
||||
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
|
||||
OTHER_CFLAGS = (
|
||||
"-DNS_BLOCK_ASSERTIONS=1",
|
||||
"-DTIXML_USE_STL=1",
|
||||
);
|
||||
PROVISIONING_PROFILE = "";
|
||||
"PROVISIONING_PROFILE[sdk=iphoneos*]" = "";
|
||||
SDKROOT = iphoneos;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0500"
|
||||
LastUpgradeVersion = "0510"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "0500"
|
||||
LastUpgradeVersion = "0510"
|
||||
version = "1.3">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
|
||||
Reference in New Issue
Block a user