summaryrefslogtreecommitdiffstats
path: root/pokemod/Object.h
Commit message (Collapse)AuthorAgeFilesLines
* [FIX] Moving stuff for the move to the new name, Sigma Game Engine (sigen ↵Ben Boeckel2008-09-051-292/+0
| | | | | | for short) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@249 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Fixed method in SoundWrapper to be more accurateBen Boeckel2008-08-271-8/+114
| | | | | | | [FIX] QImage is now used internally instead of QPixmap [FIX] Template specialization moved to header file for Object (makes MinGW happy) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@246 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Script to make a tarball now defaults to HEAD for the revisionBen Boeckel2008-08-181-6/+105
| | | | | | | | | [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-1/+0
| | | | | | | | | | | | [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-2/+1
| | | | | | | | | [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] Separated battle and world scripts for abilities and movesBen Boeckel2008-07-121-5/+5
| | | | | | | [ADD] pokescripting library to allow scripts to use Pokemod information [FIX] Cleaned up examples in documentation git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@224 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Macros fixed and ID can't be set outside of constructorsBen Boeckel2008-06-281-2/+1
| | | | | | [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-4/+7
| | | | | | | | | | [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-178/+3
| | | | | | | | | [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] Fixed up some bugs with HatBen Boeckel2008-06-171-32/+0
| | | | | | | | [ADD] Flashed out some of TeamMember [FIX] Moved some things out of Object.h into a Global.h for pokemod [FIX] Some minor things in pokebattle git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@208 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] All modules now use their own namespaceBen Boeckel2008-06-091-3/+41
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@201 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Typechart now worksBen Boeckel2008-05-281-0/+13
| | | | | | | | | | [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-2/+2
| | | | | | | | [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] Recent files now worksBen Boeckel2008-05-261-2/+3
| | | | | | | [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
* [FIX] Scrapped effects and such for scripts (going to use Kross) in pokemodBen Boeckel2008-05-231-6/+7
| | | | 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-0/+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] Opening files and saving now worksBen Boeckel2008-05-211-0/+7
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@159 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [ADD] Sound UI codeBen Boeckel2008-05-131-4/+5
| | | | | | | | [FIX] Using class-named includes for KDE as well now [FIX] Signals fixed for UI classes [FIX] FileDialog now created on heap rather than the stack git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@128 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [ADD] Added Sound class and related codeBen Boeckel2008-05-131-0/+2
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@125 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] UI widgets now load upon clickBen Boeckel2008-05-111-2/+2
| | | | | | | | | [FIX] Connections fixed now [ADD] Slots for errors and warnings made [ADD] Subclassed QTreeView for PokemodTree class [FIX] No more crashes on exit git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@124 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] More test code for the tree bugBen Boeckel2008-05-091-1/+2
| | | | | | [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] Added Q_OBJECT to pokemod classesBen Boeckel2008-05-071-1/+3
| | | | | | | [FIX] UI classes fixed to work with new API [FIX] Qmake files fixed git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@121 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] pokemod now uses signals/slots for errors and warningsBen Boeckel2008-05-031-62/+20
| | | | 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-58/+79
| | | | | | | [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-1/+3
| | | | | | [FIX] clear is no longer inline git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@115 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Fixed some qmake options for WindowsBen Boeckel2008-04-281-0/+3
| | | | | | [FIX] climits needed in Object git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@114 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] More header cleanlinessBen Boeckel2008-04-271-5/+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-13/+17
| | | | | | | | [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] Loading of submodulesBen Boeckel2008-04-191-1/+1
| | | | | | [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-27/+28
| | | | | | | | | [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-5/+11
| | | | | | | | | | | [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-34/+180
| | | | | | | | | [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] Member variables now use m_ prefixBen Boeckel2008-03-311-17/+20
| | | | | | [FIX] Lots of minor fixes git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@95 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Include cleanupBen Boeckel2008-02-241-1/+1
| | | | | | | | [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] Warp states can now leave states untouchedBen Boeckel2008-02-231-0/+1
| | | | | | | [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] Prettyfied include sectionsBen Boeckel2008-02-201-1/+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] Fixed GPL headers in source files from rogue find/replaceBen Boeckel2008-02-191-1/+1
| | | | | | | [ADD] SpeciesAbilityUI.{h, cpp} [ADD] pokemodr TODO list git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@62 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] pokemod now passes pointers around instead of referencesBen Boeckel2008-02-191-3/+3
| | | | 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-5/+5
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@55 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] pokemodr.ui fileBen Boeckel2008-01-241-0/+2
| | | | | | | | [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
* [FIX] Grammer in ChangelogBen Boeckel2008-01-231-4/+10
| | | | | | | | | | | [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] Some linker errors in pokemod and generalBen Boeckel2008-01-221-2/+8
| | | | | | | | [FIX] More enum char*[] to QStringList [FIX] Widgets in PokéModr gui [ADD] Rules GUI logic git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@39 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] PokeMod namespace removedBen Boeckel2008-01-211-36/+33
| | | | | | [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-2/+1
| | | | | | [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-1/+1
| | | | | | | | | [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-37/+34
| | | | | | | | [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-2/+2
| | | | | | | | | | | | [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-12/+11
| | | | | | | | [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-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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-1/+1
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@26 6ecfd1a5-f3ed-3746-8530-beee90d26b22