Commits on Nov 24, 2011
  1. Merge branch '0.7'

    Conflicts:
    	.hgignore
    	src/tiled/mapeditor/MapEditor.java
    	src/tiled/view/IsoMapView.java
    committed Nov 24, 2011
Commits on Feb 12, 2010
  1. Fixed a problem with rendering objects

    Were apparently not always rendered in the right place. At least this
    code was obviously wrong.
    committed Feb 12, 2010
  2. Fixed loading of object groups

    Broke for me because of the added cast.
    committed Feb 12, 2010
  3. Fixed compile for json plugin

    We are no longer supporting Java 1.4
    committed Feb 12, 2010
  4. Random cleanups

    committed Feb 12, 2010
  5. Ignore documentation

    committed Feb 12, 2010
Commits on Jul 7, 2009
  1. Fixed restoring of main window size

    Thanks to Felix Genicio Calvo for spotting this bug.
    committed Jul 7, 2009
Commits on Jun 16, 2009
  1. Tweaked the order of layer attributes

    In makes slightly more sense to put firstgid first, since that attribute
    applies to both embedded and external tilesets.
    committed Jun 16, 2009
Commits on Jan 25, 2009
  1. Code reformatting

    Removed tabs and start variable names with lowercase.
    committed Jan 25, 2009
  2. Updated ignored files

    committed Jan 25, 2009
Commits on Jan 13, 2009
  1. @Alturos

    Object Groups now work with Isometric maps

    Implemented screenToPixelCoords and paintObjectGroup
    Created a couple of helper functions for the implementation.
    Alturos committed Jan 13, 2009
Commits on Dec 23, 2008
  1. Final set of warning fixes.

    ascl committed Dec 23, 2008
  2. This change ensures that the selection layer gets updated when the us…

    …er creates a brush on in the tile palette.
    
    This does change both setTileAt() and resize(), to allow them to change a layer that is not visible (like the selection layer).
    ascl committed Dec 23, 2008
Commits on Dec 22, 2008
  1. Currently nothing stops you adding 2 (or more) tile sets with the sam…

    …e name... this confuses the tileset manager and there doesn't seem to be any advantage in allowing it.
    
    This patch checks the name against all the currently loaded tile sets.
    ascl committed Dec 22, 2008
  2. The redraw method is getting passed a single tile even if the current…

    … brush is bigger than that. The result is that if the cursor is moved the wrong way, the brush tiles are getting left behind and not erased.
    ascl committed Dec 22, 2008
Commits on Dec 21, 2008
  1. The 'New' Tileset dialog asks for TileHeight and TileWidth, however, …

    …AFAICT it is only used when creating the cutter for the image import... if a 'Reference tileset image' is not used, these fields and unused, so I have moved them to be grouped (and enabled/disabled) based on the 'Reference tileset image' check box.
    ascl committed Dec 21, 2008
  2. The correct encoding name is 'UTF-8' not 'UTF8' for XML, so changed t…

    …he InputSource encoding to be correct. However, for this to work properly, the output also needs to be written in the correct character encoding. By default, OutputStreamWriter will output in the system default encoding, which is unlikely to be correct.
    ascl committed Dec 21, 2008
  3. Fixed type safety warnings for json plugin

    ascl committed Dec 21, 2008
Commits on Nov 30, 2008
  1. Grammar

    committed Nov 30, 2008
Commits on Nov 24, 2008
  1. object marquee selection semantics now actually allows to select obje…

    …cts and display them as selected
    Uwe Pachler committed Nov 24, 2008
  2. added @overrides

    Uwe Pachler committed Nov 24, 2008
  3. changed internal MapChangeListener to derive from MapChangeAdapter to…

    … get rid of empty methods
    Uwe Pachler committed Nov 24, 2008
  4. Object marquee tool semantics now uses undo. ChangeObjectEdit refacto…

    …red to use memento pattern
    Uwe Pachler committed Nov 24, 2008
  5. Added object resizing to marquee object selection tool

    Uwe Pachler committed Nov 24, 2008
Commits on Nov 19, 2008
  1. Added move support to object selection tool semantics.

    Objects can now be moved, or, depending on the context, the selection rubberband is dragged. will be extended for object resize and then proper object selection
    Uwe Pachler committed Nov 19, 2008
  2. Added start of a selection tool to tiled.

    Currently, a rubberband is implemented that only shows up when the marquee tool is selected when an object group layer is the current layer.
    
    Under the hood, this thing uses a new ToolSemantics architecture. This basically moves tool code outside the editor, while allowing for multiple semantics for one and the same tool (selection might work differently for different layer types, for instance)
    Uwe Pachler committed Nov 19, 2008
Commits on Nov 18, 2008
  1. Made parallax editing optional, fixed scroll wheel problems

    Parallax editing is now optional. I replaced the viewport visibility toggle by a toggle action that would enable/disable not just the viewport display, but all parallax editing (this includes the parallax panel) and turn parallax rendering off in the MapView. This should be off by default so that new users won't be confused.
    
    The scroll wheel issue is fixed by manually propagating the scroll wheel event to the mapView's scroll pane.
    Uwe Pachler committed Nov 18, 2008
Commits on Nov 14, 2008
  1. Fixed some more undo/redo problems with layer settings such as name, …

    …visibility etc.
    
    Fixed: The LayerTableModel didn't report the correct row to be updated
    Fixed: MapLayer.copyTo() did not use the setter functions to initialize the copy target, therefore no events were sent, and in turn the layer table didn't update for things like name changes
    Uwe Pachler committed Nov 14, 2008
  2. Fixed Layer resize undo and added TileRaster experimental class to ne…

    …w LayerResizeEdit
    
    I fixed the undo functionality for layer resize. It should now work as expected with the current UI (couldn't test offset resize yet as the UI does not allow for it yet. I will implement this soon hopefully).
    
    To support the resize UI, I created a new LayerResizeEdit which just captures the layer's data change required for a resize. This should be relatively small for smaller resizes; it avoids backing up the whole layer.
    
    The new resize edit class uses an experimental TileRaster nested class. This class could be used throughout the project for storing tile data; which is currently a subfeature of MapLayer/TileLayer. However, some parts of the editor use TileLayer for things that are not too layer related, like the selection or brushes. For these, the TileRaster should do.
    The idea is that every layer has a TileRaster, which does the actual work.
    
    Currently TileRaster uses two dimensional arrays, but already leverages System.arraycopy for its copyRect operation. Using a one dimensional array might speed things up further and should be more memory fragmentation friendly.
    Uwe Pachler committed Nov 14, 2008