summaryrefslogtreecommitdiffstats
path: root/pokemod/MapTrainer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [FIX] Moving stuff for the move to the new name, Sigma Game Engine (sigen ↵Ben Boeckel2008-09-051-277/+0
| | | | | | for short) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@249 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Script to make a tarball now defaults to HEAD for the revisionBen Boeckel2008-08-181-11/+11
| | | | | | | | | [FIX] Enumeration types used to help remove some checks [FIX] Macro code moved to static members of Object (not all though) [FIX] Scripting wrappers now share information by keeping track of already-created instances of the wrapper [FIX] Scripting methods are now Q_SCRIPTABLE and not slots git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@239 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Cleaned up the RC fileBen Boeckel2008-08-041-17/+9
| | | | | | | | | | | | [FIX] Script editing is getting there (still a little weird...) [FIX] Cleaned up the main file a bit [FIX] Added the Skin class [FIX] All sprites and skins are internally linked now [FIX] No more image restraints (tiles are still enforced so that map editing works) [FIX] Cleaned up checking for valid values when setting in pokemod [FIX] Removed FileDialog files git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@233 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [ADD] Added XMLGUI file for pokemodrBen Boeckel2008-08-021-4/+4
| | | | | | | | | [FIX] Pokemodr is now a KXmlGuiWindow (working on KatePart fixes) [FIX] Started Doxygen stuff [FIX] Object names of Pokemod classes are now determined using metaObject [FIX] Updated to use KDE 4.1 git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@232 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Using qobject_cast now where possibleBen Boeckel2008-06-301-3/+3
| | | | | | [FIX] ScriptWidget now uses KTextEditor (highlighting) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@218 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Replaced Point with QPoint (less duplicate code)Ben Boeckel2008-06-301-4/+4
| | | | | | | | | | [FIX] Fraction and Point widgets are more compact [FIX] Fleshed out more of the TeamMember [FIX] Map tilemap editor now expands to fill all available area [FIX] Added priority values to abilities and moves [FIX] Added option for ATB-like battle rounds git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@217 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Macros fixed and ID can't be set outside of constructorsBen Boeckel2008-06-281-3/+4
| | | | | | [FIX] Map flyWarp no longer raises and error by default git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@216 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Using cmake now (still is rough)Ben Boeckel2008-06-211-1/+1
| | | | | | | | | | [FIX] Some SVN flags were incorrect [FIX] Qt includes now use the module path as well [FIX] Models now have drag/drop actions methods as const [FIX] Library classes now exported [FIX] qmake files removed git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@213 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Validation works in PokémodrBen Boeckel2008-06-191-16/+15
| | | | | | | | | [FIX] Macros moved to their own file [FIX] Macros for subclasses added [FIX] Key shortcuts added to context menu items [FIX] Rules had a redundant field git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@212 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] All modules now use their own namespaceBen Boeckel2008-06-091-35/+35
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@201 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Typechart now worksBen Boeckel2008-05-281-6/+3
| | | | | | | | | | [FIX] Matrix fixed up [FIX] Pokemod map widget fixed up [FIX] FractionWidget sets stuff on ctor [FIX] Assertion used in pokemod rather than returning NULL [FIX] Fixed a bad compare in Type git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@180 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Scrapped effects and such for scripts (going to use Kross) in pokemodBen Boeckel2008-05-231-63/+8
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@166 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Classes in pokemod will no longer emit a changed signal if not ↵Ben Boeckel2008-05-211-20/+11
| | | | | | | | | | actually changed [FIX] Logic error with checking to see if certain GUI elements need resetting [FIX] Using activated rather than currentIndexChanged signals for combo boxes [FIX] Qt bugs now irrelevant git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@161 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] general is now merged into pokemodBen Boeckel2008-05-191-0/+1
| | | | | | [FIX] Added ItemEffect widget code git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@153 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Refactored out connections made within widgetsBen Boeckel2008-05-151-0/+9
| | | | | | | [FIX] Flag, Fractiona, and Point widgets fixed to only emit signals when actually changed [FIX] Pokemod classes now emit signals git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@138 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] API of FractionWidget and PointWidgetBen Boeckel2008-05-151-8/+8
| | | | | | | [ADD] FlagWidget [FIX] Changed MapEffect, MapTrainer, and MapWarp to use FlagWidget git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@132 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [ADD] MapTrainerUI logicBen Boeckel2008-05-141-19/+19
| | | | | | | | | | [FIX] MapTrainer UI now uses the PointWidget [FIX] Unnecessary static_casts removed [FIX] MapTrainer API changed a bit [FIX] PointWidget::setMaximum slot [FIX] spec file now for F9 (qt and kdelibs are now 4, not 3) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@129 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] pokemod now uses signals/slots for errors and warningsBen Boeckel2008-05-031-16/+14
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@120 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Exceptions no longer used in pokemodBen Boeckel2008-05-021-74/+64
| | | | | | | [DEL] Exception and BugCatcher are no longer needed [ADD] Object.cpp added git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@119 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Less repetative code in pokemodBen Boeckel2008-04-291-6/+15
| | | | | | [FIX] clear is no longer inline git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@115 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] More header cleanlinessBen Boeckel2008-04-271-3/+0
| | | | | | | [FIX] UI classes now just use the ObjectUI pointers [FIX] Some miscellaneous qmake options git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@112 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Pokemod objects now know about parentsBen Boeckel2008-04-271-69/+73
| | | | | | | | [FIX] Project includes are now relative [FIX] Headers included for better detection of invalid headers [FIX] Validation code commented out so it can be done better git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@111 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] IndexException is more explicitBen Boeckel2008-04-191-6/+6
| | | | | | | | | [FIX] Added SizeException for image validation [FIX] QPixmaps are now verified [FIX] Classes now use error and warning rather than throwing [FIX] Deleted Object.cpp git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@100 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Frac -> FractionBen Boeckel2008-04-171-6/+10
| | | | | | | | | | | [FIX] ImageCache and Ini removed [FIX] Fraction/Point widgets moved to pokemodr [FIX] Copy ctors made for pokemod classes [FIX] Ctors in pokemod fixed [FIX] Copyright headers fixed in pokemodr [FIX] PokeModr updated to new API and fixed in some places git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@99 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Object::mid -> m_idBen Boeckel2008-04-151-87/+60
| | | | | | | | | [FIX] XML is now used [FIX] Images are stored in the XML file and classes rather than relying on external images [FIX] Frac no longer keeps track of its type; the class should do it [ADD] pokemod/Object.cpp git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@97 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Memory leaks in load and copy methodBen Boeckel2008-03-311-4/+6
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@96 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Member variables now use m_ prefixBen Boeckel2008-03-311-221/+193
| | | | | | [FIX] Lots of minor fixes git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@95 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [ADD] ItemType now has a count descriptorBen Boeckel2008-03-091-93/+29
| | | | | | | | | | | | [ADD] Species now has a flee chance [FIX] Empty fields removed from .ui files [FIX] Fixed compile errors in pokemodr [ADD] Trainer now helps to simplify MapTrainers [ADD] Trainer UI file [FIX] MapTrainer dialogs condensed [FIX] Home direcotry now gotten by QDir::homePath() rather than ~ git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@93 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] KTabWidget now used rather than QTabWidget (though this kills Qt ↵Ben Boeckel2008-02-241-17/+25
| | | | | | | | | | | | | Designer interaction :\ ) [FIX] Minor fixes in PokeModr class [DEL] Ref.{h, cpp} [FIX] Ref enumerations now in Pokemod class [FIX] new/delete used for subclasses in pokemod now [FIX] Inclusion hell in pokemod (should compile faster) [FIX] Spelling typos git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@82 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Include cleanupBen Boeckel2008-02-241-4/+4
| | | | | | | | [FIX] Consolidate skins into Pokemod UI forms [FIX] Now using KMainWindow [FIX] Some code for the tree set up git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@79 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Changelog/SVN desynchronization fixedBen Boeckel2008-02-231-1/+1
| | | | | | | | | | | | [FIX] skins UI file cleaned up [FIX] ImageCache no longer uses force argument [FIX] operator= now correctly copies subdata from rhs (instead of reassigning ID numbers) [FIX] Pokemod can now be copied [FIX] Pokemod skin calls cleaned up [ADD] PokemodUI.{h, cpp} [ADD] SkinsUI.{h, cpp} git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@70 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Prettyfied include sectionsBen Boeckel2008-02-201-0/+1
| | | | | | | [FIX] KDevelop helping with .pro files even more [DEL] STANDARDS file git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@67 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] pokemod now passes pointers around instead of referencesBen Boeckel2008-02-191-44/+44
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@61 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Only committed general last timeBen Boeckel2008-02-011-54/+54
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@55 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Grammer in ChangelogBen Boeckel2008-01-231-14/+14
| | | | | | | | | | | [FIX] Made pokemod classes contain their names for later ease [ADD] PokéModr main window form [FIX] Ini and Exception includes fixed [FIX] BugCatcher bugs fixed [FIX] .pro files fixed [ADD] PokéModr main GUI almost complete git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@40 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] PokeMod namespace removedBen Boeckel2008-01-211-46/+46
| | | | | | [ADD] MoveEffect editing form for PokéModr git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@38 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] pokemod compiles faster due to better placement of #includesBen Boeckel2008-01-211-0/+8
| | | | | | [FIX] Header of pokemodr/PokeModr.h git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@36 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [ADD] More GUI classes (only MoveEffect left)Ben Boeckel2008-01-211-72/+63
| | | | | | | | | [FIX] Polished up GUI classes [FIX] renamed methods get*ByID -> get*Index instead for more logical get*ByID [FIX] Renaming in pokemod to remove mention of Pokémon [FIX] minor .pro fixes (aesthetic mainly) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@35 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [DEL] Removed PokeGen namespaceBen Boeckel2008-01-191-48/+48
| | | | | | | | [ADD] general/AudioCache.h completed [DEL] VERSION removed from subdir .pro files [DEL] audio/ git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@33 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Added 2008 to copyrightsBen Boeckel2008-01-171-25/+25
| | | | | | | | | | | | [FIX] Made exceptions better [FIX] Added RBY Move Effects (as well as val1 and val2 code) [FIX] Added breaks where missed [FIX] Grammar mistakes (factored out to Exceptions) [FIX] Cleaned up Species types and egg groups handling [FIX] Cleaned up Store items handling [FIX] Cleaned up Tile details git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@31 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] classes more usableBen Boeckel2007-11-221-192/+236
| | | | | | | | [FIX] Matrix class [ADD] pokemod/Rules.{h, cpp} [FIX] coding style cleaned up git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@28 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* Redoing rev25Ben Boeckel2007-10-261-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ADD] DISCLAIMER [FIX] PokemonEvolution styles [ADD] Relative enumeration [DEL] pokemod/Status.{h, cpp} [DEL] pokemod/StatusEffect.{h, cpp} [FIX] Status effects will be added as needed instead of customized [FIX] Completed ItemEffects [FIX] Factored out Natures to be global [DEL] pokemod/PokemonNature.{h, cpp} [DEL] ai/Net.{h, cpp} [DEL] ai/Layer/{h, cpp} [ADD] battle/Arena.{h, cpp} [ADD] battle/Team.{h, cpp} [ADD] battle/Human.{h, cpp} [ADD] battle/Bot.{h, cpp} [ADD] battle/GhostBot.{h, cpp} [ADD] battle/Pokemon.{h, cpp} [ADD] battle/Ghost.{h, cpp} [FIX] Fixed some scope errors in pokemod [ADD] audio/audio.pro [ADD] audio/Audio.{h, cpp} [ADD] audio/AudioLibrary.{h, cpp} [ADD] audio/AudioSystem.{h, cpp} [ADD] audio/Music.{h, cpp} [ADD] audio/SoundEffect.{h, cpp} [DEL] old audio system (was in C) [FIX] Optimized some routines in pokemod [FIX] Moved global classes (Ini, Frac, Matrix, FracMatrix, Point, Flag) to general git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@27 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* Reverted repo back to rev24 because committing of rev25 messed upBen Boeckel2007-10-261-6/+9
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@26 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [ADD] DISCLAIMERBen Boeckel2007-10-261-9/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [FIX] PokemonEvolution styles [ADD] Relative enumeration [DEL] pokemod/Status.{h, cpp} [DEL] pokemod/StatusEffect.{h, cpp} [FIX] Status effects will be added as needed instead of customized [FIX] Completed ItemEffects [FIX] Factored out Natures to be global [DEL] pokemod/PokemonNature.{h, cpp} [DEL] ai/Net.{h, cpp} [DEL] ai/Layer/{h, cpp} [ADD] battle/Arena.{h, cpp} [ADD] battle/Team.{h, cpp} [ADD] battle/Human.{h, cpp} [ADD] battle/Bot.{h, cpp} [ADD] battle/GhostBot.{h, cpp} [ADD] battle/Pokemon.{h, cpp} [ADD] battle/Ghost.{h, cpp} [FIX] Fixed some scope errors in pokemod [ADD] audio/audio.pro [ADD] audio/Audio.{h, cpp} [ADD] audio/AudioLibrary.{h, cpp} [ADD] audio/AudioSystem.{h, cpp} [ADD] audio/Music.{h, cpp} [ADD] audio/SoundEffect.{h, cpp} [DEL] old audio system (was in C) [FIX] Optimized some routines in pokemod [FIX] Moved global classes (Ini, Frac, Matrix, FracMatrix, Point, Flag) to general git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@25 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Neural Network methods completeBen Boeckel2007-09-211-506/+408
| | | | | | | | | | | | | | | | | | | | | [FIX] Wrapped Node up into the layer [FIX] Wrapped NatureEffect into Nature [FIX] Getting around to fixing up the design of the PokéMod stuff [FIX] Creating new subclasses now returns pointer to new subclass [FIX] Simplified interfaces [FIX] Minor style issues [FIX] Renamed CoinItem to CoinListObject [FIX] Renamed MapTrainerTeam to MapTrainerPokemon [FIX] Renamed MapWildPokemon to MapWildListPokemon [FIX] Moved global enums to relevant classes [FIX] Removed general logging features [DEL] pokemod/Debug.{h, cpp} [DEL] pokemod/Path.{h, cpp} [FIX] Using QFile rather than custom Path class for checking for files [FIX] Set* methods now return a bool to let the caller know if anything actually changed (if it can fail, otherwise it is void) [ADD] Compliation without errors is required for pokemod from now on before commits git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@24 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* Moved to GPLv3 and Qt4, Changed String -> QString, other minor fixesBen Boeckel2007-07-211-74/+73
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@23 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* Fixed Logging, minor fixes, got rid of NatureEffect, and started migration ↵Ben Boeckel2007-07-031-122/+53
| | | | | | from wxGTK to Qt git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@22 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* Pokemod validation, paths made to defaultBen Boeckel2007-06-221-17/+17
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@20 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* Style cleanup, minor Matrix fixes, duplication validations, Pokemod methodsBen Boeckel2007-06-041-32/+46
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@19 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* Finished off all PokeMod classes, added move validations, fixed up some GUI, ↵Ben Boeckel2007-06-021-0/+562
various other fixes git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@18 6ecfd1a5-f3ed-3746-8530-beee90d26b22