1
0
Fork 0

Commit Graph

  • 9ed8c6d4ac (svn r4483) - NewGRF: Dynamically allocate memory for 'real' spritegroups. This removes the limit of 16 loading/unloading states, although will result in less memory usage as most of the time the full fixed allocation wasn't used. peter1138 2006-04-20 13:33:40 +0000
  • 62145d16b5 (svn r4482) WebTranslator2 update to 2006-04-20 10:29:39 german - 2 fixed, 22 changed by moewe2 (22), Neonox (2) italian - 76 changed by sidew (76) norwegian - 38 fixed by oletk (38) polish - 3 fixed, 10 changed by meush (13) slovenian - 84 fixed, 1 deleted, 45 changed by christooss (130) miham 2006-04-20 08:33:42 +0000
  • 3786527e6b (svn r4481) - Fix: Validate the given sprite ID when loading a sprite. peter1138 2006-04-20 05:57:47 +0000
  • ccdf322799 (svn r4479) -Fix (FS#90) electric engines (or rather their pantographs) no longer emit sparks when engine is pulled on convrail (MeusH) celestar 2006-04-19 16:10:17 +0000
  • 1b1e519b76 (svn r4478) -Fix (FS#107) In the cheat menu, don't hard-code the player icon, but compute its position from the length of the string. celestar 2006-04-19 16:02:07 +0000
  • 0c889ec8c6 (svn r4474) - NewGRF: Skip non-fatal errors when not in stage 2. peter1138 2006-04-19 07:50:16 +0000
  • de84d6338d (svn r4473) - Newstations: - Alter parameters of CMD_BUILD_RAILROAD_STATION to accept a custom station class and id. - Add a dynamically allocated list of custom stations that the SpecIndex (m4) references. peter1138 2006-04-19 07:17:00 +0000
  • 225f7dcb62 (svn r4472) WebTranslator2 commit2 system precheck failed, fix in progress miham 2006-04-18 21:17:54 +0000
  • ae7ec5cd0d (svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up. peter1138 2006-04-18 18:48:50 +0000
  • 24ef4ce560 (svn r4470) -Fix: FS#97 — Possible bug in Win64 versions (by michi_cc) Doesn't fix any known bug, but the code is now bit cleaner. The proper result of subtraction of two pointers is ptrdiff_t. KUDr 2006-04-18 18:02:52 +0000
  • 537e4dba9c (svn r4469) 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 miham 2006-04-18 17:44:24 +0000
  • 35a21d80fc (svn r4468) -Fix: (FS#45) correct declaration of NORETURN for gcc (egladil) celestar 2006-04-18 13:55:11 +0000
  • 4287cfb640 (svn r4467) -Fix: New plantations now cause the correct ".. being planted .." news item (MeusH) celestar 2006-04-18 13:16:00 +0000
  • e75e4e8f74 (svn r4466) -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) celestar 2006-04-18 08:50:17 +0000
  • 62f7907d3a (svn r4465) -Codechange (FS#60): Remove a variable no one really needs. (DaleStan) celestar 2006-04-18 07:20:37 +0000
  • e7edba56fb (svn r4464) -Codechange: Oops, forgot one file in last commit celestar 2006-04-18 06:42:14 +0000
  • 22f82bba2e (svn r4463) -Codechange. Include vehicle.h directly instead of implicitly via station.h in a number of source files celestar 2006-04-18 05:16:13 +0000
  • 8d0e07378a (svn r4462) - Newstations: ensure the chosen tile layout is available from a custom station peter1138 2006-04-17 19:26:18 +0000
  • 6935fb6455 (svn r4461) -Codechange: Add and make use of map accessor functions for signal drawing. Includes some basic cleanup of the drawing functions celestar 2006-04-17 19:09:30 +0000
  • 3b6cbf62d4 (svn r4460) - Newstations: remove unused class_id / stat_id variables from the Station struct. peter1138 2006-04-17 18:47:50 +0000
  • 71b530dfe2 (svn r4459) - Newstations: check pointer for NULL before using it. peter1138 2006-04-17 18:35:44 +0000
  • 3a06cbf195 (svn r4458) [WT2 quickcommit w/o stats] miham 2006-04-17 17:59:42 +0000
  • e3cd311d35 (svn r4453) - NewGRF: fix two compile warnings. peter1138 2006-04-16 20:24:10 +0000
  • 2766728629 (svn r4452) - NewGRF: switch to unsigned ints for array indices. peter1138 2006-04-16 18:57:07 +0000
  • b59221406b (svn r4451) WebTranslator2 daily commit [dutch] 49 strings fixed by Zr40 [polish] 152 strings fixed by MeusH miham 2006-04-16 17:48:40 +0000
  • 857b8b045b (svn r4450) - NewStations, rename *CustomStationSprite() to *CustomStationSpecIndex() to reflect their use, and alter the test for determining if a station has customised graphics. peter1138 2006-04-16 17:29:37 +0000
  • a337809198 (svn r4449) - NewStations, remove parameter to use first custom station when building a railway station. The parameters will be changing. peter1138 2006-04-16 17:05:45 +0000
  • b5bbc23b2c (svn r4447) - 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 Darkvater 2006-04-16 11:33:26 +0000
  • 4db1144b6d (svn r4446) - Add function to determine if a Sprite ID exists. peter1138 2006-04-16 11:26:23 +0000
  • 60d123c0fa (svn r4445) -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) bjarni 2006-04-16 10:26:46 +0000
  • 32df4884be (svn r4444) [WebTranslator2 commir] Dutch, Polish affected miham 2006-04-16 10:03:15 +0000
  • 7456c6e6ed (svn r4440) - 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. Darkvater 2006-04-15 22:16:47 +0000
  • 12770adba6 (svn r4439) - 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. Darkvater 2006-04-15 21:27:59 +0000
  • d63fad7a7b (svn r4435) - 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. Darkvater 2006-04-15 20:07:42 +0000
  • f69fcf400e (svn r4434) - Codechange: use str_validate for the console as well instead of custom function doing the same. Darkvater 2006-04-15 19:52:58 +0000
  • be4293098a (svn r4432) Make use of map access functions tron 2006-04-15 18:57:58 +0000
  • 3e8423f5d8 (svn r4431) - NewGRF: rename nfo_line to _nfo_line, to avoid confusing Darkvater ;) peter1138 2006-04-15 16:40:54 +0000
  • e21b7eebfa (svn r4430) - 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 Darkvater 2006-04-15 16:07:00 +0000
  • 5c9acdb182 (svn r4429) - CodeChange[newgrf]: Action0, prop 0x0D. use calloc to allocate memory and zero it out and change the loop a little Darkvater 2006-04-15 16:03:45 +0000
  • 88e0bab283 (svn r4426) Code Cleaning : replacing tabs with spaces, removing obvious comments, aligning arrays etc... belugas 2006-04-15 03:08:14 +0000
  • ea706f8ead (svn r4425) 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. belugas 2006-04-15 01:06:53 +0000
  • 504f88902e (svn r4424) fixed up polish.txt miham 2006-04-14 22:29:34 +0000
  • ef4eb0f82a (svn r4420) [WebTranslator2 manual commit (commitscript is under development)] polish: massive changes by MeusH miham 2006-04-14 21:30:15 +0000
  • c9580160b2 (svn r4416) Remove a pointless buffer copy and use strlcpy() instead of snprintf("%s") tron 2006-04-14 18:52:08 +0000
  • 4118b66322 (svn r4415) 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. peter1138 2006-04-14 16:28:24 +0000
  • 1a1148c247 (svn r4414) - NewGRF: Don't execute sprite replacements (action 0x0A) in the initialization stage. peter1138 2006-04-14 15:58:38 +0000
  • 4a4b860ee7 (svn r4413) -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 truelight 2006-04-14 12:19:51 +0000
  • 060d5143ef (svn r4412) 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 tron 2006-04-14 10:48:54 +0000
  • e84d878213 (svn r4411) 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 belugas 2006-04-14 01:54:07 +0000
  • 8bff288817 (svn r4410) 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 miham 2006-04-13 17:33:32 +0000
  • a90c127dc6 (svn r4408) [Language update by miham] Quick fixed polish.txt miham 2006-04-12 21:11:28 +0000
  • 434642e817 (svn r4405) WebTranslator2 automatic commit [french] 1 string has been fixed by Belugas [polish] 36 strings has been fixed, 3 strings has been updated by meush miham 2006-04-12 20:35:02 +0000
  • 26f7c1c764 (svn r4404) Reverted part of r4403. GetRailStationAxis need assertion on IsRailwayStation. Thanks glx for spotting it belugas 2006-04-12 20:33:01 +0000
  • b505564ee7 (svn r4403) 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 belugas 2006-04-12 20:01:52 +0000
  • c26601eabd (svn r4402) 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!) tron 2006-04-12 19:05:31 +0000
  • 0a9d5f051f (svn r4399) CodeChange : Add and make use of [G|S]etIndustryAnimationLoop accessors. belugas 2006-04-12 18:10:54 +0000
  • a588d816ff (svn r4398) -Fix: Quick and Dirty solution for FS#116. Just for the nightlies celestar 2006-04-12 17:58:58 +0000
  • b76a4cdfa6 (svn r4397) [WT2] Commiting hungarian changes miham 2006-04-12 17:53:52 +0000
  • 5c3c4d190e (svn r4392) -Codechange: Use water map accessors in bridge code celestar 2006-04-12 15:23:32 +0000
  • 75f978626a (svn r4391) -Fix: faulty ")" in previous commit celestar 2006-04-12 15:21:33 +0000
  • 17da0bb976 (svn r4390) -Codechange: Upon merging elrails, one direct map access to the railtype went unnoticed... celestar 2006-04-12 15:08:48 +0000
  • b91f2e4234 (svn r4389) -Fix: [NPF] Don't mark tiles when debugging in multiplayer, this will cause desyncs. matthijs 2006-04-12 15:08:27 +0000
  • 3c13420b82 (svn r4387) -Codechange: Use map accessors even for debugging purposes (npf). -Codechange: Removed unused code from NPF celestar 2006-04-12 14:17:07 +0000
  • b03bd97b47 (svn r4386) -Codechange: Add and make use of IsCustomWaypoint celestar 2006-04-12 13:25:32 +0000
  • 5d94951496 (svn r4385) -Codechange: remove map5 from the TileInfo struct as it is now unused. This effort is starting to pay off ... celestar 2006-04-12 12:58:53 +0000
  • bdcb4bbf1d (svn r4384) -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 celestar 2006-04-12 12:50:40 +0000
  • f733f94677 (svn r4383) - Codechange: Remove extraneous code from 4354; no need to get RailTypeInfo when we already have it... peter1138 2006-04-12 12:33:21 +0000
  • 5b33383f65 (svn r4382) -Codechange: Make use of SetSignalType where appropriate celestar 2006-04-12 12:24:39 +0000
  • 0b16a2d41b (svn r4381) -Codechange: Forgot an occurence for rail ground types celestar 2006-04-12 12:22:43 +0000
  • c08ed855f3 (svn r4380) -Codechange: Make use of GetTrackBits where appropriate celestar 2006-04-12 12:12:51 +0000
  • ee7eaef29d (svn r4379) -Codechange: Add and make use of map accessor functions concerning rail ground types celestar 2006-04-12 11:58:07 +0000
  • 923a0e60d6 (svn r4378) -Add and make use of an accessor function two-way => one-way => one-way => two-way signal cycling celestar 2006-04-12 09:36:27 +0000
  • 5ae9a03a1f (svn r4377) -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) celestar 2006-04-12 09:12:33 +0000
  • e79c36bf8c (svn r4376) -Codechange Renamed GetSignalState to GetSignalStateByTrackdir celestar 2006-04-12 08:28:03 +0000
  • a8d4285ec2 (svn r4375) -Codechange: Move the signal drawing bit to an own function and rename DrawSignalHelper to DrawSingleSignal celestar 2006-04-12 08:06:08 +0000
  • 4615a26552 (svn r4374) Never directly commit something you prepared the evening before, mysteriously it will break in the morning, fix r4373 tron 2006-04-12 05:26:36 +0000
  • 82afa4caf2 (svn r4373) 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 tron 2006-04-12 05:19:19 +0000
  • 39ebdae045 (svn r4368) Revert clear_map.h changes in r4367.Error of manipulation belugas 2006-04-11 22:15:57 +0000
  • 88440522fe (svn r4367) 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 belugas 2006-04-11 22:09:21 +0000
  • 9ccb373edb (svn r4365) Oops, sorry, reverted accidentally committed french.txt miham 2006-04-11 20:56:03 +0000
  • 02ad8f0445 (svn r4364) [Translator2] Fixed generation of langfiles, committing hungarian changes done by miham miham 2006-04-11 20:54:47 +0000
  • af884a0581 (svn r4363) [WT2] Reverted changes, sorry miham 2006-04-11 20:04:36 +0000
  • 6c38d8e75a (svn r4362) [Translator2] Commit for hungarian language by Miham (manual) miham 2006-04-11 20:00:38 +0000
  • 57bc71993c (svn r4361) - Fix: Write and Read the true length of a string-buffer into the savegame instead of the whole buffer. Darkvater 2006-04-11 17:05:50 +0000
  • aa4f6605ad (svn r4360) - CodeChange: add shortcut to SlGetArrayLength of the gamma-function along the lines of the Write/Read functions Darkvater 2006-04-11 17:03:13 +0000
  • 38417f1794 (svn r4359) MSV6 Release mode now compiles (problem of UINT_MAX. stdafx.h should be the first include). Thanks to KUDr for solution and testing belugas 2006-04-11 15:18:22 +0000
  • 24fcd110b2 (svn r4358) -Codechange: Don't use a TileInfo where a TileIndex will do celestar 2006-04-11 13:19:05 +0000
  • dfad91e317 (svn r4357) -Codechange: Moved global _signal_base_sprites into the only function where it is used and use a better array arrangement for it celestar 2006-04-11 13:10:16 +0000
  • 96e794be2d (svn r4356) - NewGRF: Load more newstation properties. peter1138 2006-04-11 13:00:06 +0000
  • 64a237b192 (svn r4355) - NewGRF: Minor clean up; use the correct return type and remove extraneous brackets. peter1138 2006-04-11 10:53:07 +0000
  • 5f24141cb8 (svn r4354) [Elrail][NewGRF] Codechange: Drawing of custom waypoints with custom ground sprites used the index of the rail type as an offset. With the introduction of elrails this offset is incorrect, so instead there is now a lookup table within the RailTypeInfo struct to explicitly list the offset. peter1138 2006-04-11 10:45:06 +0000
  • da428dca70 (svn r4353) Codechange: Move global _signal_position into the only function that uses it and convert the bit-hacking into a struct celestar 2006-04-11 10:19:50 +0000
  • 5e345e0e7f (svn r4352) - NewGRF Codechange: dynamically allocate the memory used to store custom station data. This saves us approximately 40KB per GRF file, if there are no stations defined. peter1138 2006-04-11 10:05:52 +0000
  • d38964e49a (svn r4351) Simplify ReverseTrackdir() to use a simple arithmetic operation instead of a table lookup tron 2006-04-11 04:49:23 +0000
  • f1da549c10 (svn r4350) CodeChange : Add and use accessors [G|S]etIndustrype. Define and use IndustryGfx type instead of uint belugas 2006-04-10 21:00:56 +0000
  • b0ee09fd1d (svn r4349) Remove GetCrossingTransportType(), it's slightly overkill tron 2006-04-10 20:46:37 +0000
  • f4a8818dbf (svn r4348) Move IsLevelCrossing() from rail.h to road_map.h tron 2006-04-10 20:38:59 +0000
  • 8166a53179 (svn r4347) CodeChange : Renamed IndustryType to IndustryLifeType. Cleanup step toward bringing accessors [G|S]etIndustrype belugas 2006-04-10 16:20:47 +0000
  • a972760294 (svn r4346) CodeChange : Add and Use Accessors to Industry's Stage and Counter construction. Removed last direct map access from Disaster_cmd.c as well. Based on work from Rubidium in tfc_newmap belugas 2006-04-10 15:09:56 +0000
  • eae5fcc455 (svn r4345) -Codechange: Similar to airport tiles, rename _industry_map5_ arrays to _industry_sections celestar 2006-04-10 14:27:26 +0000