Commit Graph

6557 Commits

Author SHA1 Message Date
wagic.the.homebrew@gmail.com f33d37d9f2 Erwan
-attempt at fixing shop crash introduced in r1231 (size needed in ram divided by 4)
2009-11-04 13:33:21 +00:00
Psyyringe 500c1fc1a2 Psyringe - major update/rewrite for the German translation. Added a lot of missing strings, removed some obsolete ones, corrected some spelling / grammar / translation mistakes, addressed the player consistently with the informal "Du" (previously there was a mix of "Du" and the more formal "Sie"), added the cards from M10, PLC, and ZEN along with their German names, repaired a wagonload of lowercase umlauts in the existing card names (please use case sensitive fuctions when replacing umlauts), and provided translations for all 251 types, subtypes, and supertypes in the game. Also, totally restructured the file so that it now follows the structire of the in-game menus. I think the file is in good shape now and might be useful as a base for other translation efforts. I can't guarantee that I caught every single string, but I'm pretty sure that this is now the most complete translation available.
Please note that I don't plan to update this file for future Wagic versions, so if anybody wants to take over, please do. :)

Some files were updated in the process:

- CardGui.cpp - exposed the card rarity info on the alternate render cards to the translation engine. Also switched the color of said info to white on green and blue cards, imho they are much easier to read now.

- GameStateDeckViewer.cpp - exposed the term "Collection" (shown under the scrollbar) to the translation engine.

- GuiPhaseBar.cpp - exposed the strings denoting "your turn", "opponent's turn", "you play", "opponent plays", to the translation engine.

- SimplePad.cpp - exposed the special keys ("Spacebar", "Confirm" etc.) to the translation engine. Had to increase the keypad width to make room for "Abbrechen" (Cancel). I couldn't translate it differently because there's also a *spell* called cancel, and to have a different translation in SimplePad, I would have had to change the official German name of the Cancel spell, which wasn't an option.

- MTGAbility.cpp - exposed the words from which the text of mana-producing abilities is constructed to the translation engine. Please review this one and suggest a better solution - the one I chose is somewhat awkward. The translation works, but when the whole translated sentence is constructed and gets returned, the calling procedure tries to translate it again (all other ability descriptions work this way, translation takes place *after* the string has been returned). However, for mana producing abilities this doesn't work, since the costructed string can take an infinite number of diffeent forms, depending on the mana produced, and we can't translate that. Hence I chose to translate the individual words during construction, with the described side effect that the engine now tries to translate them again later in the process (and the sentence ends up in missing.txt).

- Also, cheat mode menu items now aren't denoted by the ugly "(cheat)" appended to them, instead they are enclosed by asterisks. Uses less space.
2009-11-03 22:25:16 +00:00
wagic.jeck ffa8408a5f Jeck - The shop anti-aliasing stuff is rendered inside of shop->Render(), so that it renders on top of the cards, but under other UI elements handled by ShopItems (the price dialog, etc). Moved the light flicker inside of ShopItems instead (for now, as this is pretty damn inelegant). As far as the 5551 issue goes, I don't see how using a jpeg would do much harm, but leave the decision up to others :) 2009-11-03 20:55:04 +00:00
wagic.laurent 7f0f632b2c Laurent- Fixed Spontaneus Generation (MRQ) 2009-11-03 10:56:14 +00:00
wagic.the.homebrew@gmail.com 60e9b2c1df Erwan
-fix issue 146
2009-11-03 10:31:57 +00:00
wagic.the.homebrew@gmail.com d2bcb90799 Erwan
-fix for issue 120
2009-11-03 10:12:01 +00:00
wagic.the.homebrew@gmail.com a7034bbcb4 Erwan
-Fix mark of mutiny
2009-11-03 09:37:44 +00:00
wagic.the.homebrew@gmail.com 9de98c3032 Erwan
- "Fix" issue 152. Please review. There is an extra cost when loading the shop...could probably be improved...the image is huge, and it's a png (so no 5551 improvement here...should we switch to a jpeg ?)
2009-11-03 09:18:52 +00:00
wagic.the.homebrew@gmail.com befb3f246b Erwan
- fix issue 149
2009-11-03 07:40:14 +00:00
wagic.the.homebrew@gmail.com ff947737dc Erwan
- Fix symbiotic beasts in ONS. IMPORTANT NOTE: the trigger keyword is @movedTo, not @moved ;)
2009-11-03 07:30:14 +00:00
wagic.the.homebrew@gmail.com 1d20f37ded Erwan
- fix issue 151 (I hope)
- small french translation Update
- Nezumi Cutthroat fix
2009-11-03 03:51:05 +00:00
solo81@web.de 7fd44a077e Fixed Undermine (INV) 2009-11-02 17:38:36 +00:00
wagic.jeck e10130b718 Jeck - Whoops. Forgot to make invisible cheats unselectable. Fixed. 2009-11-02 06:25:03 +00:00
wagic.jeck 6946544a2a Jeck - Minor language support fiddling, gui decorator for cheat-profile only options. 2009-11-02 06:15:37 +00:00
Psyyringe 779921a53f Psyringe - This revision adds "cheat mode", as suggested and pre-reviewed here:
http://wololo.net/forum/viewtopic.php?f=15&t=730

