Commit Graph

2652 Commits

Author SHA1 Message Date
wrenczes
dcd8c96c7b boost static threading lib for linux. 2010-11-23 19:08:38 +00:00
wrenczes@gmail.com
1baf9776d5 Some additional boost headers required for linux thread support. 2010-11-23 19:05:23 +00:00
omegablast2002@yahoo.com
bce5b9e54b Ai training: some Foreach training, optimizted the equip training to have Ai better use equipment, it should no longer leave equipment sitting around, enticed Ai into paying upcost on cards YAY! no more summon now and lose it next turn! :) enjoy. 2010-11-23 16:52:46 +00:00
techdragon.nguyen@gmail.com
b5ff86b14c adding images for popup menu changes in previous check in 2010-11-23 14:03:02 +00:00
techdragon.nguyen@gmail.com
e39c94756b added border to extra details popup as per design at
http://wololo.net/forum/viewtopic.php?f=37&t=2380
and
http://wololo.net/forum/viewtopic.php?f=37&t=2382
2010-11-23 14:02:02 +00:00
Xawotihs
8d758d4775 Changed fps on desktop to run at 200 fps, changed mobile to start in
fullscreen
2010-11-22 22:58:57 +00:00
techdragon.nguyen@gmail.com
8c7e06b6dc fix for issue found in forums with reinforcements. Not sure how wide spread the original coding will cause errors but this solution avoids it entirely.
Issue: 527
2010-11-22 21:38:12 +00:00
Xawotihs
b057532a2e Fixed library include path in the Qt project on Windows 2010-11-22 19:26:33 +00:00
techdragon.nguyen@gmail.com
22fd66493a added in commas for abilities string. This was supposed to go into the last check in. 2010-11-22 15:54:15 +00:00
techdragon.nguyen@gmail.com
064dad3085 reverted ability/color parser for AATokenCreator.
fixed color parsing error for Transformer classes
2010-11-22 09:51:36 +00:00
linshier
4c7b4f4df9 Fixed texture binding in JRenderer. Note that if we want to bind or rebind a texture, we should set mCurrentTex to the target texture id first. Otherwise, it can cause some display bugs in some situation as BindTexture() tracks down the mCurrentTex for an optimization. 2010-11-21 16:09:45 +00:00
Xawotihs
fcd2f61c39 Fixed psp warning 2010-11-21 08:51:05 +00:00
wrenczes
e2659b63f1 Fixed a couple of sprintfs that wouldn't compile on Linux. 2010-11-21 04:11:23 +00:00
Xawotihs
2b6469e391 Mouse support in deck editor 2010-11-20 21:30:15 +00:00
techdragon.nguyen@gmail.com
f1a4f26c79 fixed unsigned vs signed int comparison for vector iteration. 2010-11-20 19:50:06 +00:00
techdragon.nguyen@gmail.com
7e55039b0a * added hashmap for all basic abilities.
* created three new utility functions that return a vector of matching abilities, colors and types
* migrated all activated ability impl into AllAbilities.cpp.  Perhaps we could break AllAbilities up into separate impl files for manageability?
    One for Activated abilities, another for triggers,etc
2010-11-20 19:41:26 +00:00
Xawotihs
048ecb3324 Mouse support in Shop 2010-11-20 17:46:53 +00:00
linshier
bf3d01ae74 Added linebreak support for JTTFont in JGE. 2010-11-20 15:40:53 +00:00
linshier
deea874591 Fixed the setsize bug for JTTFont in JGE. 2010-11-20 15:24:11 +00:00
linshier
c51321d292 Fixed makefile for Boost including on linux. 2010-11-20 15:13:16 +00:00
techdragon.nguyen@gmail.com
510b91935f modified phase error statement to be more descriptive. Added phase name to message. It was previously showing only the index number which is unhelpful. 2010-11-20 11:49:28 +00:00
techdragon.nguyen@gmail.com
36d25441e2 * fixed some boundary conditions for menu initialization
* changed # victories to be calculated value
* removed nbVictories accessor
2010-11-20 10:11:06 +00:00
wrenczes@gmail.com
4a0965c853 Initial drop of Boost v1.44. This isn't the full library, just a subset that includes the more useful ones like shared_ptr and threads. Currently not wired into anything. 2010-11-20 07:52:11 +00:00
wrenczes@gmail.com
0c4b43a491 Added an additional clean option for stale versions of the precompiled header that might have been orphaned in the include folder. 2010-11-20 07:08:25 +00:00
wrenczes@gmail.com
e0872b852d Fixed the PSP build. Turns out that the make file wasn't properly cleaning out the .pch file when running make clean. Also renamed JgeRect to JRect for consistency with other class definitions in JTypes. 2010-11-20 06:34:13 +00:00
Xawotihs
3725958fc3 Fix mouse support in menus and first screen 2010-11-20 00:33:37 +00:00
Xawotihs
58abfaa8e6 Fixed crash on Linux introduced with the iOS patch 2010-11-19 23:38:56 +00:00
Xawotihs
8339cdd3b3 iOS compilation fixes 2010-11-19 23:16:31 +00:00
techdragon.nguyen@gmail.com
6d855e6cda fixed unsigned int comparison issue. Replaced int with size_t 2010-11-19 23:03:16 +00:00
techdragon.nguyen@gmail.com
5f70d1cff1 * Renamed AManaRedux to AAlterCost since the latter is more representative of the effect
* moved more implementations from AllAbilities header file into the impl file.
2010-11-19 14:55:29 +00:00
techdragon.nguyen@gmail.com
e553d83098 added SAFE_DELETE 2010-11-19 11:33:00 +00:00
techdragon.nguyen@gmail.com
badbc1c040 more reformatting 2010-11-19 11:30:23 +00:00
techdragon.nguyen@gmail.com
6958411f4d Issue 525: fixed NPE for ABecomes
Reformatted AllAbilities.h
2010-11-19 11:11:22 +00:00
wrenczes@gmail.com
76d5b57c1e More VS2010 configuration changes - includes a boost include/lib path (not currently in the trunk), and new file additions/deletions. 2010-11-19 07:14:19 +00:00
techdragon.nguyen@gmail.com
e0da1b2565 added override to enable details view for Player deck selection screen. 2010-11-19 06:48:51 +00:00
techdragon.nguyen@gmail.com
f684795810 refactored menu classes
fixed some layout issues with detailed info popup
changed requirements for detailed info popup button to be determined by the number of wins aginst AI deck instead of just the number of games.
2010-11-19 04:19:03 +00:00
techdragon.nguyen@gmail.com
4aaa93439a code clean up. removed unneeded methods for stats generation
synced stats info for mana curve on detailed display on deck selection screen so only up to
   Constants::STATS_MAX_MANA_COST+1 is used instead of the currently hard coded 15.
