rubidium
664bbd304a
(svn r13739) -Fix (r13731): some variables would be erroneously zeroed, causing autoclean and company passwords not to work.
16 years ago
rubidium
39514a9d68
(svn r13734) -Fix: NewGRF rail continuation would always mark a tunnel on the same axis as connected, even when the tunnel faces the wrong direction.
16 years ago
smatz
58c2e3e285
(svn r13733) -Fix (r13731): gcc2.95 compilation
16 years ago
rubidium
6ecfaa5c84
(svn r13732) -Feature: add a few extra columns with information to the server list. Patch by Pegasus.
16 years ago
rubidium
cde65455ac
(svn r13731) -Codechange: make a pool of the array of players.
16 years ago
rubidium
56ad26a3aa
(svn r13730) -Fix: make a copy of the names for news messages about the deletion of companies as the removal of a company could lead to wrong names in the news messages.
16 years ago
rubidium
9d035df146
(svn r13729) -Fix: assumption that non-north tiles of a house do not have the 1x1 building bit set was flawed with some NewGRFs. This caused the amount of houses to differ, which causes the town radii to differ, which causes desyncs when towns are expanded.
16 years ago
smatz
faae16cddc
(svn r13728) -Codechange: define DEBUG as an empty block so compiler warns us less
16 years ago
smatz
8fb9f600c8
(svn r13727) -Fix (r13375): compilation with NO_DEBUG_MESSAGES was broken
16 years ago
smatz
632e2059b9
(svn r13721) -Codechange: one less multiplication for colour mixing in 32bpp blitters (GeekToo)
16 years ago
rubidium
c1594e45c5
(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.
16 years ago
rubidium
6898a76c5f
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
16 years ago
rubidium
83824f4c86
(svn r13718) -Fix: possible desync on the autorenew settings 20+ game years (i.e. 4.5+ hours) after a company was started.
16 years ago
rubidium
2810d26fde
(svn r13717) -Codechange: place the whole 'create new company' command in #ifdef ENABLE_NETWORK as it may only be executed when we are playing in a network game.
16 years ago
rubidium
a1ca1da1b3
(svn r13716) -Fix [FS#2144]: any player could construct new companies.
16 years ago
rubidium
5a94972c2d
(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
...
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
16 years ago
rubidium
31d283c6c8
(svn r13714) -Fix: remove the unique_id from the message that a client has joined as it is only exposes the unique_id more than needed. Patch by dih.
16 years ago
rubidium
348600eca9
(svn r13713) -Fix: possible crash on creating a network packet.
16 years ago
rubidium
03afcec36f
(svn r13712) -Fix: enforce the length restrictions of company and president name in the commands too.
16 years ago
miham
7c531c4ece
(svn r13707) -Update: WebTranslator2 update to 2008-07-16 01:21:36
...
brazilian_portuguese - 3 fixed by tucalipe (3)
bulgarian - 78 fixed, 230 changed by thetitan (3), groupsky (305)
catalan - 3 fixed by arnaullv (3)
dutch - 3 fixed by webfreakz (3)
italian - 3 changed by lorenzodv (3)
korean - 4 fixed, 5 changed by leejaeuk5 (9)
russian - 3 fixed by Smoky555 (3)
slovenian - 4 fixed by Necrolyte (4)
spanish - 3 fixed by eusebio (3)
swedish - 4 fixed by daishan (4)
ukrainian - 2 fixed by mad (2)
16 years ago
frosch
e190ab858d
(svn r13706) -Fix (r13695): Small typo.
16 years ago
belugas
ba53aa91a1
(svn r13705) -Codechange: Define and use BridgePieces enum, which will remove a few more magic numbers
16 years ago
rubidium
2e68b35106
(svn r13704) -Fix: make timetables work more sensible when used in conjunction with conditional orders, i.e. make it possibly to tell how long to travel to the next destination if you jump.
16 years ago
rubidium
68613f4ba0
(svn r13703) -Update: the other language files due to a few changed strings in r13702.
16 years ago
rubidium
91e317cd1c
(svn r13702) -Fix: do not overflow the order/timetable window when 'long' orders are displayed.
16 years ago
glx
d9d32d3619
(svn r13701) -Codechange: add some more info in crash.log
16 years ago
rubidium
42d0500f40
(svn r13700) -Fix: possible buffer overflow in string truncation code.
16 years ago
rubidium
f6ab930cc0
(svn r13699) -Fix: handle SETX(Y) properly when truncating a string instead of ignoring it and returning a too long string.
16 years ago
frosch
e631c70b1c
(svn r13698) -Fix (r13697): MorphOS compilation.
16 years ago
frosch
ac0ae1536f
(svn r13697) -Feature: Add some support for symbolic links in .tar files.
16 years ago
belugas
dfeb80fb9b
(svn r13696) -Fix[GUI]: The Build button of the vehicle list is now hidden, instead of just disabled. It will be only visible when called from the Depot Building Window.
...
Less confusion, hopefully. Suggested by Eddi.
16 years ago
rubidium
6b212485f8
(svn r13695) -Fix [FS#2120]: in some cases the (sound) mixer could overflow causing artefacts in the sound.
16 years ago
rubidium
4b3395fbd4
(svn r13694) -Change: make it more explicit that you've opened the available train/ship/etc. list instead of the one where you can actually build vehicles by setting the appropriate title for the window.
16 years ago
frosch
16ad1fe7bb
(svn r13693) -Fix (r11106, r11117): Do not rely on .tar files always ending with a block of zeros.
16 years ago
rubidium
bb3292943a
(svn r13692) -Fix (r13674): loading PNG sprites could very quickly fill the sprite cache.
16 years ago
smatz
a47b118a80
(svn r13691) -Codechange: make it easier to determine whether a command is ran in the context of autoreplace or not
16 years ago
belugas
e9a1142e0d
(svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it
16 years ago
belugas
a324f30783
(svn r13682) -Codechange: -Codechange: remove a now useless variable(dih).
16 years ago
rubidium
91a27d6441
(svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases (assertions on savegame loads).
...
-Fix [FS#2102]: but now in a hopefully beter way.
16 years ago
rubidium
0984d10d9f
(svn r13680) -Fix: NPF crashing when a ship tried to find a nearby depot when on an aqueduct.
16 years ago
rubidium
4db7c4f549
(svn r13679) -Fix [FS#2131]: saving TTD imported games in recession failed due to wrong (and unneeded) type conversions in the saveload code.
16 years ago
rubidium
b2479212ef
(svn r13678) -Fix (r13677): electric trains from pre elrail savegames would get stopped on load.
16 years ago
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.
16 years ago
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.
16 years ago
rubidium
9a8d1bcad5
(svn r13675) -Fix: memory leak when NewGRFs got forcefully disabled and they defined GOTO labels.
16 years ago
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.
16 years ago
rubidium
c1add55758
(svn r13673) -Fix [FS#2122]: desync when building electrified trains on a dedicated server that was started with electrification disabled.
16 years ago
belugas
a380976a2a
(svn r13672) -Fix(r13670): silent warnings that MSVC did not raised. Looks like enums can not be easily matched :(
16 years ago
frosch
ebb0059773
(svn r13671) -Cleanup: Zeros for sell.
16 years ago
belugas
741044e97b
(svn r13670) -Codechange : Merge some very alike events handlers.
17 years ago
frosch
ffb7e8ee17
(svn r13667) -Documentation: Comment 'tgp.cpp' a bit. Based on patch by CommanderZ.
17 years ago
belugas
496baad3aa
(svn r13665) -Fix[FS#2119]: Wrong PlayerID used for sending a message to.Patch by Yexo
17 years ago
rubidium
4642e9f75a
(svn r13664) -Fix [FS#2117]: bus/truck forgetting go-to-depot order when entering a non-drivethrough road stop.
17 years ago
belugas
490f013c58
(svn r13663) -Codechange: Use a default parameter, hoping to reduce the different signatures of functions in menus
17 years ago
rubidium
ad2bcaeae5
(svn r13662) -Fix [FS#2113]: crash when adding conditional orders to ships.
17 years ago
rubidium
6d1b927814
(svn r13661) -Fix: server crashing when banning the rconning client.
17 years ago
frosch
cfdc710104
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
17 years ago
frosch
654ea1a310
(svn r13648) -Cleanup (r5303): Amplitudes should be amplitudes and not amplitudes/16.
17 years ago
skidd13
0a178274e2
(svn r13647) -Codechange: replace MAX_UVALUE() for std types with the equivalent constant
17 years ago
belugas
54333f5f06
(svn r13646) -Change: typos and miss-aligned enum values
17 years ago
frosch
8a800ee258
(svn r13645) -Codechange: Convert a macro into an inlined member function.
17 years ago
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 :)
17 years ago
belugas
16e2717c0e
(svn r13643) -Codechange: Enumify some loosely related values been used in the toolbar resizing processes
17 years ago
belugas
554419d735
(svn r13642) -Documentation: Add the enum values to the widget arrays, in concordance with code style
17 years ago
belugas
5eabd09a97
(svn r13641) -Fix: Misleading enum name.
17 years ago
smatz
7ec2ad621d
(svn r13640) -Codechange: make colours behind not fully solid objects less darker for BM_TRANSPARENT (for 32bpp blitters)
17 years ago
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.
17 years ago
smatz
6f3b1745c2
(svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2
17 years ago
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)
17 years ago
frosch
545c1f1045
(svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for.
17 years ago
rubidium
ed298d6ff8
(svn r13633) -Fix: restoring 'service at depot X' orders from the order backup failed.
17 years ago
frosch
2b071f84ea
(svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch().
17 years ago
smatz
b7dfaa2ced
(svn r13631) -Fix (r13618): forgot #define avoiding multiple inclusions
17 years ago
skidd13
cbb081793a
(svn r13630) -Update: apply english.txt changes from r13628 to other languages
17 years ago
frosch
b5f2bd51fb
(svn r13629) -Fix [FS#2108](r13603): diameter != radius
17 years ago
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
17 years ago
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
17 years ago
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.
17 years ago
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.
17 years ago
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.
17 years ago
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.
17 years ago
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
17 years ago
smatz
40d5242f91
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
17 years ago
skidd13
241435226c
(svn r13617) -Codechange: calculate the diff in StationWaitingSorter directly
17 years ago
rubidium
c8d2db3e04
(svn r13612) -Fix [FS#2104]: wrong comment of CmdSetAutoReplace. Patch by Yexo.
17 years ago
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.
17 years ago
skidd13
6169c3fc17
(svn r13607) -Fix (r13606): some coding style issues got fixed but some got/stayed broken
17 years ago
skidd13
8b7d893d85
(svn r13606) -Codechange: use "static FORCEINLINE" where possible as default for core functions (big functions use just inline instead)
17 years ago
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.
17 years ago
smatz
6cb9d3802d
(svn r13602) -Codechange: little speedup for 8bpp-optimized blitter
17 years ago
smatz
d4a4075dc6
(svn r13601) -Codechange: resize the Tile Info window when it is needed, make it better readable
17 years ago
belugas
915a9ea6bd
(svn r13597) -Codechange: Enumification of the Map menu items.
...
The rework allowed to remove a function, by merging two quite similar ones.
17 years ago
frosch
aadd3b29af
(svn r13594) -Feature(ette)[FS#2093]: Supply newgrfs with 'day of month', 'leap year' and 'day of year'.
17 years ago
smatz
3d56c07440
(svn r13593) -Fix [FS#2095](r13524): sorting by cargo capacity was broken
17 years ago
skidd13
5e21504107
(svn r13592) -Fix: window size remembering was broken
17 years ago
peter1138
1d5c418fbe
(svn r13591) -Codechange: Support CB36 in the vehicle offer window.
17 years ago
belugas
84df01f00b
(svn r13590) -Codechange: Enumification of the Save/Load menu items
17 years ago
smatz
c1a1e28b88
(svn r13589) -Fix (r11802): signals could be propagated through waypoints built in orthogonal axis
17 years ago
belugas
6fa570762c
(svn r13588) -Documentation: Document the function PopupMainPlayerToolbMenu. Makes it a bit clearer, don't you think?
17 years ago
skidd13
ec261a6456
(svn r13587) -Codechange: make some globals members of VehicleListBase since they are used as such
...
-Cleanup: some small things referring the change
17 years ago
belugas
0fdb8057bb
(svn r13586) -Codechange: Using default parameter, for cases where there are few exceptions.
17 years ago
bjarni
7fa33c28a9
(svn r13584) -Fix: [OSX] Fixed issue where 10.5 failed to switch to fullscreen
...
This is done by selecting the 32bpp-anim blitter by default as it seems Apple removed some 8bpp support
Since this is done at runtime the same binary will still select 8bpp on 10.3 and 10.4
17 years ago
rubidium
5b615eae3a
(svn r13581) -Fix [FS#2040]: RVs continueing onto next DT station when they are build adjacent to them.
17 years ago
rubidium
aef8a214c3
(svn r13579) -Fix [FS#2088]: process the order coming after a conditional order, otherwise the vehicle would already leaving the station before it knows where the next destination is, making it leave in the wrong way. However, after processing as many conditional orders as there are in the order list it will stop processing them in order to not create an infinite loop.
17 years ago
rubidium
dd0a66e202
(svn r13576) -Codechange: disable static NewGRFs when non-static NewGRFs query them in the context of network games. This makes it impossible for static NewGRFs to disable non-static NewGRFs and 'bad' things happening because the non-static NewGRF doesn't know about the static NewGRF.
17 years ago
skidd13
ad9b19b77a
(svn r13575) -Codechange: Move small vector to core since it fits better in there
...
-Codechange: convert smallvector from struct to class
17 years ago
skidd13
a7e3f09f7c
(svn r13574) -Doc: Document the small vector template class
17 years ago
skidd13
1818d5c2e1
(svn r13573) -Codechange: Use smallvec class functions instead of class members
17 years ago
rubidium
ae91120307
(svn r13572) -Fix: MSVC x64 complains.
17 years ago
smatz
5259d13da7
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
17 years ago
smatz
25db4b3aae
(svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it to
17 years ago
smatz
811ae0ac3f
(svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences are now drawn until first non-opaque sprite is found (bit 14 not set)
...
This is to balance performance, code complexity and NewGRF requirements
17 years ago
smatz
883ffd1683
(svn r13564) -Codechange: do not use SetPixel in PaletteAnimate, access destination directly instead. Makes palette animation ~40% faster.
17 years ago
belugas
424a7935ad
(svn r13562) -Codechange: Yet another enumification, which required a bit of explanation/documentation of a trickery some would call a hack
17 years ago
belugas
5e8e2709d0
(svn r13561) -Codechange: two more enumifications of widgets
17 years ago
belugas
db174b8b9b
(svn r13560) -Fix(r13550): This section widget_count did not required to be lowered. So small revert
17 years ago
belugas
b8b47dcf50
(svn r13559) -Codechange: Enumification of the Options menu items
17 years ago
smatz
cf489a25b0
(svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined
17 years ago
smatz
4e2e078743
(svn r13551) -Codechange: store offsets to different zoom levels in a distinguished struct instead in the data stream for 8bpp-optimized
17 years ago
belugas
4bbe69f881
(svn r13550) -Fix(r13540, r13542): widget_count did not had the same value as 27. So, it has to be lowered by one, so it can be used as a widget "pointer"
17 years ago
peter1138
ea965c21e1
(svn r13544) -Codechange: Add support for NewGRF varaction2 variable 5F.
17 years ago
belugas
fb4619c8ea
(svn r13543) -Codechange: Enumification of the InGame toolbar and some leftovers of scenario editor one.
...
Still more go do
17 years ago
belugas
365705209b
(svn r13542) -Codechange: Less a few more magic numbers and a code a bit more adaptable, still
17 years ago
belugas
f5b1b5a640
(svn r13541) -Codechange: Aligning some switch case. Code cosmetics.
17 years ago
belugas
7b873ce0bc
(svn r13540) -Codechange: Less a magic number and a more adaptable code
17 years ago
glx
8578181a3a
(svn r13539) -Fix (r13537): signed/unsigned warnings
17 years ago
frosch
e04e2822b8
(svn r13538) -Fix (r12740)[FS#2087]: ChildSprites of foundations are not necessarily consecutive.
17 years ago
smatz
e00df941fa
(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions
17 years ago
belugas
b08db89d30
(svn r13536) -Codechange: Bit shifting is not really required when you know exactly the value to use.
...
Even more when it's a parameter.
17 years ago
skidd13
18097d0461
(svn r13535) -Codechange: Protect GUIList internals
...
-Fix: VL_FIST_SORT should be set after list rebuild too
17 years ago
skidd13
d85c5f020b
(svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting with GUIList function calls
17 years ago
skidd13
96e898699c
(svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls
17 years ago
skidd13
5e956bf57f
(svn r13524) -Codechange: use the typesafe QSort for vehicle sortings
...
-Prepare: vehicles sorting for convsersion to GUIList
17 years ago
skidd13
fc648a2b30
(svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting
17 years ago
skidd13
5dc6a19c26
(svn r13522) -Codechange: Replace the qsort of the highscore with one of the internal sorters
17 years ago
skidd13
477f22a6fd
(svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow
17 years ago
smatz
41457acd47
(svn r13520) -Fix (r13375): pointer has to be valid before it can be loaded to (SLE_STR)
17 years ago
belugas
d095599b58
(svn r13519) -Feature[newGRF]: Implement var 63, variational action2 variable for Houses.
...
Or, in more simple terms, the check for the animation frame of nearby house.
17 years ago
frosch
8fd2971bc3
(svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles.
17 years ago
skidd13
149bf45b77
(svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h>
17 years ago
skidd13
a8bb6177ee
(svn r13516) -Codechange: Move MemCpyT to a fitting core header
...
-Codechange: Split the sorting code from the sortlist to an appropriate header
17 years ago
belugas
e044910d52
(svn r13515) -Codechange: Widget enumification for scenario editor
17 years ago
belugas
cec90c1af1
(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)
17 years ago
belugas
a91eb2ad13
(svn r13513) -Codechange: Give proper message when building a river fails.
...
Give proper description of a river tile with the Query Tool.
Extracted (in part) from FS#1884, by Ammler
17 years ago
glx
d8fde03ec7
(svn r13508) -Fix (r7733): incorrect usage of strtoul
17 years ago
peter1138
7d877c0c05
(svn r13507) -Fix (r12856): first engine change should've been moved too
17 years ago
rubidium
e193349743
(svn r13505) -Fix: clear the memory for the new AI during the loading of a savegame so it does not try to execute commands generated in a different savegame, which could be resulting in the AI trying to give orders to stations that do not exist.
17 years ago
belugas
5d2ee7ecde
(svn r13504) -Codechange: enumify some widgets for scenario editor. More work is required.
17 years ago
belugas
224f8e6fec
(svn r13503) -Fix(r13173)[FS#2073]: Wrong widget numbers & event handlers were assigned to the zoom in and out buttons in the scenario editor
17 years ago
smatz
4298508918
(svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could cause deadlocks or crashes
17 years ago
smatz
4c7adc8009
(svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, planetmaker)
17 years ago
frosch
90507de6e4
(svn r13499) -Codechange: Allow drawing (ugly) leveled foundations on steep slopes, just in case someone needs them for fallback.
17 years ago
rubidium
b14d884a0a
(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
17 years ago
rubidium
ecbf3bd0de
(svn r13494) -Fix: a little documentation + copy-paste mistake for sprite.h.
17 years ago
skidd13
a7348eb7a0
(svn r13490) -Add: a seperate icon for aqueducts
17 years ago
rubidium
c97a045f57
(svn r13489) -Fix: first determine where to *exactly* build a house before asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good.
17 years ago
smatz
fe6f09e66e
(svn r13488) -Fix (r13485): track wasn't removed on company bankrupcy when there was a ship on lower halftile
17 years ago
rubidium
e2bcbd5c50
(svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail tiles.
17 years ago
peter1138
1c79b92989
(svn r13482) -Codechange: Use "extended bytes" in Actions 3 and 4 for vehicles
17 years ago
smatz
ea4c46da99
(svn r13481) -Codechange: add 'B' keyboard shortcut to build aqueduct (planetmaker)
17 years ago
rubidium
8e7f5072ce
(svn r13480) -Fix [FS#2050]: RVs stoppping at drive through stations of other companies.
17 years ago
smatz
52e1ca3ba3
(svn r13479) -Codechange: don't use word 'bridge' for aqueducts that often
17 years ago
smatz
a3e0078ef2
(svn r13478) -Codechange: don't use GetBridgeSpec() for aqueducts
17 years ago
smatz
c009a253dc
(svn r13477) -Fix (r13464): correct tile type in the Query tile info window
17 years ago
rubidium
e4675ed05e
(svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct.
17 years ago
smatz
6d4474d819
(svn r13475) -Fix (r13464): crash on destroying aquaduct with ship on in and on company bankrupt
17 years ago
glx
7b8b5f9a8d
(svn r13472) -Backport (r13467 from NoAI): make CmdRemoveRoadStop use p2 as documented (only look at bit 0, not at the complete value)
17 years ago
rubidium
7ccf05ff35
(svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future.
17 years ago
rubidium
6f550fc4ca
(svn r13468) -Fix: make aqueducts a little more expensive than normal bridges and disable terraforming of aqueduct bridgeheads; one can't terraform normal canal tiles either.
17 years ago
rubidium
137f2c072a
(svn r13466) -Fix (r13464): slope checking got lost during development...
17 years ago
rubidium
ee843728bf
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
17 years ago
smatz
2475d0010b
(svn r13462) -Codechange: move DriverFactoryBase destructor definition from header file (saves ~16kB)
17 years ago
smatz
506cde94b6
(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places
17 years ago
belugas
0e78f51801
(svn r13446) -Fix(r13443): changed the var previously introduced from 69 to 46, as no param was required (thanks frosch)
17 years ago
smatz
4ce73a679c
(svn r13445) -Codechange: make 32bpp_optimized blitter ~10-20% faster in drawing (depends on architecture and compiler)
17 years ago
rubidium
199b3d7886
(svn r13444) -Codechange: make the order GUI somewhat more efficient. The most used options can be done with a single click now.
17 years ago
belugas
ff419b7182
(svn r13443) -Feature[newGRF]: Add var 0x69 for industries, long format construction date.
...
Same as var B0, but base year is now 0, instead of 1920
17 years ago
belugas
03e2d30a33
(svn r13437) -Feature[newGRF]: Add long format introduction and maximum construction year for house.
17 years ago
smatz
e1d2cd6983
(svn r13434) -Fix (r13317): news window with invalid news item could be shown
17 years ago
rubidium
35f3284a60
(svn r13433) -Codechange: remove a now useless global variable.
...
-Fix: MP advertising was not advertising.
17 years ago
rubidium
b9eea93237
(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened.
17 years ago
rubidium
f80d8dbe0c
(svn r13417) -Fix (r12945, r13413): freeing the ThreadObjects in a manner that hopefully doesn't cause crashes.
17 years ago
rubidium
b830e6c714
(svn r13413) -Codechange: remove some enums that haven't been used for years.
17 years ago
truebrain
e767b4f778
(svn r13412) -Add: OTTDThreadTerminateFunc, for all thread systems, which is called when a thread is terminated. Now GenWorld- and SaveLoad-thread cleanup theirselves correctly, while Fibers don't (as that causes access-violations)
17 years ago
rubidium
4657ae97fc
(svn r13411) -Codechange: remove the return value from the thread procs because it is never used.
17 years ago
rubidium
d49a86cf48
(svn r13409) -Fix: division by zero when one would press 'd' (skip order) when there's no order.
17 years ago
rubidium
e2adaf59b2
(svn r13408) -Codechange: some stricter checking.
17 years ago
miham
f8c6872d45
(svn r13400) -Update: WebTranslator2 update to 2008-06-07 18:14:28
...
korean - 8 fixed, 16 changed by leejaeuk5 (24)
romanian - 5 fixed, 185 changed by CrystyB (190)
russian - 1 changed by Smoky555 (1)
17 years ago
frosch
5dd1387508
(svn r13397) -Fix: Do not crash when resolving vehicle sprite groups with zero sprites.
17 years ago
glx
6d3f35af8f
(svn r13396) -Fix (r13375): assertion failing when changing grfs in game (compatible grfs)
17 years ago
glx
b60a1326bf
(svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
17 years ago
rubidium
bb758700a8
(svn r13389) -Codechange: remove NM_CALLBACK because that information could be gathered from the fact that a callback has been specified. Patch by Cirdan.
17 years ago
peter1138
0a41936df8
(svn r13388) -Codechange: Remove "my invented flag for something that is a wagon"
17 years ago
rubidium
5990a92bca
(svn r13387) -Fix: industry directory sorting not working correctly (= != ==)
17 years ago
rubidium
e8767f730a
(svn r13386) -Fix: global currency/units setting being overriden when loading a savegame.
17 years ago
peter1138
ecfac35ccc
(svn r13385) -Fix (r12137): In the purchase list, CB36 for capacity was not called for the first part of rail and road vehicles.
17 years ago
miham
9096f8ac55
(svn r13384) -Update: WebTranslator2 update to 2008-06-05 08:15:43
...
brazilian_portuguese - 9 fixed, 6 changed by tucalipe (15)
catalan - 9 fixed by arnaullv (9)
croatian - 13 fixed by knovak (13)
czech - 33 fixed by Hadez (33)
danish - 47 fixed by ThomasA (47)
dutch - 9 fixed by habell (9)
estonian - 42 fixed, 5 changed by kristjans (47)
finnish - 5 fixed, 1 changed by kerba (6)
french - 9 fixed, 2 changed by glx (8), belugas (3)
icelandic - 75 fixed by scrooge (75)
italian - 9 fixed, 12 changed by lorenzodv (21)
korean - 76 fixed, 15 changed by leejaeuk5 (91)
portuguese - 7 fixed by izhirahider (7)
romanian - 97 fixed, 302 changed by CrystyB (399)
russian - 12 fixed by Smoky555 (12)
spanish - 12 fixed by eusebio (12)
swedish - 13 fixed by ChrillDeVille (6), daishan (7)
turkish - 39 fixed, 1 changed by jnmbk (40)
ukrainian - 10 fixed by mad (10)
17 years ago
belugas
c39997508e
(svn r13383) -Codechange: Put the cost of house removal in a class member
17 years ago
glx
f4b1d4b48b
(svn r13380) -Fix (r13327): MSVC signed/unsigned warning
17 years ago
glx
d74eac6211
(svn r13379) -Fix (r13255): drive side can't be changed in intro
17 years ago
smatz
1f1eea4873
(svn r13378) -Fix (r13375): compilation without network support was broken
17 years ago
peter1138
d4bf483ecd
(svn r13377) -Codechange: Let 'long format' build year work in vehicle purchase list.
17 years ago
belugas
840db9bcf0
(svn r13376) -Feature: Add access to current long year and date from Action 7/9/D and VarAction2 (23/24 or A3/A4)
...
Add access to (long format) building year, in Variational Action2 Variable 49 for Vehicles
17 years ago
smatz
1f55797fe3
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
17 years ago
peter1138
1b7fcf0171
(svn r13374) -Fix (r13364): Some common compilers do not yet support 9 year old specifications.
17 years ago
smatz
d67416088e
(svn r13373) -Fix (r10210): loading of very old savegames was broken
17 years ago
peter1138
c0d206f505
(svn r13372) -Cleanup: Excessive whitespace
17 years ago
peter1138
76bae9f8dd
(svn r13371) -Fix (r4510 ... r12924): Engine array size is not related to the ID used when setting a vehicle's name (it is vehicle type specific). Instead just test for a generic string.
17 years ago
rubidium
a315054443
(svn r13370) -Codechange: move the VARDEF stuff from openttd.h to variables.h so one doesn't need to include openttd.h before variables.h.
17 years ago
rubidium
994779e9e2
(svn r13369) -Codechange: remove duplication of network configuration settings between NetworkSettings and NetworkGameInfo.
...
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
17 years ago
belugas
0cf79d70d0
(svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date
17 years ago
belugas
f7b79916e8
(svn r13367) -Codechange: Allow CircularTileSearch function to return the tile where search has been successful, or INVALID_TILE if it has not
17 years ago
smatz
e40c7f66d8
(svn r13366) -Fix: clicking in the Subsidies window was broken
17 years ago
rubidium
678f2baf76
(svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting.
17 years ago
peter1138
64410681db
(svn r13364) -Codechange: Refactor action 3 mapping to use grf_load_*() instead of direct byte array access.
17 years ago
peter1138
93f8ff955c
(svn r13363) -Codechange: Code duplication tidy up
17 years ago
smatz
c1619d1321
(svn r13362) -Fix: make the town authority window a bit less glitchy
17 years ago
glx
679ca6af52
(svn r13361) -Fix (r13360): regexp failed
17 years ago
skidd13
8b3db22075
(svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc()
17 years ago
skidd13
f1c954e842
(svn r13359) -Codechange: convert _fios_items to a SmallVector
...
-Cleanup: some reincarnations of _fios_items in the code
17 years ago
rubidium
8cb2f63851
(svn r13358) -Codechange: split next order determination and conditional order processing functionality from the order handling. Patch based on work by michi_cc.
17 years ago
rubidium
5189877e3d
(svn r13357) -Codechange: add constness to YAPF.
17 years ago
peter1138
24562da11b
(svn r13356) -Codechange: Incorrect documentation and variable type for inflation rates
17 years ago
smatz
9cf0c8c96d
(svn r13354) -Codechange: make 8bpp_optimized blitter ~25% faster in encoding and ~15% faster in drawing (depends on architecture)
17 years ago
smatz
69ebefe1ac
(svn r13351) -Codechange: disable warnings about unused variable for builds without asserts
17 years ago
glx
4623846515
(svn r13350) -Fix: wrong tooltip for waypoint picker scrollbar
17 years ago
rubidium
f0f4e9d6ec
(svn r13349) -Codechange: remove a pointless flag; the flag is set before calling a function and is then reset in the function without ever reading it. Patch by Cirdan.
17 years ago
rubidium
723792cf08
(svn r13348) -Fix: an industry does not always need foundations; in the case of NewGRFs an industry can be built on a steep slope, however when 'querying' the foundation type of an industry we neglected the fact that these steep slope tiles do not have a foundation. As a result of this when one built a structure requiring foundations on a tile SW or SE of a steep slope industry tile it would try to apply the foundation on the steep slope to determine whether to draw the wall of the foundation and trigger an assert.
17 years ago
glx
fa81f5412f
(svn r13347) -Fix (r12396): ottdres.rc.in was forgotten
17 years ago
rubidium
224ca68fb5
(svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when having a build tool selected failed.
17 years ago
rubidium
20228809f0
(svn r13345) -Codechange: only one of all the NewsItem's instance duration variable, so move it so there is only once instance of that variable. Patch by Cirdan.
17 years ago
rubidium
387f4cfbe1
(svn r13344) -Codechange: remove some code duplication.
17 years ago
rubidium
bae02e8c67
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
17 years ago
rubidium
026afc097a
(svn r13342) -Fix: smallvec.h/sortlist_type.h didn't include everything they needed.
17 years ago
rubidium
8cc39500ba
(svn r13341) -Codechange: make most of the network settings configurable via the patch command.
17 years ago
rubidium
fe9ce6eac4
(svn r13339) -Feature: splitting of the main toolbar when the resolution becomes very low so the buttons are still visible and useable. Patch by Dominik.
17 years ago
rubidium
6efcd64912
(svn r13338) -Doc: add documentation about the window placement. Patch by Alberth.
17 years ago
rubidium
7526ee09a1
(svn r13337) -Doc: add documentation to some variables in settings_type.h.
17 years ago
rubidium
2bcc9d4d49
(svn r13336) -Fix: loading old savegames, e.g. the intro game, would reset the autosave settings.
17 years ago
rubidium
d36ff6af5a
(svn r13335) -Fix: remove rogue (debugging) printf.
17 years ago
rubidium
02dbab8721
(svn r13334) -Codechange: move the network settings variables from network/network_internal to settings.
17 years ago
rubidium
4b2c2521f9
(svn r13333) -Fix: compilance without networking enabled.
17 years ago
rubidium
0a78ad46fa
(svn r13332) -Fix (r13325): network games got somewhat broken.
17 years ago
peter1138
7f8d9148b8
(svn r13331) -Fix (r12924): Wrong include type for (sdt::)map
17 years ago
smatz
713923cd7e
(svn r13330) -Fix: 'Player name' dialog was broken in two ways
17 years ago
skidd13
c624a20a32
(svn r13328) -Fix (r13327): Don't access an item when there isn't any
17 years ago
skidd13
73cf52a7c4
(svn r13327) -Codechange: NetworkGameWindow uses GUILists Sort() now
17 years ago
rubidium
e7a501100a
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
17 years ago
peter1138
48e20d8012
(svn r13323) -Codechange: scrollbars are not refresh counters
17 years ago
rubidium
4151d68480
(svn r13322) -Codechange: _no_scroll belongs more with the window code.
17 years ago
rubidium
4a3dd37582
(svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp.
17 years ago
rubidium
793ac8baa4
(svn r13320) -Codechange: move some enums from openttd.h to more logical locations.
17 years ago
peter1138
698a51a41e
(svn r13319) -Codechange: Remove use of imaginary horizontal scrollbar in the group vehicle list
17 years ago
rubidium
3716f4814d
(svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to window_gui.h/window.cpp because they belong there.
17 years ago
rubidium
d3d0432314
(svn r13317) -Codechange: make news messages use a linked list instead of a moving circular buffer. This makes it possible to store more news messages in the history. Based on a patch by Cirdan.
...
-Codechange: the number of news messages is reduced by removing every news message that is a configurable amount older than when it would not be shown in the newspaper popup/ticker, which is e.g. a month for industry production changes and half a year for subsidy offers. As a result the more important messages will stay longer in the message history (if longer than 30 messages).
17 years ago
rubidium
f88349843a
(svn r13316) -Codechange: move some functions around to make them grouped more logically.
17 years ago
peter1138
05465d4d9a
(svn r13315) -Fix (r13314): Assert if no engines or wagons available
17 years ago
peter1138
c61baba819
(svn r13314) -Codechange: Switch EngineList from std::vector to GUIList
17 years ago
peter1138
4ab659e29b
(svn r13313) -Fix-ish (r13306): List was copied in another place the autoreplace gui...
17 years ago
skidd13
5f3aeb6670
(svn r13312) -Update: apply english.txt changes from r13311 to other languages
17 years ago
skidd13
4f7e14b6fb
(svn r13311) -Codechange: Use GUIList for the industry directory window
...
-Codechange: Replaced the four sort buttons by a dropdown
-Codechange: Reduced the default window size
17 years ago
smatz
3f000be670
(svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard)
17 years ago
rubidium
f740702f90
(svn r13309) -Fix: the difficulty settings from the savegame would be reset by the ones of the intro game.
17 years ago
peter1138
f731b31eda
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
17 years ago
peter1138
f97403803b
(svn r13306) -Fix (r8362): Pass engine list by pointer instead of making a copy of it.
17 years ago
peter1138
9a78083c8a
(svn r13305) -Fix (r13039): Confirmation window sent both yes and no answers instead of just yes.
17 years ago
smatz
f505e4e407
(svn r13304) -Fix (r13042): possible double free (showed up in r13092)
17 years ago
smatz
47c22cffce
(svn r13303) -Fix (r13301): 64bit gcc compilation was broken
17 years ago
rubidium
adabce3d11
(svn r13302) -Fix (r13301): GCC doesn't necessarily like what MSVC likes...
17 years ago
rubidium
33e18c236d
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
17 years ago
skidd13
0682b03046
(svn r13299) -Fix (r13286): Stations sort type isn't updated correctly
17 years ago
smatz
459239c9d2
(svn r13298) -Codechange: remove unused _total_signs
17 years ago
peter1138
6c7e6861f8
(svn r13297) -Codechange: Use GUIList for the town directory window
17 years ago
smatz
f538282f7a
(svn r13296) -Fix (r13276): VL_FIRST_SORT was never reset
17 years ago
smatz
ff7104865f
(svn r13295) -Codechange: remove now redundant check
17 years ago
skidd13
6180112c90
(svn r13294) -Codechange: convert the inheritance of GUIList in IndustryDirectoryWindow to a member object
17 years ago
smatz
8c8b002dd6
(svn r13293) -Fix (r13226): airport far from a town generated too much noise
17 years ago
glx
382c45120b
(svn r13292) -Fix (r13285): MSVC warnings
17 years ago
peter1138
44dd8955d1
(svn r13291) -Fix (r13266): qsort passed wrong sizeof data
17 years ago
peter1138
1272c55991
(svn r13287) -Codechange: move engine list gui code away from engine.cpp (and its headers) to engine_gui.cpp
17 years ago
skidd13
831343435c
(svn r13286) -Codechange: GUIList Sort returns now if the list sequence has been altered
17 years ago
skidd13
49010369d2
(svn r13285) -Codechange: station sorting uses GUILists Sort() now
17 years ago
skidd13
2094baf537
(svn r13283) -Codechange: convert the inheritance of GUIList in PlayerStationsWindow to a member object
17 years ago
smatz
33dc3165be
(svn r13280) -Fix (r13276): MSVC compilation was broken
17 years ago
smatz
691bf29724
(svn r13279) -Codechange: simplify condition for terminating loop when reversing list order
17 years ago
peter1138
855336a1e6
(svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists
17 years ago
rubidium
290b3bd3cc
(svn r13277) -Fix: opntitle 'jumping' to the temperate climate when closing the NewGRF settings window.
17 years ago
smatz
f2a5b2556c
(svn r13276) -Codechange: use qsort() for initial sorting of a list for better performance (credits go to skidd13 and peter1138)
17 years ago
smatz
75568d2df9
(svn r13275) -Fix: sort lists with 2 items, too
...
-Fix: reset VL_RESORT and resort timer even when no sort was needed
17 years ago
glx
b3d7ca0ceb
(svn r13273) -Fix [FS#2042]: MSVC warnings (again)
17 years ago
skidd13
16cee252a7
(svn r13271) -Codechange: groups sorting uses GUILists Sort() now
17 years ago
peter1138
0434e83e91
(svn r13270) -Codechange: There is no need to clear lists in the window constructor
17 years ago
skidd13
c3dd9d864e
(svn r13269) -Codechange: build bridge window uses GUILists Sort() now
...
-Cleanup: make some globals part of the build bridge window
17 years ago
skidd13
f202f1dda6
(svn r13267) -Codechange: extend GUIList with a GnomeSort
17 years ago
peter1138
781b90ac91
(svn r13266) -Codechange: Use SmallVector in GUIList
17 years ago
smatz
d969edaa8f
(svn r13260) -Fix: linked terraform toolbar wasn't marked dirty after moving
17 years ago
peter1138
bd5f782c61
(svn r13259) -Fix: Subsidy text could still overflow
17 years ago
rubidium
690c83edba
(svn r13258) -Codechange: add support for using (most) of the old patch names in the console.
17 years ago
belugas
2ed98629d7
(svn r13257) -Fix(r13226): Typo has found its way on the code... Thanks cirdan
17 years ago
rubidium
c4c440cc20
(svn r13256) -Codechange: merge the OPTS and PATS chuncks.
...
-Codechange: split the diff_custom variable.
-Feature: allow changing some of the diff_custom variables via the console in network games.
17 years ago
rubidium
d289464d69
(svn r13255) -Codechange: move _opt to _settings.
17 years ago
smatz
8d60206684
(svn r13254) -Fix: waypoint orders could have invalid flags set after conversion
17 years ago
smatz
115f4d6d51
(svn r13253) -Codechange: simplify conversion of old orders a bit
17 years ago
smatz
b4bfcd8118
(svn r13252) -Fix: when converting orders from older savegames, set 'Unload and leave empty' for 'Unload' orders
17 years ago
rubidium
dc77647ea4
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
...
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
17 years ago
peter1138
26ee8f3ca1
(svn r13250) -Codechange: Use VehicleList in SendAllVehiclesToDepot()
17 years ago
smatz
c9ef11159f
(svn r13249) -Fix [FS#2039]: make industry sorting by transported percentage more consistent
17 years ago
peter1138
6d65ce0c8b
(svn r13248) -Codechange: Use VehicleList for depot GUI.
17 years ago
rubidium
c5e38037f0
(svn r13247) -Codechange: small amount of coding style for settings.cpp.
17 years ago
peter1138
449a03be4b
(svn r13246) -Fix (r13245): incorrect parameters to memcpy
17 years ago
peter1138
bcd05a4bce
(svn r13245) -Codechange: Use SmallVectors for generating vehicle lists, simplifying calling code somewhat.
17 years ago
smatz
8d51e95c44
(svn r13244) -Fix: allow only one town directory window to be opened
17 years ago
rubidium
ce821b1ada
(svn r13242) -Codechange: remove _opt_ptr.
17 years ago
peter1138
4ea34e778c
(svn r13241) -Codechange: Simplify CmdDepotSellAllVehicles() a bit
17 years ago
peter1138
0a9e8854ec
(svn r13240) -Codechange: More const-ness for GUI code.
17 years ago
smatz
7672a059c9
(svn r13239) -Fix: certain compilers give false warning about uninitialized variable
17 years ago
frosch
7fbfe54c74
(svn r13234) -Fix: Check/affect town rating when removing/bulldozing town-owned road under drivethrough stops.
...
-Fix: Reset the 'town-owned-road'-flag when removing and rebuilding road under drivethrough stops.
17 years ago
frosch
8f104a2e97
(svn r13233) -Fix: Replace some (incorrect) evaluations of TileOwner by RoadOwner.
...
-Fix: Before evaluating RoadOwner, check if the roadtype is present.
-Fix: Some places assumed that MP_ROAD means normal street.
17 years ago
peter1138
ca244cbd06
(svn r13232) -Codechange: Simplify BuildDepotVehicleList()
17 years ago
rubidium
eb3347e9d8
(svn r13231) -Codechange: split the core console code and the console GUI.
17 years ago
frosch
9da2cd6e02
(svn r13230) -Fix [FS#2030](r13171): When closing toolbars, also close their PickerWindows.
17 years ago
rubidium
080af12d8b
(svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums.
17 years ago
rubidium
bf3b61cfa3
(svn r13228) -Codechange: split console.h.
17 years ago
peter1138
5f625acb1a
(svn r13227) -Codechange: Apply code style
17 years ago
belugas
08671d2e78
(svn r13226) -Feature: Allow to have more than only two airports per town. The number of airports is now controlled by the noise each of them generates, the distance from town's center and how tolerant the town is.
...
Initial concept : TTDPatch (moreairpots), Initial code : Pasky
Thanks to BigBB (help coding), Smatz Skidd13 and frosch for bugcatches and advices
17 years ago
peter1138
cfc45e97ab
(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() from lots
...
of windows causing 'two stage' opening effect.
17 years ago
rubidium
7ba02ef2b0
(svn r13224) -Fix (r13107): set the location of the old SelectPlayerFaceWindow when switching from simple to advanced or vice versa instead of letting the new window popup somewhere 'randomly'.
17 years ago
smatz
8841f3be40
(svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes
17 years ago
smatz
9e2490abb2
(svn r13221) -Fix (r8747): old AI failed to build oil rig routes
17 years ago
smatz
baeb6e5395
(svn r13217) -Fix: old AI was building small airports in years when they were not available in original game, causing small planes and helis everywhere
17 years ago
smatz
11e80b2794
(svn r13216) -Codechange [FS#2026]: enumify and comment Editor Terraform Toolbar widgets (Roujin)
17 years ago
smatz
6a4dad27fe
(svn r13215) -Codechange [FS#2029]: enumify and comment Build Dock widgets (Roujin)
17 years ago
belugas
47f1263fd8
(svn r13210) -Codechange: make town (previously named t) a private member of the different Town guis and assign it only once, at creation
17 years ago
belugas
165df7420b
(svn r13209) -Codechange: Privatize what should be private.
17 years ago
smatz
0df8060a64
(svn r13208) -Fix (r13173): it was possible to open invalid submenu from dropdowns
17 years ago
smatz
6b4f70099e
(svn r13207) -Fix: misleading comments (michi_cc)
17 years ago
frosch
7f80552293
(svn r13206) -Feature(ette): Display all owners of a tile in the tile-info-window.
17 years ago
peter1138
42f78d2fc3
(svn r13205) -Codechange: Remove unnecessary code-style-buggering-up macro.
17 years ago
glx
41adc28093
(svn r13202) -Fix (r13149): MSVC signed/unsigned warning
17 years ago
smatz
c1e45bcb01
(svn r13191) -Fix: segfault after confirming query subwindow in the Generate New World window
17 years ago
smatz
ebe6a8b0df
(svn r13190) -Cleanup: remove unused variable
17 years ago
rubidium
162e2e074b
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
17 years ago
rubidium
ad29064cf3
(svn r13184) -Codechange: make a window class of the signs list.
17 years ago
rubidium
df6446c07c
(svn r13183) -Codechange: make a window class of the VehicleViewWindow.
17 years ago
rubidium
8560c8f16f
(svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth.
17 years ago
rubidium
03f1292332
(svn r13181) -Codechange: make news callback handling a little simpler. Patch by Cirdan.
17 years ago
peter1138
b9cfaa6637
(svn r13180) -Codechange: make a window class of the TownDirectoryWindow.
17 years ago
smatz
17e4e33aee
(svn r13179) -Fix (r13173): r13178 applies to the main toolbar in Scenario Editor, too
17 years ago
smatz
d00d718b41
(svn r13178) -Fix (r13173): the main toolbar didn't respect patch settings, it was always positioned on the right side
17 years ago
belugas
5f0c2b27be
(svn r13177) -Fix[FS#2002]: Using level tool in scenario editor makes tiles brown. That is the only tool that does so in Scenario Editor (apart dynamite, of course).Report and Fix by Roujin
17 years ago