summaryrefslogtreecommitdiff
path: root/table
AgeCommit message (Collapse)Author
2006-05-20(svn r4920) Remove parameters, which get only used in certain functions, by ↵tron
splitting those functions. At least in the case of checking for oil industry restrictions this makes the check conditions more clear.
2006-05-17(svn r4896) - NewGRF: add support for vehicle property 0x25 (user defined ↵peter1138
data) used by variable 0x42.
2006-05-01(svn r4639) -Feature: Turkish town names (jnmbk)celestar
2006-04-28(svn r4614) CodeChange : Cleanup of industry_cmd (Step-4).belugas
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-26(svn r4584) CodeChange : Cleanup of industry_cmd (Step-3).belugas
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(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).belugas
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(svn r4577) CodeChange : Cleanup of industry_cmd (Step-1).belugas
Add an accessor to _industry_specs array. Work of tfc_team
2006-04-24(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures ↵belugas
toguether.
2006-04-24(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_valuesbelugas
2006-04-22(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.belugas
2006-04-15(svn r4430) - NewGRF: Use the bridge's sprite layout for drawing high ↵Darkvater
pillars. This fixes newgrf's high-bridge pillars drawing. Also remove the now obsolete _bridge_poles_table which was already integrated into the bridge sprite tables
2006-04-12(svn r4384) -Codechange: rail drawing codecelestar
-Added a function to obtain the axis of a waypoint -Moved the waypoint layout tables from the depot layout tables into an own one -Use GetRailTileSubtype
2006-04-10(svn r4345) -Codechange: Similar to airport tiles, rename _industry_map5_ ↵celestar
arrays to _industry_sections
2006-04-05(svn r4283) -Cleanup: More elrail housekeeping, remove code dublication, ↵celestar
more meaningful variable names, simplify control flow..
2006-04-05(svn r4282) -Cleanup: Re-arranged the ignore groups into a more readable ↵celestar
arrangement
2006-04-05(svn r4281) -Cleanup: Begun cleaning up elrail code a bit, mostly comments ↵celestar
and enum/array alignment
2006-04-04(svn r4278) -Fix: changed char to uint8 because signedness of char is ↵celestar
undefined. Thanks to KUDr and Tron for research and stuff. (FS#98)
2006-03-29(svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of ↵celestar
code and proofreading, thanks to peter1138 for another lot of code and ideas.
2006-03-24(svn r4092) CodeChange : Named sprites instead of magic numbers plus ↵belugas
create/use helper macro/enum for recoloring scheme
2006-03-21(svn r4004) -CodeChange : Renaming sprites and functionsbelugas
2006-03-20(svn r3991) -Fix : Last remaining separation of SpriteID from Palettebelugas
2006-03-19(svn r3982) Fix last commit. I got confused by some strange test, which did ↵tron
nothing
2006-03-15(svn r3889) Change a part of the bridge drawing code to make it more ↵tron
comprehensible and add the needed accessors
2006-03-01(svn r3717) - [2cc] Add 2cc colour maps and use for newgrf engines requiring ↵peter1138
them. Currently the second colour is fixed to be the player's colour.
2006-03-01(svn r3707) -Fix: made the generated Finnish town names sound more Finnish (ln-)bjarni
note: <ln-> Bjarni: please go ahead and commit it, i'll take the responsibility if something should go wrong.
2006-02-28(svn r3685) Include a file missed from r3684...peter1138
2006-02-13(svn r3602) - Move _railveh_score data to _rail_vehicle_info->ai_rank and ↵peter1138
remove global variable to return data as we can now access this directly.
2006-02-11(svn r3586) - NewGRF: Load callback masks for all vehicle types.peter1138
2006-02-06(svn r3564) Several smaller changes:tron
- Don't treat non-booleans as booleans - Reduce variable scope - Bracing - Use DeMorgan's law to make conditionals easier to read - if cascade -> switch - Replace some magic numbers by symbolic names - Avoid assignments within other statements
2006-02-03(svn r3523) Undefine helper macros after using thempeter1138
2006-02-03(svn r3522) - Wrap the vehicle info tables with a macro to simplify adding ↵peter1138
new fields in the future.
2006-02-01(svn r3510) Fiddle with whitespace and parenthesestron
2006-01-28(svn r3464) - Fix: restate some of the sprites in their old spaces. Was ↵Darkvater
missed out because the patch was so huge. Thanks to Tron for pointing out the command of diff to ignore whitespace-only changes (--diff-cmd diff -x -ub)
2006-01-26(svn r3447) - CodeChange: [ 1360866 ] station_land.h Naming ALL sprites. ↵Darkvater
Also replaced the SPTR_STATUE_GROUND by the more obvious SPR_CONCRETE_GROUND in unmovable_cmd.c. No functional changes except for commenting out PALETTE_RECOLOR_SPRITE in table/sprites.h. (Belugas)
2006-01-07(svn r3388) - NewGRF: Allow train running cost class to differ from engine ↵peter1138
class. Also fix typo in r3384.
2005-12-18(svn r3314) Add 2 times statictron
2005-12-14(svn r3297) Staticisetron
2005-12-11(svn r3289) 32 times statictron
2005-12-02(svn r3254) - Fix: graphical glitch with autorail tool on a certain tile-type.Darkvater
- CodeChange: adhere the global variables in autorail.h to the coding style (eg. start with underscore).
2005-11-16(svn r3196) Use structs instead of magic offsets into arraystron
2005-11-16(svn r3195) Use bitfields instead of explicit shifting/maskingtron
2005-11-14(svn r3181) -Bracingtron
-Indentation -Whitespace -DeMorgan's Law -Test with NULL or 0 for non-booleans -'\0' instead of 0 for chars -Remove redundantly redundant comments (like DoFoo(); // Do foo) -Join multiple short lines with a single statement -Split single lines with multiple statements -Avoid assignments in if
2005-11-06(svn r3148) -NewGRF, Feature: Add support for cargo refitting specification ↵peter1138
by cargo classes.
2005-11-04(svn r3135) Use symbolic names in the tables, which hold the information ↵tron
about accepted goods of industry tiles, instead of magic numbers
2005-11-03(svn r3125) Symbolic names for skiping sprites and the end of the sprite listtron
2005-11-02(svn r3118) Name 3 palette modifiers properly (belugas)tron
2005-11-01(svn r3114) Close two gaps in the sprite array when loading openttd.grf. ↵tron
That's seven more free sprite slots, yay!
2005-10-31(svn r3108) Confine the use of SPR_OPENTTD_BASE to table/sprites.h by ↵tron
adding/using some sprite enums
2005-10-29(svn r3102) - Fix (regression): Newly added sprite had problems when ↵Darkvater
newgrf's where loaded. Thanks Tron for explaining what the problem was and how it should be solved.
2005-10-28(svn r3096) - Feature: 'HOME' icon to saveload dialogs that jumps to the ↵Darkvater
default save/load directory based on the dialog (added icon to openttd.grf, introduced FIOS_TYPE_DIRECT that allows arbitrary directory jumping). - Fix: on Win32 capitalize the drive-letter in the saveload dialog windows when it is first opened.