2010-11-19 03:18:48 +00:00
wrenczes
c3f99786fc Don't draw counter text when the draw mode is kHidden; removed two unused member functions. 2010-11-19 01:30:00 +00:00
techdragon.nguyen@gmail.com
2a8f8074e6 New descriptive text popup feature for deck selection
http://wololo.net/forum/viewtopic.php?f=13&t=2423
2010-11-18 15:48:48 +00:00
wagic.the.homebrew@gmail.com
f7bcbb42dc Erwan
- had some problems compiling for the PSP. I assume I was the only one, please let me know if the "include JLogger" lines are not needed (they were needed for me)
- Fix a memory leak when playing in "random deck" mode
- Prevent the AI from playing cards with a cost it cannot understand (ExtraCosts with a target).
2010-11-18 14:04:24 +00:00
omegablast2002@yahoo.com
09afcea7da rhox-added regenerate, knights of cliffhaven added maxlevel. 2010-11-17 11:37:47 +00:00
solo81@web.de
9a32c507b6 Fixed Vebulid.
Readded Footsteps of the Goryo. Zethfox had a solution for this!
2010-11-16 12:09:46 +00:00
techdragon.nguyen@gmail.com
79f0fef835 fixed missing brace 2010-11-16 01:18:11 +00:00
techdragon.nguyen@gmail.com
acd7bb1aa4 reformatting code according to guidelines defined at
http://wololo.net/forum/viewtopic.php?f=35&t=2235&start=10
2010-11-16 00:55:16 +00:00
solo81@web.de
c79fdcbf50 Fixed several cards.
Blitz Hellion
Deathcoil Wurm
Laccolith Grunt
Laccolith Titan
Laccolith Warrior
Laccolith Whelp
Line Wolf
Pride of Lions
Righteous Fury
Rhox
Thorn Elemental
Tornado Elemental
Wolf Pack


Removed Foosteps of the Goryo. It cannot work right now for the same reason as Miraculous Recovery cannot work.
2010-11-15 21:03:09 +00:00
wrenczes
b0c826ca01 Fixed the crash I just introduced when buying boosters. 2010-11-15 16:32:48 +00:00
jean.chalard
1317eb0d29 J :
* Add multilingual support for utf-8.
* Use japanese as a test case (removing the old tentative support).
* A number of shortcomings affect this code.
  + Bugs :
    - This splits algorithms used to determine the length of a string
      and to render it in two: either the string starts with an ascii
      char and the monobyte, variable-space algorithm is used, or it
      does not and a multibyte but fixed-space algorithm is used.
      This shortcoming also exists in the code to support chinese.
    - From the above comes the biggest limitation: any string that
      starts with an ascii character but include non-ascii characters
      will not be rendered correctly.
    - This does not and cannot support chars outside the BMP. This
      probably won't matter, ever.
  + Todos, fixmes, wishlist :
    - Single-width characters with diacritics are reported as
      double-space chars. It doesn't matter too much at the moment, but
      should be fixed in the future.
    - Font support currently only includes japanese.
  + Performance and compatibility notes :
    - Chinese code has not been switched to utf-8, to maintain backward
      compatibility. We should switch it at some point in the future,
      but ponder the right way to do it first.
    - Retaining the support for chinese with a non-international
      charset hurts performance (by making some methods uselessly
      virtual).
* Still, this generally works and is extensible (it can be used to
  implement korean, traditional chinese, etc, without any more code).
  Implementing languages with diacritics needs an improvement of the
  bool doubleWidthChar() method.
2010-11-14 16:24:29 +00:00
solo81@web.de
3cedeb4d85 Fixed issue513. 2010-11-14 10:15:02 +00:00
wrenczes@gmail.com
27fd107208 1st step in refactoring some of the card rendering logic - currently, each 'client' has duplicated code having to deal with how to render the full card graphic vs text mode vs using a 'back' image if a card isn't found. This is a first pass at consolidating some of that logic to one location - the ultimate goal being, eventually, the resource cache will actually own the notion of whether it's handing out a real card image or a default filler if the card isn't available, and the client code rendering the card should be oblivious.
In this change, I made the CardGui's RenderBig() and AlternateRender() functions protected; anyone wanting to render a card simply calls RenderCard(), and the card drawing mode is passed along as a param.
2010-11-14 08:15:26 +00:00
wagic.the.homebrew@gmail.com
e758c7eea1 Erwan
- trim long deck names in deck editor/ deck selection
- fixed a bug were the background was rendered in the items loop of the deck selection screen
2010-11-14 02:25:01 +00:00