Although the feature is named "cheat mode", its main purpose is to provide a toolbox for content creators. Currently this means to help AI deck creators, but the cheat mode is easily extensible.

Features:
- To enable cheat mode, create a new profile with the super secret cheat name (shouldn't be hard to find - or just mail me if you don't want to look). Then, leave and re-enter the Options menu. You can now enable cheat mode on the first tab. Note: The secret profile name is *not* my original suggestion from the forum, I went with Jeck's alternative suggestion so that he won't have to cringe over bad puns everytime he's using it. ;)

- Complete collection: In cheat mode, there's a new option in the deck viewer, which makes sure that you have at least 4 of any card available.

- Deck integrity: When in cheat mode, and you load a deck with cards that are not present in your collection, then these cards won't be stripped from your deck any more. Instead, they are added to your collection.

- Money cheat: In cheat mode, when you click on an item in the shop, you get the option to steal 1,000 credits from the shopkeeper.

Please review my code - I just started with C++, I may make very obvious mistakes or use inelegant style. The sooner you point this out, the sooner I'll improve.

thanks to wololo and jeck for comments and suggestions.

Jeck: Do the setVisible and setHidden methods currently work? I tried to use them to hide a menu item, but they all seem to lead to empty methods - Perhaps placeholders for a not yet implemented functionality?
2009-11-02 04:27:14 +00:00
wagic.jeck 7a108c3604 Jeck - Additional deutsch language fiddling. 2009-11-02 00:30:04 +00:00
wagic.jeck 92a765b1ed Jeck - Updated German translation while testing options menu. Entschuldigung, Meine deutsche Grammatik ist nicht sehr gut... 2009-11-01 23:52:55 +00:00
wagic.jeck a4a19a1c9a Jeck - Fix to r1220. Apparently, _() doesn't like \n. 2009-11-01 23:13:30 +00:00
wagic.jeck 29219be4df Jeck - Added "# of unlocked sets" info to profile switcher, ran profile stats through _(). 2009-11-01 23:01:19 +00:00
wagic.jeck c501d96336 Jeck - TEMPORARY fix for AllAbilities, which was preventing PSP compilation. Please address this, as I'm not certain what the intended return value was. 2009-11-01 22:40:33 +00:00
wagic.jeck f3ad432d9b Jeck - Applied booster rarity sorting patch (issue 133), added horsemanship ability.
* The horsemanship ability literally required only one line of code, and could add an additional ~36 cards to Dr. Solomat's PT3 set. It seems functional, but someone please double check it anyways, as I've not worked with much of the actual game code yet.
2009-11-01 20:21:32 +00:00
wagic.the.homebrew@gmail.com 18293ba07c Erwan
-fix Issue 150 (hypnotic specter)
2009-11-01 12:15:37 +00:00
wagic.the.homebrew@gmail.com 5b92639cca Erwan
- Translation updates
- JGE: DrawString now allows std::string objects
2009-11-01 02:52:41 +00:00
wagic.laurent b09f879140 Laurent - Removed reign of terror (MIR), corrected Merfolk Seastalker (ZEN), Beacon Hawk (DIS) 2009-10-31 08:17:45 +00:00
wagic.the.homebrew@gmail.com 01c949f881 Erwan
- Fixed a few tranlsation issues in the code
- Updated French translation
2009-10-31 07:58:21 +00:00
Psyyringe 41012eecde 2009-10-31 05:14:55 +00:00
leungclj 9e608d10b1 JON4TH4N - fixed (ZEN) Hideous End and similar card, there is a bug on targetcontroller, test included 2009-10-30 17:54:48 +00:00
solo81@web.de 3919b1cf1d Fixed Kazuul Warlord (ZEN) 2009-10-30 15:46:04 +00:00
solo81@web.de b1f52119a4 Fixed Winged Sliver (TMP) 2009-10-30 14:08:20 +00:00
wagic.the.homebrew@gmail.com d7dae0dcd9 Erwan
- Added -O2 option in the PSP Makefile. In my tests, this highly increases the probability of getting a purple screen. Fixing this bug is THE priority :)
2009-10-29 13:12:16 +00:00
wagic.laurent 32ab4a6c1c Laurent - small Card bug fix: Wall of Wonder (LEG); Sword of the Chosen (STH) 2009-10-29 11:36:45 +00:00
leungclj 7d838dbfb5 JON4TH4N - minor error 2009-10-28 23:08:03 +00:00
leungclj b201e1827b JON4TH4N - fixes from user "snaxington" 2009-10-28 23:06:02 +00:00
jean.chalard 0e4832dcd6 J :
* Fix a bug where a variable would be used uninitialized.
2009-10-28 18:51:53 +00:00
solo81@web.de 548a512776 Fixed Cursed Land (RV)
Yes, the card still does not for 100% do what the original card should do, but as long as no one will enchant a land of its own everything will be alright.
2009-10-28 14:36:16 +00:00
solo81@web.de 18982aa0d6 Fixed Scare Tactics cost (EXO) 2009-10-28 14:24:58 +00:00
solo81@web.de 7cadff6830 Fixed Wild Nacatl (ALA) 2009-10-28 14:17:25 +00:00
wagic.jeck 3347fd020b Jeck - Removed some unused bits of code, added zip support to themes' card overrides. @Jean, please check WResourceManager::dirOK() on Linux.
This needs some impact testing, to be certain it doesn't noticeably slow anything down. In a future version I'd like to memoize checking for zip file existence in each "Res/sets/XXX/" directory once during boot, and in the themed directory whenever switching themes.
2009-10-28 04:06:45 +00:00
leungclj 6279cc894c JON4TH4N - fixes from user "gdspsp" http://wololo.net/forum/viewtopic.php?f=4&t=739&start=20#p6388 2009-10-28 02:01:33 +00:00
wagic.the.homebrew@gmail.com 75b0044f11 Erwan
-Load shop and backdrop in 5551. @Jeck feel free to implement the "default as 5551" for jpegs as well if you think it's worth it. I think this change is the safest for the time being, but that's mostly because I'm too lazy to touch JGE
2009-10-27 13:50:31 +00:00
leungclj 3d918cc2b3 JON4TH4N - couple of fixes 2009-10-27 11:18:43 +00:00
wagic.laurent dfa7fbb5f8 Laurent - few card buggy card identified during playtest (random deck as usual) fixed. 2009-10-27 11:05:12 +00:00
wagic.jeck fea10bdf21 Jeck - Quad locking restored, minor cache fiddling.
* Restored quad locking to textures, but ignore quad locks when Release(JTexture*) is explicitly called. (I just copied and modified the code from the template, rather than do anything elegant). 
* Some minor fiddling with cache error states.
2009-10-27 07:00:16 +00:00
wagic.jeck daf3c249b7 Jeck - This commit does not actually change any graphics files (or at least, it shouldn't.). What it does do is strip all the EXIF data from these files, saving us around 20%... of the 1MB used by graphics. Minor, but should save bandwidth in the long run. 2009-10-27 06:40:10 +00:00
wagic.jeck f7d25cfe2e Jeck - Uncommenting the last resort code from r1192 (removes any misses for shop background when entering shop). 2009-10-27 03:09:02 +00:00
wagic.jeck fb7f48f26b Jeck - Please review: this makes minor changes to a lot of files, and major changes to the WCache flatten() function.
* Removed all calls to Release(JQuad*).
* Updated flatten(). Prior flatten was buggy beyond belief.
* Done some extensive testing, but if this causes more trouble than it fixes, we'll have to revert. It's too close to release time.
2009-10-27 02:46:39 +00:00
solo81@web.de 538248d979 (POR):
- Wording update
2009-10-26 17:40:46 +00:00
leungclj b5e049e1be JON4TH4N - apply the same change as r1189 2009-10-26 16:55:24 +00:00
wagic.laurent 0c79d97bd9 Laurent - Bug fixes - some buggy cards identified during playtest in random deck mode (great to test cards) 2009-10-26 15:13:28 +00:00
wagic.the.homebrew@gmail.com e762a5f983 Erwan
- revert r1187
- fix a bug with "@damaged" (see slith bloodletter test)
2009-10-26 13:31:30 +00:00