summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-04-03(svn r4252) -Codechange: Make more use of map accessors. water_cmd is now ↵celestar
map access free
2006-04-03(svn r4251) -Fix: Silence a warning in GetWaterTileTypecelestar
2006-04-03(svn r4250) -Codechange: Further use of map accessors for water tilescelestar
2006-04-03(svn r4249) -Codechange: Replace more occurences of 16 by TILE_SIZE and of 8 ↵celestar
by TILE_HEIGHT. Reverted one change from the previous commit because it was faulty
2006-04-03(svn r4246) -Codechange. Replaced about 100 occurences of '16' by TILE_SIZEcelestar
2006-04-02(svn r4245) Simplify FindLengthOfTunnel()tron
2006-04-02(svn r4243) Unbreak compilationtron
2006-04-02(svn r4242) Pass TileIndex and slope to GetSlopeTileh_*() instead of TileInfotron
2006-04-02(svn r4241) - Fix: Perform validation on the error number that a server ↵peter1138
receives from a client. An invalid value may cause the server to terminate.
2006-04-02(svn r4231) Remove ModifyTile(), it's not used anymore, yay!tron
2006-04-02(svn r4230) The road is asked for, not the rail. Undo part of r4164. ↵tron
(Pointed out by peter1138)
2006-04-01(svn r4229) [elrail & autoreplace] Always show compatible rail vehicles in ↵peter1138
the left list, and only the selected rail type in the right list, to allow converting electric engines to non-electric.
2006-04-01(svn r4228) -Fix: [autoreplace] allow replacement of wagons even when the ↵bjarni
engine fails to be replaced
2006-04-01(svn r4227) - Fix: Wagon replace nows checks if the cargo types are the same ↵peter1138
before seeing if it can refit.
2006-04-01(svn r4226) -Fix: [elrails] it's no longer possible to build electric ↵bjarni
engines in non-electric depots this prevents autoreplace to replace to electric engines before the line in question got catenary
2006-04-01(svn r4223) Correction of VC6 project file.belugas
2006-03-31(svn r4220) - Fix (r4219): of course iconv is enabled on >= 10.3 not >; ↵Darkvater
fixed comment (thanks Bjarni)
2006-03-31(svn r4219) - Add support for WITH_ICONV. It is enabled by default for OSX > ↵Darkvater
10.3 for all others set it with WITH_ICONV in Makefile.config or with --with-iconv with configure. --with-config=/somedir will search for iconv include files somewhere (or in Makefile.config with WITH_ICONV_PATH). Custom library loading is not (yet) supported
2006-03-31(svn r4218) - Codechange: Try to make the rdtsc() not present warning ↵Darkvater
message a bit more clear
2006-03-31(svn r4217) Replace SDL-CONFIG and LIBPNG-CONFIG with SDL_CONFIG and ↵peter1138
LIBPNG_CONFIG
2006-03-31(svn r4216) -Fix: Fixed revision 4214, did a bad error there. Thanks MiHaMiX ↵celestar
for pointing it out
2006-03-31(svn r4215) -Codechange: Renamed *RoadStation* functions to *RoadStop* and ↵celestar
moved them to station_map.h to keep consistency
2006-03-31(svn r4214) -Fix: Do not try to obtain Trackbits for normal rails, bus ↵celestar
stops, airports and other non-rail tiles
2006-03-31(svn r4212) -Codechange: Add and make use of an accessor that retrieves the ↵celestar
type of a water tile. Add an enum describing the different water tiles
2006-03-31(svn r4211) - Removed measuring units from the names of two strings.peter1138
- Use {POWER} and {WEIGHT_S} tags for all strings instead of "{COMMA}units".
2006-03-31(svn r4210) - Use new {WEIGHT} string tag for all cargo quantity strings.peter1138
2006-03-31(svn r4209) Remove unused stringspeter1138
2006-03-31(svn r4208) - Update OS/2 readme on trunk, sorry for all the commits!orudge
2006-03-31(svn r4206) - Add bridge_map.h and unmovable_map.h to MS VS project filepeter1138
2006-03-31(svn r4205) Whoops, forgot to add os_timer.c to projectorudge
2006-03-31(svn r4204) - Get trunk compiling again on OS/2orudge
2006-03-31(svn r4203) - Fix compilation on mingw32 (stdint.h not included)orudge
2006-03-31(svn r4201) - Codechange: Do for _engine_info[] what we do for ↵peter1138
_*_vehicle_info[]; create and use a function to retrieve data, and ensure constness.
2006-03-31(svn r4200) -Codechange: Make use of water map accessors when getting the ↵celestar
Index of a Ship Depot. TODO: Store the depot index in the map
2006-03-31(svn r4199) - Codechange: Use industry map accessors to get industry ↵peter1138
graphics type.
2006-03-31(svn r4198) - NewGRF: Rename GetCallBackResult() to GetVehicleCallback(), as ↵peter1138
other types will exist later, and use separate parameters instead of bitshifting.
2006-03-31(svn r4197) reentered STATIC_ZLIB_PATH (removed in 4183) since it turned out ↵bjarni
that it's used after all
2006-03-31(svn r4196) -Codechange: Add and make use of an accessor that modifies the ↵celestar
size of the Company HQ
2006-03-31(svn r4195) - Codechange: Initialize order variables to avoid a compiler ↵peter1138
warning. These are unused anyway... (smells of r3476-7, but not the same)
2006-03-31(svn r4194) -Codechange: Renamed UpdatePlayerHouse to UpdateCompanyHQ ↵celestar
because the rest of the code calls it Comapany HQ. Moved it to unmovable_cmd.c because CompanyHQ is an unmovable and has nothing to do with economy.
2006-03-31(svn r4193) -Codechange: Add and make use of an accessor function to create ↵celestar
company HQs
2006-03-31(svn r4192) - Fix: In the depot, moving wagons from the end of a very long ↵peter1138
train to a short train where the short train was scrolled off the window would cause a game crash. (Thanks to SimonRC for reporting.)
2006-03-31(svn r4191) - Codechange: Properly set newlines and id for os_timer.cDarkvater
2006-03-31(svn r4190) -Codechange: Add and make use of an accessor function to create ↵celestar
houses
2006-03-31(svn r4187) Simplify the code for building/removing a piece of road a bittron
2006-03-30(svn r4183) -Codechange: [Makefile]: removed MANUAL_CONFIG as it's not used ↵bjarni
anymore This should hopefully fix the issue where WITH_SDL can be defined while SDL-CONFIG is not Added an error if WITH_SDL is defined but SDL-CONFIG is not. The same goes for WITH_PNG even though nobody reported this as a problem removed STATIC_ZLIB_PATH as it turns out that nobody used it
2006-03-30(svn r4181) CodeChange : Replaced [G/S]etMapExtraBits by [G/S]etTropicZone. ↵belugas
Although it was an accessor, nor his usage nor the values were clear.
2006-03-30(svn r4180) -Fix: Fixed an assert in the elrail drawing code due to passing ↵celestar
of a wrong variable. I wish the compiler would warn about different enum types used...
2006-03-30(svn r4179) -Codechange: Add and make use of an accessor that obtains the ↵celestar
building type
2006-03-30(svn r4178) -Fix: Draw catenary inside waypoints as wellcelestar