summaryrefslogtreecommitdiffstats
path: root/pokemod/Tile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [FIX] Moving stuff for the move to the new name, Sigma Game Engine (sigen ↵Ben Boeckel2008-09-051-139/+0
| | | | | | for short) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@249 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Fixed some minor typosBen Boeckel2008-08-261-1/+1
| | | | | | | [FIX] Abstracted validation out to ValidationDialog [FIX] Added stat and Direction getters for Pokemod git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@244 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Script to make a tarball now defaults to HEAD for the revisionBen Boeckel2008-08-181-21/+14
| | | | | | | | | [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-16/+15
| | | | | | | | | | | | [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
* [ADD] Added pokescripting to the spec fileBen Boeckel2008-07-201-0/+1
| | | | | | | | | | | | [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-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] Validation works in PokémodrBen Boeckel2008-06-191-3/+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] All modules now use their own namespaceBen Boeckel2008-06-091-22/+22
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@201 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Tiles now have scripts associated with themBen Boeckel2008-05-281-64/+8
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@182 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Status and Weather classes in pokemod instead of hardcodedBen Boeckel2008-05-271-53/+0
| | | | | | [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] Classes in pokemod will no longer emit a changed signal if not ↵Ben Boeckel2008-05-211-15/+7
| | | | | | | | | | 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] Refactored out connections made within widgetsBen Boeckel2008-05-151-0/+8
| | | | | | | [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] pokemod now uses signals/slots for errors and warningsBen Boeckel2008-05-031-17/+18
| | | | 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-62/+62
| | | | | | | [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] Pokemod objects now know about parentsBen Boeckel2008-04-271-53/+54
| | | | | | | | [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] Fraction bounds checkingBen Boeckel2008-04-201-1/+3
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@102 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] IndexException is more explicitBen Boeckel2008-04-191-10/+12
| | | | | | | | | [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/+12
| | | | | | | | | | | [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-59/+40
| | | | | | | | | [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-152/+139
| | | | | | [FIX] Lots of minor fixes git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@95 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] KTabWidget now used rather than QTabWidget (though this kills Qt ↵Ben Boeckel2008-02-241-20/+20
| | | | | | | | | | | | | 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] Frac now makes sure that the denominator is positiveBen Boeckel2008-02-221-12/+9
| | | | | | | | | | [FIX] Sprite-containing classes less repetative with determining paths [FIX] More include cleanup in pokemodr [FIX] Precision of Frac decimal equivalents now use a define [FIX] Species UI form is now more compact and complete [ADD] SpeciesUI.{h, cpp} (again; wasn't actually included last time and got lost) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@68 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-19/+19
| | | | 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-11/+17
| | | | | | | | | | [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
* [ADD] Tilemap editing to the Map formBen Boeckel2008-02-061-1/+0
| | | | | | | | | | [ADD] MapUI.{h, cpp}, TilemapModel.{h, cpp}, TileDelegate.{h, cpp} [FIX] Editing area of the main window now has scroll bars [FIX] CoinListUI is now safer with its combobox creation for the values [FIX] Minor fixes in Tile and Map classes [FIX] Matrix cleaned up git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@57 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Only committed general last timeBen Boeckel2008-02-011-30/+30
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@55 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] Grammer in ChangelogBen Boeckel2008-01-231-12/+12
| | | | | | | | | | | [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-26/+26
| | | | | | [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] const char*[] -> QStringList for easier laoding into KComboBoxBen Boeckel2008-01-211-13/+13
| | | | | | | [DEL] pokemod/pokemod_inc.h no longer needed git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@37 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [FIX] pokemod compiles faster due to better placement of #includesBen Boeckel2008-01-211-0/+2
| | | | | | [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-3/+3
| | | | | | | | | [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] get*Num/get*Denom methods from PokemodBen Boeckel2008-01-191-24/+0
| | | | | | | [ADD] GUI classes to pokemodr [FIX] AudioCache is trashed right now, but may be salvageable git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@34 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [DEL] Removed PokeGen namespaceBen Boeckel2008-01-191-31/+31
| | | | | | | | [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-113/+48
| | | | | | | | | | | | [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-175/+168
| | | | | | | | [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-3/+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/+3
| | | | git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@26 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* [ADD] DISCLAIMERBen Boeckel2007-10-261-3/+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-488/+363
| | | | | | | | | | | | | | | | | | | | | [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-89/+55
| | | | 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-74/+32
| | | | | | 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-14/+14
| | | | 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-27/+25
| | | | 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-58/+435
| | | | | | various other fixes git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@18 6ecfd1a5-f3ed-3746-8530-beee90d26b22
* Added Map and Tile, added Hat class, and fixed up some other minor thingsBen Boeckel2007-06-011-0/+189
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@17 6ecfd1a5-f3ed-3746-8530-beee90d26b22