summaryrefslogtreecommitdiffstats
path: root/pokemod/Pokemod.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [FIX] Moving stuff for the move to the new name, Sigma Game Engine (sigen ↵Ben Boeckel2008-09-051-2244/+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-12/+13
| | | | | | | | | [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-12/+95
| | | | | | | | | | | | [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-3/+3
| | | | | | | | | [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
* [ADD] Added pokescripting to the spec fileBen Boeckel2008-07-201-115/+0
| | | | | | | | | | | | [FIX] Added status tips and whats this tags to widgets in pokemodr [FIX] Removed the list sprite for the species [FIX] No more nidoran group needed (scripts should take care of it) [FIX] Height no longer broken between feet and inches [FIX] Fixed a bug in the TeamMember stat generation [FIX] No more global skins; should be scripted [FIX] Missed somt COPY() macros git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@227 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Macros fixed and ID can't be set outside of constructorsBen Boeckel2008-06-281-2/+2
| | | | | | [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-2/+2
| | | | | | | | | | [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-216/+91
| | | | | | | | | [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-319/+315
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@201 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Modified Rules a bitBen Boeckel2008-06-021-30/+24
| | | | | | | | | [FIX] Updated Rules widget to match up with Rules [FIX] Reorganized the Rules widget [FIX] Using KStandardDirs rather than hardcoded ones [FIX] Cleaned up some minor things with KListWidgets git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@188 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Fixed up some FractionWidget codeBen Boeckel2008-05-301-1/+0
| | | | | | | [FIX] Got rid of more unneeded enumerations [FIX] MoveUI fixed up a bit git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@186 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Typechart now worksBen Boeckel2008-05-281-155/+81
| | | | | | | | | | [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] Item widget works betterBen Boeckel2008-05-271-1/+0
| | | | | | | | [FIX] FractionWidget value is updated at ctor [FIX] Non-script KTextEdit is now a KLineEdit [FIX] Rules not being set git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@179 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Status and Weather classes in pokemod instead of hardcodedBen Boeckel2008-05-271-4/+289
| | | | | | [FIX] Added a Sprite class to allow for animations and whatnot git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@178 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Recent files now worksBen Boeckel2008-05-261-1/+2
| | | | | | | [FIX] Various UI fixes [FIX] Scripts are now escaped correctly in the XML git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@176 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [ADD] Added UI classes for GlobalScriptBen Boeckel2008-05-231-32/+0
| | | | | | [FIX] Script support is now in pokemodr git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@168 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Scrapped effects and such for scripts (going to use Kross) in pokemodBen Boeckel2008-05-231-82/+89
| | | | 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-18/+10
| | | | | | | | | | 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] Added a command widgetBen Boeckel2008-05-211-1/+1
| | | | | | | | [FIX] More unneeded code in widget ctors removed [FIX] Changed command delimiter to @ from % [FIX] Request to save factored out of ObjectUI git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@158 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] Matrix had an infinite loopBen Boeckel2008-05-161-1/+1
| | | | | | | | [FIX] Matrix const-ness on operator== [FIX] Bug in Pokemod::clear() [FIX] Waiting for Qt bug fix for QTextEdit git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@139 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Refactored out connections made within widgetsBen Boeckel2008-05-151-0/+14
| | | | | | | [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
* [ADD] Added Sound class and related codeBen Boeckel2008-05-131-0/+101
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@125 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] More test code for the tree bugBen Boeckel2008-05-091-13/+14
| | | | | | [FIX] Rules now a pointer in Pokemod git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@123 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] pokemod now uses signals/slots for errors and warningsBen Boeckel2008-05-031-110/+91
| | | | 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-476/+486
| | | | | | | [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-116/+191
| | | | | | [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-4/+1
| | | | | | | [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-288/+289
| | | | | | | | [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] Matrix edge case when size is (0,0)Ben Boeckel2008-04-251-12/+30
| | | | | | | [FIX] TypeChart mess fixed [FIX] Test code for RootModel added git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@110 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Fraction bounds checkingBen Boeckel2008-04-201-2/+2
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@102 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Loading of submodulesBen Boeckel2008-04-191-18/+18
| | | | | | [FIX] Loading the id now defaults to INT_MAX git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@101 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] IndexException is more explicitBen Boeckel2008-04-191-38/+49
| | | | | | | | | [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-47/+47
| | | | | | | | | | | [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-543/+227
| | | | | | | | | [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-61/+113
| | | | 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-1454/+1250
| | | | | | [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-5/+126
| | | | | | | | | | | | [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] Pokemod can now has setPath which copies the directory structure to ↵Ben Boeckel2008-03-051-0/+16
| | | | | | | | the destination [ADD] SaveAs ability git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@92 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Hat now uses Qt rand functionsBen Boeckel2008-03-051-5/+2
| | | | | | | | | | | | | [FIX] .pro files cleaned up [FIX] source tarball improved [FIX] Install targets made [FIX] Pokemod path taken more flexible [FIX] PokeModr New and Open dialogs set up (not working) [ADD] pokemodr.desktop [ADD] pokegen.spec for RPM creation [ADD] pokegen.tex for the readme git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@90 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [ADD] Pokemod tree will reflect PokéMod heirarchy and load panelsBen Boeckel2008-02-251-17/+17
| | | | | | | | | | [FIX] PokemodUI panel now loads [FIX] Includes fixed [FIX] newAuthor had + instead of - (QList assertions) [FIX] Pokemod copying works now [FIX] Debug rather than release used git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@83 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] KTabWidget now used rather than QTabWidget (though this kills Qt ↵Ben Boeckel2008-02-241-258/+331
| | | | | | | | | | | | | 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] Warp states can now leave states untouchedBen Boeckel2008-02-231-5/+6
| | | | | | | [FIX] Map/Warp dependencies in UI forms [ADD] MapWarpUI.{h, cpp} git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@75 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Changelog/SVN desynchronization fixedBen Boeckel2008-02-231-19/+120
| | | | | | | | | | | | [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-1/+3
| | | | | | | [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-265/+265
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@61 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Tile UI form fixesBen Boeckel2008-02-071-1/+2
| | | | | | | | | | [FIX] BadgeUI logic cleaned up [FIX] Tilemap editing Model and Delegate fleshed out [ADD] TileUI.{h, cpp} and TypeUI.{h, cpp} [FIX] Default path for Pokemod added [FIX] Tile HM and Force setting git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@58 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Only committed general last timeBen Boeckel2008-02-011-254/+254
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@55 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Changelog fixedBen Boeckel2008-01-311-1/+1
| | | | | | | | | | [FIX] Warnings in pokemod gone [FIX] BoundsException thrown from Item::setPrice() [FIX] CoinLIst now has correct className [FIX] Frac needed in header for ItemEffect [ADD] CoinList, EggGroup, and Item UI logic added git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@52 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] pokemodr.ui fileBen Boeckel2008-01-241-1/+16
| | | | | | | | [FIX] added better .pro rules [FIX] PokeModTreeItem works now [FIX] LICENSE file is purely the terms git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@41 6ecfd1a5-f3ed-3746-8530-beee90d26b22