Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 3, 2012
  1. @bjorn

    Include tileset.h since we're deleting tilesets

    bjorn authored
    Something MinGW 4.4 was warning about:
    
    "possible problem detected in invocation of delete operator: invalid use
    of incomplete type 'struct Tiled::Tileset'".
Commits on Feb 2, 2012
  1. @stefanbeller

    Adding Automappingconverter to NSIS build script

    stefanbeller authored
    This includes the Automappingconverter into
    the installation executable of Windows.
Commits on Feb 1, 2012
  1. @bjorn

    Cleanups to the AutomappingConverter

    bjorn authored
    * Renamed classes/files to something more unique so that they're easily
      distinguishable from Tiled sources.
    
    * Fixed several memory leaks. Some remain, but for a converter it's not
      very important.
    
    * Improved UI (resizable, QTreeView rather than QTableView, disabled
      'save' button until you've added files, etc.)
  2. @stefanbeller
  3. @stefanbeller

    Automapping: adding converter for rulemaps

    stefanbeller authored
    The converter application is able to convert all rulemaps
    as of now into the new (incompatible, but more powerful) rulemap
    format.
Commits on Jan 29, 2012
  1. @stefanbeller

    Automapping: Add a preferences section

    stefanbeller authored
    * You can {en, dis}able the automapping while editing the set layer in
      the preferences dialog in the "Automapping" tab.
  2. @stefanbeller

    Automapping: multiple set layers are possible now (incompatible!)

    stefanbeller authored
    This commit will break existing rule maps, since the expected layer
    naming of the rule maps changed. Instead of prefixing all layers in the
    rulemap with 'rule', now the prefixes are depending on the function of
    the layer.
    
    'regions' describes where rules are placed. (Previous 'RuleRegions')
    Alternatively there can be 'regions_input' and 'regions_output' which
    describe the 'input_*' and the 'output_*' regions respectively.
    
    'input<index>_<name>' replaces the 'ruleset<index>' layer.
    'inputnot<index>_<name>' replaces the 'rulenotset' layer.
    	The set layers name in the working map can be specified
    	via the <name> part. The <index> part now seperates different
    	inputs. (So input* layers having different <index> parts will belong
    	to different input conditions.)
    	different indexes lead to multiple conditions. Only one condition
    	needs to be true and the rule gets applied. If the indexes are the
    	same, then all conditions accross diffferent <name> layers must all
    	be true.
    
    'output<index>_<name>' is the replaced name of 'rule<index>_<name>'
    
    The clearRegion function was dropped and the erase function of tilelayers
    are used now.
    
    The prepareLoad functionality was put into the constructor.
    The return value of prepareLoad can be determined by checking the
    length of the error string.
    
    The functions in automapper.cpp have been reordered to fit the workflow.
Commits on Jan 28, 2012
  1. @stefanbeller

    Automapping: Refactoring

    stefanbeller authored
    * Automapping now uses the coherentRegions implementation
      from Tiled::Utils
      I am not sure which of both implementations is actually faster in
      finding the list of coherent regions, since there are multiple parameters
      to turn. (mapsize mattered in the current implementation, which does not in
      the Tiled::Utils implementation; the complexity and size of each region counts
      there; Overall the number of different regions count in both implementations)
      This change also closes #150.
    
    * remove Automapper::mapDocument(), since it is unused
    
    * Remove timer and filewatcher of AutomappingManager
      It was unused anyway. (No actual filenames were inserted into the watchlist.)
    
      The Automapping data structures are all reloaded, when switching between
      documents, which is needed after modifying a rulesfile.
      But due to the documentswitching to the working map, you usually don't need
      the explicit watching for filechanges.
    
      (In case of multiple instances of tiled running, whereas one instance modifies
      the rulemaps and the other tries to use the updated rules on a workingmap,
      it will fail. As explained above that is no regression, this never worked)
    
    * Also Automapper::ruleSetPath() was deleted, since it is not being used now.
      Use of ruleSetPath was eliminated by removing the filewatcher above.
    
    * comments are adapted and corrected
    
    * setupRulesMap renamed to setupRuleMapProperties
      In this function only the map properties of the rulesmap are parsed, hence
      its name.
Commits on Jan 14, 2012
  1. @stefanbeller @bjorn

    libtiled: Added Map::fromLayer

    stefanbeller authored bjorn committed
    A convenience function for quickly wrapping a layer in a map.
  2. @stefanbeller @bjorn

    libtiled: Added TileLayer::erase

    stefanbeller authored bjorn committed
  3. @stefanbeller @bjorn

    Added DocumentManager::centerViewOn

    stefanbeller authored bjorn committed
    Used by difftool and find later on.
  4. @stefanbeller @bjorn

    Added a function to calculate coherent regions of a given region

    stefanbeller authored bjorn committed
    This will be used by both the difftool and the automapping.
  5. @stefanbeller @bjorn

    Fixed automapping to work with external tilesets

    stefanbeller authored bjorn committed
Commits on Jan 11, 2012
  1. @KleMiX @bjorn

    Added MacOS X Lion full screen support

    KleMiX authored bjorn committed
    Mac OS X Lion features application fullscreen mode. Added support of
    that feature for Tiled. Some Objective-C code added seems there's no way
    to make it with Qt at the moment.
Commits on Dec 28, 2011
  1. @stefanbeller @bjorn

    Automapping: Avoid crash if rulefiles are corrupt

    stefanbeller authored bjorn committed
Commits on Dec 11, 2011
  1. @bjorn

    Added Qt translations and qt.conf to the Windows installer

    bjorn authored
    This fixes the translations of some built-in strings like those on
    'OK' and 'Close' buttons, context menu of scroll bars and built-in
    error messages.
    
    The qt.conf fixes loading of shipped Qt plugins used for supporting
    jpeg, gif and tiff as image formats as well as some text codecs.
  2. @bjorn

    Updated NEWS file again

    bjorn authored
    Three more translations were updated.
  3. @bjorn
  4. @bjorn

    Fixed some UI strings to get updated when the language is changed

    bjorn authored
    The Command and Random Mode button tool tips were not picking up a
    change of language.
  5. @bjorn

    Updated the Brazilian Portuguese translation

    Jonatas de Moraes Junior authored bjorn committed
Commits on Dec 10, 2011
  1. @sebbu2 @bjorn

    Updated the French translation

    sebbu2 authored bjorn committed
    With some corrections by Yohann Ferreira.
Commits on Dec 9, 2011
  1. @bjorn

    Updated the Dutch translation

    bjorn authored
    Also fixed the translation of two plural-enabled texts in the German
    translation.
  2. @Ablu @bjorn

    Fixes to the German translation

    Ablu authored bjorn committed
  3. @stefanbeller @bjorn
  4. @bjorn

    Fixed pixel size in new map dialog for isometric maps

    bjorn authored
    The displayed pixel size assumed plain orthogonal maps. Now it relies on
    the appropriate map renderer to tell it the pixel size of the map.
Commits on Dec 7, 2011
  1. @bjorn

    Bumped version to 0.8.0 and updated NEWS file

    bjorn authored
    Slowly getting ready for release.
  2. @encukou @bjorn

    Updated Czech translation

    encukou authored bjorn committed
  3. @bjorn

    Updated the Chinese translation

    zhaosting authored bjorn committed
Commits on Dec 6, 2011
  1. @bjorn

    Flare plugin: Small tweaks

    bjorn authored
    * Set UTF-8 as codec instead of using QString::toUtf8
    * Use QString::isEmpty rather than comparing to ""
  2. @clintbellanger @bjorn
  3. @clintbellanger @bjorn

    Flare plugin: Updates and simplification

    clintbellanger authored bjorn committed
  4. @realmml @bjorn

    Updated the Spanish translation

    realmml authored bjorn committed
  5. @teraapi @bjorn

    Updated the Japanese translation

    teraapi authored bjorn committed
Commits on Nov 30, 2011
  1. @bjorn

    Update all objects in a group when changing the group color

    bjorn authored
    Since recently the object color is cached in the MapObjectItem class, so
    we need to emit the objectsChanged signal rather than just asking for a
    repaint.
    
    Fixes #106
  2. @stefanbeller @bjorn

    Fixed segmentation fault in stamp brush random mode

    stefanbeller authored bjorn committed
    Tiled crashed when right-click dragging an empty area and then trying to
    paint with Random Mode enabled.
    
    Since no random tile could be selected, brushItem()->tileLayer() ended up
    as NULL, but when painting it was used unconditionally (the mStamp was
    checked, but that is no longer the tile layer used for painting).
    
    The check whether the stamp is outside the map was corrected as well.
Something went wrong with that request. Please try again.