rubidium
ba22744899
(svn r13677) -Fix [FS#2102]: in the case that elrails and 'realistic' acceleration are disabled all electrified engines would have no power on load, until the vehicle got turned around, loaded or got into a depot.
2008-07-04 21:43:17 +00:00
rubidium
7375d56418
(svn r13676) -Fix [FS#2126]: inactive companies from old (TTD) saves could be marked active in some cases, which then loads garbage in their statistics and such.
2008-07-04 19:00:11 +00:00
rubidium
9a8d1bcad5
(svn r13675) -Fix: memory leak when NewGRFs got forcefully disabled and they defined GOTO labels.
2008-07-04 18:42:04 +00:00
rubidium
0570ba8461
(svn r13674) -Fix [FS#2127]: crash when drawing a non-real sprite. The drawing of the non-real sprite is caused when two NewGRFs replace the same sprite and the first replaces it with a real sprite (and thus assumes it remains a real sprite) and the second replaces it with a non-real sprite. OpenTTD already looked at whether the sprite to load should be seen as a real or non-real sprite, but it failed to replace non-real sprites with a substitute real sprite when getting the sprite from the cache.
2008-07-04 14:45:51 +00:00
rubidium
c1add55758
(svn r13673) -Fix [FS#2122]: desync when building electrified trains on a dedicated server that was started with electrification disabled.
2008-07-03 18:00:36 +00:00
belugas
a380976a2a
(svn r13672) -Fix(r13670): silent warnings that MSVC did not raised. Looks like enums can not be easily matched :(
2008-07-03 01:08:35 +00:00
frosch
ebb0059773
(svn r13671) -Cleanup: Zeros for sell.
2008-07-01 18:56:40 +00:00
belugas
741044e97b
(svn r13670) -Codechange : Merge some very alike events handlers.
2008-07-01 00:04:09 +00:00
frosch
ffb7e8ee17
(svn r13667) -Documentation: Comment 'tgp.cpp' a bit. Based on patch by CommanderZ.
2008-06-30 19:54:03 +00:00
belugas
496baad3aa
(svn r13665) -Fix[FS#2119]: Wrong PlayerID used for sending a message to.Patch by Yexo
2008-06-30 16:59:35 +00:00
rubidium
4642e9f75a
(svn r13664) -Fix [FS#2117]: bus/truck forgetting go-to-depot order when entering a non-drivethrough road stop.
2008-06-30 15:13:40 +00:00
belugas
490f013c58
(svn r13663) -Codechange: Use a default parameter, hoping to reduce the different signatures of functions in menus
2008-06-30 14:58:58 +00:00
rubidium
ad2bcaeae5
(svn r13662) -Fix [FS#2113]: crash when adding conditional orders to ships.
2008-06-30 14:49:50 +00:00
rubidium
6d1b927814
(svn r13661) -Fix: server crashing when banning the rconning client.
2008-06-30 14:48:44 +00:00
frosch
cfdc710104
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
2008-06-28 15:44:24 +00:00
frosch
654ea1a310
(svn r13648) -Cleanup (r5303): Amplitudes should be amplitudes and not amplitudes/16.
2008-06-27 20:59:30 +00:00
skidd13
0a178274e2
(svn r13647) -Codechange: replace MAX_UVALUE() for std types with the equivalent constant
2008-06-27 17:46:43 +00:00
belugas
54333f5f06
(svn r13646) -Change: typos and miss-aligned enum values
2008-06-27 16:16:35 +00:00
frosch
8a800ee258
(svn r13645) -Codechange: Convert a macro into an inlined member function.
2008-06-27 15:01:18 +00:00
belugas
fef077823d
(svn r13644) -Fix(r13643): compare an apple with an apple. MSVC seems to not care, but some other compilers do.
...
Thanks to glx :)
2008-06-27 02:26:51 +00:00
belugas
16e2717c0e
(svn r13643) -Codechange: Enumify some loosely related values been used in the toolbar resizing processes
2008-06-27 01:26:13 +00:00
belugas
554419d735
(svn r13642) -Documentation: Add the enum values to the widget arrays, in concordance with code style
2008-06-26 17:43:56 +00:00
belugas
5eabd09a97
(svn r13641) -Fix: Misleading enum name.
2008-06-26 17:13:39 +00:00
smatz
7ec2ad621d
(svn r13640) -Codechange: make colours behind not fully solid objects less darker for BM_TRANSPARENT (for 32bpp blitters)
2008-06-26 16:47:29 +00:00
smatz
faebe10d81
(svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and encoding so it uses similiar scheme as 8bpp-optimized
...
All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.
2008-06-26 15:46:19 +00:00
smatz
6f3b1745c2
(svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2
2008-06-26 00:40:42 +00:00
miham
556e8ade9a
(svn r13637) -Update: WebTranslator2 update to 2008-06-25 23:36:50
...
brazilian_portuguese - 9 fixed by tucalipe (9)
bulgarian - 25 fixed by thetitan (11), kokobongo (14)
catalan - 9 fixed, 4 changed by arnaullv (13)
croatian - 5 fixed by knovak (5)
czech - 8 fixed, 9 changed by Hadez (17)
dutch - 9 fixed by habell (9)
french - 12 fixed by glx (10), belugas (2)
italian - 12 fixed by lorenzodv (12)
korean - 8 fixed, 7 changed by leejaeuk5 (15)
russian - 9 fixed by Smoky555 (9)
slovenian - 18 fixed by Necrolyte (18)
spanish - 9 fixed by eusebio (9)
swedish - 8 fixed by daishan (8)
traditional_chinese - 38 fixed, 108 changed by tiberiusteng (146)
ukrainian - 12 fixed, 2 deleted, 55 changed by mad (69)
2008-06-25 21:37:59 +00:00
frosch
545c1f1045
(svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for.
2008-06-25 20:04:27 +00:00
rubidium
ed298d6ff8
(svn r13633) -Fix: restoring 'service at depot X' orders from the order backup failed.
2008-06-25 19:33:11 +00:00
frosch
2b071f84ea
(svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch().
2008-06-25 18:46:05 +00:00
smatz
b7dfaa2ced
(svn r13631) -Fix (r13618): forgot #define avoiding multiple inclusions
2008-06-25 17:45:05 +00:00
skidd13
cbb081793a
(svn r13630) -Update: apply english.txt changes from r13628 to other languages
2008-06-25 17:37:12 +00:00
frosch
b5f2bd51fb
(svn r13629) -Fix [FS#2108](r13603): diameter != radius
2008-06-25 17:30:53 +00:00
skidd13
3dea3cbe63
(svn r13628) -Feature: enable building of aqueducts in the scenario editor
...
-Codechange: related to this split the waterway based buttons from the landscape generation window
2008-06-25 17:30:16 +00:00
smatz
fdc4d1922d
(svn r13626) -Fix (r11871): signals were not updated when player removed signals from nonexistent track sharing bits with existing track
...
So disallow removing signals from nonexistent track
2008-06-24 23:38:10 +00:00
rubidium
ecbd249dc4
(svn r13624) -Fix [FS#2106]: crash when one tries to raise the nothern corner of MP_VOID tiles (i.e. the southern corner of the tiles on the southern map edge) in the scenario editor.
2008-06-24 15:58:01 +00:00
rubidium
6002e3d643
(svn r13623) -Codechange: only show the 'load' of articulated RV parts that have a capacity instead of showing 'empty' parts when a vehicle is completely full.
2008-06-24 13:49:13 +00:00
rubidium
c81e4e3d7e
(svn r13622) -Fix [FS#2109]: only the front of a RV would be considered when determining to what cargos a vehicle can be refitted instead of all cargos.
2008-06-24 13:47:15 +00:00
rubidium
65a4dc8902
(svn r13621) -Fix: building roadbits in the wrong direction on bridges or building roadbits from underneath the bridge to the bridgehead is impossible, so don't silently ignore that error when building over houses and industries is not ignored.
2008-06-24 11:42:01 +00:00
smatz
96d880ea9e
(svn r13619) -Codechange: use 'const char *' instead of std::string for blitter and driver names
...
Removes indirect dependency on <string> for 20 files, reduces binary size by 16kB
2008-06-24 09:15:45 +00:00
smatz
40d5242f91
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
2008-06-24 09:05:24 +00:00
skidd13
241435226c
(svn r13617) -Codechange: calculate the diff in StationWaitingSorter directly
2008-06-23 22:51:21 +00:00
rubidium
c8d2db3e04
(svn r13612) -Fix [FS#2104]: wrong comment of CmdSetAutoReplace. Patch by Yexo.
2008-06-23 08:49:09 +00:00
rubidium
d87b6c3937
(svn r13611) -Fix [FS#2100]: if the first bridge can't be build for a given length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long.
2008-06-23 08:38:07 +00:00
smatz
7772e9e68f
(svn r13609) -Codechange: silence warnings about unused variables for gcc2 builds without asserts
2008-06-22 18:44:28 +00:00
skidd13
6169c3fc17
(svn r13607) -Fix (r13606): some coding style issues got fixed but some got/stayed broken
2008-06-22 15:41:38 +00:00
skidd13
8b7d893d85
(svn r13606) -Codechange: use "static FORCEINLINE" where possible as default for core functions (big functions use just inline instead)
2008-06-22 15:21:51 +00:00
belugas
ccd27d1e5b
(svn r13603) -Feature{newGRF]: Add var 65 in Variational Action 2 Variables for Houses.
...
This var will return the manhattan distance of the nearest house that match a given criteria.
The criterias can be: 0 : house ID/ 1 : Class ID/ 2 : grf ID
The search radius can be defined too, up to 64.
2008-06-21 23:59:38 +00:00
smatz
6cb9d3802d
(svn r13602) -Codechange: little speedup for 8bpp-optimized blitter
2008-06-21 20:58:34 +00:00
smatz
d4a4075dc6
(svn r13601) -Codechange: resize the Tile Info window when it is needed, make it better readable
2008-06-21 18:59:15 +00:00