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
wagic.the.homebrew@gmail.com
b934f0a5ab
Erwan
...
- reimplement r2609 with inheritance, and cleaned up the function code.
2010-11-14 01:35:26 +00:00
wagic.the.homebrew@gmail.com
d668fbb45c
- unix endings for GameStateDeckViewer.h
...
- fix for issue 509 (font color was incorrect at end of some tests)
- Fixed Dregscape Zombie (fix for test unearth3.txt)
2010-11-14 01:15:46 +00:00
wrenczes@gmail.com
fe9c43bc81
Fixed the makefile - the precompiled header additions I previously made wasn't quite syntactically correct, causing unnecessary rebuilds of untouched object files. Now only touched cpps will be rebuilt as expected.
2010-11-13 08:53:22 +00:00
omegablast2002@yahoo.com
2c1e18050c
had to add this to prevent crashing in the shop from buying a booster, i understand the need to reduce code but does every single function have to share every other classes functions? this was originally supposed to be a tiny change, but there was no way to define the difference between the card display used by shop and the ones used by grave and library.
2010-11-12 19:12:19 +00:00
omegablast2002@yahoo.com
f24a7410db
Roc egg was reported to have been a uncommon card, was incorrectly listed as a rare in the card.dat.
2010-11-12 18:41:02 +00:00
omegablast2002@yahoo.com
6adf96e20c
added up and down to the buttons that can close a card display box. now while in graveyards, opponentshand, libraries, if you pressed up or down rather then being tossed into the card selector zones above or below it will close the box and move to the new area.
2010-11-12 18:35:22 +00:00
omegablast2002@yahoo.com
71b0a7dee4
Exuberant Firestoker tweaked, appears to work just fine, please let me know if any futher issues ariase from this.
...
Issue: 458
2010-11-12 17:35:28 +00:00
omegablast2002@yahoo.com
e2d9662845
Quirion Ranger was coded with untap land instead of creature.
...
Issue: 510
2010-11-12 17:28:06 +00:00
omegablast2002@yahoo.com
87bf93365e
Simulacrum fix again, dejavu.
2010-11-12 13:13:28 +00:00
techdragon.nguyen@gmail.com
49726799ff
updated comment on maxlevel
2010-11-12 11:55:43 +00:00
techdragon.nguyen@gmail.com
7aa76630fa
changing leveler coding to use "maxlevel" syntax as "level=" is not supported.
2010-11-12 10:01:20 +00:00
techdragon.nguyen@gmail.com
2d546f111a
corrected casting cost for Argentum Armor, it should be {6} not {2}
...
removed duplicate entry for Oblivion Crown. I'm assuming the def with "teach" is the correct one.
2010-11-12 08:16:40 +00:00
techdragon.nguyen@gmail.com
f16192f685
added in missing tests for primeval titan and sun titan. ( these were not added on initial change )
...
fixed definitions for sun titan and primeval titan. ( these were clobbered with the latest changes. )
2010-11-11 17:05:28 +00:00
solo81@web.de
87f31121f5
Fixed Pentad Prism and Yomiji, Who Bars the Way.
2010-11-11 11:52:25 +00:00
techdragon.nguyen@gmail.com
708b82b060
changed manaredux to altercost to match parser
2010-11-11 07:15:33 +00:00
techdragon.nguyen@gmail.com
7d291747a1
changing keyword manaredux to altercost as it is more misleading for manaredux to also mean cost increase.
...
altercost is more representative of the actual effect than manaredux.
2010-11-11 07:14:49 +00:00
techdragon.nguyen@gmail.com
f73da58a9a
reinstating new manaredux syntax as the last update clobbered the changes.
2010-11-11 07:01:15 +00:00