------------------------------------------------------------------------ r4469 | miham | 2006-04-18 17:44:24 +0000 (Tue, 18 Apr 2006) | 8 lines WebTranslator2 update to 2006-04-18 portuguese - 21 strings updated spanish - 50 strings updated german - 35 strings updated italian - 54 strings updated turkish - 52 strings updated polish - 113 strings updated ------------------------------------------------------------------------ r4468 | celestar | 2006-04-18 13:55:11 +0000 (Tue, 18 Apr 2006) | 2 lines -Fix: (FS#45) correct declaration of NORETURN for gcc (egladil) ------------------------------------------------------------------------ r4467 | celestar | 2006-04-18 13:16:00 +0000 (Tue, 18 Apr 2006) | 2 lines -Fix: New plantations now cause the correct ".. being planted .." news item (MeusH) ------------------------------------------------------------------------ r4466 | celestar | 2006-04-18 08:50:17 +0000 (Tue, 18 Apr 2006) | 4 lines -Fix: (FS#71) Game no longer crashes when the last vehicle serving a station has been deleted. -Negative side effect: upon loading old games, stations whose last vehicle was a station have (temporarily) lower ratings. -Positive side effect: station.h no longer includes vehicle.h (breaks the station.h->vehicle.h->rail.h chain) ------------------------------------------------------------------------ r4465 | celestar | 2006-04-18 07:20:37 +0000 (Tue, 18 Apr 2006) | 1 line -Codechange (FS#60): Remove a variable no one really needs. (DaleStan) ------------------------------------------------------------------------ r4464 | celestar | 2006-04-18 06:42:14 +0000 (Tue, 18 Apr 2006) | 1 line -Codechange: Oops, forgot one file in last commit ------------------------------------------------------------------------ r4463 | celestar | 2006-04-18 05:16:13 +0000 (Tue, 18 Apr 2006) | 1 line -Codechange. Include vehicle.h directly instead of implicitly via station.h in a number of source files ------------------------------------------------------------------------ r4462 | peter1138 | 2006-04-17 19:26:18 +0000 (Mon, 17 Apr 2006) | 2 lines - Newstations: ensure the chosen tile layout is available from a custom station ------------------------------------------------------------------------ r4461 | celestar | 2006-04-17 19:09:30 +0000 (Mon, 17 Apr 2006) | 1 line -Codechange: Add and make use of map accessor functions for signal drawing. Includes some basic cleanup of the drawing functions ------------------------------------------------------------------------ r4460 | peter1138 | 2006-04-17 18:47:50 +0000 (Mon, 17 Apr 2006) | 3 lines - Newstations: remove unused class_id / stat_id variables from the Station struct. ------------------------------------------------------------------------ r4459 | peter1138 | 2006-04-17 18:35:44 +0000 (Mon, 17 Apr 2006) | 2 lines - Newstations: check pointer for NULL before using it. ------------------------------------------------------------------------ r4458 | miham | 2006-04-17 17:59:42 +0000 (Mon, 17 Apr 2006) | 1 line [WT2 quickcommit w/o stats] ------------------------------------------------------------------------ r4453 | peter1138 | 2006-04-16 20:24:10 +0000 (Sun, 16 Apr 2006) | 2 lines - NewGRF: fix two compile warnings. ------------------------------------------------------------------------ r4452 | peter1138 | 2006-04-16 18:57:07 +0000 (Sun, 16 Apr 2006) | 2 lines - NewGRF: switch to unsigned ints for array indices. ------------------------------------------------------------------------ r4451 | miham | 2006-04-16 17:48:40 +0000 (Sun, 16 Apr 2006) | 4 lines WebTranslator2 daily commit [dutch] 49 strings fixed by Zr40 [polish] 152 strings fixed by MeusH ------------------------------------------------------------------------ r4450 | peter1138 | 2006-04-16 17:29:37 +0000 (Sun, 16 Apr 2006) | 2 lines - NewStations, rename *CustomStationSprite() to *CustomStationSpecIndex() to reflect their use, and alter the test for determining if a station has customised graphics. ------------------------------------------------------------------------ r4449 | peter1138 | 2006-04-16 17:05:45 +0000 (Sun, 16 Apr 2006) | 3 lines - NewStations, remove parameter to use first custom station when building a railway station. The parameters will be changing. ------------------------------------------------------------------------ r4447 | Darkvater | 2006-04-16 11:33:26 +0000 (Sun, 16 Apr 2006) | 1 line - NewGRF: It seems I committed printing action NOP Action 0x0C which is mainly used for comments. So leave it in, but fix the created warning. Use proper action name for check_length() in Action 0x10 ------------------------------------------------------------------------ r4446 | peter1138 | 2006-04-16 11:26:23 +0000 (Sun, 16 Apr 2006) | 2 lines - Add function to determine if a Sprite ID exists. ------------------------------------------------------------------------ r4445 | bjarni | 2006-04-16 10:26:46 +0000 (Sun, 16 Apr 2006) | 3 lines -Fix: FS#108 Danish name generator bug this was actually not a bug in the generator, but rather it saved/loaded the setting danish as swiss (the previous in the list) ------------------------------------------------------------------------ r4444 | miham | 2006-04-16 10:03:15 +0000 (Sun, 16 Apr 2006) | 1 line [WebTranslator2 commir] Dutch, Polish affected ------------------------------------------------------------------------ r4440 | Darkvater | 2006-04-15 22:16:47 +0000 (Sat, 15 Apr 2006) | 1 line - Fix: Yoyo-effect of rail in desert/snow introduced by r4379. When a special groundtype below the track is encountered in the tileloop, always return even if groundtype hasn't changed. ------------------------------------------------------------------------ r4439 | Darkvater | 2006-04-15 21:27:59 +0000 (Sat, 15 Apr 2006) | 1 line - NewGRF: Add support for Action 0x10. This also required an extra pre-stage (before initialize and activation) to scan the GRF file for GOTO labels. Big thanks for peter1138 for the guidance and answers, as well as parts of the code. ------------------------------------------------------------------------ r4435 | Darkvater | 2006-04-15 20:07:42 +0000 (Sat, 15 Apr 2006) | 1 line - Fix: an assertion triggered when trying to remove a bridge with the remove-tool (r4348 surfaced this). In CmdRemoveRoad tiletype was not checked for ownership. Intorudce IsLevelCrossingTile() which checks if a tile is a crossing without knowing the type. Suggested by peter1138 and Tron. ------------------------------------------------------------------------ r4434 | Darkvater | 2006-04-15 19:52:58 +0000 (Sat, 15 Apr 2006) | 1 line - Codechange: use str_validate for the console as well instead of custom function doing the same. ------------------------------------------------------------------------ r4432 | tron | 2006-04-15 18:57:58 +0000 (Sat, 15 Apr 2006) | 1 line Make use of map access functions ------------------------------------------------------------------------ r4431 | peter1138 | 2006-04-15 16:40:54 +0000 (Sat, 15 Apr 2006) | 2 lines - NewGRF: rename nfo_line to _nfo_line, to avoid confusing Darkvater ;) ------------------------------------------------------------------------ r4430 | Darkvater | 2006-04-15 16:07:00 +0000 (Sat, 15 Apr 2006) | 1 line - NewGRF: Use the bridge's sprite layout for drawing high 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 ------------------------------------------------------------------------ r4429 | Darkvater | 2006-04-15 16:03:45 +0000 (Sat, 15 Apr 2006) | 1 line - CodeChange[newgrf]: Action0, prop 0x0D. use calloc to allocate memory and zero it out and change the loop a little ------------------------------------------------------------------------ r4426 | belugas | 2006-04-15 03:08:14 +0000 (Sat, 15 Apr 2006) | 1 line Code Cleaning : replacing tabs with spaces, removing obvious comments, aligning arrays etc... ------------------------------------------------------------------------ r4425 | belugas | 2006-04-15 01:06:53 +0000 (Sat, 15 Apr 2006) | 3 lines Fix bug introduced in r4411 : while IS_BYTE_INSIDE, max value is STRICKLY LESS THEN. This caused airports animations to stay unanimated. Industries were similarly affected. Thanks to Richk67 for finding it. Also, more Gfx define and use. ------------------------------------------------------------------------ r4424 | miham | 2006-04-14 22:29:34 +0000 (Fri, 14 Apr 2006) | 1 line fixed up polish.txt ------------------------------------------------------------------------ r4420 | miham | 2006-04-14 21:30:15 +0000 (Fri, 14 Apr 2006) | 2 lines [WebTranslator2 manual commit (commitscript is under development)] polish: massive changes by MeusH ------------------------------------------------------------------------ r4416 | tron | 2006-04-14 18:52:08 +0000 (Fri, 14 Apr 2006) | 1 line Remove a pointless buffer copy and use strlcpy() instead of snprintf("%s") ------------------------------------------------------------------------ r4415 | peter1138 | 2006-04-14 16:28:24 +0000 (Fri, 14 Apr 2006) | 4 lines Fix bug introduced in r4384 where drawing a default waypoint for the GUI caused a game crash. This only manifested with some newstations loaded. Thanks to Richk67 for finding this. ------------------------------------------------------------------------ r4414 | peter1138 | 2006-04-14 15:58:38 +0000 (Fri, 14 Apr 2006) | 3 lines - NewGRF: Don't execute sprite replacements (action 0x0A) in the initialization stage. ------------------------------------------------------------------------ r4413 | truelight | 2006-04-14 12:19:51 +0000 (Fri, 14 Apr 2006) | 5 lines -Fix: fixed a bug which pushed the client back to the main menu when a server is in the mainserver-list which sends out illegal signals. Many tnx to 'test' for finding and isolating the problem. -Fix: also specify the problem a bit better ------------------------------------------------------------------------ r4412 | tron | 2006-04-14 10:48:54 +0000 (Fri, 14 Apr 2006) | 1 line When a vehicle is in a depot or tunnel it's always flagged as VS_HIDDEN. So after checking for VS_HIDDEN and the result is false there's no need to check if it's flagged as being in a depot or tunnel ------------------------------------------------------------------------ r4411 | belugas | 2006-04-14 01:54:07 +0000 (Fri, 14 Apr 2006) | 2 lines CodeChange : Define and use some Gfx for both stations and industries. More are still to come Also, a bit of code cleaning, as pointed by Tron ------------------------------------------------------------------------ r4410 | miham | 2006-04-13 17:33:32 +0000 (Thu, 13 Apr 2006) | 5 lines WebTranslator2 daily commit [2006-04-13] [hungarian] 6 strings changed by Miham [french] 21 strings changed by Belugas [polish] 151 strings changed, 8 strings fixed by Meush ------------------------------------------------------------------------ r4408 | miham | 2006-04-12 21:11:28 +0000 (Wed, 12 Apr 2006) | 1 line [Language update by miham] Quick fixed polish.txt ------------------------------------------------------------------------ r4405 | miham | 2006-04-12 20:35:02 +0000 (Wed, 12 Apr 2006) | 3 lines WebTranslator2 automatic commit [french] 1 string has been fixed by Belugas [polish] 36 strings has been fixed, 3 strings has been updated by meush ------------------------------------------------------------------------ r4404 | belugas | 2006-04-12 20:33:01 +0000 (Wed, 12 Apr 2006) | 1 line Reverted part of r4403. GetRailStationAxis need assertion on IsRailwayStation. Thanks glx for spotting it ------------------------------------------------------------------------ r4403 | belugas | 2006-04-12 20:01:52 +0000 (Wed, 12 Apr 2006) | 1 line CodeChange : Add GetStationGfx and make use of [G|S]etStationGfx accessors. Also, use GetStationGfx instead of directly accessing the map for functions in station_map.h ------------------------------------------------------------------------ r4402 | tron | 2006-04-12 19:05:31 +0000 (Wed, 12 Apr 2006) | 1 line Fix a faulty entry in the table for slopes under bridges, remove a now unnecessary test which hid the faulty entry till now and undo r4398 (don't do this!) ------------------------------------------------------------------------ r4399 | belugas | 2006-04-12 18:10:54 +0000 (Wed, 12 Apr 2006) | 1 line CodeChange : Add and make use of [G|S]etIndustryAnimationLoop accessors. ------------------------------------------------------------------------ r4398 | celestar | 2006-04-12 17:58:58 +0000 (Wed, 12 Apr 2006) | 2 lines -Fix: Quick and Dirty solution for FS#116. Just for the nightlies ------------------------------------------------------------------------ r4397 | miham | 2006-04-12 17:53:52 +0000 (Wed, 12 Apr 2006) | 1 line [WT2] Commiting hungarian changes ------------------------------------------------------------------------ r4392 | celestar | 2006-04-12 15:23:32 +0000 (Wed, 12 Apr 2006) | 2 lines -Codechange: Use water map accessors in bridge code ------------------------------------------------------------------------ r4391 | celestar | 2006-04-12 15:21:33 +0000 (Wed, 12 Apr 2006) | 2 lines -Fix: faulty ")" in previous commit ------------------------------------------------------------------------ r4390 | celestar | 2006-04-12 15:08:48 +0000 (Wed, 12 Apr 2006) | 1 line -Codechange: Upon merging elrails, one direct map access to the railtype went unnoticed... ------------------------------------------------------------------------ r4389 | matthijs | 2006-04-12 15:08:27 +0000 (Wed, 12 Apr 2006) | 2 lines -Fix: [NPF] Don't mark tiles when debugging in multiplayer, this will cause desyncs. ------------------------------------------------------------------------ r4387 | celestar | 2006-04-12 14:17:07 +0000 (Wed, 12 Apr 2006) | 3 lines -Codechange: Use map accessors even for debugging purposes (npf). -Codechange: Removed unused code from NPF ------------------------------------------------------------------------ r4386 | celestar | 2006-04-12 13:25:32 +0000 (Wed, 12 Apr 2006) | 1 line -Codechange: Add and make use of IsCustomWaypoint ------------------------------------------------------------------------ r4385 | celestar | 2006-04-12 12:58:53 +0000 (Wed, 12 Apr 2006) | 2 lines -Codechange: remove map5 from the TileInfo struct as it is now unused. This effort is starting to pay off ... ------------------------------------------------------------------------ r4384 | celestar | 2006-04-12 12:50:40 +0000 (Wed, 12 Apr 2006) | 5 lines -Codechange: rail drawing code -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 ------------------------------------------------------------------------ r4383 | peter1138 | 2006-04-12 12:33:21 +0000 (Wed, 12 Apr 2006) | 2 lines - Codechange: Remove extraneous code from 4354; no need to get RailTypeInfo when we already have it... ------------------------------------------------------------------------ r4382 | celestar | 2006-04-12 12:24:39 +0000 (Wed, 12 Apr 2006) | 1 line -Codechange: Make use of SetSignalType where appropriate ------------------------------------------------------------------------ r4381 | celestar | 2006-04-12 12:22:43 +0000 (Wed, 12 Apr 2006) | 1 line -Codechange: Forgot an occurence for rail ground types ------------------------------------------------------------------------ r4380 | celestar | 2006-04-12 12:12:51 +0000 (Wed, 12 Apr 2006) | 1 line -Codechange: Make use of GetTrackBits where appropriate ------------------------------------------------------------------------ r4379 | celestar | 2006-04-12 11:58:07 +0000 (Wed, 12 Apr 2006) | 1 line -Codechange: Add and make use of map accessor functions concerning rail ground types ------------------------------------------------------------------------ r4378 | celestar | 2006-04-12 09:36:27 +0000 (Wed, 12 Apr 2006) | 1 line -Add and make use of an accessor function two-way => one-way => one-way => two-way signal cycling ------------------------------------------------------------------------ r4377 | celestar | 2006-04-12 09:12:33 +0000 (Wed, 12 Apr 2006) | 1 line -Add and make use of a function that finds out whether a signal is an entry or and exit signal to a presignal block (as combos act as both) ------------------------------------------------------------------------ r4376 | celestar | 2006-04-12 08:28:03 +0000 (Wed, 12 Apr 2006) | 1 line -Codechange Renamed GetSignalState to GetSignalStateByTrackdir ------------------------------------------------------------------------ r4375 | celestar | 2006-04-12 08:06:08 +0000 (Wed, 12 Apr 2006) | 1 line -Codechange: Move the signal drawing bit to an own function and rename DrawSignalHelper to DrawSingleSignal ------------------------------------------------------------------------ r4374 | tron | 2006-04-12 05:26:36 +0000 (Wed, 12 Apr 2006) | 1 line Never directly commit something you prepared the evening before, mysteriously it will break in the morning, fix r4373 ------------------------------------------------------------------------ r4373 | tron | 2006-04-12 05:19:19 +0000 (Wed, 12 Apr 2006) | 5 lines Rewrite GetSlopeZ_TunnelBridge() and slightly change its behavior: - Report the correct z alongside the ramp when a foundation is present - Always report the z under the bridge for a bridge middle part, except if the z hack is used This should fix some weird behavior of the tile selector near bridges ------------------------------------------------------------------------ r4368 | belugas | 2006-04-11 22:15:57 +0000 (Tue, 11 Apr 2006) | 1 line Revert clear_map.h changes in r4367.Error of manipulation ------------------------------------------------------------------------ r4367 | belugas | 2006-04-11 22:09:21 +0000 (Tue, 11 Apr 2006) | 1 line CodeChange : Remove another direct map access in station_cmd.c. Replace an array of TileIndexDiffC by a use of loop with TileDiffXY. Thanks to Rubidium ------------------------------------------------------------------------ r4365 | miham | 2006-04-11 20:56:03 +0000 (Tue, 11 Apr 2006) | 1 line Oops, sorry, reverted accidentally committed french.txt ------------------------------------------------------------------------ r4364 | miham | 2006-04-11 20:54:47 +0000 (Tue, 11 Apr 2006) | 1 line [Translator2] Fixed generation of langfiles, committing hungarian changes done by miham ------------------------------------------------------------------------ r4363 | miham | 2006-04-11 20:04:36 +0000 (Tue, 11 Apr 2006) | 1 line [WT2] Reverted changes, sorry ------------------------------------------------------------------------ r4362 | miham | 2006-04-11 20:00:38 +0000 (Tue, 11 Apr 2006) | 1 line [Translator2] Commit for hungarian language by Miham (manual) ------------------------------------------------------------------------