Commit Graph

192 Commits

Author SHA1 Message Date
peter1138
8cfe4d6a67 (svn r7057) -Codechange: Remove hardcoded lists of road vehicles for each cargo type in favour of just checking the cargo type of each vehicle. 2006-11-03 23:06:54 +00:00
tron
4832b0fdff (svn r7013) Add glyphs for the interpunct. This is mainly useful for the catalan translation 2006-10-31 13:55:38 +00:00
belugas
56c81cc978 (svn r7001) -Codechange: _build_industry_trypes is now only used by industry_gui.c. Move it there.
-Codechange: _industry_type_cost is not defined, remove its declaration
2006-10-29 00:39:41 +00:00
belugas
7effb8fd50 (svn r6965) -CodeChange : Add a climate bitmask member to IndutrySpec.
Removed a loop that used the array _build_industry_types for that purpose.
2006-10-27 15:54:24 +00:00
belugas
f48c419467 (svn r6930) -Codechange: Move industry name into IndustrySpec
-Codechange: member color_map is more related to random color, rename it as such
2006-10-24 19:19:25 +00:00
Darkvater
605036dbb4 (svn r6924) -Codechange: Give the last (in the widget arrays at least) sprites meaningful names. 2006-10-24 13:20:54 +00:00
Darkvater
512568781b (svn r6923) -Codechange: Load nsignalsw.grf in the same way as other mandatory additional grfs 2006-10-24 13:08:52 +00:00
Darkvater
1204eeacfe (svn r6922) -Feature: Add proper cloning sprites and cursors, different for each vehicle. Big thanks
to MB for the initial design and skidd13 for the iconified version(s).
-Codechange: Change the autorenew sprites from recycle to upgrade (skidd13)
-Codechange: Change the shared orders icon (MeusH)
-Add missing table/files.h file to VS project file.
2006-10-24 12:56:14 +00:00
peter1138
e08dfce57c (svn r6921) - PEBKAC: Add an MD5 sum check of our own data files, and warn if they don't match. 2006-10-24 10:15:56 +00:00
belugas
9c1e89b0c0 (svn r6904) -CodeChange : Cleanup of industry_cmd (Step-5).
Add member life_type to IndustrySpec and remove the now useless _industry_close_mode array
2006-10-23 16:35:27 +00:00
peter1138
4c1423fc38 (svn r6781) - Fix (r5926): Some house introduction dates were incorrectly adjusted in the move to 32bit dates. 2006-10-15 19:01:40 +00:00
Darkvater
9c611b0848 (svn r6717) -Codechange: move OPENTTD_SPRITES_COUNT into table/sprites.h to use it from there. 2006-10-10 09:40:12 +00:00
bjarni
37ddda749a (svn r6593) -Fix: [depot window] added sprites to the buttons, that lacked one
Also changed the sprites on some of the other buttons to make the buttons consistent
   Credits for this:
   Drawing: skidd13 (first sprite copied/heavily inspired by Bot_40)
   Grfencoding: peter1138
   Coding to apply the new sprites: peter1138 (modified by me)   
   Ideas:
    Born Acorn
    MeusH
    ValHallA|SW
    XeryusTC
  Sorry if I forgot to mention somebody
