Commit graph

  • dc412a71b6 cleanup: remove no-longer-used isRadioactive() jason@long.name 2013-09-06 12:49:59 +00:00
  • a3696e01ba cleanup: remove no-longer-used isFire() jason@long.name 2013-09-06 12:49:31 +00:00
  • 90149dc9c0 evalLog road test: let road/rail crossing count as road jason@long.name 2013-09-06 12:49:10 +00:00
  • 36035942af copyright: add copyright notice to tiles.rc jason@long.name 2013-09-05 11:23:36 +00:00
  • d86c9f6b65 cleanup: remove a bunch of unused tile constants jason@long.name 2013-09-05 11:23:28 +00:00
  • c3e677047a strictness: getZoneSizeFor must be called on a zone-center tile jason@long.name 2013-09-05 11:23:07 +00:00
  • 94e9892731 refactor: make getZoneSizeFor return CityDimension (width AND height) jason@long.name 2013-09-05 11:22:56 +00:00
  • 2af5cf14a7 refactor: introduce new CityDimension class to encapsulate width/height jason@long.name 2013-09-05 11:22:40 +00:00
  • b22263b4b6 applyZone: rewrite to use tiles.rc annotations jason@long.name 2013-09-05 11:22:09 +00:00
  • 400c2942ee pollution: coal plant animated tiles should emit pollution jason@long.name 2013-09-04 18:58:31 +00:00
  • f6601ac95d pollution: industrial zone animations should emit pollution jason@long.name 2013-09-04 18:58:19 +00:00
  • 43455f1903 pollution: airport's radar dish should emit pollution just like rest of airport jason@long.name 2013-09-04 18:58:06 +00:00
  • ed88e75a34 tiles.rc: move pollution values from Java code to tiles.rc jason@long.name 2013-09-04 18:57:51 +00:00
  • db6f3fb59c doSpecialZone: use annotations to control which special zone processing is done jason@long.name 2013-09-03 01:07:35 +00:00
  • 18f00153a3 refactor: doSpecialZone- split up into separate functions for each zone type jason@long.name 2013-09-03 01:07:25 +00:00
  • 1932084d22 cleanup: remove erroneous assertion jason@long.name 2013-09-01 21:34:25 +00:00
  • 1b82d46aeb cleanup: remove two obsolete functions from TileConstants.java jason@long.name 2013-09-01 21:34:16 +00:00
  • bef75adc90 scanTile: use annotations in tiles.rc to determine behavior of tiles jason@long.name 2013-09-01 21:34:06 +00:00
  • 070cd90727 refactor: move checkZonePower down a level jason@long.name 2013-09-01 21:33:56 +00:00
  • 1e4dd42655 gitignore: prevent VIM swap files from getting caught by repository jason@long.name 2013-09-01 21:33:47 +00:00
  • 0f2c2f4617 refactor: checkZonePower() to set PWR bit and count zones jason@long.name 2013-09-01 21:33:38 +00:00
  • 07bc48c34c cleanup: consolidate all doFire() functionality into doFire() method jason@long.name 2013-09-01 21:33:28 +00:00
  • 821679d841 tile descriptions: consolidate to single string for 'Industrial' jason@long.name 2013-09-01 16:33:21 +00:00
  • 282cd77b48 tile descriptions: describe the animated zone destruction tiles as "Rubble" jason@long.name 2013-09-01 16:33:12 +00:00
  • f5180e9f9c tile descriptions: smoke on coal power plant should be "Coal Power" not "Industrial" jason@long.name 2013-09-01 16:33:04 +00:00
  • 93bf346065 tile descriptions: consolidate to a single string for 'draw bridge' jason@long.name 2013-09-01 16:32:55 +00:00
  • 21f1cff598 tiles.rc: remove 'description' annotation for undefined/unused tiles jason@long.name 2013-09-01 16:32:46 +00:00
  • fb52cfd504 cleanup: remove some debug code left in from a previous commit jason@long.name 2013-09-01 16:32:38 +00:00
  • 521a41f028 tiles.rc: use description numbers from tiles.rc rather than hardcoded numbers jason@long.name 2013-09-01 16:32:25 +00:00
  • 52512c8987 tiles.rc: annotate each tile with its description number jason@long.name 2013-09-01 16:32:14 +00:00
  • d14121b415 overlay-map: cleanup: use isResidentialZoneAny() instead of manual check jason@long.name 2013-09-01 00:27:23 +00:00
  • f09ba76a23 tiles: use new residential-zone/commercial-zone annotations jason@long.name 2013-09-01 00:27:14 +00:00
  • c86b9bc03b tiles: annotate commercial and residential zones jason@long.name 2013-09-01 00:27:05 +00:00
  • fb6db46fde tiles: remove old isIndustrialZone() function jason@long.name 2013-09-01 00:26:44 +00:00
  • 14944850b7 tiles: annotate industrial zone tiles jason@long.name 2013-09-01 00:26:29 +00:00
  • 4c66df859f buildings: allow defining anim tiles as belonging to a building jason@long.name 2013-09-01 00:26:16 +00:00
  • 306058afeb buildings: define building metadata for special buildings jason@long.name 2013-09-01 00:26:07 +00:00
  • b9bdf2850c buildings: s/compound/building, auto-determine tile range jason@long.name 2013-09-01 00:25:51 +00:00
  • 7069c8150c buildings: for component tiles, link back to the owner tile jason@long.name 2013-09-01 00:25:39 +00:00
  • 3941b35fa4 buildings: rename zonePlopNew() to zonePlop() jason@long.name 2013-09-01 00:25:29 +00:00
  • f2069794a8 buildings: remove obsolete zonePlop() jason@long.name 2013-09-01 00:25:21 +00:00
  • 889b1d968e buildings: replace callers of zonePlop() with calls to zonePlopNew() jason@long.name 2013-09-01 00:25:01 +00:00
  • 2b126044ed buildings: implement zonePlopNew() to place a zone using info in tiles.rc jason@long.name 2013-09-01 00:24:49 +00:00
  • 70383365e6 buildings: define large zone structures in tiles.rc jason@long.name 2013-09-01 00:20:17 +00:00
  • 220f136848 GraphsPane: fix for graph reaching above 100% (issue #31) jason@long.name 2013-08-31 19:15:59 +00:00
  • 98c60fb878 bump version number jason@long.name 2013-08-31 19:15:47 +00:00
  • 8f7523fd62 demand valves: fix bug in demand valve determination jason@long.name 2013-08-25 02:22:30 +00:00
  • 47963b0011 tiles.rc: let zone population be controlled by tiles.rc jason@long.name 2013-08-25 02:22:18 +00:00
  • 51973f75bd TileConstants: impl isIndestructible2(), slightly different than isIndestructible() jason@long.name 2013-08-24 21:04:36 +00:00
  • aa40fc8760 TileConstants: make isIndestructible() jason@long.name 2013-08-24 20:54:23 +00:00
  • 8635eb2d4e TODO- document an issue with draw-bridges jason@long.name 2013-08-12 21:04:48 +00:00
  • 11f791b86e build.xml: bundle a 64x64 PNG icon in the generated zip file jason@long.name 2013-08-12 21:04:19 +00:00
  • 11b1f6be7e cleanup: TileConstants- hide constants that don't need to be visible jason@long.name 2013-08-12 02:37:14 +00:00
  • 8e73c86119 cleanup: remove constants that are not being used jason@long.name 2013-08-12 02:37:11 +00:00
  • e5e76834f6 cleanup: remove a couple lines of code not needed jason@long.name 2013-08-12 02:37:07 +00:00
  • 471b77a562 evalLot: replace hardcode tile number comparisons with isRoad/isRail jason@long.name 2013-08-12 02:37:04 +00:00
  • ecba1ff5f9 tiles.rc: control airport radar animation through tiles.rc jason@long.name 2013-08-12 02:24:03 +00:00
  • 33cd0d02ed refactor: consolidate checkSize() into getZoneSizeFor() jason@long.name 2013-08-12 02:23:54 +00:00
  • 4e11a80a2a isWire: fix bug in which the wrong variable was used jason@long.name 2013-08-11 22:43:23 +00:00
  • 20a41f71f7 isRoad: fix bug in which the wrong variable was used jason@long.name 2013-08-11 22:43:19 +00:00
  • 9e9d1b2e9b TileConstants: remove hardcoded tile values from OverlayMapView jason@long.name 2013-08-11 22:43:13 +00:00
  • 9c6e987f65 cleanup: remove no-longer-used isBigZone() jason@long.name 2013-08-11 22:43:09 +00:00
  • 2eee88e529 getPollutionValue: move to TileConstants jason@long.name 2013-08-11 22:43:04 +00:00
  • 6f3029fc92 getPollutionValue: use isFire and isRadioactive instead of comparing numbers jason@long.name 2013-08-11 22:42:59 +00:00
  • 9c209fa6b2 TileConstants: isConstructed() returns true if tile >= ROADBASE jason@long.name 2013-08-11 22:42:54 +00:00
  • d60bbad2e1 TileConstants: continue moving tile number logic to central location (rails and wires) jason@long.name 2013-08-11 04:07:14 +00:00
  • b4f7e09d74 TileConstants: move tile number comparisons to central location (road numbers) jason@long.name 2013-08-11 04:07:11 +00:00
  • 1c4eb5a346 engine bugfix: when downgrading full res to little houses, preserve pwrbit jason@long.name 2013-08-11 04:07:07 +00:00
  • a32769259c tiles.rc: mark bridges, underwater wire, tunnel as Non-burnable jason@long.name 2013-07-28 19:48:04 +00:00
  • 5adc2cd57a keyboard: set keymap on content pane, not root pane. jason@long.name 2013-07-26 20:05:46 +00:00
  • 9e3e681a81 keyboard: ESC will now close the current notification, if one is open jason@long.name 2013-07-25 20:48:28 +00:00
  • c5872a6e9f keyboard: ESC while dragging mouse will cancel the current op jason@long.name 2013-07-25 20:48:19 +00:00
  • 40bfdc241a build.xml: when spawning subprocess, do not let it read from stdin jason@long.name 2013-07-25 20:48:10 +00:00
  • bbb48f4e91 keyboard: let ESCAPE be used to close New City dialog jason@long.name 2013-07-25 20:48:01 +00:00
  • 0465be13c1 keyboard: add hotkeys for Zones and Overlays menus jason@long.name 2013-07-25 20:47:51 +00:00
  • b4c3a8327e zoom-levels: add menu options for Zoom In and Zoom Out jason@long.name 2013-07-25 20:47:42 +00:00
  • f0f101b78d keyboard: define access keys for more menus jason@long.name 2013-07-25 20:47:32 +00:00
  • f55492f8b8 keyboard: add shortcut keys to Game menu jason@long.name 2013-07-25 20:47:19 +00:00
  • a1fc7c20a2 zoom-levels: fix to recognize the numpad "-" key to zoom out jason@long.name 2013-07-22 16:03:49 +00:00
  • b52415aa3d bulldozer: fix adjacent roads/wires/etc. when bulldozing jason@long.name 2013-07-22 16:03:33 +00:00
  • 060fdc4b94 drawing-area: fix so that keyboard zoom works even when a button has focus jason@long.name 2013-07-21 15:35:01 +00:00
  • 6851224c10 drawing-area: scale sprite images with tile resolution jason@long.name 2013-07-21 15:34:56 +00:00
  • 1429407d9f drawing-area: fix where sprites are drawn when zoom level is not 16px jason@long.name 2013-07-21 15:34:51 +00:00
  • 4a38afc40f drawing-area: fix crash bug caused by not loading sprite images jason@long.name 2013-07-21 15:34:46 +00:00
  • 298d789df2 overlay-map: fix selection rectangle for non-default zoom levels jason@long.name 2013-07-21 15:34:41 +00:00
  • 1e21066cf2 drawing-area: allow zooming in and out with keyboard jason@long.name 2013-07-21 15:34:36 +00:00
  • 45b84f0cbb tile animation: make nuclear swirl handled same as coal smoke jason@long.name 2013-07-20 21:35:12 +00:00
  • 7540682a06 tile animation: make industrial zone smoke animations initiated by tiles.rc jason@long.name 2013-07-20 21:35:09 +00:00
  • 0c497aa434 tile animation: use tiles.rc to control termination of coal plant smoke jason@long.name 2013-07-20 21:35:05 +00:00
  • a190bbf88b engine: only use PWRBIT flag on zone center tiles jason@long.name 2013-07-20 21:35:02 +00:00
  • ba7ade2fa4 tile-animation: let tiles.rc determine coal plant's smoke animation jason@long.name 2013-07-20 21:34:58 +00:00
  • 1ce5080705 drawing-area: allow zooming from 8px to 32px, using unique graphics source for each level jason@long.name 2013-07-20 21:29:53 +00:00
  • ee449d59a4 tiles.rc: use inheritance to define roads with traffic jason@long.name 2013-07-20 21:29:50 +00:00
  • 22c0edc7c1 tiles.rc syntax: allow inheriting of another tile's images/attributes jason@long.name 2013-07-20 21:29:47 +00:00
  • 103999e578 drawing-area: allow zooming in to 32px tiles jason@long.name 2013-07-20 21:29:44 +00:00
  • d452c45d21 drawing-area: hold in-memory tile images in an object, rather than static variables jason@long.name 2013-07-20 21:29:40 +00:00
  • 8a9af13de9 MakeTiles: allow making generated images of an SVG image in a subdirectory jason@long.name 2013-07-20 21:29:37 +00:00
  • b5e86ff388 MakeTiles: when converting an SVG file, specify DPI rather than expected width/height jason@long.name 2013-07-20 21:29:35 +00:00
  • ef575b4125 MakeTiles: fix bug in SVG->PNG logic jason@long.name 2013-07-20 21:29:32 +00:00
  • f5b0089abc MakeTiles: when generating intermediate images, use a staging directory jason@long.name 2013-07-20 21:29:28 +00:00