Commit graph

  • 1b19af8057 toolstroke: add sound support for tooleffect class jason@long.name 2013-05-16 23:44:54 +00:00
  • 4d3649884d toolstroke: convert apply1 method jason@long.name 2013-05-16 23:44:44 +00:00
  • 8c5d7c1ba8 toolstroke: replace apply3x3, etc. functions with generic applyZone() jason@long.name 2013-05-16 23:44:35 +00:00
  • 422a6e96f9 toolstroke: convert RoadLikeTool completely to use ToolEffect jason@long.name 2013-05-16 23:44:28 +00:00
  • 90ab295364 toolstroke: layWire, layRail: convert to ToolEffect jason@long.name 2013-05-16 23:44:20 +00:00
  • 81bc4319b3 toolstroke: layRoad: convert to use ToolEffect jason@long.name 2013-05-16 23:44:12 +00:00
  • 5c85cd0a64 toolstroke: continue refactoring for ToolEffect jason@long.name 2013-05-16 23:44:03 +00:00
  • 5b5e278393 toolstroke: apply ToolEffect-conversion to fixZone() jason@long.name 2013-05-16 23:43:46 +00:00
  • c9b21e4f23 ToolPreview: fix a bug in how arrays are re-allocated jason@long.name 2013-05-16 23:42:38 +00:00
  • 00738461cb toolstroke: convert fixSingle to use ToolEffect class jason@long.name 2013-05-16 23:42:30 +00:00
  • eb63e3817a ToolStroke: update Park tool to use new ToolEffect class jason@long.name 2013-05-16 23:42:21 +00:00
  • b3522c514c ToolEffect: stores effect of tool and then applies it as transaction jason@long.name 2013-05-16 23:42:13 +00:00
  • 76c96640c1 ToolPreview: a helper class for translating the effect of a tool jason@long.name 2013-05-16 23:42:06 +00:00
  • 1aa2e3d30f ToolPreview: a class for holding the effect of a tool jason@long.name 2013-05-16 23:41:57 +00:00
  • f6b55fa380 toolstroke: separate class for road-like tools jason@long.name 2013-05-16 23:41:49 +00:00
  • 0fe2c2fe1d toolstroke: move bulldozer tool code to a separate file jason@long.name 2013-05-16 23:41:40 +00:00
  • 6e585924a7 toolstroke: start implementing a check() method jason@long.name 2013-05-16 23:41:33 +00:00
  • 0f0d063957 toolstroke: rename getPreview to getBounds jason@long.name 2013-05-16 23:41:24 +00:00
  • 86a2f05201 toolstroke: on mouse up, fill the selected area with the tool jason@long.name 2013-05-16 23:36:36 +00:00
  • 67e7792be5 toolstroke: apply at end of mouse click, show drag preview jason@long.name 2013-05-16 23:36:27 +00:00
  • c4fe7f0d34 toolstroke: refactor- do not pass engine variable to every function jason@long.name 2013-05-16 23:36:19 +00:00
  • 6438791974 toolstroke: cleanup: rename 'engine' variable to 'city' variable jason@long.name 2013-05-16 23:36:11 +00:00
  • 8901474800 toolstroke: new class to represent the application of a tool jason@long.name 2013-05-16 23:36:00 +00:00
  • 7d2b2fdda5 cleanup: move autobulldoze-testing functions to TileConstants jason@long.name 2013-05-08 02:11:35 +00:00
  • 36f056087e cleanup: make both canAutoBulldoze have same logic jason@long.name 2013-05-05 19:03:04 +00:00
  • 32d23d16bd cleanup: use new isZoneCenter() check instead of testing for ZONEBIT flag jason@long.name 2013-05-05 18:52:28 +00:00
  • db0a450076 TileConstants: two new helper methods: isDozeable, isZoneCenter jason@long.name 2013-05-05 18:52:21 +00:00
  • e9f06bb1c2 docs: add some notes on various attributes of tiles jason@long.name 2013-05-05 18:52:13 +00:00
  • 9c045da206 simspeed: no matter speed, always two animation cycles per sim step jason@long.name 2013-04-29 22:02:29 +00:00
  • d17084261d simspeed: rescale; each step is now 5x the previous jason@long.name 2013-04-29 22:02:21 +00:00
  • f6fd885d75 simspeed: do not skip crime/fire/power scans when speed is faster jason@long.name 2013-04-29 22:02:13 +00:00
  • 9edc542277 bump version number jason@long.name 2013-04-29 22:02:05 +00:00
  • cafa42e655 TODO- update the TODO file jason@long.name 2013-04-27 17:11:08 +00:00
  • c4fa905d97 doc: file format jason@long.name 2013-04-27 17:11:00 +00:00
  • 7e52c97246 file-format: fix to load files generated by simcity classic jason@long.name 2013-04-07 00:15:13 +00:00
  • 1bbc20487f overlay-map: add sanity check for tile value before indexing a tile jason@long.name 2013-04-07 00:14:55 +00:00
  • 19a3fcefd7 game-load: fix bug in speed sanity check jason@long.name 2013-04-07 00:14:42 +00:00
  • 93b5422afb CityBudget: do not change funds when changing difficulty level jason@long.name 2013-03-23 15:46:18 +00:00
  • 2c69407d47 CityBudget: do not change funds when generating a map jason@long.name 2013-03-23 15:46:05 +00:00
  • 0b8efea513 CityBudget: move in the four escrow-style account balances jason@long.name 2013-03-23 15:45:52 +00:00
  • 04534d6273 refactor: move totalFunds property to separate class jason@long.name 2013-03-23 15:45:37 +00:00
  • 92f79886ae overlay-map: allow engine to be queried jason@long.name 2013-03-23 14:08:30 +00:00
  • efd0326db2 engine: allow non-default sized maps to be instantiated jason@long.name 2013-03-23 14:08:09 +00:00
  • e80daa30de java: start the GUI the proper way, using the EDT jason@long.name 2013-03-18 22:29:56 +00:00
  • 344c34c039 TODO- document a potential bug that needs reviewed some day jason@long.name 2013-03-18 22:29:45 +00:00
  • d7c37b2909 bump version jason@long.name 2013-03-18 22:29:33 +00:00
  • 478de9aae5 aboutdlg: include information on how to get the source code jason@long.name 2013-03-18 22:29:23 +00:00
  • 4f4f166cca aboutdlg: include version/vendor of Java run-time in About dialog box jason@long.name 2013-03-15 20:30:06 +00:00
  • 9c5b1fca33 cleanup: no longer need the autoDoze function jason@long.name 2013-02-27 01:30:36 +00:00
  • 21ecd20092 autobulldoze: fix behavior of road and rail tools jason@long.name 2013-02-27 01:30:30 +00:00
  • 408d3d44bf autobulldoze- fix behavior of wire tool jason@long.name 2013-02-27 01:30:23 +00:00
  • d10ec8e5b1 cleanup: rename canAutoBulldoze to canAutoBulldozeZ jason@long.name 2013-02-27 01:30:17 +00:00
  • 8b428bfc29 autobulldoze: prepare for movement of auto-bulldoze code jason@long.name 2013-02-27 01:30:10 +00:00
  • 32d5a8db7c BudgetDialog: refactor so components are layed out by separate functions jason@long.name 2013-02-27 00:38:54 +00:00
  • 6ee909e10c cleanup: create constants for fire/police station maintenance cost jason@long.name 2013-02-24 21:26:17 +00:00
  • 88669eabb6 BudgetDialog: replace funding spinners with sliders jason@long.name 2013-02-24 21:26:11 +00:00
  • 8e9cd7d94d BudgetDialog: if ESC is pressed, close the dialog jason@long.name 2013-02-24 21:26:05 +00:00
  • 6cfc5ef5ef budget: fix bug that caused budget numbers to occassionally be wrong jason@long.name 2013-02-24 21:25:59 +00:00
  • e98727b601 cleanup: eliminate unused MiscHistory class jason@long.name 2013-02-24 21:25:52 +00:00
  • 6524f9c22a java6-compat: make compat wrapper for J7 method setAutoRequestFocus() jason@long.name 2013-02-24 14:01:47 +00:00
  • 7473c893bd java6-compat: eliminate use of diamond operator (a J7-only feature) jason@long.name 2013-02-24 14:01:36 +00:00
  • b1a1dea224 query tool: check bounds before attempting query jason@long.name 2013-02-24 01:19:17 +00:00
  • 5219c6f1be bugfix: check map boundry in traffic gen jason@long.name 2013-02-24 01:19:11 +00:00
  • 3cfb63272a build.xml: version bump jason@long.name 2013-02-24 01:19:04 +00:00
  • b0bd5bab21 cleanup: fix really minor typo in comment jason@long.name 2013-02-23 12:54:04 +00:00
  • d9d42b1af2 cleanup: change Animate.Smoke.AniThis to a boolean array jason@long.name 2013-02-23 12:53:57 +00:00
  • 84fa05500b javadocs: explain a little more about draw bridges jason@long.name 2013-02-23 12:53:51 +00:00
  • 4158265409 cleanup: make macros isRoad and isRail to test for those tile types jason@long.name 2013-02-23 12:53:44 +00:00
  • 89d6839101 cleanup: rename fireZone to killZone jason@long.name 2013-02-20 02:05:04 +00:00
  • 1da609a5ce coalsmoke: when coal plant blows up, stop its smoke animation jason@long.name 2013-02-20 02:04:58 +00:00
  • aadacd9210 coalplant- do not eliminate fire when animating smoke jason@long.name 2013-02-20 02:04:51 +00:00
  • 4fe20e253e javadocs: document the BudgetNumbers class jason@long.name 2013-02-20 01:36:57 +00:00
  • 4b145e0682 javadocs: document the ZoneStatus class jason@long.name 2013-02-20 01:36:50 +00:00
  • d21f73e186 TrafficGen: s/engine/city for consistency with MapScanner class jason@long.name 2013-02-20 01:36:43 +00:00
  • fb2f73c008 cleanup: eliminate TrafficGen.Position in favor of CityLocation jason@long.name 2013-02-20 01:36:36 +00:00
  • 41e1321edc javadoc: fix typo that prevented docs for setSmoke() from being parsed jason@long.name 2013-02-18 02:43:08 +00:00
  • e9ec153278 TODO- document another task that needs looked at some day jason@long.name 2013-02-18 01:58:36 +00:00
  • 16ad436a14 internal docs: explain fire as source of pollution jason@long.name 2013-02-18 01:58:29 +00:00
  • 908ff0b5a1 cleanup: drawStadium: use xpos,ypos properties instead of function arguments jason@long.name 2013-02-18 01:58:21 +00:00
  • 8614e6ff0e cleanup: rename incrementROG to adjustROG and document it jason@long.name 2013-02-18 01:58:15 +00:00
  • c48abf0bca cleanup: coalSmoke: use xpos,ypos properties instead of function arguments jason@long.name 2013-02-18 01:58:08 +00:00
  • 8e9902ef64 cleanup: getCRValue: document and use xpos,ypos properties jason@long.name 2013-02-18 01:58:01 +00:00
  • ae95b98980 cleanup: evalResidential, etc: use xpos,ypos properties instead of arguments jason@long.name 2013-02-18 01:57:54 +00:00
  • 52365e4c35 cleanup: zonePlop: use xpos,ypos properties instead of parameters jason@long.name 2013-02-18 01:57:48 +00:00
  • 8572c30c60 cleanup: comPlop,indPlop,residentialPlop: use xpos,ypos properties jason@long.name 2013-02-18 01:57:41 +00:00
  • d2066409b9 cleanup: make buildHouse() use xpos,ypos properties not parameters jason@long.name 2013-02-18 01:57:35 +00:00
  • deb9738b6f cleanup: repairZone: use zoneBase variable to place tiles jason@long.name 2013-02-18 01:57:27 +00:00
  • de8b27d10a cleanup: repairZone should use xpos,ypos properties jason@long.name 2013-02-18 01:57:21 +00:00
  • 889676d9e2 cleanup: doCommericial, doIndustrial, use xpos,ypos properties jason@long.name 2013-02-18 01:57:11 +00:00
  • 273620b6c5 cleanup: doResidential{In,Out} use xpos,ypos properties jason@long.name 2013-02-18 01:57:04 +00:00
  • e2c1a7eb6a cleanup: setSmoke should use xpos,ypos properties jason@long.name 2013-02-18 01:56:54 +00:00
  • a92a5d6107 javadocs: document CityLocation, CityEval, and MapGenerator classes jason@long.name 2013-02-18 01:56:47 +00:00
  • 9bf7a9d8ec javadocs: document methods of the Sprite class jason@long.name 2013-02-18 01:56:41 +00:00
  • beb640e2e8 cleanup: make Animate class private to the package jason@long.name 2013-02-18 01:56:34 +00:00
  • feb04ae09a javadocs: document methods in the MapScanner class jason@long.name 2013-02-18 01:56:29 +00:00
  • 082d752c21 TODO/FIXME- document some tasks that need to be looked at later jason@long.name 2013-02-18 01:56:22 +00:00
  • 0255ae0744 cleanup: remove duplicate definitions of min/max game level jason@long.name 2013-02-17 20:58:31 +00:00
  • 9943df80f4 javadocs: explain what the simulator's internal arrays do jason@long.name 2013-02-17 20:58:24 +00:00
  • 50a7cf4770 cleanup: refactor smoothTerrain() to make it side-effect free jason@long.name 2013-02-17 20:58:17 +00:00
  • 567adeee43 cleanup: make qtem a local instead of global variable jason@long.name 2013-02-17 20:58:10 +00:00