2006-09-30 21:23:34 +00:00
rubidium
d095ff81d6 (svn r6465) -Fix: change some instances of '/* $Id */' to '/* $Id$ */', so SVN can do what is was supposed to do.. 2006-09-16 21:07:38 +00:00
rubidium
63687763e9 (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
-Cleanup: whitespace alignment of a few tables.
2006-09-04 20:40:33 +00:00
Darkvater
de610df608 (svn r6367) -Codechange: Speed up the animated cursors a bit so they move once in a while
at least.
2006-09-03 22:27:13 +00:00
tron
22d2ca7cc6 (svn r6255) Simplify drawing of catenary in depots 2006-08-31 07:29:19 +00:00
bjarni
21db9de388 (svn r6220) -Fix: added missing space in a string for Catalan town names (Arnau) 2006-08-29 18:50:15 +00:00
rubidium
27cee58ab8 (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc. 2006-08-28 18:53:03 +00:00
rubidium
480af9c917 (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct. 2006-08-22 14:38:37 +00:00
rubidium
e159ada7a2 (svn r5975) -Cleanup: use ORIGINAL_BASE_YEAR & ORIGINAL_MAX_YEAR where the functions really depend on the original date format.
-Cleanup: use DAYS_TILL_ORIGINAL_BASE_YEAR where the date variables are in the old date format and conversions are needed.
-Cleanup: replace one (forgotten) instance of uint16 with Date.
2006-08-20 12:39:17 +00:00
bjarni
db39da587f (svn r5965) -Feature: FS#261 Catalan Town Names generator (arnau) 2006-08-20 09:52:15 +00:00
rubidium
3cab5f30c0 (svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920
-Codechange: store all year related variables that are _not_ stored in a savegame/transported over the network in the same format as _cur_year
2006-08-16 11:39:55 +00:00
tron
012e144cc1 (svn r5864) -Feature: Also allow horizontal and vertical rails on steep slopes 2006-08-12 12:56:45 +00:00
tron
5f943a4ba7 (svn r5833) -Feature: Allow building of (certain) rails, roads and bridge ramps on steep sloped tiles 2006-08-10 14:44:32 +00:00
peter1138
42bcee22bd (svn r5819) - NewGRF: add support for refit costs specified in NewGRF. This may affect the default refit costs for the default rail vehicles. 2006-08-09 20:44:23 +00:00
tron
5fae4637d8 (svn r5796) Use DrawTileSprites/DrawTileSeqStruct for road depot drawing data, too 2006-08-06 18:36:36 +00:00
belugas
5280b9302c (svn r5785) Fix(5771) : Silenced a warning in MSVC that prevented from compiling. 2006-08-06 01:51:57 +00:00
tron
635bfcd1c8 (svn r5771) Unify several code paths and data structures for drawing train depots and waypoints 2006-08-05 16:54:55 +00:00
tron
b0135b4381 (svn r5723) - Move the declaration of DrawRoadDepotSprite() out of functions.h (but I'm not too happy with the new header)
- Use DiagDirection instead of plain int for the orientation of the depot graphics
- Rename the associated data tables with sprites to something more meaningful
2006-08-03 06:44:54 +00:00
belugas
40021f15f0 (svn r5504) Feature : Added Italian town name generator. (sidew) 2006-07-16 00:32:00 +00:00
richk
a0412db308 (svn r5385) - Fix: Corrected new helipad layering so helicopters go over the H, not through it! ;) Thanks to mart3p for spotting this. 2006-06-26 23:38:32 +00:00
richk
1423445050 (svn r5362) - Fix: Updated sprites in New Airports to be allow cleaner replacement by newgrf graphics. All tiles now use SPR_AIRPORT_APRON as the tarmac. Created two new sprites in airports.grf for half-grass half-tarmac tiles on Intercontinental airport. 2006-06-25 13:42:37 +00:00
richk
a832ca51fe (svn r5346) - Feature: Add 4 new airports. 2 for aircraft, 2 for helicopters.
Commuter airport: Small. 5x4. 3 terminals, 2 helipads.
Intercontinental: massive. 9x11. 8 terminals, 2 helipads, 4 runways.
Helidepot: a small heliport with a depot for helis only.
Helistation: a large heliport with 3 helipads and a depot.
2006-06-23 22:05:40 +00:00
tron
d2f6cb9e2d (svn r5262) Add symbolic names for the aircraft subtypes. not perfect, but better than raw numbers 2006-06-14 11:05:30 +00:00
peter1138
dfa60b0832 (svn r5201) - NewGRF: add loading of default refit costs. This information is not yet used 2006-06-09 16:35:07 +00:00
tron
be88e269b9 (svn r5155) - Remove the bridge branch merge (revision r5070) 2006-06-07 19:35:21 +00:00
tron
aada042d57 (svn r5136) Fix various style bugs:
- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
2006-06-05 18:10:43 +00:00
peter1138
5e3dd8dd78 (svn r5105) - NewGRF: Move callbackmask from *VehicleInfo to EngineInfo. This simplifies code that works with more than one vehicle type. 2006-06-04 18:22:32 +00:00
celestar
25a63ec7af (svn r5070) Merged the bridge branch
-Feature: Bridges can now be placed above:
	Any railway track combination (excluding depots and waypoints)
	Any road combination (excluding depots)
	Clear tiles (duh), including fields
	Tunnel entrances
	Bridge heads

Thanks to Tron for idea and implementation, KUDr for the yapf synchronization and many others for hours of testing

There are still a number of visual problems remaining, especially when electric railways are on or under the bridge.
DO NOT REPORT THOSE BUGS FOR THE TIME BEING please.
2006-06-02 13:05:41 +00:00
celestar
c1983c3d02 (svn r5055) -Fix: Correct some errors in the bridge sprite numbers 2006-05-31 06:43:05 +00:00
tron
2a3aca6139 (svn r4920) Remove parameters, which get only used in certain functions, by splitting those functions.
At least in the case of checking for oil industry restrictions this makes the check conditions more clear.
2006-05-20 16:46:37 +00:00
peter1138
5a65e3301e (svn r4896) - NewGRF: add support for vehicle property 0x25 (user defined data) used by variable 0x42. 2006-05-17 08:20:36 +00:00
celestar
5c677d49f4 (svn r4639) -Feature: Turkish town names (jnmbk) 2006-05-01 09:25:23 +00:00
belugas
7ab8b20faf (svn r4614) CodeChange : Cleanup of industry_cmd (Step-4).
Removing the _industry_type_costs in favor of IndustrySpec.cost_multiplier;
In order to let industry_gui use the GetIndustrySpec accessor,
some structs had to be moved in industry.h
2006-04-28 21:58:16 +00:00
belugas
6a31b30a20 (svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).
Renaming GetIndustrySpecification to GetIndustrySpec. Looks better.
Removing the _industry_prod_up/down/close_strings
in favor of IndustrySpec.closure/production_up/down_text;
A few reformatting along the way.
Work of tfc_team
2006-04-26 21:10:01 +00:00
belugas
8d622e04f8 (svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
Removing the _industry_min_cargo[] in favor of IndustrySpec.minimal_cargo,
IndustrySpec.a,b,c are now conflicting[], add an enum for IndustrySpec.checkproc
Work of tfc_team
2006-04-26 17:01:27 +00:00
belugas
8443f43d1f (svn r4577) CodeChange : Cleanup of industry_cmd (Step-1).
Add an accessor to _industry_specs array.
Work of tfc_team
2006-04-26 14:58:06 +00:00
belugas
ebf6797678 (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether. 2006-04-24 21:10:56 +00:00
belugas
4f81210980 (svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values 2006-04-24 17:32:09 +00:00