peter1138
77717563e1
(svn r11780) -Codechange: When compiling a dedicated server build, select the dedicated video driver by default.
2008-01-07 16:41:03 +00:00
glx
2832a6cafb
(svn r11779) -Fix: win32 compile failed. Also removed a duplicate include
2008-01-07 15:35:36 +00:00
rubidium
eced1fb4ae
(svn r11778) -Fix: compiles with ICONV failed.
2008-01-07 15:17:23 +00:00
rubidium
a3ccdcea36
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
2008-01-07 14:23:25 +00:00
rubidium
38115acf5a
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
2008-01-07 14:02:26 +00:00
rubidium
a8a3a7e3f2
(svn r11775) -Codechange: move all autoreplace/autorenew functions to a single location.
2008-01-07 09:19:53 +00:00
rubidium
b0ac283aec
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
2008-01-07 00:57:19 +00:00
rubidium
64fc2ade9e
(svn r11773) -Codechange: move some non-clear-land functions from clear_cmd.cpp to a more correct location.
2008-01-07 00:45:05 +00:00
glx
119b03ea70
(svn r11772) -Change: add some extra checking in the hope to find the cause of FS#1335
2008-01-07 00:43:03 +00:00
rubidium
acc7c9eb01
(svn r11771) -Codechange: split settings.h into better separated headers.
2008-01-07 00:19:09 +00:00
peter1138
7be2160cfb
(svn r11770) -Codechange: An engine type's type is EngineID, not byte.
2008-01-06 20:54:55 +00:00
miham
fd330ce743
(svn r11769) -Update: WebTranslator2 update to 2008-01-06 19:58:01
...
brazilian_portuguese - 2 fixed, 15 changed by fukumori (17)
bulgarian - 29 fixed, 10 changed by groupsky (39)
croatian - 13 fixed by knovak (13)
czech - 2 fixed by Hadez (2)
dutch - 1 fixed by habell (1)
estonian - 1 fixed by kristjans (1)
french - 1 fixed, 1 changed by glx (2)
galician - 38 fixed by Condex (38)
italian - 1 fixed by lorenzodv (1)
japanese - 1 fixed by ickoonite (1)
norwegian_bokmal - 1 fixed by brygge_2 (1)
romanian - 1 fixed by kneekoo (1)
slovak - 1 fixed by lengyel (1)
swedish - 2 fixed by daishan (2)
ukrainian - 2 fixed by mad (2)
2008-01-06 18:58:55 +00:00
rubidium
aeff6e5761
(svn r11768) -Codechange: move some terraform related gui stuff from main_gui.cpp to terraform_gui.cpp (and introduce terraform_gui.h). Based on a patch by Roujin.
2008-01-06 18:56:43 +00:00
smatz
f7a293f074
(svn r11767) -Fix: do not call rail specific functions when building road bridge
...
-Fix: missing space in terraform_gui.cpp
2008-01-06 11:39:40 +00:00
belugas
f9a592cfdd
(svn r11766) -Codechange: Last fine tunings on smooth economy, by Sirkoz.
2008-01-06 01:06:12 +00:00
rubidium
279bfad275
(svn r11765) -Fix: compile warning (Roujin).
2008-01-05 22:34:04 +00:00
rubidium
f8f86420f8
(svn r11764) -Change: make the 'do characters exist in the current font file(s)' more robust.
2008-01-05 22:19:27 +00:00
smatz
e165aad4db
(svn r11763) -Fix: update signal states after merging a company
2008-01-05 22:04:11 +00:00
glx
91be5d7531
(svn r11762) -Fix: compilation with DEBUG_DUMP_COMMANDS was broken
2008-01-05 21:42:34 +00:00
peter1138
5d837282ee
(svn r11761) -Codechange: Use appropriate variable types for NewGRF engine overrides, and adjust scope while there.
2008-01-05 15:39:22 +00:00
smatz
7302d8c88b
(svn r11760) -Codechange: unify the way how other end of a tunnel/bridge is determined at some places
...
-Fix: adding road/tram to tram/road bridge was cheaper by one tile
2008-01-04 19:45:29 +00:00
peter1138
9299f76af4
(svn r11759) -Feature: Add drag-n-drop support to the raise/lower land tools. Land is raised/lowered at the start and the rest of the area levelled to match. Patch by Roujin.
2008-01-04 18:18:46 +00:00
peter1138
6a13067931
(svn r11758) -Fix(ette): Populate 'void' cargo slots (unused slots in temperate and arctic) with default data as per pre-newcargo support. These slots are still disabled by default, but some NewGRFs (erroneously?) expect the default data.
2008-01-04 17:25:53 +00:00
belugas
6b37ab36ea
(svn r11757) -Fix(r11727): Don't use a function's default parameter when the value can be (more adequately, even better) computed from another source.
...
Thanks peter1138.
2008-01-04 15:39:08 +00:00
peter1138
1cd2c3d517
(svn r11756) -Fix: Out of bounds access caused if a vehicle's cargo amount was higher than its capacity when resolving sprite groups.
2008-01-04 13:40:23 +00:00
peter1138
3182cbb332
(svn r11755) -Fix: Debug level string buffer was not long enough to contain all debug levels.
2008-01-04 10:09:57 +00:00
belugas
23fab42b2f
(svn r11754) -Fix(r11753): One too much command separator (;). Thanks glx for spotting
2008-01-04 03:31:08 +00:00
belugas
c59ea520a7
(svn r11753) -Codechange: re-indent the switch case structures, as to be more code style oriented.
...
Hoping it makes the whole file easier to follow/read
2008-01-04 03:11:36 +00:00
belugas
b0ef12e0e9
(svn r11752) -Fix(r11745): Silence a MSVC warning (glx)
2008-01-04 03:04:19 +00:00
belugas
8f94ac8f03
(svn r11751) -Codechange: Enumify some widgets (and others) and while at it, apply some code style
2008-01-04 02:32:58 +00:00
glx
72afdb8d34
(svn r11750) -Revert (r11749): commited too much
2008-01-03 23:54:23 +00:00
glx
42bddcf723
(svn r11749) -Fix (r11352): when a bankrupted company is bought, reset vehicle color mapping so the vehicles use the new owner color
2008-01-03 23:50:58 +00:00
belugas
aebcd80088
(svn r11748) -Codechange: Remove magic numbers introduced on r11746 and r11727
...
-Codechange: A few bad coding style inadvertendly applied too
2008-01-03 14:33:10 +00:00
belugas
7e4b7e3ad4
(svn r11747) -Change: Return of the prodigal son (or something). Little update (but highly noticed) on the OpenTTD Team
2008-01-03 14:04:08 +00:00
belugas
6ce70b17ca
(svn r11746) -Fix(r11727): Make sure that action 0A does follow the same new ordering of shore sprites. It was not considered in the missing shore patch
2008-01-03 02:39:06 +00:00
skidd13
ade37de6c6
(svn r11745) -Codechange: Unify the spinner widget drawing of the difficulty settings window and make its disabled state min max aware.
2008-01-02 23:59:11 +00:00
glx
6f7f4adffc
(svn r11744) -Codechange: don't redefine snprintf when using MinGW Runtime 3.14 or superior, as it now have snprintf() and vsnprintf conform to C99
2008-01-02 18:42:51 +00:00
rubidium
19f8990f64
(svn r11743) -Fix [FS#1614]: group names got not deallocated in the command test run.
2008-01-01 22:39:11 +00:00
peter1138
fa83291a76
(svn r11742) -Codechange [FS#1319]: Run window tick events when paused, so that news pop-ups and the about window still progress. For other windows the events are ignored when paused.
2008-01-01 22:34:00 +00:00
peter1138
47082fec5c
(svn r11741) -Feature: Add support for NewGRF's train 'tilt' flag. Trains with tilt capability (specific details are per NewGRF set) will be given a 20% speed limit bonus on curves.
2008-01-01 22:24:18 +00:00
egladil
9a2547b5a7
(svn r11740) -Fix [FS#1610]: Modify and possibly discard key events for code points in the unicode private use area.
2008-01-01 18:55:15 +00:00
peter1138
c94a6b8c78
(svn r11739) -Fix [FS#1609]: Set the new scroll position after zooming in instead of before, as the zoom will cancel it out.
2008-01-01 18:35:31 +00:00
peter1138
47d23eb003
(svn r11738) -Codechange: Refactor realistic acceleration's curve counting to use DirDiffs instead of local tables, and remove an unnecessary loop.
2008-01-01 18:12:17 +00:00
peter1138
24784b7e0d
(svn r11737) -Fix: Reinstate NewGRF-specified engine list order in autoreplace window.
2008-01-01 17:01:06 +00:00
miham
f0e9c0cfc9
(svn r11736) -Update: WebTranslator2 update to 2008-01-01 17:42:54
...
catalan - 1 fixed by arnaullv (1)
german - 4 fixed by chu (4)
hungarian - 23 fixed by miham (23)
romanian - 17 fixed, 2 changed by kneekoo (19)
slovenian - 1 fixed by Necrolyte (1)
2008-01-01 16:43:31 +00:00
peter1138
aab495604a
(svn r11735) -Fix [FS#1574]: Don't reset loading indicator IDs when only reloading NewGRFs.
2008-01-01 15:06:37 +00:00
belugas
3dd61f423a
(svn r11734) -Change: Allow ToggleFullScreen to return the result of the operation' attempt. Previously, only visual clues were available.
...
-Fix[FS#1519]: When you can not use this resolution at full screen, now you'll know that it failed.
As for the reason it did not work, each computer/OS has its reason.
2008-01-01 14:20:48 +00:00
peter1138
a8611311ac
(svn r11733) -Fix: Max speed for entering stations overrode the max speed of curves
2008-01-01 14:15:28 +00:00
peter1138
a967a7287f
(svn r11732) -Fix (r4150): elrail merge gave elrail, monorail & maglev unintended speed bonuses for curves, as the bonus was based on the railtype index. The bonus is now specified by a property of the railtype.
2008-01-01 14:00:31 +00:00
peter1138
7031358cff
(svn r11731) -Fix [FS#1582]: Clear sprite override data before performing NewGRF wagon attach callback. This stopped
...
the callback working for autoreplace and when moving wagons from train to train in a depot.
-Fix (r11724): Don't check wagon attach callback for the chain when moving a single wagon.
2007-12-31 21:51:16 +00:00
miham
d8f4a80b0a
(svn r11730) -Update: WebTranslator2 update to 2007-12-31 19:55:44
...
catalan - 1 fixed by arnaullv (1)
dutch - 1 fixed by webfreakz (1)
estonian - 1 fixed by kristjans (1)
french - 1 fixed by glx (1)
german - 27 fixed by moewe2 (27)
hungarian - 21 fixed by miham (21)
italian - 1 fixed by lorenzodv (1)
japanese - 1 fixed by ickoonite (1)
korean - 1 fixed by leejaeuk5 (1)
norwegian_bokmal - 23 fixed by jhsoby (23)
polish - 2 fixed by meush (2)
portuguese - 96 fixed, 7 changed by nars (103)
slovak - 1 fixed by lengyel (1)
spanish - 12 fixed by eusebio (12)
swedish - 13 fixed by ChrillDeVille (13)
turkish - 14 fixed by jnmbk (14)
2007-12-31 18:56:39 +00:00
peter1138
75472cbc16
(svn r11729) -Codechange: Don't rely on the first railtype's sprite offset being zero when drawing road stations.
2007-12-31 11:13:51 +00:00
rubidium
b1be9f0137
(svn r11728) -Fix [FS#1577]: if there are no houses that can be build in a specific year yet, force the houses with the earliest introduction year to be available.
2007-12-31 07:14:25 +00:00
belugas
8ee1faca6c
(svn r11726) -Feature[newGRF]: Extend the Action 5, feature 0D usage. Patch by BigBB
2007-12-31 04:38:11 +00:00
belugas
31e2ed8b4c
(svn r11725) -Codechange: less a magical number
2007-12-31 02:39:50 +00:00
rubidium
1a70eed58c
(svn r11724) -Fix: make it impossible (for users) to circumvent the length checking of the NewGRF 'allow wagon attach' callback by moving several wagons at a time.
2007-12-30 21:35:48 +00:00
skidd13
566a24d6ee
(svn r11723) -Feature: add initial support for Intel C Compiler on linux
...
-Codechange: silence a few warnings of ICC
2007-12-30 19:32:09 +00:00
glx
892e231aad
(svn r11722) -Fix (r11703): invalid plural form
2007-12-30 16:34:32 +00:00
rubidium
a3b19fd50c
(svn r11721) -Fix: do not disable NewGRFs for 'eternity' during games.
2007-12-29 23:49:48 +00:00
peter1138
06d578d07e
(svn r11720) -Codechange: [NewGRF] Add support for bit 30 of station tile layouts; forcing a sprite to always be opaque.
2007-12-29 21:06:54 +00:00
rubidium
e5e75bd8f8
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
2007-12-29 09:24:26 +00:00
egladil
6ae9302708
(svn r11718) -Fix [FS#1483]: Show the fullscreen modes available to the cocoa driver in windowed mode too.
2007-12-29 05:15:13 +00:00
smatz
108ab3b910
(svn r11717) -Fix [FS#1590]: make sure invalid players have all shares owned by PLAYER_SPECTATOR
2007-12-28 18:25:30 +00:00
glx
c87f20ff37
(svn r11716) -Fix [FS#1561]: don't put more than one Random() in function calls because parameter evaluation order is not guaranteed in the c++ standard (can lead to desyncs)
2007-12-28 16:21:29 +00:00
smatz
8e1f21e29b
(svn r11715) -Fix: do not use GetTrackBits() for depots and waypoints while converting railtype
2007-12-28 15:27:12 +00:00
belugas
e9a039b845
(svn r11714) -Fix[FS#1569]: Do not allow player inauguration date on scenarios to be bigger than current year.
...
This will not (yet) be true if you are loading a scenario with the "-g" command line option.
2007-12-28 04:20:56 +00:00
belugas
5087a6cdd7
(svn r11713) -Codechange: Move some declarations and definitions in a more logical disposition
2007-12-28 03:14:55 +00:00
maedhros
e2efaaff87
(svn r11712) -Fix (r9315): Add more house string id ranges to MapGRFStringID so NewGRFs use the proper string ids.
2007-12-27 20:49:44 +00:00
belugas
e67ed0a808
(svn r11711) -Codechange: Name the Save Load Dialog Mode enum
2007-12-27 17:29:27 +00:00
bjarni
6196fa01ab
(svn r11710) -Feature: [build vehicles windows] added sorting for cost, running costs and speed to road vehicles and ships build windows
2007-12-27 15:47:08 +00:00
egladil
6e1cae5256
(svn r11708) -Fix [FS#1598]: Removed include of variables.h as it was no longer needed and caused compilation to fail.
2007-12-27 14:45:10 +00:00
smatz
38f0e422ac
(svn r11707) -Fix: do not allow refitting flooded (destroyed) vehicles
2007-12-27 14:10:47 +00:00
rubidium
384503e7d3
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
2007-12-27 13:35:39 +00:00
smatz
4e66f5a04b
(svn r11705) -Fix [FS#1557]: trains could have sprites with wrong direction when reversing, also was inconsistent with save/load process (possible desyncs)
2007-12-27 13:25:23 +00:00
rubidium
0b1d3e43e5
(svn r11704) -Codechange: remove another bunch of useless includes.
2007-12-26 23:04:26 +00:00
miham
c124792fd2
(svn r11703) -Update: WebTranslator2 update to 2007-12-26 17:33:24
...
estonian - 16 changed by kristjans (16)
polish - 94 fixed, 6 changed by meush (100)
russian - 22 fixed by Smoky555 (22)
spanish - 11 fixed by eusebio (11)
traditional_chinese - 25 fixed, 4 changed by xbddc (29)
2007-12-26 16:38:34 +00:00
rubidium
b9046c97fb
(svn r11702) -Codechange: move all date related stuff to date*.
2007-12-26 13:50:40 +00:00
rubidium
2786d789a1
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
2007-12-26 11:45:43 +00:00
rubidium
aac835171e
(svn r11700) -Codechange: reduce the amount of unnecessary includes.
2007-12-25 23:42:52 +00:00
skidd13
59d6c5e157
(svn r11698) -Change: Make the abort/accept process of the difficulty window a bit less confusing
...
-Change: Make the highscore button in the difficulty window a bit more obvious
-Codechange: Enumify the window-widgets of the difficulty window
2007-12-25 15:56:41 +00:00
rubidium
0bd93f5c37
(svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly.
2007-12-25 14:08:56 +00:00
skidd13
7963963d98
(svn r11695) -Codechange: Converted the md5 algorithm to OOP
...
-Codechange: Adapt the md5 algorithm to the OpenTTD source
2007-12-25 13:59:21 +00:00
rubidium
b3f6c0734b
(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.
2007-12-25 13:28:09 +00:00
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
2007-12-25 11:26:07 +00:00
rubidium
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
2007-12-25 09:48:53 +00:00
egladil
e2f79f0eb5
(svn r11690) -Fix: Since indices into the patch array is sent over the network having conditionally compiled entries in the table can cause desyncs. Moving them to the end will hide this issue, but it should really be solved in a better way.
2007-12-25 01:29:54 +00:00
smatz
17d1b522bc
(svn r11689) -Fix: compilation error and most of warnings for gcc 4.3
2007-12-23 21:02:40 +00:00
egladil
22f79df328
(svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again.
2007-12-23 18:08:39 +00:00
skidd13
da5d3a7b3b
(svn r11687) -Codechange: move some defines to a better place
2007-12-23 14:06:03 +00:00
glx
451abbecb1
(svn r11686) -Fix (r11684): win32 compilation was broken again :)
2007-12-23 13:31:24 +00:00
rubidium
970fd6220a
(svn r11685) -Codechange: remove a few 'useless' includes.
2007-12-23 11:20:41 +00:00
rubidium
a773d45885
(svn r11684) -Codechange: split gfx.h in a type and functional header.
2007-12-23 10:56:02 +00:00
belugas
82d240e300
(svn r11683) -Fix(r11682): win32.cpp still requires gfx.h inclusion, at least for now.
2007-12-23 04:31:45 +00:00
rubidium
8f0e68285b
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
2007-12-22 23:30:28 +00:00
rubidium
a7d54cf946
(svn r11681) -Fix (r11674): hopefully fix the compile error on big endian machines.
2007-12-22 21:01:49 +00:00
rubidium
6a9e77e079
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
2007-12-21 22:50:51 +00:00
glx
1b53dbf9cc
(svn r11679) -Add: [newgrf] support for station vars 67 and 68
2007-12-21 22:11:55 +00:00
bjarni
18e96ab49f
(svn r11678) -Fix (r11674): [OSX] fixed compilation
2007-12-21 22:08:59 +00:00
rubidium
9e9cfe6e59
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
2007-12-21 21:50:46 +00:00
glx
65754b8d12
(svn r11676) -Fix (r11674): some references to macros.h were left
2007-12-21 21:16:14 +00:00
rubidium
433a9f3c09
(svn r11675) -Codechange: split the string types from the string functions.
2007-12-21 19:49:27 +00:00
rubidium
01e20c9140
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
2007-12-21 19:21:21 +00:00
rubidium
d5c4ba8246
(svn r11673) -Codechange: move the overflow safe type to a separate file.
2007-12-21 08:34:53 +00:00
rubidium
a6b1526c13
(svn r11672) -Codechange: refactor some stuff out of gui.h.
2007-12-21 07:38:36 +00:00
smatz
30c0d6da99
(svn r11671) -Fix: sometimes a vehicle was selected in the vehicle list when it was opened
2007-12-20 22:45:56 +00:00
smatz
4a80cf8482
(svn r11670) -Feature [FS#1565]: list neutral stations where the player has service in the station list too
2007-12-19 23:35:14 +00:00
rubidium
5b49e75453
(svn r11669) -Codechange: refactor tile.h -> tile_type.h and tile_map.h
2007-12-19 23:26:02 +00:00
rubidium
d582aea639
(svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found.
2007-12-19 20:45:46 +00:00
rubidium
8896bea306
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
2007-12-19 19:44:29 +00:00
glx
a9dafdff48
(svn r11666) -Fix (r11504): when removing buoys, return to water or canal depending on their owner
2007-12-19 02:41:25 +00:00
belugas
b8196d36e7
(svn r11665) -Fix: Animation informations should not be copied from original industry tile spec, while doing an action 00, industry tile, prop 08.
...
Fix directly inspired by Csaboka
2007-12-18 21:25:44 +00:00
rubidium
7db6c7db38
(svn r11664) -Codechange: use more specific ("rail_type.h" instead of "rail.h" that includes way more than only "rail_type.h") includes at some places.
2007-12-18 20:58:12 +00:00
rubidium
e4ef359f47
(svn r11663) -Codechange: moving of the road related types and functions.
2007-12-18 20:38:16 +00:00
rubidium
df0c6eb2b9
(svn r11662) -Codechange: move some rail types/related functions around.
2007-12-18 20:10:21 +00:00
rubidium
f56a354d31
(svn r11661) -Codechange: some header reworks in order to try to reduce the compile time of OpenTTD by reduce the amount of circular-ish dependencies.
2007-12-18 19:52:14 +00:00
miham
5dc1fcea04
(svn r11660) -Change: english -> english (uk), english_us ->english (us)
2007-12-18 18:08:51 +00:00
smatz
c26a265f21
(svn r11659) -Fix [FS#1563]: do not allow modifying non-uniform stations when non-uniform stations are disabled
2007-12-18 18:02:00 +00:00
smatz
0b08f7370d
(svn r11657) -Fix: show better error message when trying to convert rail
...
-Codechange: merge DoConvert functions into one, make test and exec runs the same for tunnels/bridges
2007-12-17 22:29:27 +00:00
smatz
bda9d4a236
(svn r11656) -Codechange: add ZOOM_LVL_BEGIN and postfix operators so ZoomLevel can be used in some iterations
2007-12-17 22:04:07 +00:00
miham
61dcdbf0e0
(svn r11655) -Update: WebTranslator2 update to 2007-12-17 20:16:03
...
danish - 22 fixed by ThomasA (22)
estonian - 18 fixed, 47 changed by kristjans (65)
italian - 4 changed by lorenzodv (4)
norwegian_nynorsk - 20 fixed by pollux (20)
2007-12-17 19:16:53 +00:00
miham
6f526fd2e1
(svn r11654) -Change: renaming american languagefile to english_US
2007-12-17 18:49:51 +00:00
egladil
2885c66060
(svn r11653) -Feature: [OSX] Allow windowed mode subdrivers to be disabled at compile time.
2007-12-17 07:47:21 +00:00
smatz
93c3e0d6ad
(svn r11652) -Codechange: add the svn $ header for several files
2007-12-17 01:35:45 +00:00
rubidium
9ecda0a97a
(svn r11651) -Codechange [FS#1555]: implement GRF parameter querying for industries and fix a 'bug' as side effect.
2007-12-16 23:10:30 +00:00
rubidium
85b52f6a64
(svn r11650) -Fix: 'initialised' NewGRFs could still be deactivated in the later 'activation' pass.
2007-12-16 22:21:34 +00:00
smatz
145517fb8e
(svn r11649) -Codechange: some code can be simplified thanks to changes in r11642
2007-12-16 19:30:42 +00:00
rubidium
0730b9afc1
(svn r11648) -Fix [FS#1560]: the company password was not set when one pressed the enter key.
2007-12-16 19:28:07 +00:00
rubidium
3bba097bb3
(svn r11647) -Fix (r11646): it did not compile without freetype...
2007-12-16 19:21:28 +00:00
rubidium
ff7ff890f9
(svn r11646) -Codechange: check whether (some) characters are missing in the current 'font' for the 'currently' chosen language and give a warning when that does happen.
2007-12-16 18:38:19 +00:00
glx
5e062d3f15
(svn r11645) -Fix (r8128): station ground tiles may have transparency or company colour
2007-12-16 17:50:09 +00:00
smatz
3cee0abdba
(svn r11644) -Codechange: merge some functions from tunnel_map.h and bridge_map.h into tunnelbridge_map.h
2007-12-16 15:38:51 +00:00
rubidium
ec90ce7e98
(svn r11643) -Codechange: conform with the coding style for the WP macro uses.
2007-12-16 10:54:08 +00:00
smatz
acf6e08f78
(svn r11642) -Codechange: VehicleFromPos does check for v->tile == tile, so remove useless checks
2007-12-15 23:11:18 +00:00
rubidium
214d25905a
(svn r11640) -Fix: missed change of include when moving stuff to random_func.cpp
2007-12-15 22:05:02 +00:00
smatz
701e9d27fc
(svn r11639) -Codechange: simplify EnsureNoVehicleOnGround
2007-12-15 20:30:43 +00:00
smatz
d0ad7688f2
(svn r11638) -Codechange: use faster check in SignalVehicleCheck for tunnel/bridge
2007-12-15 19:46:34 +00:00
smatz
4b22e57b33
(svn r11637) -Fix: mark viewports dirty when removing visible vehicle chain
2007-12-15 16:11:29 +00:00
smatz
46724104fe
(svn r11636) -Fix: it was possible to build/remove road/tram in tunnel/bridge when there was vehicle in it
2007-12-15 13:59:38 +00:00
belugas
828c242291
(svn r11635) -Codechange: Give a more informative debug message when encountering unknown newgrf feature in action 00 handling.(FS#1551, Bilbo)
2007-12-15 03:42:41 +00:00
smatz
5992187a85
(svn r11634) -Fix: update signals when deleting crashed train on a bridge, update even when train is rotated
2007-12-15 00:04:01 +00:00
smatz
4b7f8f04a3
(svn r11633) -Codechange: merge CheckTunnelEmpty and IsVehicleOnBridge into GetVehicleTunnelBridge
2007-12-14 23:21:20 +00:00
rubidium
dedb15786c
(svn r11632) -Fix [FS#1541]: vehicles were still followed when sold.
2007-12-14 21:11:30 +00:00
glx
ea1ae563c7
(svn r11631) -Fix (r11585, r11626): remove MSVC warnings
2007-12-14 00:25:00 +00:00
rubidium
2921e7482b
(svn r11630) -Fix [FS#1544] (r11556): the chat GUI got broken.
2007-12-13 23:26:00 +00:00
rubidium
a0f2366e40
(svn r11629) -Fix [FS#1527]: many viewports could crash the scenario editor.
2007-12-13 18:46:04 +00:00
miham
98d18c5337
(svn r11628) -Update: WebTranslator2 update to 2007-12-13 09:47:23
...
american - 30 fixed by WhiteRabbit (30)
brazilian_portuguese - 22 fixed by fukumori (9), tucalipe (13)
bulgarian - 8 fixed by thetitan (8)
catalan - 22 fixed by arnaullv (22)
croatian - 17 fixed by knovak (17)
czech - 22 fixed by Hadez (22)
danish - 1 fixed, 4 changed by Bjarni (5)
dutch - 22 fixed by habell (22)
estonian - 10 fixed by kristjans (10)
french - 7 fixed, 2 changed by glx (9)
italian - 7 fixed, 2 changed by lorenzodv (9)
japanese - 23 fixed by ickoonite (23)
korean - 33 fixed, 7 changed by leejaeuk5 (40)
norwegian_nynorsk - 9 fixed by pollux (9)
romanian - 13 fixed, 3 changed by CrystyB (16)
slovak - 22 fixed by lengyel (22)
slovenian - 22 fixed by Necrolyte (22)
swedish - 10 fixed by daishan (10)
turkish - 20 fixed by jnmbk (20)
ukrainian - 22 fixed by mad (22)
2007-12-13 08:53:09 +00:00
glx
1a8afc5fb4
(svn r11627) -Fix [FS#1532] (r11145): poping from text reference stack must be done in a precise order. But some compiler (MSVC) over optimised it and inverted this order.
2007-12-13 02:04:09 +00:00
skidd13
1d9c27e235
(svn r11626) -Fix [FS#1529]: Pause state wasn't set correctly in multiplayer saves
2007-12-12 21:56:10 +00:00
smatz
5acc147c1c
(svn r11625) -Codechange: add CO_* enum at some places, add includes of order.h too
2007-12-12 14:37:35 +00:00
belugas
e0646af976
(svn r11624) -Fix[FS#1530]: An error in the translation of bitset to scroll directions made it so that up-down-right arrow keys did scrolled up, while it should have scrolled right instead. It was initially interpreted as left-right-up.
2007-12-12 02:28:08 +00:00
smatz
ed54703db8
(svn r11623) -Fix [FS#1533] (r11619): assert when train is going over two crossings next to each other
2007-12-11 22:50:13 +00:00
rubidium
78ae599790
(svn r11622) -Codechange: support the unicode version of the 'control' characters.
2007-12-11 21:25:48 +00:00
rubidium
a5bcce4fc8
(svn r11621) -Fix [FS#1525]: there were still some cases where one could not build a tram track, but the tram could become blocked.
2007-12-11 20:28:53 +00:00
belugas
a85c832919
(svn r11620) -Change: Some are going, some are coming, some we do not know exactly. Little update on the OpenTTD Team
2007-12-11 19:59:53 +00:00
smatz
359c9aea3f
(svn r11619) -Fix [FS#1531]: do not make crossing red behind depot the train is entering
2007-12-11 19:09:36 +00:00
glx
fb1d768924
(svn r11618) -Fix: buoys are just waypoints, so don't allow load/unload/transfert for them
2007-12-11 17:44:55 +00:00
belugas
6f73382317
(svn r11617) -Feature(ette): Add the same game-mode keyboard shortcuts in scenario more.(Bilbo)
2007-12-11 03:41:33 +00:00
rubidium
a1dbb10c26
(svn r11616) -Fix [FS#1526]: sometimes large values could go off the chart.
2007-12-10 22:26:24 +00:00
glx
ac7c79f039
(svn r11615) -Fix (r11609): temperate banks can only be built in towns (over a house)
2007-12-10 17:26:49 +00:00
skidd13
9124331b0d
(svn r11614) -Fix: The about dialog scrolling was connected to the mouse instead of the internal ticks
2007-12-09 22:14:41 +00:00
glx
6a83f9141b
(svn r11611) -Codechange: it is now possible to use a define to enable asserts and show them in crash.log for MSVC release builds
2007-12-09 21:20:21 +00:00
glx
46c0edc80b
(svn r11610) -Cleanup (r8572): remove orphan comment
2007-12-09 20:20:52 +00:00
rubidium
6aaa72c918
(svn r11609) -Fix [FS#1524]: wrong error messages were shown when trying to build some industries in the scenario editor.
2007-12-09 18:51:25 +00:00
rubidium
c3ea7e4dc4
(svn r11608) -Fix: do not trigger industries, but only the industry's tiles.
2007-12-09 18:27:40 +00:00
skidd13
f20e414e2e
(svn r11607) -Codechange: Enumify the industry widgets
...
-Feature: Enable doubleclick in the found new industries window to build an industries
2007-12-09 17:07:50 +00:00
rubidium
079c0fd66a
(svn r11606) -Revert (r11584): since FS#1482 is solved, we do not need the extra checking and such anymore.
2007-12-09 15:17:49 +00:00
rubidium
5dc0e86d1b
(svn r11605) -Fix [FS#1482, FS#1523]: wrong count of Kirby trains when a ship was build.
2007-12-09 15:15:26 +00:00
smatz
5cd0013e5c
(svn r11604) -Fix: canal tiles were not marked dirty when surrounding tile got flooded, causing glitches
2007-12-08 21:57:24 +00:00
smatz
dfba33819b
(svn r11603) -Fix [FS#1481]: make price for railtype conversion more realistic
2007-12-08 19:53:30 +00:00
smatz
2a62aa1ccd
(svn r11601) -Codechange: more strict break conditions for _userstring, assert when it overflows anyway (eg. code change without proper check change)
2007-12-08 18:50:39 +00:00
glx
b47bce651e
(svn r11600) -Cleanup: remove extra out-of-memory checks, since it's now done in *allocT functions.
2007-12-08 15:47:23 +00:00
bjarni
2256d9d378
(svn r11599) -Change: [OSX] 10.4 will now use quickdraw for window mode instead of quartz
...
The reason is that quickdraw is way faster (try fast forward)
10.5 will still use quartz as it can't handle quickdraw.
2007-12-08 15:21:37 +00:00
rubidium
625a4f8e9a
(svn r11598) -Change [FS#1518]: some tooltips of the main toolbar did not 'enumerate' all options in a drop down menu.
2007-12-08 14:54:43 +00:00
rubidium
f1e4914b5f
(svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with (Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions.
2007-12-08 14:50:41 +00:00
belugas
73c58d8a40
(svn r11596) -Codechange: Use the Window member HandleButtonClick and remove its now useless counterpart function
2007-12-08 03:10:50 +00:00
belugas
b23f824f18
(svn r11595) -Codechange: add a new member to Window struct, based on its function counterpart HandleButtonClick.
2007-12-08 02:55:47 +00:00
glx
04f0700357
(svn r11594) -Fix: don't allow changing network only patches settings from console when not in network game
2007-12-08 01:36:40 +00:00
belugas
af4d07b978
(svn r11593) -Cleanup: remove some forgotten pieces of evidence of a mischief
2007-12-08 01:30:18 +00:00
belugas
8c89641dbe
(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function
2007-12-08 01:20:47 +00:00
belugas
6fb71047d6
(svn r11591) -Codechange: remove now unused widget accessors.
2007-12-08 01:02:19 +00:00
glx
8aaa4e7da6
(svn r11590) -Fix (r11193): IsSlopeRefused() result was half wrong
2007-12-07 21:16:38 +00:00
rubidium
cbb2d39860
(svn r11589) -Fix [FS#1514]: when ship depots got destroyed they always returned to water, even when it should've been canals.
2007-12-07 21:14:54 +00:00
glx
c21f588a14
(svn r11588) -Codechange: use the new member introduced in r11551
2007-12-07 18:05:49 +00:00
skidd13
98bd772119
(svn r11587) -Fix (r11457): The one way road button wasn't reset on abort
2007-12-07 17:51:27 +00:00
glx
10e17c30a3
(svn r11586) -Fix: make another widget 'accessor' function const when it should be const.
2007-12-07 17:42:15 +00:00
skidd13
7159007a35
(svn r11585) -Codechange: Enumify the widgets of the newGRF gui and a slight cleanup there
2007-12-07 12:22:34 +00:00
rubidium
42dbdbb7f9
(svn r11584) -Change: add some extra checking in the hope to find the cause of FS#1482.
2007-12-06 22:29:47 +00:00
rubidium
dd68a34e26
(svn r11583) -Fix [FS#1484]: windows could get completely missing when one resized the window to something very small.
2007-12-06 20:55:48 +00:00
smatz
720854ed16
(svn r11582) -Fix: tiles were not marked dirty in some cases when removing a lock
2007-12-06 20:48:15 +00:00
rubidium
3d38b2c8ba
(svn r11581) -Codechange: add some missing cargo classes and some documentation.
2007-12-06 20:36:46 +00:00
skidd13
2c3c6593d4
(svn r11580) -Feature: Memorise the resizing of the build bridge selection window during runtime
2007-12-06 18:29:31 +00:00
belugas
6c70cf2d82
(svn r11579) -Revert(r11578): some cases of key propagation are not handled correctly.
...
A better solution will be deviced, but not now. Let's not cause a ton of bug reports
2007-12-06 15:58:39 +00:00
belugas
7edf28529d
(svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY which specifies that the window holding it is actually one that enables an edit box.
...
Use this flag when dispatching a key event instead of using some hard coded window IDs.
This should ease a little bit the creation of new edit aware windows.
2007-12-06 02:31:47 +00:00
smatz
49d632c31b
(svn r11577) -Fix: invalidate 'list trains/roadvehs/ships/planes' widgets when station part is added/removed
2007-12-05 19:13:42 +00:00
smatz
eda5921284
(svn r11576) -Codechange: enumerize and comment station GUI
2007-12-05 17:08:10 +00:00
smatz
079482f0a2
(svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places
2007-12-05 16:55:33 +00:00
smatz
c65c14f06b
(svn r11574) -Fix: flood train stations when there are no trains on border tiles too (when non-uniform stations are OFF)
2007-12-05 00:16:20 +00:00
rubidium
8c5c0e9367
(svn r11573) -Codechange: pause games that miss GRFs by default and throw some warnings and disclaimers when you want to unpause it.
2007-12-04 22:50:07 +00:00
glx
46441ac31c
(svn r11572) -Fix [FS#1494]: reinitialise windows system before loading a savegame
2007-12-04 22:22:50 +00:00
rubidium
02c46026b3
(svn r11571) -Fix [FS#1493]: road vehicle getting to the wrong side of a station when trying to overtake in there.
2007-12-04 21:53:09 +00:00