Commit Graph

5956 Commits (755ce4127d93755fd87508ea8f45cc39bc058a5c)

Author SHA1 Message Date
translators 4f69f9d79d (svn r15942) -Update: WebTranslator2 update to 2009-04-03 17:29:01
icelandic  - 3 changed by scrooge (3)
lithuanian - 3 fixed by geckonas (3)
serbian    - 29 fixed by Jenraux (29)
slovak     - 7 changed by ezimir (7)
15 years ago
rubidium c3af69eb9d (svn r15941) -Codechange: jonty-comp's wish partly implemented (content server) ;) 15 years ago
rubidium e8852635ab (svn r15940) -Codechange: move setting reuse address to the binding process. 15 years ago
glx d3db002a4f (svn r15938) -Fix: broadcast addresses detection was broken for win32 15 years ago
rubidium cda1cb02ed (svn r15935) -Codechange: function to compare IP addresses (to sort them) 15 years ago
rubidium 627163b785 (svn r15934) -Fix: work around Solaris' inability to "parse" 0 as defined in the specifications. 15 years ago
glx cfac582c36 (svn r15933) -Fix (r15920): mingw doesn't know getaddrinfo() and freeaddrinfo() either 15 years ago
rubidium 2d140fab62 (svn r15932) -Codechange: show ip:port as (fallback) servername instead of only the ip. This way you can clearly see there aren't any duplicates. 15 years ago
rubidium bc7a870a61 (svn r15931) -Codechange: let the host and ban lists use of SmallVector. 15 years ago
glx 825aa87e80 (svn r15930) -Fix (r15926): MSVC compilation 15 years ago
alberth f9e9708ddc (svn r15929) -Codechange: Added nested widgets for statusbar. 15 years ago
alberth 9f1358f6c1 (svn r15928) -Codechange: Moving statusbar widget numbers outside StatusBarWindow 15 years ago
alberth eb920d54f3 (svn r15927) -Codechange: Added nested widget for generate-world windows 15 years ago
rubidium 2b7a30f209 (svn r15926) -Codechange: make the broadcast IP list less AF dependent. 15 years ago
rubidium be8919c968 (svn r15925) -Codechange: remove _network_server_bind_ip as it's pretty AF dependant. 15 years ago
rubidium 197eff1fa9 (svn r15924) -Codechange: replace NetworkResolveHost with something less AF dependant. 15 years ago
rubidium 3e6c6d7294 (svn r15922) -Codechange: unify the ways to listen on a socket 15 years ago
rubidium 020b1f9328 (svn r15921) -Fix: some OSes don't like sizeof(sockaddr_storage) but want sizeof(sockaddr) or whatever is 'valid' for the given protocol 15 years ago
rubidium 34f9223f6a (svn r15920) -Codechange: make the (TCP) connecting less AF dependent. 15 years ago
glx c56767317f (svn r15919) -Fix (r15916): mingw doesn't know getnameinfo() (unless you compile for XP SP2+). Also fix a MSVC warning. 15 years ago
rubidium 6664998667 (svn r15918) -Fix (r15917): comparing IPs sometimes failed due to 'random' data (as spotted by SpComb) 15 years ago
rubidium f22566f8df (svn r15917) -Codechange: remove the latest traces of NetworkAddress::GetIP. 15 years ago
rubidium 785779ca62 (svn r15916) -Codechange: let the network game list use NetworkAddress 15 years ago
rubidium bdf3611d02 (svn r15915) -Codechange: let the udp code use NetworkAddress. 15 years ago
rubidium 822ff14d73 (svn r15914) -Codechange: let the content handling make use of NetworkAddress. 15 years ago
translators 129586388d (svn r15911) -Update: WebTranslator2 update to 2009-04-01 13:51:05
icelandic  - 27 fixed, 11 changed by scrooge (38)
serbian    - 37 fixed by etran (37)
15 years ago
yexo 058477ed89 (svn r15910) -Fix [FS#2777]: Clarify that TILE_INVALID is part of AIMap make doxygen output some documentation for it. 15 years ago
rubidium 221bf711bd (svn r15909) -Fix (r15892): Apple, PLEASE do not fill your API with #if !__LP64__. Especially when another part of your API depends on whether __LP64__ is defined and thus making it non-trivial to silence the warnings from the undefinedness of __LP64__ in #if !__LP64__... 15 years ago
rubidium e2dfa4022e (svn r15908) -Fix: off-by-one in viewport strings/flags; left + width != right 15 years ago
glx 13b6aaa425 (svn r15907) -Fix (r15841): some strings in save/load dialog were drawn with a 2 pixel offset 15 years ago
alberth 5f1d446b85 (svn r15906) -Codechange: Completed widget number enum of world-generation windows. 15 years ago
rubidium 9050f35f8f (svn r15905) -Fix (r15424): chat completion got called twice causing tab completion to seemingly fail 15 years ago
frosch c1fec40b1a (svn r15901) -Add: AIIndustryType::IsBuiltOnWater(), HasHeliport() and HasDock(). Just like AIIndustry. 15 years ago
frosch 5b06f0fbad (svn r15900) -Fix (r5076): Adding settings is not enough, you also have to use them. 15 years ago
alberth f14e6e8ec9 (svn r15899) -Fix (r15898): Removed widget number comments used for debugging. 15 years ago
alberth c360303489 (svn r15898) -Codechange: Added nested widgets for create-scenrario window 15 years ago
alberth 0e2a75e97a (svn r15897) -Codechange: Completed widget numbers and comment of create-scenario window. 15 years ago
translators be438fcc93 (svn r15896) -Update: WebTranslator2 update to 2009-03-30 17:35:58
danish     - 2 changed by beruic (2)
icelandic  - 27 fixed, 13 changed by scrooge (40)
indonesian - 6 changed by anansboga (6)
polish     - 1 fixed, 13 changed by meush (14)
serbian    - 97 fixed by etran (97)
traditional_chinese - 2 fixed by josesun (2)
15 years ago
rubidium 87f140a418 (svn r15895) -Fix (r15685): fixing the slopes was done a bit more often than intended making map generation with the original generator horribly slow 15 years ago
glx 7cfaf4259d (svn r15894) -Codechange: remove console widget array (it was empty anyway) and window desc 15 years ago
glx ec704b21ca (svn r15893) -Add: watermark crash.sav and don't generate crash information if a loaded crash.sav causes a crash 15 years ago
rubidium 6ceeb47c8b (svn r15892) -Codechange: [OSX] some type fixes so OpenTTD likes more of the 3.1.x Xcodes. 15 years ago
frosch 973a014a73 (svn r15891) -Fix (r13464): YAPF used different penalties for aqueducts than for other water tiles. 15 years ago
smatz d046fea1b9 (svn r15890) -Codechange: unify the way 'can a town be placed here?' checks are done
-Change: the requirements for location of 'random' town are now a bit less strict
15 years ago
alberth df4dcea07b (svn r15889) -Codechange: Add pre/inter/post space to nested background widgets 15 years ago
frosch 8af8a22588 (svn r15888) -Fix (r15103)[FS#2772]: Round the production rate up, so e.g. oilrigs always produce some passengers on lowest production level. 15 years ago
rubidium 7c5ffdc354 (svn r15886) -Fix [FS#2770]: libtimidity cannot handle frees of NULL (in contrast of most other frees) 15 years ago
alberth bbd546b792 (svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback 15 years ago
glx 5298b5ef68 (svn r15884) -Codechange: New widgets for the industry windows 15 years ago
peter1138 0db236ccff (svn r15883) -Codechange: Make a widget enum for the sign list and use widget offsets instead of direct locations. 15 years ago
alberth 1d50f6c72f (svn r15882) -Codechange: New widgets for generation progress window. 15 years ago
yexo 9fd6956496 (svn r15881) -Fix (r15875): add an explicit cast so some compilers stop complaining. 15 years ago
glx 6208f53554 (svn r15880) -Codechange: add an invisible widget on company manager face windows to position company manager face image 15 years ago
glx dc609bb28e (svn r15879) -Codechange: add an invisible widget on advanced company face window to determine where to draw the strings instead refering to other widgets. Required for rtl languages. 15 years ago
alberth 3f5e43fee8 (svn r15878) -Codechange: New widgets for the engine preview window. 15 years ago
peter1138 a6de3cd932 (svn r15877) -Codechange: Let drop down lists know about font height. 15 years ago
alberth f5d6d21e6e (svn r15876) -Codechange: Nested widgets for build-dock station and dock toolbar windows. 15 years ago
yexo a0388f85a3 (svn r15875) -Add: AIBridge::GetBridgeID() so AIs can get the type of bridge that are already build. 15 years ago
yexo 2336879a85 (svn r15874) -Codechange: New widgets for the game options window. 15 years ago
alberth 185d8f2419 (svn r15873) -Codechange: Changing two comments to Doxygen comment. 15 years ago
yexo 4922b26dc5 (svn r15872) -Codechange: add paddings for widgets, this makes writing new widget arrays less cumbersome. 15 years ago
alberth 02c4145e9e (svn r15871) -Fix: Repositioning and resizing the coverage highlight buttons of the build-dock window 15 years ago
yexo 2965004426 (svn r15870) -Codechange: New widgets for the autoreplace window. 15 years ago
glx 45092468f9 (svn r15869) -Codechange: New widgets for select manager face and select livery windows 15 years ago
yexo 42d89c1efe (svn r15868) -Codechange: remove the close box from the widget array instead of doing it in the constructor of the difficulty window. This makes it work again in rtl languages. 15 years ago
yexo 5fa59bab6f (svn r15867) -Codechange: remove the assumption that the first widgets are the close box/title bar.
Most work already done by r15756.
15 years ago
yexo 8432a0b918 (svn r15866) -Codechange: New widgets for the difficulty window. 15 years ago
glx e6f26e29b6 (svn r15865) -Codechange: New widgets for company finances windows 15 years ago
glx b44e1f4075 (svn r15864) -Codechange: add some 'invisible' widgets on company finances window, and use them to determine where to draw strings instead using some magic values 15 years ago
smatz d80d0ae489 (svn r15863) -Fix (r15791): company money and game date strings were swapped on the statusbar 15 years ago
yexo 23212ae11c (svn r15862) -Codechange: New widgets for the road, rail and ship depot guis. 15 years ago
yexo 693563be8e (svn r15861) -Codechange: Add NWID_HORIZONTAL_LTR that forces the ordering from left-to-right. 15 years ago
frosch 779a9f4e24 (svn r15860) -Add: AIRoad::GetRoadVehicleTypeForCargo() to tell whether a certain cargo needs a bus- or a truckstop. 15 years ago
frosch 6f15901769 (svn r15859) -Documentation: Meaning of AICargo::CC_PASSENGERS wrt. bus- and truckstops, and meaning of AICargo::IsFreight() wrt. freight train weight multiplier. 15 years ago
yexo 8aa916bba6 (svn r15858) -Codechange: New widgets for the road toolbars. 15 years ago
translators 920c9ca053 (svn r15857) -Update: WebTranslator2 update to 2009-03-26 18:44:31
arabic_egypt - 8 fixed by khaloofah (8)
danish     - 4 changed by beruic (4)
dutch      - 1 changed by Excel20 (1)
icelandic  - 25 fixed by scrooge (25)
luxembourgish - 10 fixed by Gubius (10)
polish     - 1 fixed by xaxa (1)
romanian   - 1 fixed, 1 changed by kkmic (2)
welsh      - 4 fixed by PlayDead (4)
15 years ago
glx 561e8400ac (svn r15856) -Fix (r15819): NWidgetLeaf constructor don't use the provided window caption string 15 years ago
glx 14eb4b48d2 (svn r15855) -Codechange: complete the company finances window widget enum and remove unneeded magic in large window definition 15 years ago
yexo 34afd3b00d (svn r15854) -Codechange: New widgets for build tree window. 15 years ago
yexo dfa69033f1 (svn r15853) -Codechange: New widgets for the waypoint gui. 15 years ago
yexo 3659cd168e (svn r15852) -Codechange: New widgets for the AI windows. 15 years ago
rubidium f457d40ec0 (svn r15851) -Fix (r15849): compile failure when there's no freetype... 15 years ago
rubidium 003024cc21 (svn r15850) -Codechange: replace some magic constants with the less magic line height constant 15 years ago
rubidium 1328acc03e (svn r15849) -Codechange: provide easy access to the real height of the used fonts 15 years ago
peter1138 3b748ec62f (svn r15848) -Feature: Add autoclean_novehicles setting which will, when autoclean_companies is true, remove any company with no vehicles and no active client after autoclean_novehciles-months. 15 years ago
rubidium d4ad30674c (svn r15847) -Fix (r15837): the 'title' text of the music gui would be drawn big and in blue instead of small and in black 15 years ago
rubidium fd4825662f (svn r15846) -Fix: shuffle button text alignment was based on the wrong widget 15 years ago
peter1138 f913c42c5a (svn r15845) -Fix: Ancient comments 15 years ago
rubidium e1ca9bbeed (svn r15844) -Codechange: allow text alignment to be forced so the console and ai debug output don't get swapped (those are untranslateable anyways) 15 years ago
rubidium bce8a0a4fe (svn r15843) -Codechange: with RTL the caret would always be drawn at the end of the textbox. 15 years ago
rubidium 07f70fc801 (svn r15842) -Codechange: make DrawSortButtonState RTL. 15 years ago
rubidium cfae23076d (svn r15841) -Fix: the saveload window could draw directory partly outside the window 15 years ago
rubidium 2e7cab3b77 (svn r15840) -Codechange: complete the game option window widget enum and unify the naming. 15 years ago
rubidium a045f4129e (svn r15839) -Fix: high score text was (partly) off-screen when using RTL and the window was wider than 640 pixels 15 years ago
rubidium 90b9b7e069 (svn r15838) -Fix: MSVC 64 bits warnings 15 years ago
rubidium 8d7635616d (svn r15837) -Codechange: support SETX(Y) with RTL text, swap alignment for RTL text. 15 years ago
rubidium c1e0368f19 (svn r15836) -Fix [FS#2762]: acceptance not shown in the station window (swapping top and bottom isn't a great idea) 15 years ago
yexo 8b873859ba (svn r15835) -Codechange: Prevent using the return value of DrawString as much as possible. 15 years ago
translators 4fac6f42cc (svn r15834) -Update: WebTranslator2 update to 2009-03-24 18:51:22
bulgarian  - 13 fixed by Ar4i (13)
korean     - 2 changed by dlunch (2)
latvian    - 2 fixed by silentKnight (2)
luxembourgish - 14 fixed by Gubius (14)
polish     - 22 fixed by xaxa (22)
15 years ago
rubidium 9c0eadc949 (svn r15833) -Fix: alignment of up/down arrows and closebox when in RTL 'view' 16 years ago
rubidium 8b47431249 (svn r15832) -Codechange: improve the aligning of right aligned/centered strings 16 years ago
smatz fa0b0a5eb7 (svn r15831) -Fix: make sure house class/ID counters don't overflow 16 years ago
smatz ce4f598cf5 (svn r15830) -Codechange: don't use fixed size of array in news_gui.cpp and news_func.h 16 years ago
yexo 4bfcb07bca (svn r15827) -Fix (r15823): line still was a bit too long 16 years ago
yexo d8a0e59b9d (svn r15825) -Codechange: remove the WWT_DROPDOWNIN widget type and replace it with WWT_DROPDOWN. 16 years ago
rubidium 927c293bb1 (svn r15824) -Fix: determine the actual length of the strings to draw in the viewport 16 years ago
yexo 9ee020c84d (svn r15823) -Codechange: prepare the WWT_FRAME and WWT_DROPDOWN(IN) widget types for rtl languages. 16 years ago
rubidium 0e96b7b7c0 (svn r15822) -Codechange: replace some magic numbers and improve alignment of the start server window. 16 years ago
peter1138 efb0ae76e0 (svn r15821) -Fix (r15813): Wrong widget selection prevented drop down label showing in vehicle list windows. Instead of drawing the label ourselves we can set the dropdown's data property to the string to draw. 16 years ago
alberth 8f5f39cf09 (svn r15820) -Codechange: Some windows using nested widgets 16 years ago
alberth 4ac600e2cf (svn r15819) -Add: Nested widgets framework 16 years ago
rubidium af1ffc92d1 (svn r15818) -Fix [FS#2752]: some (newer) GCCs have trouble compiling the Win32 specific part of fontcache.cpp; jumps across variable declarations (Maeyanie) 16 years ago
alberth 82a171f175 (svn r15817) -Codechange: Make room for additional widget types (Rubidium) 16 years ago
translators 66365c2121 (svn r15816) -Update: WebTranslator2 update to 2009-03-22 18:37:40
english_US - 3 fixed by WhiteRabbit (3)
german     - 2 changed by planetmaker (2)
japanese   - 43 fixed, 2 changed by nex259 (45)
portuguese - 1 fixed by SnowFlake (1)
romanian   - 1 fixed by stykat (1)
16 years ago
rubidium fbbbe2ed30 (svn r15815) -Fix (~r15800): bridge strings got truncated too early 16 years ago
alberth f626d8935a (svn r15814) -Fix (r1): Remove double background widget from cheat gui 16 years ago
rubidium 6d3745a924 (svn r15813) -Codechange: remove the last remnants of the old text drawing API. 16 years ago
rubidium 2e38d7c332 (svn r15812) -Codechange: use the new DrawString API in another set of GUIs 16 years ago
rubidium 44e2b242cd (svn r15811) -Fix: left != right and as a result of that the ai debug window was kinda empty. 16 years ago
alberth a151dfefe9 (svn r15810) -Fix: Airport-type labels overlapped with first button, background did not cover whole window 16 years ago
alberth a079bf0a1f (svn r15809) -Codechange: Add name comments to build vehicle widgets 16 years ago
rubidium 12f1abbce0 (svn r15808) -Codechange: use the new DrawString API in a number of GUIs 16 years ago
rubidium 64e7ab4025 (svn r15807) -Codechange: let the build vehicle gui helper function pass around left and right instead of only left and assuming infinite width. 16 years ago
rubidium 0cae096d2d (svn r15806) -Codechange: pass both left and right to the vehicle details drawing functions instead of only the left. 16 years ago
alberth 24facf771d (svn r15805) -Codechange: Completing/fixing airportpicker widget names and adding them as comment 16 years ago
rubidium 06dda194e5 (svn r15804) -Fix (r15796): viewport strings weren't properly 'rendered'.
-Codechange: use the new string drawing API for the viewport.
16 years ago
rubidium 31a5457c03 (svn r15803) -Codechange: use the new text drawing API for multicenter
-Fix (r15800): off-by-one w.r.t. offsets
16 years ago
alberth fc24b775bb (svn r15802) -Codechange: Complete autoreplace GUI widget numbers and add them as comment 16 years ago
peter1138 82a535085d (svn r15801) -Fix (r15797): The new DrawStringMultiLine() now returns the new y position instead of the height, so we don't need to add it on. 16 years ago
rubidium 136bbbea9c (svn r15800) -Codechange: make the engine gui use the new multiline API. 16 years ago
peter1138 b23d16d76f (svn r15799) -Codechange: Save rail type label list to savegame and perform mapping on load if necessary. 16 years ago
yexo 8517899d37 (svn r15798) -Fix (r15795): gcc doesn't like static functions that are not declared static. 16 years ago
rubidium dcd5ad8b19 (svn r15797) -Codechange: make users of the old DrawStringMultiLine use the new one. 16 years ago
rubidium 93b0548999 (svn r15796) -Codechange: unify multiline drawstrings 16 years ago
yexo 790af95126 (svn r15795) -Codechange: Move the settings table from settings.cpp to table/settings.h. Patch breaking time :) 16 years ago
rubidium a1088869f5 (svn r15794) -Codechange: remove the DoDrawString part of the old text drawing API 16 years ago
frosch 6900854383 (svn r15793) -Feature: Allow train vehicles to be shorten to 1/8 length, even if not at the end of the train. 16 years ago
frosch 12dbe1dd0f (svn r15792) -Codechange: Use a different algorithm for train vehicles to follow the vehicle in front of them. 16 years ago
rubidium 2a422e3e95 (svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API. 16 years ago
rubidium 89d614deea (svn r15790) -Codechange: remove the *Centered part of the old text drawing API. 16 years ago
frosch 25b70e8c0d (svn r15789) -Codechange: Add DiagdirBetweenTiles() and use it. 16 years ago
rubidium 2f1bfe3813 (svn r15788) -Codechange: enumify the network join status widgets and use them. 16 years ago
rubidium fa6e82adfa (svn r15787) -Codechange: enumify the land info and about window widgets and use them. 16 years ago
rubidium eb058b44ff (svn r15786) -Codechange: enumify the engine preview widgets (and use them) 16 years ago
rubidium c1aabd9842 (svn r15785) -Codechange: remove the *Truncated part of the old text drawing API. 16 years ago
glx 583c756679 (svn r15784) -Fix (r15779): TextAlignment and TA_* already exist on windows 16 years ago
rubidium 303a8f9673 (svn r15783) -Codechange: make the dropdown draw code pass around the left/right instead of the x and width to make drawing text at offsets easier. 16 years ago
rubidium b3b4be2dde (svn r15782) -Codechange: replace some calls to the all text drawing API to the new one. 16 years ago
yexo be3d672d3a (svn r15781) -Fix [NoAI]: Missing "AIs" in the information the debug AI prints. 16 years ago
translators 641cf47ddf (svn r15780) -Update: WebTranslator2 update to 2009-03-21 18:49:32
german     - 2 changed by planetmaker (2)
hebrew     - 18 fixed by EScake (18)
lithuanian - 27 fixed, 1 changed by Devastator (28)
polish     - 29 fixed by coolik (29)
portuguese - 9 fixed by SnowFlake (9)
russian    - 1 changed by Smoky555 (1)
spanish    - 1 fixed by erregerre (1)
16 years ago
rubidium 83ebb4ed74 (svn r15779) -Codechange: unify (most) of the text drawing "API". 16 years ago
rubidium 34eb5364bb (svn r15778) -Fix [FS#2749] (r15666): when sorting on cost don't sort on the running cost (sbr) 16 years ago
rubidium 4eea5c9669 (svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth) 16 years ago
yexo 4b8d1a58a2 (svn r15774) -Fix (r15708): Don't show the message about reporting an AI crash for the dummy AI. 16 years ago
rubidium f524d39963 (svn r15773) -Fix [FS#2475]: number of active clients wasn't always properly 16 years ago
yexo 73e1f38934 (svn r15772) -Fix (r15767): MSVC can't find the right function anymore because the return value in the header was not updated. 16 years ago
yexo e59a6b3123 (svn r15771) -Fix (r13256): Settings from the [gameopt] section (from 0.6 config files) were overwritten with default values. 16 years ago
translators 47aecaee64 (svn r15770) -Update: WebTranslator2 update to 2009-03-19 18:49:29
danish     - 33 fixed by ThomasA (33)
16 years ago
translators 571d3cedd4 (svn r15769) -Update: WebTranslator2 update to 2009-03-19 18:46:01
arabic_egypt - 4 fixed, 1 changed by khaloofah (5)
brazilian_portuguese - 5 fixed by tucalipe (5)
esperanto  - 9 fixed by maristo (9)
polish     - 7 fixed by Simek (7)
slovak     - 3 fixed by James (3)
swedish    - 6 fixed by Wiggelicous (6)
16 years ago
rubidium 6ed503f7e9 (svn r15768) -Change: remove an "experimental" marker for something that has been working fine for a long time and remove the ununderstandable part of the description. 16 years ago
rubidium 433d23a53c (svn r15767) -Fix: infinite loop when skipping sprites when a GRF is invalid (or truncated). 16 years ago
rubidium 485961b260 (svn r15766) -Fix [FS#2744]: Crash when opening the content list window twice; inconsistencies when clicking download twice. 16 years ago
frosch c297a99eff (svn r15763) -Codechange/Fix: Add Engine::GetDisplayDefaultCapacity() and use it everywhere, so CB 36 is also used everywhere. 16 years ago
glx 6d9b2ac76a (svn r15762) -Codechange: inlined utf8 chars are not handled properly on eastern version of windows so escape them 16 years ago
translators b798030c64 (svn r15761) -Update: WebTranslator2 update to 2009-03-18 17:44:55
croatian   - 10 fixed by tifached (10)
indonesian - 4 fixed by adjayanto (4)
japanese   - 60 fixed by ickoonite (60)
latvian    - 5 fixed by silentKnight (5)
russian    - 4 fixed by Smoky555 (4)
16 years ago
rubidium 1ba5811024 (svn r15760) -Codechange [FS#2704]: support that the resize box is at the left side of the window too (based on work by Alberth) 16 years ago
glx 47b2e67373 (svn r15758) -Fix (r15757): win9x compilation 16 years ago
glx 5793f78b16 (svn r15757) -Fix/hackaround (r15314): of course on some system searching a font using its english name fails. So now we search the font using the localised name and use the english name for the final 'validation' only. 16 years ago
rubidium f7155ed34a (svn r15756) -Codechange: remove the assumption that the second windget is always the title bar. Also replace a few magic numbers with a const. 16 years ago
frosch bec067f53b (svn r15755) -Fix: Number of houses in house variables 0x44, 0x60 and 0x61 were incorrect after 0xFF had been reached and could desync clients joining afterwards. 16 years ago
translators 1830f72878 (svn r15754) -Update: WebTranslator2 update to 2009-03-17 18:42:46
bulgarian  - 63 fixed by thetitan (63)
dutch      - 4 fixed by habell (4)
romanian   - 3 fixed by kkmic (3)
spanish    - 3 fixed by eusebio (3)
turkish    - 3 fixed by Emin (3)
ukrainian  - 4 fixed by mad (4)
16 years ago
yexo 6c6e1cccb1 (svn r15753) -Fix (r15702)[FS#2742]: Crash when clicking the small area between the savegame list and the save button in the save game window. 16 years ago
glx f58c95d532 (svn r15752) -Fix: don't try to (un)draw the cursor when the screen is not ready 16 years ago
yexo cec7005749 (svn r15750) -Fix: The big ufo sometimes landed just outside the map. Instead of landing, just disappear (fly away) in those cases. 16 years ago
yexo f7a7a1f158 (svn r15749) -Codechange: apply coding style to disaster_cmd.cpp 16 years ago
rubidium 1323e94607 (svn r15748) -Fix (r1722): the assumption that the number of tiles on the X side equals the number of tiles on the Y side does not hold anymore. As a result of this submarines could be created far outside of the map. Later in r15733 we would test whether that tile would be a water tile and we'd find out the tile isn't within the map. 16 years ago
rubidium 72a9d62638 (svn r15747) -Fix [FS#2736]: road ownership getting lost when removing a road stop. 16 years ago
orudge 1da742f010 (svn r15746) -Fix: Update threading code for OS/2, add mutex support 16 years ago
orudge de67610a7a (svn r15745) -Fix: Resolve compile error in fileio.cpp on OS/2 - base paths on OS/2 behave much like DOS 16 years ago
smatz f32f1a78f2 (svn r15744) -Fix (r9667): when town generator failed to create requested number of towns, there were too many cities 16 years ago
yexo cd73406b9c (svn r15743) -Codechange: move the definitions of some fake squirrel types to their own file. 16 years ago
yexo b4fb14693a (svn r15742) -Fix (r15736): AIs with an invalid info.nut weren't ignored anymore. 16 years ago
smatz 96443c683a (svn r15741) -Fix (r15740): czech town name generator needs very long buffer, use different min size for each generator 16 years ago
smatz d23c9f7a6c (svn r15740) -Codechange: make code in namegen.cpp ~50% faster, apply coding style and add comments 16 years ago
peter1138 5f57ea7198 (svn r15739) -Codechange: Expose GRF ID of engines in var action property 0x25. 16 years ago
yexo d02548b204 (svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic classes ScriptScanner/ScriptFileInfo. 16 years ago
rubidium da81f72532 (svn r15735) -Update: trunk ain't going to 0.7 anymore ;) 16 years ago
yexo fcff9e79e2 (svn r15733) -Fix: Enabling freeform edges could cause submarines to get stuck on land tiles. 16 years ago
rubidium f08870850e (svn r15732) -Fix: enumified constant name style 16 years ago
rubidium e0fa11dd70 (svn r15731) -Codechange: unify submarine creation 16 years ago
rubidium 6487883084 (svn r15729) -Fix: silence MSVC warning 16 years ago
translators ea36f23d53 (svn r15728) -Update: WebTranslator2 update to 2009-03-15 18:52:21
czech      - 7 fixed, 6 changed by SmatZ (13)
danish     - 4 fixed by MiR (4)
german     - 3 fixed by planetmaker (3)
hungarian  - 2 fixed by alyr (2)
indonesian - 2 fixed by fanioz (2)
korean     - 4 fixed by darkttd (4)
lithuanian - 43 fixed, 1 changed by Enternald (8), geckonas (36)
norwegian_nynorsk - 12 fixed by Thor (12)
16 years ago
smatz 2168f2f4b9 (svn r15727) -Codechange: apply coding style to namegen arrays
-Fix (r1307): missing comma in _name_original_english_4
16 years ago
smatz e0fe28fdc9 (svn r15726) -Codechange: unify coding style for const pointers 16 years ago
smatz d28895c88b (svn r15725) -Fix: centering on a vehicle didn't respect its z coordinate 16 years ago
rubidium 57c5ce84eb (svn r15724) -Codechange: some widget documentation/fixing of enumified constant names (Alberth) 16 years ago
rubidium 7f468dc142 (svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth) 16 years ago
rubidium 51b285233f (svn r15721) -Change: give a more useful (for 'normal' users) error message when there's no AI and they want to play with an AI 16 years ago
rubidium 1e905be475 (svn r15720) -Change: put a bit more information into the crash log 16 years ago
yexo af5c6f7996 (svn r15719) -Update: the credit section. 16 years ago
rubidium c3e87f345d (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 16 years ago
rubidium 332846e9e2 (svn r15717) -Cleanup: apply some documentation coding style upon the stuff in table/ 16 years ago
yexo 6fe181ae64 (svn r15716) -Change [NoAI]: AI libraries should now be stored in ai/library/<library_name>/ instead of ai/library/<category_name>/<library_name>/. Libraries inside tar files are not affected. 16 years ago
frosch 4a02de290a (svn r15714) -Remove: 'Original vehicle names' - err - language... Use the (static) newgrf on BaNaNaS if you care. 16 years ago
frosch 3e3177d777 (svn r15713) -Feature(ette): Allow static newgrfs to set 'GRF ID engine overrides', if the source GRF is static. 16 years ago
translators f33d0f17a3 (svn r15712) -Update: WebTranslator2 update to 2009-03-14 18:38:56
catalan    - 4 fixed by arnaullv (4)
finnish    - 3 fixed by jpx_ (3)
french     - 3 fixed by glx (3)
german     - 3 fixed by planetmaker (3)
hungarian  - 1 fixed, 1 changed by alyr (2)
italian    - 3 fixed by lorenzodv (3)
lithuanian - 17 fixed by geckonas (17)
norwegian_nynorsk - 11 fixed by Thor (11)
slovenian  - 10 fixed by Necrolyte (10)
16 years ago
rubidium f3e0fd7416 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
glx 81361189ca (svn r15710) -Fix (r15706): for non MSVC io.h needs to be included before defining unlink. Also remove redundant tchar.h includes as it is already in stdafx.h. 16 years ago
rubidium f2883d4bfa (svn r15709) -Change [FS#2729]: be a tad more specific about the fact that you're building incompatible tracks when building incompatible track types on the same tile. 16 years ago
yexo 473cc5076a (svn r15708) -Feature [FS#2728]: Pop up the AI Debug Window if one of the AIs crashed and show a message that the user should report the crash. 16 years ago
michi_cc 8ffe6906af (svn r15707) -Fix (r15686): The config file was not updated on Windows because rename() can't replace existing files. 16 years ago
michi_cc 968a2c95f8 (svn r15706) -Fix: Make sure the filename passed to unlink() is always in file system encoding. 16 years ago
frosch f35e00844c (svn r15705) -Fix: Do not show passenger-/mail-capacity if the aircraft carries only cargo. 16 years ago
smatz 4c6afbbbe2 (svn r15704) -Cleanup: remove further includes from recently split files 16 years ago
belugas c540d40be1 (svn r15703) -Codechange: split Cmd* from waypoint.cpp to waypoint_cmd.cpp. 16 years ago
rubidium 0bb1fd18ad (svn r15702) -Feature(tte): direct content download 'links' in the play scenario/heightmap windows. 16 years ago
frosch d86e821f53 (svn r15701) -Fix [FS#2595]: Blame NewGRFs returning inconsistent information in purchase-list/after building before users have a chance to blame OpenTTD for incorrectly autorenewing/-replacing. 16 years ago
rubidium 0bbb7dfd38 (svn r15700) -Codechange: split Cmd* from signs.cpp to signs_cmd.cpp. 16 years ago
rubidium 473c210368 (svn r15699) -Codechange: split Cmd* from vehicle.cpp to vehicle_cmd.cpp. 16 years ago
translators 73b6818f94 (svn r15698) -Update: WebTranslator2 update to 2009-03-13 18:45:47
dutch      - 1 changed by Excel20 (1)
english_US - 1 fixed by WhiteRabbit (1)
finnish    - 1 fixed by jpx_ (1)
german     - 1 fixed, 3 changed by planetmaker (4)
italian    - 1 fixed by lorenzodv (1)
slovak     - 1 fixed by James (1)
turkish    - 3 fixed by jnmbk (3)
16 years ago
rubidium 3a3607862d (svn r15697) -Fix (r15695): warning about comparing signed vs unsigned. 16 years ago
rubidium f1605cf475 (svn r15696) -Codechange: move the NewGRF language ID into the language file instead of maintaining a table in the code. 16 years ago
belugas aa441cd4d7 (svn r15695) -Feature [FS#2672]: Allow the number of towns that will be generated in the generate world window to be customized.
Some warnings: 
-the maximum number of towns to be accepted is set to 5000
-the minimum number of towns to be accepted is set to 1
-the number that is specified is NOT guaranteed to be the exact number of towns generated.  The normal mechanism of town creation has not been modified.  So town placement can still fail.
-setting a custom number of town will change your difficulty settings to custom as well
16 years ago
rubidium 8216a0f5c9 (svn r15694) -Codechange/feature/fix: invert the order in which base graphics sets are queried making it fairly unlikely that downloaded graphics sets override the original graphics. 16 years ago
frosch 65b47ddc52 (svn r15692) -Fix [FS#2721]: Just sell the old engines after autorenew/replace. Don't bother about trains exceeding the trainlimit, which will be sold anyway. 16 years ago
translators 3e391ea95e (svn r15691) -Update: WebTranslator2 update to 2009-03-12 18:42:18
french     - 1 fixed by glx (1)
hungarian  - 1 fixed by alyr (1)
luxembourgish - 258 fixed, 3 changed by Gubius (261)
persian    - 146 fixed by ali sattari (146)
russian    - 1 fixed by Smoky555 (1)
spanish    - 1 fixed by eusebio (1)
16 years ago
rubidium 40a7c14bfd (svn r15690) -Feature(tte(tte)): CTRL-"New Game" skips the "World generation" window. 16 years ago
rubidium e27d12d788 (svn r15689) -Fix [FS#2720]: do not crash when the generate map doesn't contain a suitable location for a town. 16 years ago
rubidium d063bfe6c9 (svn r15688) -Codechange: unifiy cleaning up the map generation (normal and abort) 16 years ago
rubidium ab9788b290 (svn r15687) -Fix [FS#2723]: wrong/misleading error message when autorail builds nothing when trying to build over signals in the wrong way. 16 years ago
rubidium 7e24f67426 (svn r15686) -Codechange: make it a bit harder for crashes to trash your config file. 16 years ago
rubidium 6ace408bfe (svn r15685) -Fix [FS#2720]: do not crash when someone substitutes the "map generation" sprites with garbage. 16 years ago
yexo 21daa3fbc9 (svn r15684) -Add [NoAI]: AIOrder::SkipToOrder(). 16 years ago
yexo 111e2691b0 (svn r15683) -Fix (r15670): Removing town-owned bridges was no longer possible. 16 years ago
rubidium 8a5eeebdc0 (svn r15682) -Codechange: some coding style 16 years ago
rubidium bc11c9e5a5 (svn r15681) -Cleanup: remove unneeded forward declaration. 16 years ago
smatz c622a81fee (svn r15680) -Cleanup: remove redundant comment 16 years ago
belugas 3afcef02aa (svn r15679) -Cleanup: Little code-style application 16 years ago
rubidium 0ca15db98f (svn r15678) -Fix (r15676): crash when (re)applying newgrf settings 16 years ago
rubidium 404cff525b (svn r15677) -Fix [FS#2546]: vehicle images would be determined during the process of moving the vehicle which means that only the (orientation) data for the vehicles in front of it is valid. Now the data for the vehicles behind the vehicle are valid too. 16 years ago
rubidium b003536ea8 (svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove. 16 years ago
rubidium 49d6804f97 (svn r15675) -Codechange: don't unnecessarily mark vehicles dirty before deleting them; it already happens in the destructor. 16 years ago
translators 44f3c56905 (svn r15674) -Update: WebTranslator2 update to 2009-03-11 18:52:10
german     - 9 changed by planetmaker (9)
indonesian - 1 fixed by fanioz (1)
luxembourgish - 121 fixed by Gubius (121)
portuguese - 4 fixed by SnowFlake (4)
russian    - 1 fixed by Smoky555 (1)
slovak     - 3 fixed by James (3)
16 years ago
glx 5896f5db57 (svn r15673) -Fix: it was not possible to compile a win32 dedicated server (even if 'configure --enable-dedicated' passed) 16 years ago
rubidium 9d0c77b123 (svn r15672) -Codechange: (left,right,top,bottom)_coord -> coord.(left,right,top,bottom), i.e. use Rect. 16 years ago
rubidium 77a1323eef (svn r15671) -Codechange: bit of coding style/clarification. 16 years ago
yexo efd0607688 (svn r15670) -Fix (r15601): The owner of both the road and of the tram tracks was checked, but not the owner of the road itself. 16 years ago
yexo fbe159ab9e (svn r15669) -Change: Key presses that are not handles by an input box are no longer marked as handled but given to other OnKeyPress handlers. This makes the global shortcuts like F1 work again when an input box is open. 16 years ago
yexo 28c49b694a (svn r15668) -Fix: a few typos. 16 years ago
yexo 3f9a117ad2 (svn r15667) -Fix (r15601)[FS#2718]: It was possible to remove rail tunnels/bridges and aqueducts build by rival companies. 16 years ago
rubidium 0aeed2b96a (svn r15666) -Fix [FS#2689]: sorting of engines in the purchase list didn't use the same numbers as the GUI showed, e.g. articulated parts weren't taken into accound when ordering by capacity. 16 years ago
peter1138 812f6b8676 (svn r15665) -Fix (r8973): Handling of aircraft crash counter did not take account of the reduced number of calls (from 6 down to 2) to the aircraft event handler, resulting in crashed aircraft taking three times longer than they should to clear. Compensate by increasing the counter by 3 on every call instead of 1. 16 years ago
glx 08862489f1 (svn r15664) -Fix [FS#2716]: as always windows needs special handling when strings are involved 16 years ago
rubidium e48142c4db (svn r15663) -Fix: growing of vsize as (some) threads weren't properly released. 16 years ago
peter1138 88e641282c (svn r15662) -Fix (r11795): Don't mark a company as having ratings in a town when querying the cost of a command. 16 years ago
yexo 03bb87c6b8 (svn r15659) -Fix [Squirrel]: The garbage collection would sometimes loop (2^32 - small_value) times instead of only small_value times. 16 years ago
yexo 4a6a30cc52 (svn r15658) -Fix [NoAI]: Rewrite AIAbstractList::Valuate to make it more readable and fix a crash if no parameters are given to that function. 16 years ago
rubidium b743e49bf4 (svn r15657) -Fix [FS#2716]: undeterministic file sorting when the date is equal for all files 16 years ago
frosch 4cc20fe0ae (svn r15656) -Fix: Changing dynamic_engines also requires reloading newgrfs as well as resetting the OverrideManager. 16 years ago
michi_cc 1c9749dba8 (svn r15655) -Codechange: Initialise vehicle vars only after a placement new so possible default constructors don't overwrite the values. 16 years ago
frosch 90a81da62b (svn r15654) -Fix: Only ever call any vehicle callbacks after the whole articulated engine has been built. (except 0x16) 16 years ago
translators 0f2af50231 (svn r15653) -Update: WebTranslator2 update to 2009-03-09 18:42:57
dutch      - 1 fixed by habell (1)
german     - 1 fixed by planetmaker (1)
luxembourgish - 387 fixed by Gubius (387)
romanian   - 1 fixed by kkmic (1)
thai       - 29 fixed by meemee1983 (29)
welsh      - 1 fixed by PlayDead (1)
16 years ago
michi_cc 80133f67ea (svn r15652) -Fix [FS#2706]: new (this) is seldom a good idea as destructors of member variables aren't run causing memory leaks. 16 years ago
peter1138 0418e2c9d1 (svn r15651) -Codechange: Codestyle and comments. 16 years ago
peter1138 c952464447 (svn r15650) -Codechange: Use a ReusableBuffer for loading NewGRF pseudo-sprites into instead of using malloc()/free() for every single one. 16 years ago
rubidium 75a32223c6 (svn r15649) -Fix (r15556): don't unnecessarily reallocate 16 years ago
rubidium 236ca3ae17 (svn r15648) -Fix (r14773): hack around an OSX stupidity in < 10.4 w.r.t. signals by not having any signal handling support for OSX < 10.4. Thanks to PearPC and TrueBrain's OSX compiler. 16 years ago
translators 59cdb3e085 (svn r15647) -Update: WebTranslator2 update to 2009-03-08 18:32:50
arabic_egypt - 2 fixed, 20 changed by khaloofah (22)
catalan    - 1 fixed by arnaullv (1)
dutch      - 4 changed by Yexo (4)
english_US - 3 fixed by WhiteRabbit (3)
finnish    - 1 fixed, 1 changed by jpx_ (2)
french     - 1 fixed by glx (1)
greek      - 57 fixed by hellis (57)
hungarian  - 1 fixed by alyr (1)
italian    - 1 fixed by lorenzodv (1)
korean     - 1 fixed by leejaeuk5 (1)
traditional_chinese - 2 changed by josesun (2)
ukrainian  - 1 fixed by mad (1)
16 years ago
frosch fd1609fd11 (svn r15646) -Fix: Be lenient on users who do stupid things like loading newgrfs statically, which modify engine names, while dynamic_engines is enabled or the to be modified engine is not (yet) present. 16 years ago
frosch 959c297fb9 (svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give the term 'compatible newgrf' again some sense and to not crash because of trivial changes. 16 years ago
rubidium 880d296b25 (svn r15644) -Fix [FS#2710]: closing a network connection twice in the case that sending packets starts failing while disconnecting 16 years ago
smatz e57699d8c0 (svn r15643) -Fix [FS#2711]: be more strict with zeroing unused map array bits 16 years ago
smatz f5b24edc1e (svn r15642) -Codechange: use a default parameter value in CalcClosestTownFromTile 16 years ago
rubidium c718984618 (svn r15641) -Fix: some gcc compilers seem to be chosing the C++ standard for strrchr, others the C standard... 16 years ago
smatz 19c01ee0ec (svn r15640) -Fix [FS#2712]: game crashes when network pools are empty, so always allocate at least one pool block 16 years ago
yexo 47803bc3a7 (svn r15639) -Change: When you disable "Towns are allowed to build roads", pressing "Expand" in the town window in the scenario editor will no longer build roads. 16 years ago
truebrain 6f9cb26000 (svn r15638) -Fix: there is a time in your life you should stop coding for a project. You know that time is there when you make two huge mistakes in just 10 lines of code. I wish you all the best of luck :) (ps: HUGE mistakes!) 16 years ago
truebrain bc56b0edf7 (svn r15637) -Fix: when you try to protect something from doing something it shouldn't be doing, make sure that the actions happening after that, doesn't start doing what it shouldn't be doing. This of course would only happen in rare corner cases. 16 years ago
translators 08aa328934 (svn r15636) -Update: WebTranslator2 update to 2009-03-07 18:58:32
greek      - 211 fixed, 4 changed by hellis (215)
korean     - 2 changed by dlunch (2)
16 years ago
rubidium 7c084bb3e6 (svn r15635) -Fix [FS#2707]: don't allow more than 64 road vehicles to reserve a slot at a single road stop. 255 + 1 gives trouble, but 64 is even more than the roadstop would be able to handle within the slot timeout time. 16 years ago
rubidium 8c68010ace (svn r15634) -Fix (r15632): some compilers seem to warn about the return value of fscanf. 16 years ago
yexo 83c6b98232 (svn r15633) -Fix (r15632): apparently there are several conflicting definitions of the arguments / return values of strrchr. 16 years ago
rubidium d5762a5069 (svn r15632) -Feature: allow downloading scenarios and heightmaps via bananas. 16 years ago
translators 86229361c8 (svn r15631) -Update: WebTranslator2 update to 2009-03-06 18:47:57
catalan    - 1 fixed by arnaullv (1)
german     - 33 changed by planetmaker (33)
greek      - 14 fixed by hellis (14)
korean     - 1 fixed by darkttd (1)
luxembourgish - 818 fixed by Gubius (818)
persian    - 72 fixed by ali sattari (72)
romanian   - 1 fixed by kkmic (1)
russian    - 1 fixed by Smoky555 (1)
welsh      - 1 fixed by PlayDead (1)
16 years ago
yexo 76c0f51cf5 (svn r15630) -Fix (r15027): Make sure OpenTTD loads the dummy AI script when no other AI is available instead of a non-existing file. 16 years ago
yexo a53062dd80 (svn r15629) -Fix (r15027): Validate strings that are passed from squirrel to the API, not strings passed from the API to squirrel. 16 years ago
smatz 154b4da4cc (svn r15628) -Fix [FS#2705]: kicking/banning a client from the Client list window crashed the server 16 years ago
belugas ef4476d92d (svn r15627) -Documentation: Add two Doxygen strings (Alberth). 16 years ago
rubidium 34bd9ee636 (svn r15626) -Fix [FS#2698]: UTF8 string handling could cause buffer overruns. 16 years ago
smatz 9c6d6c0d0e (svn r15625) -Codechange: remove unneeded assert 16 years ago
smatz 488b7e6bf6 (svn r15624) -Fix (r15621): warning about comparing signed and unsigned integer types 16 years ago
rubidium bb48bfe1df (svn r15623) -Fix (r15615): close the files you've opened 16 years ago
peter1138 85569a4559 (svn r15622) -Codechange: Duplication. 16 years ago
peter1138 c50730d57b (svn r15621) -Feature: When cloning a vehicle with a custom name, add and/or increment a number at the end of name and assign it to the new vehicle (for emma) 16 years ago
belugas 866e0d0924 (svn r15620) -Fix[FS#2699]: Error in documentation (Conditional Zenith). 16 years ago
michi_cc 09f95fa801 (svn r15619) -Fix [FS#2701]: When trying to reserve a self-crossing path the failed reservation was sometimes not cleared completely. 16 years ago
rubidium b9aa5e17f2 (svn r15617) -Change [FS#2694]: vehicle variables 40-43 weren't cached (though spec stated they are). Caching these variables can yield a 10+% speed increase when those vehicle variables are queried often. 16 years ago
yexo 0860685417 (svn r15616) -Change [API CHANGE]: Rename AIOrder::ChangeOrder() to AIOrder::SetOrderFlags(). 16 years ago
rubidium 8a6f72d26a (svn r15615) -Feature: show scenarios/heightmaps from both your home directory and installation directory.
-Change [FS#2692]: make it more likely that scenarios are saved to the directory where openttd.cfg is and not the installation directory (gives problems with e.g. Vista). The working directory still overrides the openttd.cfg directory though, but only if it has a scenario directory.
16 years ago
yexo 89fc2b2b08 (svn r15614) -Add [NoAI]: AIVehicleList_Group(group_id) and AIVehicleList_DefaultGroup(vehicle_type). 16 years ago