Commit Graph

192 Commits (76736281616fdac9f2017f9054b5b5ca6d26bb9c)

Author SHA1 Message Date
peter1138 e10ba5fdc5 (svn r7057) -Codechange: Remove hardcoded lists of road vehicles for each cargo type in favour of just checking the cargo type of each vehicle. 18 years ago
tron 9463052e9f (svn r7013) Add glyphs for the interpunct. This is mainly useful for the catalan translation 18 years ago
belugas 6e92606428 (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
18 years ago
belugas 2cdb58d906 (svn r6965) -CodeChange : Add a climate bitmask member to IndutrySpec.
Removed a loop that used the array _build_industry_types for that purpose.
18 years ago
belugas c4ac95efa8 (svn r6930) -Codechange: Move industry name into IndustrySpec
-Codechange: member color_map is more related to random color, rename it as such
18 years ago
Darkvater 13df23c586 (svn r6924) -Codechange: Give the last (in the widget arrays at least) sprites meaningful names. 18 years ago
Darkvater 2d9fa602d1 (svn r6923) -Codechange: Load nsignalsw.grf in the same way as other mandatory additional grfs 18 years ago
Darkvater bf4c0b6f51 (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.
18 years ago
peter1138 158bbdb440 (svn r6921) - PEBKAC: Add an MD5 sum check of our own data files, and warn if they don't match. 18 years ago
belugas a3f0d65a99 (svn r6904) -CodeChange : Cleanup of industry_cmd (Step-5).
Add member life_type to IndustrySpec and remove the now useless _industry_close_mode array
18 years ago
peter1138 f47a13dfa7 (svn r6781) - Fix (r5926): Some house introduction dates were incorrectly adjusted in the move to 32bit dates. 18 years ago
Darkvater 1ae7f10077 (svn r6717) -Codechange: move OPENTTD_SPRITES_COUNT into table/sprites.h to use it from there. 18 years ago
bjarni 402e73b277 (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
18 years ago
rubidium 03d3d5677f (svn r6465) -Fix: change some instances of '/* $Id */' to '/* $Id$ */', so SVN can do what is was supposed to do.. 18 years ago
rubidium 21ac20aeca (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
-Cleanup: whitespace alignment of a few tables.
18 years ago
Darkvater 5cd58a448d (svn r6367) -Codechange: Speed up the animated cursors a bit so they move once in a while
at least.
18 years ago
tron f1a9bda2d5 (svn r6255) Simplify drawing of catenary in depots 18 years ago
bjarni 7ea68d68a6 (svn r6220) -Fix: added missing space in a string for Catalan town names (Arnau) 18 years ago
rubidium 86dc219b4b (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc. 18 years ago
rubidium 908d3bcfe6 (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. 18 years ago
rubidium b7a3352009 (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.
18 years ago
bjarni 5787ae7ed9 (svn r5965) -Feature: FS#261 Catalan Town Names generator (arnau) 18 years ago
rubidium e87e065e41 (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
18 years ago
tron d577209761 (svn r5864) -Feature: Also allow horizontal and vertical rails on steep slopes 18 years ago
tron 0403405d5d (svn r5833) -Feature: Allow building of (certain) rails, roads and bridge ramps on steep sloped tiles 18 years ago
peter1138 53d2650d9b (svn r5819) - NewGRF: add support for refit costs specified in NewGRF. This may affect the default refit costs for the default rail vehicles. 18 years ago
tron d69f80fa29 (svn r5796) Use DrawTileSprites/DrawTileSeqStruct for road depot drawing data, too 18 years ago
belugas e6ffc4c647 (svn r5785) Fix(5771) : Silenced a warning in MSVC that prevented from compiling. 18 years ago
tron 24ae7a2241 (svn r5771) Unify several code paths and data structures for drawing train depots and waypoints 18 years ago
tron ed26c5e14c (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
18 years ago
belugas ea8e05320c (svn r5504) Feature : Added Italian town name generator. (sidew) 18 years ago
richk acc2c79461 (svn r5385) - Fix: Corrected new helipad layering so helicopters go over the H, not through it! ;) Thanks to mart3p for spotting this. 18 years ago
richk 5f29205e94 (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. 18 years ago
richk 5d2bff0b78 (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.
18 years ago
tron 44829a401c (svn r5262) Add symbolic names for the aircraft subtypes. not perfect, but better than raw numbers 18 years ago
peter1138 6e064cc642 (svn r5201) - NewGRF: add loading of default refit costs. This information is not yet used 18 years ago
tron 7fd88e5798 (svn r5155) - Remove the bridge branch merge (revision r5070) 18 years ago
tron 020721565a (svn r5136) Fix various style bugs:
- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
18 years ago
peter1138 20cdd71c9f (svn r5105) - NewGRF: Move callbackmask from *VehicleInfo to EngineInfo. This simplifies code that works with more than one vehicle type. 18 years ago
celestar b618b75c9b (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.
18 years ago
celestar f227b9b77c (svn r5055) -Fix: Correct some errors in the bridge sprite numbers 18 years ago
tron d508e76ada (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.
18 years ago
peter1138 7fb02749ac (svn r4896) - NewGRF: add support for vehicle property 0x25 (user defined data) used by variable 0x42. 18 years ago
celestar d76279144d (svn r4639) -Feature: Turkish town names (jnmbk) 18 years ago
belugas 910825b1d5 (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
18 years ago
belugas 4cd5c56e84 (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
18 years ago
belugas dbb73b9c98 (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
18 years ago
belugas 5ea5ceaab4 (svn r4577) CodeChange : Cleanup of industry_cmd (Step-1).
Add an accessor to _industry_specs array.
Work of tfc_team
18 years ago
belugas 31c0641bd3 (svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether. 18 years ago
belugas 50029ac60a (svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values 18 years ago