Commit graph

  • 89e1b04f95 rewrite repairZone to handle dynamic tiles Jason Long 2014-09-21 15:17:13 -04:00
  • bbfc73961c cleanup: eliminate unused isHospitalOrChurch() function Jason Long 2014-09-21 15:36:18 -04:00
  • d4a80ec466 cleanup: rename isRoadAny() to isRoad()... ditto for isRailAny() Jason Long 2014-09-21 15:57:29 -04:00
  • 1da5fdf402 cleanup: remove unused isRoad, isRail methods Jason Long 2014-09-21 14:30:45 -04:00
  • ef5635f6a3 Sprite: destroyTile() should not destroy tunnels or underwater wires Jason Long 2014-09-21 15:54:05 -04:00
  • ac1dc2bf92 Sprite: cleanup logic for how to destroy a tile Jason Long 2014-09-21 14:20:19 -04:00
  • f944e5293c evalLot: fix so that railroads with wires are recognized as rails Jason Long 2014-09-21 14:27:37 -04:00
  • 6604b266aa tiles: eliminate redundant predicate checkWet in favor of isOverWater Jason Long 2014-09-21 14:09:07 -04:00
  • bf25532d01 gui: draw tool cursor using fillRect rather than drawLine Jason Long 2014-08-02 20:31:49 -04:00
  • d6a295cbe7 drawing-order: draw tiles right-to-left Jason Long 2014-08-01 13:34:32 -04:00
  • 4336dbf5e7 Merge pull request #2 from ignatio/master jason17055 2014-07-29 20:51:54 -04:00
  • bdf41b12fb Fixed Shipwrecks ignatio 2014-06-28 13:16:37 -04:00
  • e00810ef8f Removing Ship Explosions ignatio 2014-06-28 12:30:33 -04:00
  • 060222a9c1 tools: limit tools for most buildings to a single building at a time Jason Long 2013-12-27 10:55:30 -05:00
  • 122517d743 graphics: make smoke separate layer on four IND zones Jason Long 2014-06-20 14:34:26 -04:00
  • 3e7c76b713 graphics: make coal-smoke a separate layer to animate Jason Long 2014-06-20 13:38:59 -04:00
  • 5929101335 tiles.rc: update documentation of tiles.rc format Jason Long 2014-06-20 11:48:57 -04:00
  • 951c0fecbf api: fix use of hi-bits in stadium-handling code Jason Long 2014-06-20 12:21:52 -04:00
  • e913626f60 MakeTiles: use constant (STD_SIZE) to represent standard tile size of 16px Jason Long 2014-06-19 11:12:35 -04:00
  • d207232fea MakeTiles: refactor: load images at parse time Jason Long 2014-06-19 09:30:15 -04:00
  • cb84994ce8 MakeTiles: refactor: pushing caching down a level Jason Long 2014-06-20 11:45:54 -04:00
  • 300acc7381 api: setTile() no longer accepts upper bits Jason Long 2014-06-20 11:39:05 -04:00
  • 69e50258e7 cleanup: better to use 'tile' than 'rawTile' in TerrainBehavior Jason Long 2014-06-20 09:36:46 -04:00
  • c6586c322f cleanup: remove superfluous assignment of .tile property Jason Long 2014-06-20 09:35:17 -04:00
  • f4fdb09481 graphics: change where images are loaded from when running the gui Jason Long 2014-06-16 20:38:30 -04:00
  • c0f1d6a486 MakeTiles: output to a graphics directory instead of a specific file Jason Long 2014-06-16 20:31:14 -04:00
  • eb97e1c27c MakeTiles: remove support for width/height specifier Jason Long 2014-06-16 19:55:30 -04:00
  • bb6ac09e5d MakeTiles: write unique index for each output file Jason Long 2013-12-12 16:20:02 -05:00
  • bff42f0cf9 MakeTiles: allow non-integer tile names; generate an idx file Jason Long 2014-06-16 20:26:17 -04:00
  • 0bf95f4b19 MakeTiles: refactor to simplify main() method body Jason Long 2013-12-09 16:14:31 -05:00
  • 7b890e9d89 tiles: add name property to spec Jason Long 2013-12-14 17:06:33 -05:00
  • 35acab9d30 TODO file- document where to find original Scenario stuff Jason Long 2014-03-06 13:30:31 -05:00
  • cf626bc30c docs: document the CityRect class jason@long.name 2014-03-05 01:58:38 +00:00
  • bde6014165 docs: document the Tiles class jason@long.name 2014-03-05 01:58:31 +00:00
  • a8710741d9 docs: add inline documentation for various Sprite classes jason@long.name 2014-03-05 01:58:19 +00:00
  • 8b0c6df05c update TODO file jason@long.name 2014-03-05 01:58:11 +00:00
  • 73800b13bf tools: make translation strings optional for tools jason@long.name 2014-01-05 22:13:51 +00:00
  • ec0d9ffee6 tools: define default tool colors jason@long.name 2014-01-05 22:13:44 +00:00
  • 2a77ddb26c tools: define size/cost of tool as regular properties of the tool jason@long.name 2014-01-05 22:13:36 +00:00
  • 2d8e8ba86d tornado: add logic for when tornado runs out of steam jason@long.name 2013-12-22 16:32:39 +00:00
  • 84d8906a88 overlay-map: remove upper tile number limit jason@long.name 2013-12-21 21:34:59 +00:00
  • 145c1ae944 graphics: use generated 3x3px tile array jason@long.name 2013-12-21 21:31:11 +00:00
  • 968994b714 graphics: 3x3px versions of the road/traffic graphics jason@long.name 2013-12-21 21:31:03 +00:00
  • 54ad2c98ef graphics: more 3x3px source images jason@long.name 2013-12-21 21:30:38 +00:00
  • ea8571f237 graphics: begin work on making source images for 3x3px tile array jason@long.name 2013-12-21 21:30:19 +00:00
  • ca55c1112c tiles: parse 'building' attribute at initialize time jason@long.name 2013-12-14 22:10:30 +00:00
  • ae13414b34 refactor: make TileSpec do its own reference resolving jason@long.name 2013-12-14 22:10:21 +00:00
  • 447a78b4d7 tiles: keep a mapping of tile names to the tile spec jason@long.name 2013-12-14 22:10:14 +00:00
  • 2b093b3273 tiles.rc: dynamically determine number of tiles jason@long.name 2013-12-14 22:10:06 +00:00
  • 7f1dad1083 train-sprite: use constants jason@long.name 2013-12-13 01:38:46 +00:00
  • c5b6b9db4a cleanup: use getTile() instead of direct access where possible jason@long.name 2013-12-06 16:02:20 +00:00
  • 0d82d3514c cleanup: no longer need to apply LOMASK jason@long.name 2013-12-06 16:02:17 +00:00
  • c2286465a7 api: TileConstants- never accept "raw" tile numbers jason@long.name 2013-12-06 16:02:13 +00:00
  • 78d094c8ac api: use masked tile number for tile-check methods jason@long.name 2013-12-06 16:02:07 +00:00
  • a8713b682e api: getTile() now returns masked tile number jason@long.name 2013-12-06 16:02:02 +00:00
  • 8ce6a1fdd5 tiles.rc: re-allow bulldozing dead zones jason@long.name 2013-12-06 16:01:58 +00:00
  • 6d7e94bf97 tiles.rc: synthesize BULLBIT when saving file jason@long.name 2013-12-06 16:01:54 +00:00
  • 454409cecf tiles.rc: eliminate BULLBIT and use annotation instead jason@long.name 2013-12-06 16:01:48 +00:00
  • dbb7029ec2 tiles.rc: annotate tiles that can be bulldozed jason@long.name 2013-12-06 16:01:45 +00:00
  • 721e135fee tool-effect: treat tiles outside of city boundary as dirt jason@long.name 2013-12-06 02:48:06 +00:00
  • 2c517c476b cleanup: use named constants in isRiverEdge jason@long.name 2013-12-06 02:48:00 +00:00
  • 3d2eaa62ff cleanup: do not use TileConstants. prefix when not needed jason@long.name 2013-12-06 02:47:51 +00:00
  • f8d3532cf7 cleanup: use constants for RivEdge table (in MapGenerator) jason@long.name 2013-12-03 02:18:44 +00:00
  • 58ffb6c73b api: provide isTilePowered() to check whether a given location has power jason@long.name 2013-12-03 01:04:22 +00:00
  • a47ceac844 tiles.rc: remove tile information for 7 unused tile numbers (amongst roads tiles) jason@long.name 2013-12-02 01:44:57 +00:00
  • 1026fdf34f make-tiles: allow tile specification to be empty jason@long.name 2013-12-02 01:44:52 +00:00
  • 685ccd22d5 tiles.rc: rewrite isOverWater() to use the new "over water" attribute jason@long.name 2013-12-02 01:44:45 +00:00
  • 0654013c3e tiles.rc: tag which road/wire/rail tiles are "over water" jason@long.name 2013-12-02 01:44:39 +00:00
  • 0640f78ebe tiles.rc: ensure that invisible open-drawbridge tiles do not burn jason@long.name 2013-12-02 01:44:32 +00:00
  • 5278164215 build.xml: begin work on version 1.7 jason@long.name 2013-12-02 00:51:37 +00:00
  • 6bb702533f locale: remove country qualifier from Swedish strings files jason@long.name 2013-12-02 00:40:40 +00:00
  • e2e85ccdc0 locale: remove country qualifier from german strings files jason@long.name 2013-12-02 00:40:35 +00:00
  • 4651f39819 build: package Mac version of Micropolis jason@long.name 2013-12-01 22:48:08 +00:00
  • 034c6afd5a localization: german language strings jason@long.name 2013-11-11 21:05:48 +00:00
  • 280126ac05 refactor: move makeTraffic() from city to zone-behavior class jason@long.name 2013-10-10 13:31:16 +00:00
  • ff84c48091 cleanup: move code that refreshes tile/rawTile closer to where it is needed jason@long.name 2013-10-10 13:31:13 +00:00
  • 93381a3490 refactor: make accessor method for fireRate[] array jason@long.name 2013-10-10 13:31:09 +00:00
  • e7cb33ca92 behaviors: move exploding-tile processing to new TileBehavior-based class jason@long.name 2013-10-10 13:31:06 +00:00
  • 81c05604df behaviors: move terrain-related behaviors from MapScanner jason@long.name 2013-10-04 12:54:03 +00:00
  • 4717c93039 behaviors: dispatch behavior from mapScan() method jason@long.name 2013-10-04 12:53:59 +00:00
  • fb4f1fee98 behaviors: MapScanner: s/cchr/rawTile and s/cchr9/tile jason@long.name 2013-10-04 12:53:56 +00:00
  • f3ca16a672 behaviors: define a new class TileBehavior to be a base class jason@long.name 2013-10-04 12:53:52 +00:00
  • 6bd61e6575 behaviors: rename old TileBehavior class to make room for new one jason@long.name 2013-10-04 12:53:49 +00:00
  • eb76937e2c copyright: add copyright notices to source files missing it jason@long.name 2013-09-28 20:23:22 +00:00
  • 5252770d10 city-eval: use public getTrafficDensity() instead of direct access jason@long.name 2013-09-28 16:34:37 +00:00
  • 2b60d14e96 overlay: use public getLandValue() method to draw landvalue overlay jason@long.name 2013-09-28 16:34:28 +00:00
  • 275139c2d1 refactor: make public getLandValue() method for accessing landValueMem[] jason@long.name 2013-09-28 16:34:17 +00:00
  • 300adefd27 cleanup: use getTrafficDensity() instead of directly accessing the array jason@long.name 2013-09-28 16:34:06 +00:00
  • 72fac6d84e refactor: move traffic-density mutation code to new function jason@long.name 2013-09-28 16:33:56 +00:00
  • 99954a3619 overlay: use public getTrafficDensity() method to draw traffic overlay jason@long.name 2013-09-28 16:33:43 +00:00
  • b18b51d08e refactor: remove isPic argument from cityMessage() notification jason@long.name 2013-09-22 00:48:34 +00:00
  • 736754a5ab cleanup: rename FREEZ to RESCLR for consistency jason@long.name 2013-09-20 11:21:28 +00:00
  • d389124b86 cleanup: remove two more unused tile constants jason@long.name 2013-09-20 11:21:06 +00:00
  • e81b0096aa cleanup: remove unused constant: UNUSED_TRASH2 jason@long.name 2013-09-20 11:20:57 +00:00
  • 50600cef2e cleanup: reduce visibility of many of the named tiles jason@long.name 2013-09-20 11:20:47 +00:00
  • 2a0ec53a05 gui: DemandIndicator- replace hardcoded dimensions with constants jason@long.name 2013-09-09 14:25:41 +00:00
  • 7b68e1299d android port: convert use of java.awt.Rectangle to own CityRect class jason@long.name 2013-09-09 14:11:55 +00:00
  • 6b899d096d MakeTiles: tolerate undefined tiles jason@long.name 2013-09-09 14:11:39 +00:00
  • acce301d1d MakeTiles: support additional creation arguments jason@long.name 2013-09-09 14:11:21 +00:00
  • 436789c12e gui: scroll with middle-button jason@long.name 2013-09-07 15:18:38 +00:00