Wed, 26 Apr 2006 20:44:28 +0000 |
peter1138 |
(svn r4583) - NewGRF: Revamp sprite group loading to support advanced varadjusts and variable size. These are not yet processed, however.
draft
|
Wed, 26 Apr 2006 20:18:29 +0000 |
peter1138 |
(svn r4582) - NewGRF: include an additional check to see if a spriteset id is within range.
draft
|
Wed, 26 Apr 2006 19:42:05 +0000 |
peter1138 |
(svn r4581) - NewGRF: replace replicated action 2 code with two functions to simplify code somewhat. Also check that a sprite id is
draft
|
Wed, 26 Apr 2006 19:22:29 +0000 |
miham |
(svn r4580) WebTranslator2 update to 2006-04-26 21:06:07
draft
|
Wed, 26 Apr 2006 17:16:57 +0000 |
peter1138 |
(svn r4579) - NewGRF: move sprite group struct to newgrf_spritegroup.h. Temporary include in sprite.h until new spritegroup code is in place.
draft
|
Wed, 26 Apr 2006 17:01:27 +0000 |
belugas |
(svn r4578) CodeChange : Cleanup of industry_cmd (Step-2).
draft
|
Wed, 26 Apr 2006 14:58:06 +0000 |
belugas |
(svn r4577) CodeChange : Cleanup of industry_cmd (Step-1).
draft
|
Wed, 26 Apr 2006 01:33:46 +0000 |
belugas |
(svn r4576) Fix : Temperate bank will no longer appear (during game) in tropic landscape.
draft
|
Tue, 25 Apr 2006 14:30:11 +0000 |
Darkvater |
(svn r4575) - Fix (r4574): hand-fixed the hand-fixed german language file which was broken in previous commit.
draft
|
Tue, 25 Apr 2006 13:18:26 +0000 |
miham |
(svn r4574) hand-fixed german.txt (a 0x00 caused some sort of problems)
draft
|
Tue, 25 Apr 2006 12:37:09 +0000 |
miham |
(svn r4573) [WebTranslator2] string commitment (commitlog lost again, but this time bug me!)
draft
|
Tue, 25 Apr 2006 07:32:33 +0000 |
tron |
(svn r4572) Remove vehicle_leave_tile_proc
draft
|
Tue, 25 Apr 2006 07:29:02 +0000 |
tron |
(svn r4571) Change the rail type update for electrified rails so it doesn't use bit magic
draft
|
Tue, 25 Apr 2006 06:56:22 +0000 |
peter1138 |
(svn r4570) - Fix: subsidy calculation was too high, broken in r3564
draft
|
Mon, 24 Apr 2006 21:10:56 +0000 |
belugas |
(svn r4568) CodeChange : Bring definitions and uses of DrawTypesStructures toguether.
draft
|
Mon, 24 Apr 2006 20:11:42 +0000 |
miham |
(svn r4566) WebTranslator2 commit
draft
|
Mon, 24 Apr 2006 17:32:09 +0000 |
belugas |
(svn r4564) CodeChange : Constify the sprites of _cargo_types_base_values
draft
|
Sun, 23 Apr 2006 22:35:37 +0000 |
peter1138 |
(svn r4562) - NewGRF: Add additional vehicle text to train engine and wagon purchase information. Other vehicle types to come.
draft
|
Sun, 23 Apr 2006 22:33:10 +0000 |
peter1138 |
(svn r4561) - NewGRF: implement most of callback 0x23: additional text in vehicle purchase windows.
draft
|
Sun, 23 Apr 2006 22:28:26 +0000 |
Darkvater |
(svn r4560) - Fix: (r3008) Remove VS2005 undefined vsnprintf() as it doesn't exist in the windows libraries (only _vsnprintf). This caused the bad function to be called that could result in non-properly terminated strings. Thanks for noticing Tron.
draft
|
Sun, 23 Apr 2006 22:25:33 +0000 |
peter1138 |
(svn r4559) - NewGRF: keep a record of which grf an engine is defined in. Will be used in the future.
draft
|
Sun, 23 Apr 2006 22:06:52 +0000 |
Darkvater |
(svn r4558) - Fix: 'stopall' was moved to debug, so move the function there as well.
draft
|
Sun, 23 Apr 2006 21:52:54 +0000 |
peter1138 |
(svn r4557) - NewGRF: translate from TTDPatch control codes to our own, instead of just simple validation. We still perform
draft
|
Sun, 23 Apr 2006 19:35:36 +0000 |
tron |
(svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}
draft
|
Sun, 23 Apr 2006 19:08:33 +0000 |
tron |
(svn r4553) int and magic numbers -> Slope and DiagDirection
draft
|
Sun, 23 Apr 2006 18:37:53 +0000 |
peter1138 |
(svn r4552) - NewGRF: fix braino... in r4550, new_scheme should true when the version is 7 or higher, not less than 7...
draft
|
Sun, 23 Apr 2006 18:37:06 +0000 |
peter1138 |
(svn r4551) - NewGRF: add string handling for newstations.
draft
|
Sun, 23 Apr 2006 18:27:53 +0000 |
peter1138 |
(svn r4550) - NewGRF: update string system to new rules: a grf version of less than 6 uses the old scheme, of 7 or more uses the new scheme. (Moving targets, yay...)
draft
|
Sun, 23 Apr 2006 18:03:55 +0000 |
peter1138 |
(svn r4549) - NewGRF: store the grf version from Action 0x08.
draft
|
Sun, 23 Apr 2006 17:58:07 +0000 |
tron |
(svn r4547) Revert a part of r4541 to silence an assertion for now
draft
|
Sun, 23 Apr 2006 15:57:34 +0000 |
peter1138 |
(svn r4546) - NewGRF: add support for Action 0x05, type 0x04: replacement signal graphics. Thanks to Purno for supplying data to test
draft
|
Sun, 23 Apr 2006 15:01:46 +0000 |
tron |
(svn r4544) Merge two almost identical string (STR_1[08]00_LAND_SLOPED_IN_WRONG_DIRECTION) - one just contains two redundant words
draft
|
Sun, 23 Apr 2006 13:48:16 +0000 |
tron |
(svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums
draft
|
Sun, 23 Apr 2006 11:13:06 +0000 |
peter1138 |
(svn r4540) - NewGRF: don't treat integer values as boolean.
draft
|
Sun, 23 Apr 2006 10:50:09 +0000 |
peter1138 |
(svn r4539) - NewGRF: always check that the action 0x2 feature matches the action 0x1, not just on 'normal' sprite groups.
draft
|
Sun, 23 Apr 2006 09:46:23 +0000 |
peter1138 |
(svn r4537) - NewGRF: replace if cascade with a switch block in the sprite group loader
draft
|
Sat, 22 Apr 2006 14:06:46 +0000 |
Darkvater |
(svn r4531) - Fix [NewGRF]: overzealous fixing, reset num_params to 0 from -1 when parsing the parameter list fails.
draft
|
Sat, 22 Apr 2006 13:59:21 +0000 |
Darkvater |
(svn r4530) - Fix [NewGRF]: don't spew a warning when a grf file has no parameters.
draft
|
Sat, 22 Apr 2006 13:56:16 +0000 |
Darkvater |
(svn r4529) - Codechange: Use proper naming for hex numbers in debug prints eg. 0xF3A6. Use fixed lengths where applicable (newgrf). Unfortunately '%#X' is unusable since it gives 0XFF3 and '%#x' gives 0xff3 while we want 0xFF3 :P
draft
|
Sat, 22 Apr 2006 13:42:09 +0000 |
Darkvater |
(svn r4528) - Fix: fix idiotic gcc warning
draft
|
Sat, 22 Apr 2006 13:17:13 +0000 |
Darkvater |
(svn r4527) - Feature [NewGRF]: Add support for specifying parameters to GRF files. Usage: "mygrf = 1". You can pass up to 128 parameters, each one seperated by a comma or a space-character. Big thanks to peter1138 for the inspiration and examples.
draft
|
Sat, 22 Apr 2006 12:55:57 +0000 |
Darkvater |
(svn r4526) - CodeChange: do some more cleanup, mainly changing the OldChunkTypes from full bitmasks into segmented values like in SaveLoad.
draft
|
Sat, 22 Apr 2006 12:53:35 +0000 |
Darkvater |
(svn r4525) - Codechange: Do a little cleanup; also fix a typo while here: _old_vehicle_multipler should be _old_vehicle_multiplier
draft
|
Sat, 22 Apr 2006 12:40:25 +0000 |
Darkvater |
(svn r4524) - Codechange: Use GB() macros for getting the saveload file/memory types
draft
|
Sat, 22 Apr 2006 10:12:14 +0000 |
truelight |
(svn r4522) -Fix: include stdio before stddef; some targets don't like the other way around.
draft
|
Sat, 22 Apr 2006 09:46:31 +0000 |
Darkvater |
(svn r4521) - Fix: be consistent about the size of the player-name in MP. This hopefully fixes a crash on lesser OS's (eg Win98). Use ttd_strlcpy() to just copy over strings and properly terminate them because different implementations of snprintf() behave differently. Courtesy of TrueLight
draft
|
Sat, 22 Apr 2006 09:25:36 +0000 |
celestar |
(svn r4520) -Fix: Did last commit in the wrong branch. Repair and shame on me.
draft
|
Sat, 22 Apr 2006 08:45:58 +0000 |
Darkvater |
(svn r4518) - Fix: specify the 'stopall' console command as a debug command. Mostly because stopped airplanes in mid-air 1. look funny 2. won't ever budge again. (change of r2449)
draft
|
Sat, 22 Apr 2006 06:54:25 +0000 |
peter1138 |
(svn r4517) - NewGRF: fix and complete the feature list
draft
|
Sat, 22 Apr 2006 05:42:54 +0000 |
celestar |
(svn r4516) -Fix: Committed one file too much. Thanks egladil for immidiate spotting
draft
|
Sat, 22 Apr 2006 05:36:22 +0000 |
celestar |
(svn r4515) -Codechange: TPFMode2 is currently only used for TRANSPORT_WATER. So remove all stuff that deals with other transport types and assert TRANSPORT_WATER
draft
|
Sat, 22 Apr 2006 01:42:51 +0000 |
belugas |
(svn r4514) Cleanup of a cleanup ... lines left behind
draft
|
Sat, 22 Apr 2006 01:37:31 +0000 |
belugas |
(svn r4513) Codechange : Assemble a bit the scattered parts of Cargo types.
draft
|
Sat, 22 Apr 2006 00:10:38 +0000 |
Darkvater |
(svn r4512) - Codechange: Sprinkle some doxygen magic over settings.c
draft
|
Fri, 21 Apr 2006 20:59:04 +0000 |
peter1138 |
(svn r4510) - NewGRF bounds checking:
draft
|
Fri, 21 Apr 2006 20:25:34 +0000 |
celestar |
(svn r4508) -Fix: (FS#125) Fixed a problem that caused DeliverGoodsToIndustry to not work as intended. Note: write something better for this entire function
draft
|
Fri, 21 Apr 2006 20:10:53 +0000 |
celestar |
(svn r4507) Just a comment
draft
|
Fri, 21 Apr 2006 20:08:25 +0000 |
celestar |
(svn r4506) -Fix: (FS#95) Use the tile hash when pathfinding to a depot. Eats a tiny bit of performance, but the likelihood that the depot is found is greatly increased
draft
|
Fri, 21 Apr 2006 19:47:52 +0000 |
celestar |
(svn r4505) -Fix (FS#94) Ships can now be used to set up feeders as well.
draft
|
Fri, 21 Apr 2006 17:51:01 +0000 |
celestar |
(svn r4502) -Cleanup: Remove code unused since rev1. (Rubidium)
draft
|
Fri, 21 Apr 2006 17:15:05 +0000 |
celestar |
(svn r4501) -Fix: (FS#129) When, in a train that head multiple engines in front, the _first_ of those engines is sold, all the orders are copied to the second engine (to ensure "seamless" operation). However, during this operation, it was forgotten to update the prev_shared and next_shared pointers of the new head engine AND the next_shared and prev_shared of the share partners.
draft
|
Fri, 21 Apr 2006 17:02:51 +0000 |
peter1138 |
(svn r4500) - NewGRF: When running a callback with no vehicle, use the purchase list 'cargo' type first, and then fallback to the default if needed.
draft
|
Fri, 21 Apr 2006 09:18:39 +0000 |
peter1138 |
(svn r4498) - Use an item's name instead of value when parsing configuration lists.
draft
|
Fri, 21 Apr 2006 08:11:50 +0000 |
peter1138 |
(svn r4497) - NewGRF minor fixes: (Rubidium)
draft
|
Fri, 21 Apr 2006 07:06:31 +0000 |
peter1138 |
(svn r4496) - NewGRF: switch custom engine names from storing a char* to using the new StringID based text system. Vehicle name
draft
|
Fri, 21 Apr 2006 07:03:37 +0000 |
peter1138 |
(svn r4495) - NewGRF: Implement conversion from old language IDs (bitmask) to new language IDs (value)
draft
|
Fri, 21 Apr 2006 06:55:47 +0000 |
peter1138 |
(svn r4494) - NewGRF: Clean up and reset custom texts
draft
|
Fri, 21 Apr 2006 03:00:20 +0000 |
belugas |
(svn r4493) Newgrf : Action 04. Beginning of implementation.
draft
|
Thu, 20 Apr 2006 22:09:49 +0000 |
Darkvater |
(svn r4491) - Codechange: handle IGT_LIST types just as the other types with a proper name and value setting (for example for newgrf parameters).
draft
|
Thu, 20 Apr 2006 22:09:12 +0000 |
Darkvater |
(svn r4490) - Feature: The integer-list parser now accepts a space character as an item seperator next to the comma.
draft
|
Thu, 20 Apr 2006 22:08:20 +0000 |
Darkvater |
(svn r4489) - Codechange: some small cleanups in the settings-parser code, mainly substituting terminating 0 characters with '\0'.
draft
|
Thu, 20 Apr 2006 21:19:20 +0000 |
peter1138 |
(svn r4488) - Add newgrf_spritegroup.[ch] to MS VS project files
draft
|
Thu, 20 Apr 2006 21:13:08 +0000 |
peter1138 |
(svn r4487) - Codechange: replace the custom currency magic number 23 with a define
draft
|
Thu, 20 Apr 2006 20:51:57 +0000 |
peter1138 |
(svn r4486) - NewGRF: Create and use a memory pool to manage sprite groups. This
draft
|
Thu, 20 Apr 2006 17:04:08 +0000 |
peter1138 |
(svn r4484) - Newstations: Use StringIDs instead of char*s to reference our custom names.
draft
|
Thu, 20 Apr 2006 13:33:40 +0000 |
peter1138 |
(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.
draft
|
Thu, 20 Apr 2006 08:33:42 +0000 |
miham |
(svn r4482) WebTranslator2 update to 2006-04-20 10:29:39
draft
|
Thu, 20 Apr 2006 05:57:47 +0000 |
peter1138 |
(svn r4481) - Fix: Validate the given sprite ID when loading a sprite.
draft
|
Wed, 19 Apr 2006 16:10:17 +0000 |
celestar |
(svn r4479) -Fix (FS#90) electric engines (or rather their pantographs) no longer emit sparks when engine is pulled on convrail (MeusH)
draft
|
Wed, 19 Apr 2006 16:02:07 +0000 |
celestar |
(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.
draft
|
Wed, 19 Apr 2006 07:50:16 +0000 |
peter1138 |
(svn r4474) - NewGRF: Skip non-fatal errors when not in stage 2.
draft
|
Wed, 19 Apr 2006 07:17:00 +0000 |
peter1138 |
(svn r4473) - Newstations:
draft
|
Tue, 18 Apr 2006 21:17:54 +0000 |
miham |
(svn r4472) WebTranslator2 commit2 system precheck failed, fix in progress
draft
|
Tue, 18 Apr 2006 18:48:50 +0000 |
peter1138 |
(svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.
draft
|
Tue, 18 Apr 2006 18:02:52 +0000 |
KUDr |
(svn r4470) -Fix: FS#97 — Possible bug in Win64 versions (by michi_cc)
draft
|
Tue, 18 Apr 2006 17:44:24 +0000 |
miham |
(svn r4469) WebTranslator2 update to 2006-04-18
draft
|
Tue, 18 Apr 2006 13:55:11 +0000 |
celestar |
(svn r4468) -Fix: (FS#45) correct declaration of NORETURN for gcc (egladil)
draft
|
Tue, 18 Apr 2006 13:16:00 +0000 |
celestar |
(svn r4467) -Fix: New plantations now cause the correct ".. being planted .." news item (MeusH)
draft
|
Tue, 18 Apr 2006 08:50:17 +0000 |
celestar |
(svn r4466) -Fix: (FS#71) Game no longer crashes when the last vehicle serving a station has been deleted.
draft
|
Tue, 18 Apr 2006 07:20:37 +0000 |
celestar |
(svn r4465) -Codechange (FS#60): Remove a variable no one really needs. (DaleStan)
draft
|
Tue, 18 Apr 2006 06:42:14 +0000 |
celestar |
(svn r4464) -Codechange: Oops, forgot one file in last commit
draft
|
Tue, 18 Apr 2006 05:16:13 +0000 |
celestar |
(svn r4463) -Codechange. Include vehicle.h directly instead of implicitly via station.h in a number of source files
draft
|
Mon, 17 Apr 2006 19:26:18 +0000 |
peter1138 |
(svn r4462) - Newstations: ensure the chosen tile layout is available from a custom station
draft
|
Mon, 17 Apr 2006 19:09:30 +0000 |
celestar |
(svn r4461) -Codechange: Add and make use of map accessor functions for signal drawing. Includes some basic cleanup of the drawing functions
draft
|
Mon, 17 Apr 2006 18:47:50 +0000 |
peter1138 |
(svn r4460) - Newstations: remove unused class_id / stat_id variables from the
draft
|
Mon, 17 Apr 2006 18:35:44 +0000 |
peter1138 |
(svn r4459) - Newstations: check pointer for NULL before using it.
draft
|
Mon, 17 Apr 2006 17:59:42 +0000 |
miham |
(svn r4458) [WT2 quickcommit w/o stats]
draft
|
Sun, 16 Apr 2006 20:24:10 +0000 |
peter1138 |
(svn r4453) - NewGRF: fix two compile warnings.
draft
|
Sun, 16 Apr 2006 18:57:07 +0000 |
peter1138 |
(svn r4452) - NewGRF: switch to unsigned ints for array indices.
draft
|
Sun, 16 Apr 2006 17:48:40 +0000 |
miham |
(svn r4451) WebTranslator2 daily commit
draft
|
Sun, 16 Apr 2006 17:29:37 +0000 |
peter1138 |
(svn r4450) - NewStations, rename *CustomStationSprite() to *CustomStationSpecIndex() to reflect their use, and alter the test for determining if a station has customised graphics.
draft
|
Sun, 16 Apr 2006 17:05:45 +0000 |
peter1138 |
(svn r4449) - NewStations, remove parameter to use first custom station when building a railway station. The parameters will be
draft
|
Sun, 16 Apr 2006 11:33:26 +0000 |
Darkvater |
(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
draft
|
Sun, 16 Apr 2006 11:26:23 +0000 |
peter1138 |
(svn r4446) - Add function to determine if a Sprite ID exists.
draft
|
Sun, 16 Apr 2006 10:26:46 +0000 |
bjarni |
(svn r4445) -Fix: FS#108 Danish name generator bug
draft
|
Sun, 16 Apr 2006 10:03:15 +0000 |
miham |
(svn r4444) [WebTranslator2 commir] Dutch, Polish affected
draft
|
Sat, 15 Apr 2006 22:16:47 +0000 |
Darkvater |
(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.
draft
|
Sat, 15 Apr 2006 21:27:59 +0000 |
Darkvater |
(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.
draft
|
Sat, 15 Apr 2006 20:07:42 +0000 |
Darkvater |
(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.
draft
|
Sat, 15 Apr 2006 19:52:58 +0000 |
Darkvater |
(svn r4434) - Codechange: use str_validate for the console as well instead of custom function doing the same.
draft
|
Sat, 15 Apr 2006 18:57:58 +0000 |
tron |
(svn r4432) Make use of map access functions
draft
|
Sat, 15 Apr 2006 16:40:54 +0000 |
peter1138 |
(svn r4431) - NewGRF: rename nfo_line to _nfo_line, to avoid confusing Darkvater ;)
draft
|
Sat, 15 Apr 2006 16:07:00 +0000 |
Darkvater |
(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
draft
|
Sat, 15 Apr 2006 16:03:45 +0000 |
Darkvater |
(svn r4429) - CodeChange[newgrf]: Action0, prop 0x0D. use calloc to allocate memory and zero it out and change the loop a little
draft
|
Sat, 15 Apr 2006 03:08:14 +0000 |
belugas |
(svn r4426) Code Cleaning : replacing tabs with spaces, removing obvious comments, aligning arrays etc...
draft
|
Sat, 15 Apr 2006 01:06:53 +0000 |
belugas |
(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.
draft
|
Fri, 14 Apr 2006 22:29:34 +0000 |
miham |
(svn r4424) fixed up polish.txt
draft
|
Fri, 14 Apr 2006 21:30:15 +0000 |
miham |
(svn r4420) [WebTranslator2 manual commit (commitscript is under development)]
draft
|
Fri, 14 Apr 2006 18:52:08 +0000 |
tron |
(svn r4416) Remove a pointless buffer copy and use strlcpy() instead of snprintf("%s")
draft
|
Fri, 14 Apr 2006 16:28:24 +0000 |
peter1138 |
(svn r4415) Fix bug introduced in r4384 where drawing a default waypoint for the GUI
draft
|