Commit Graph

19149 Commits

Author SHA1 Message Date
rubidium
3724f6c023 (svn r24475) [1.2] -Update: some documentation 2012-08-16 18:35:25 +00:00
rubidium
05ca97a975 (svn r24454) [1.2] -Update: some documentation 2012-08-01 19:18:15 +00:00
rubidium
a6a4d7110c (svn r24453) [1.2] -Backport from trunk: language updates 2012-08-01 19:10:25 +00:00
rubidium
83d5c6a88d (svn r24452) [1.2] -Backport from trunk:
- Fix: In some cases ships could be covered with land [FS#5254] (r24449, r24439)
- Fix: Copy constructor and assignment operator cannot be implicit template specialisations [FS#5255] (r24448)
- Fix: Make (non-refittable) vehicles with invalid default cargo unavailable [FS#5256] (r24438)
- Change: Allow passing C(XX)- and LDFLAGS to the compilation of helper binaries such as depend, strgen and settingsgen (r24432, r24429, r24427)
2012-08-01 19:07:04 +00:00
rubidium
54ad65d246 (svn r24426) [1.2] -Backport from trunk: language updates 2012-07-20 19:52:02 +00:00
rubidium
bb02a4ec73 (svn r24425) [1.2] -Backport from trunk:
- Fix: [Windows] Unbreak NewGRF MD5 sum calculation. Macros and side effects do not mix, especially if there is some obscure '#define min' in a windows header that nobody thinks of [FS#5231] (r24416)
- Fix: Disallow removing roadtypes from bridges when not dragging in bridge direction [FS#5221] (r24414)
- Fix: Draw wires under low bridges if the bridge is transparent, not if the wire is transparent (r24403)
- Fix: Station properties 11 and 14 were combined incorrectly [FS#5243] (r24402)
- Fix: [Windows] Changing resolution did not resize the window (r24394)
2012-07-20 19:49:02 +00:00
rubidium
d726d793ed (svn r24424) [1.2] -Backport from trunk:
- Fix: Use the 'all vehicles' group for the autoreplace window from the vehicle list [FS#5239] (r24392)
- Fix: Do not consider not finding a particular base set critical; just load a different one and display an in-game error later on [FS#5233] (r24388)
- Fix: Make IsInDepot() functions behave consistent across vehicle types and add IsChainInDepot instead, if that is what shall be checked [FS#5188] (r24384)
- Fix: Call Vehicle::IsStoppedInDepot only for the first vehicle in a chain (i.e. primary vehicle or free wagon) (r24382)
- Fix: Do not resize the object GUI when selecting objects. Rather clip the object name (r24379)
2012-07-20 19:45:31 +00:00
rubidium
b704037039 (svn r24423) [1.2] -Backport from trunk:
- Fix: ReInit could crash for windows with NWidgetMatrix widgets [FS#5218] (r24378)
- Fix: [NewGRF] Extended action A1 did not work correctly [FS#5227] (r24369, r24361)
- Fix: Add C(XX)FLAGS_BUILD to all the executables that are compiled for the build enviroment (r24365)
- Fix: [NewGRF] Ship-specific 80+x variables were missing for unknown reason [FS#5224] (r24360)
2012-07-20 19:42:00 +00:00
rubidium
975b6de604 (svn r24422) [1.2] -Backport from trunk:
- Fix: When airport construction was denied due to noise, the error message named the wrong town (r24354)
- Fix: [NoAI] A TileIndex is not a station id, so do not use it as one [FS#5215] (r24353)
- Fix: When highlighting the drop position for vehicles in depots, make space for all articulated parts (r24352)
- Fix: Short vehicles were not properly positioned at the cursor when dragging for RTL languages (r24351)
2012-07-20 19:39:06 +00:00
rubidium
fc11459405 (svn r24421) [1.2] -Backport from trunk:
- Fix: EQUALSIZE widget containers within EQUALSIZE containers were initialised with wrong sizes (r24346)
- Fix: The cursor in the company password window was not blinking due to wrong magic constants (r24335)
- Fix: [NewGRF] Change the length of 8/8 roadvehicles in vehicle lists to 32 pixels; this is in fact the correct length as can be seen in corners for short articulated parts following each other [FS#2553] (r24332)
- Fix: [NewGRF] Group vehicles in the purchase list properly by source GRF, but also consider engine GRFID overrides [FS#4254] (r24330, r24321)
2012-07-20 19:34:24 +00:00
rubidium
1971a5a2fe (svn r24420) [1.2] -Backport from trunk:
- Fix: Make the AI settings window behave more like the other settings window by closing the query window whenever selecting a different row (r24315)
- Fix: Editing NewGRF parameters using the query window showed wrong values, if there was no direct relation between parameter index and parameter register (r24314)
- Fix: Center object previews in 1- and 2-view selectors based on the 4-view selector layout [FS#5057] (r24299)
- Fix: Increase the left and right margins of the text in the yes/no query window (r24293)
2012-07-20 19:31:09 +00:00
rubidium
caa1a6fdeb (svn r24419) [1.2] -Backport from trunk:
- Fix: [NewGRF] GetReverseCargoTranslation() was unnecessary complicated and also returned the wrong thing for cargos not present in the translation table (r24273)
- Fix: [NewGRF] Load cargo- and railtype-translation during both reservation and activation stage. That way they can be selected using Action7 depending on present cargo- or railtypes (r24272)
- Fix: Use the same colour scheme for the script selection window as in other comparable windows (r24268)
- Fix: Make the oilrig-vehicle list accessible to spectators and colour its caption neutrally grey [FS#5126] (r24260)
2012-07-20 19:28:51 +00:00
rubidium
4a031c91db (svn r24305) [1.2] -Backport from trunk:
- Fix: [Script] ScriptTown::GetGrowthRate() returned wrong values after usage of SetGrowthRate() (r24302)
[1.2] -Update: documentation
2012-05-31 20:48:17 +00:00
rubidium
9a04ccdcab (svn r24258) [1.2] -Update: some documentation 2012-05-16 20:11:20 +00:00
rubidium
b6549a448d (svn r24254) [1.2] -Backport from trunk:
- Fix: Change the unit of the sprite-cache size setting from megabytes to megapixels, so it depends on the blitter being used. Also increase it from 64 to 128, and change the name in the cfg file, so everyone gets the new default [FS#5162] (r24252)
- Fix: Do not immediately display error messages from parsing the cfg file, but schedule them for displaying after the GUI is prepared for it [FS#5154] (r24250, r24249, r24248, r24247)
- Fix: The object GUI did not draw objects when all objects of a class are disabled (r24176)
2012-05-15 20:54:40 +00:00
rubidium
b8abfce71d (svn r24253) [1.2] -Backport: string updates from trunk 2012-05-15 20:48:06 +00:00
rubidium
8dfe4d2dca (svn r24232) [1.2] -Backport from trunk:
- Fix: Dereferencing uninitialised pointer causing a crash [FS#5159] (r24224)
- Fix: Lag counters were not properly reset when switching states making it possible to get disconnected for lagging when you were not lagging [FS#5166] (r24221)
- Fix: Adopt ICU version detection to also deal with the new versioning scheme since ICU 49 (r24220)
2012-05-12 07:47:00 +00:00
rubidium
012871f24c (svn r24231) [1.2] -Backport from trunk:
- Fix: Immediately do the cargo payment on vehicle crashes instead of when they are cleared [FS#5152] (r24219)
- Fix: The confirmation window to abort world generation was hidden during world generation, so actually you could not abort it [FS#5159] (r24214)
- Fix: If a company is taken over or bankrupts, transfer exclusive transport rights to the new owner respectively cancel them (r24204)
2012-05-12 07:46:05 +00:00
rubidium
7f8b41d956 (svn r24230) [1.2] -Backport from trunk:
- Fix: Make the engine name not overdraw the engine count in the autoreplace GUI (r24203)
- Fix: Make the size of the details in the autoreplace GUI match more the size of the details in the purchase list (r24202)
- Fix: Mark group list dirty when setting/clearing autoreplace for an engine type [FS#5170] (r24201)
- Fix: Invalidate build vehicle windows every month, in case they need resorting due to changed reliabilities [FS#5149] (r24200)
2012-05-12 07:42:39 +00:00
rubidium
fcaca9f7ee (svn r24229) [1.2] -Backport from trunk:
- Fix: If you consider a settings to potentially cause desyncs via NewGRFs and thus disallow changing it in network games, you should probably also sync it to clients (r24193, r24191)
- Fix: Use default value when reading an invalid setting value [FS#5153] (r24192, r24146)
- Fix: [Windows] When going to fullscreen and back, restore to the resolution you were, not to the fullscreen resolution (r24189)
- Fix: [Windows] When changing the basics of a window (fullscreen, 8bpp/32bpp), and a window already exists, it was forced out of maximize mode, and its resolution/position was reset, often causing unwanted side-effects [FS#5151] (r24188)
2012-05-12 07:37:14 +00:00
rubidium
5ca16c21d3 (svn r24228) [1.2] -Backport from trunk:
- Fix: Town radii were not updated immediatelly after construction/destruction of houses, resulting in desyncs [FS#5169] (r24183)
- Fix: The population of a town was computed incorrectly for overridden houses when loading a game (r24182, r24181, r24179)
- Fix: The object name from property A was not displayed in the object GUI [FS#5110] (r24178)
2012-05-12 07:31:25 +00:00
rubidium
0603cd6efc (svn r24227) [1.2] -Backport from trunk:
- Fix: [Squirrel] Crash when trying to create an array with negative size [FS#5160] (r24153)
- Fix: [NoAI] Do not return the last 'cached' speed of vehicles when they are stopped/crashed [FS#5157] (r24152)
- Fix: [Script] Typo in script documentation (r24151)
- Fix: Glass-sprite of bubble-generator was not drawn anymore for completely constructed tiles [FS#5143] (r24107)
2012-05-12 07:24:11 +00:00
rubidium
4e6310d848 (svn r24226) [1.2] -Backport from trunk:
- Fix: [Squirrel] Crash when trying to create an array with negative size [FS#5160] (r24153)
- Fix: [NoAI] Do not return the last 'cached' speed of vehicles when they are stopped/crashed [FS#5157] (r24152)
- Fix: [Script] Typo in script documentation (r24151)
- Fix: Glass-sprite of bubble-generator was not drawn anymore for completely constructed tiles [FS#5143] (r24107)
2012-05-12 07:22:40 +00:00
rubidium
7549982f12 (svn r24225) [1.2] -Backport from trunk:
- Fix: Conflicting strategies for resizing the main toolbar and statusbar after resizing the main window [FS#5136] (r24089)
- Fix: Significantly reduce the area that is redrawn for text effects [FS#5103] (r24068)
- Fix: Do not redraw up to 25% of the map when making a new vehicle visible for the first time (r24067)
- Fix: Do not redraw the text effect when nothing changed (r24066)
2012-05-12 07:19:47 +00:00
rubidium
87064a39a6 (svn r24120) [1.2] -Fix [FS#5155]: accidental removal of constant definition in Windows installer 2012-04-15 18:51:02 +00:00
rubidium
e4efad8374 (svn r24117) [1.2] -Update: some documentation 2012-04-15 11:49:54 +00:00
rubidium
7faff38bfb (svn r24116) [1.2] -Backport from trunk:
- Fix: When starting GS or AI, always use the settings of the game, not the new-game settings [FS#5142] (r24108)
- Fix: Provide translated comments in the desktop file without language name postfix (r24100)
- Fix: Cloning orders of aircraft with limited range failed [FS#5131] (r24086)
2012-04-15 08:50:23 +00:00
rubidium
2b5280bedb (svn r24083) [1.2] -Update: documentation 2012-03-31 21:50:52 +00:00
rubidium
dd0bc179be (svn r24082) [1.2] -Backport from trunk:
- Update: languages
- Fix: A fix that breaks all other cases isn't really a fix. Redo it to make sure that reservations of trains entering or exiting depots are properly made and freed-Fix [FS#5093,FS#5130] (r24071): A fix that breaks all other cases isn't really a fix. Redo it to make sure that reservations of trains entering or exiting depots are properly made and freed [FS#5093,FS#5130] (r24078)
2012-03-31 17:55:38 +00:00
rubidium
2a13e8c184 (svn r24075) [1.2] -Backport from trunk:
- Fix: Reversing trains while they were entering or leaving a depot could lead to stuck trains [FS#5093] (r24071)
- Fix: The 'last joined' server was not properly selected anymore [FS#5098] (r24070)
- Fix: Immediately start querying the last joined server instead of waiting for the requery loop [FS#5097] (r24069, r24062)
- Fix: Make the full snowedness level of houses the same as roads and rails [FS#5121] (r24064)
2012-03-26 20:41:21 +00:00
rubidium
557be445af (svn r24074) [1.2] -Backport from trunk:
- Fix: With certain versions of GCC and compiler flags the compiler could reorder some code badly causing the 32bpp depot flag not working [FS#5125] (r24063)
- Fix: Do not freeze aircraft mid-flight when skipping to an out-of-range destination [FS#5123] (r24060)
- Fix: Crash when timetabling a maximum travel speed of 0 [FS#5111] (r24053)
- Fix: [NewGRF] Imported GRF sounds were inserted into the wrong slots [FS#5107] (r24052)
- Fix: [NewGRF] Realsprites inside the action 11 block were not skipped correctly (r24050)
2012-03-26 20:38:53 +00:00
rubidium
12fac2345e (svn r24073) [1.2] -Backport from trunk:
- Fix: Wrong numbering of string parameters causing wrong capacities to be shown [FS#5124] (r24058)
- Fix: Improve error messages for the placement restrictions of banks, water towers and toy shops [FS#5095] (r24040)
2012-03-26 20:36:38 +00:00
planetmaker
adcb6aac5a (svn r24049) [1.2] -Doc: Add credits for title game
-Cleanup: Sync credits between readme and ingame information (r24048)
2012-03-19 20:39:55 +00:00
rubidium
c70e680e5e (svn r24045) [1.2] -Update: some documentation 2012-03-18 17:08:27 +00:00
rubidium
50fa7f679f (svn r24044) [1.2] -Fix: forgot some languages 2012-03-18 17:04:22 +00:00
rubidium
8545ab9c22 (svn r24043) [1.2] -Backport from trunk: string updates 2012-03-18 17:00:47 +00:00
rubidium
9c36498695 (svn r24041) [1.2] -Backport from trunk:
- Fix: After opening a text window with the monospaced font, all other text started glitching (r24038)
- Feature: Allow display of baseset textfiles (r24037)
2012-03-18 16:47:16 +00:00
rubidium
d5e69ff1fa (svn r24036) [1.2] -Change: the title game from the title game competition (sc79). Some changes have been made outside of the view to reduce the file size significantly (chop trees, flatten ground) 2012-03-17 11:49:26 +00:00
rubidium
908ff68459 (svn r24034) [1.2] -Backport from trunk:
- Feature: Increase the station class limit from 32 to 256 (r24031)
- Fix: [NoAI] reset 'is random' status of temporary variable during saveload as it is not always written to when loading an AI which means it wouldd be taking the 'is random' setting of another AI (r24033)
- Fix: [NoAI] Make AIEngine::IsArticulated return true if the articulated callback flag is set, do not try to run the callback (r24029)
- Fix: Pass cases down into the list of cargos [FS#5090] (r24024, r24023, r24022)
2012-03-17 11:20:43 +00:00
rubidium
b6d5e4d60c (svn r24014) [1.2] -Prepare for 1.2.0-RC2 2012-03-04 17:16:37 +00:00
rubidium
d793f89ec3 (svn r24013) [1.2] -Backport language updates from trunk 2012-03-04 17:12:36 +00:00
rubidium
32aee004c6 (svn r24010) [1.2] -Fix: forgot to backport r23992 2012-03-04 17:01:23 +00:00
rubidium
5814764af9 (svn r24009) [1.2] -Backport from trunk:
- Fix: [Script] AI used in names in API for GSOrder [FS#5088] (r24006)
2012-03-04 16:56:41 +00:00
rubidium
e19915d824 (svn r24007) [1.2] -Backport from trunk:
- Fix: Improve rounding when converting display speeds to internal speeds [FS#5079] (r23995)
- Fix: Also reset the font glyph cache when switching blitters (r23992, r23987)
- Fix: [NewGRF] Also display the cargo subtype for vehicles which have no capacity, but a subtype [FS#5076] (r23991)
2012-03-04 16:43:35 +00:00
rubidium
9bcd02e389 (svn r24005) [1.2] -Backport from trunk:
- Fix: Fix the order of lights on the helipad [FS#5082] (r23984)
2012-03-04 16:39:12 +00:00
rubidium
2ab087f31f (svn r24004) [1.2] -Backport from trunk:
- Fix: Zero the offsets of disabled zoomlevels, so they do not influence offset calculations (r23989)
- Fix: Invalid reads when scaling an odd-sized sprite smaller (r23986)
- Fix: Inconsistent quit/abandon/exit game/scenario/editor strings [FS#5074] (r23985)
- Fix: Tarred heightmaps would not be found [FS#5083] (r23983)
2012-03-04 16:38:05 +00:00
rubidium
9d168228e7 (svn r24003) [1.2] -Backport from trunk:
- Fix: Do not load a game during UpdateWindows as that might trigger changing the blitter which triggers re-entrant locking (r23980, r23977)
- Fix: [SDL] Palette update was done too late making switching from 8bpp -> 32bpp look ugly (r23978)
- Fix: Sprites of different zoom levels were not always padded correctly to a common size (r23976)
- Fix: Also save the maximum travel speed for the current vehicle order (r23973)
2012-03-04 16:33:13 +00:00
rubidium
8f8be22bc9 (svn r23970) [1.2] -Prepare: 1.2.0-RC1 2012-02-19 19:53:20 +00:00
rubidium
ebb7d2084b (svn r23968) [1.2] -Branch: there we go... 2012-02-19 19:07:09 +00:00
rubidium
1c4827cc71 (svn r23967) -Fix-ish: don't fix road ownership of standard road stops each time you load a savegame, only when loading an old one 2012-02-19 19:05:57 +00:00