Commit Graph

12234 Commits

Author SHA1 Message Date
smatz
2d841c66e5 (svn r16554) -Fix (r16433): compilation with disabled network was broken 2009-06-10 18:53:43 +00:00
smatz
ca9787b2ea (svn r16553) -Codechange: don't use TRACK_BIT_WORMHOLE and TRACK_BIT_DEPOT as bitmasks 2009-06-10 16:02:00 +00:00
smatz
aae77c67cb (svn r16552) -Codechange: make AddTileIndexDiffCWrap() a bit faster 2009-06-10 14:07:08 +00:00
smatz
8786c8792d (svn r16551) -Codechange: use shift instead of multiplication in TileXY() 2009-06-10 13:44:37 +00:00
smatz
6ba1c691ad (svn r16550) -Codechange: move definition of ScaleByMapSize to header file, use shifts instead of mults 2009-06-10 08:18:40 +00:00
smatz
0f76a15344 (svn r16549) -Codechange: use bool in TileLoopClearHelper 2009-06-10 07:19:48 +00:00
smatz
e300d153cc (svn r16548) -Fix (r16538): removing of duplicates of base graphics set could behave randomly 2009-06-10 05:36:58 +00:00
smatz
ac991bff90 (svn r16547) -Codechange: make CircularTileSearch a tiny bit faster 2009-06-09 23:34:48 +00:00
smatz
55b1e701e4 (svn r16546) -Codechange: use array member instead of allocating in costructor and freeing in desctructor 2009-06-09 23:22:37 +00:00
smatz
5c934c621d (svn r16545) -Cleanup: tunnels have been returning correct SlopeZ since r1 2009-06-09 20:04:46 +00:00
smatz
d2ad6d38be (svn r16544) -Codechange: use double-linked list for vehicle position caches in order to improve performance (~5% with many vehicles) 2009-06-09 17:20:06 +00:00
translators
86f6a61d3b (svn r16543) -Update: WebTranslator2 update to 2009-06-09 17:05:46
russian    - 6 deleted, 276 changed by Lone Wolf (282)
2009-06-09 17:05:50 +00:00
smatz
f76c080976 (svn r16542) -Fix [FS#2971](r16307): depend failed on architectures with unsigned char 2009-06-09 13:35:30 +00:00
rubidium
d65f941725 (svn r16541) -Merge: changelog etc. changes from 0.7 branch 2009-06-08 23:58:53 +00:00
rubidium
5209b32953 (svn r16538) -Fix (r16503): when finding duplicate graphics sets favour the more complete one 2009-06-08 22:13:10 +00:00
translators
644e879b16 (svn r16537) -Update: WebTranslator2 update to 2009-06-08 17:40:35
french     - 1 fixed by glx (1)
german     - 1 changed by planetmaker (1)
russian    - 31 fixed, 89 changed by Lone Wolf (120)
2009-06-08 17:40:46 +00:00
frosch
6d54a1939e (svn r16536) -Fix (r16535): W != S 2009-06-08 15:44:11 +00:00
frosch
28f8c8b493 (svn r16535) -Fix (r16146): In one case a too small portion of the screen was marked dirty, when (un-)drawing selections. 2009-06-08 15:42:35 +00:00
yexo
76b077ce25 (svn r16534) -Fix [Squirrel] [FS#2942]: fix crash that occured when an AI was halted while one or more generators were still in a 'running' state 2009-06-07 20:20:22 +00:00
translators
a9c6dcfa81 (svn r16533) -Update: WebTranslator2 update to 2009-06-07 17:45:47
icelandic  - 8 fixed, 50 changed by scrooge (58)
russian    - 8 fixed, 28 changed by Lone Wolf (36)
serbian    - 100 fixed by etran (100)
2009-06-07 17:45:52 +00:00
yexo
1c754c75d6 (svn r16532) -Fix [Squirrel]: Don't copy an object when we just checked that the pointer to it is NULL 2009-06-07 15:54:37 +00:00
alberth
d7663017e5 (svn r16530) -Fix [FS#2964], (r16501): Deduct additional widget length given away to a child from the total (Hirundo). 2009-06-07 14:34:43 +00:00
yexo
338f75b3b2 (svn r16529) -Fix [NoAI]: StationIDs from oilrigs were not considered valid by the API. 2009-06-07 13:29:09 +00:00
frosch
69107b00cc (svn r16528) -Fix [FS#2959]: Draw PBS reservation as groundsprite resp. childsprite of foundation/bridgehead. 2009-06-07 13:25:21 +00:00
smatz
af85994f7f (svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check 2009-06-06 16:54:22 +00:00
smatz
6cf1610a08 (svn r16526) -Fix: don't cast Vehicle to RoadVehicle when it's not a RoadVehicle 2009-06-06 16:49:45 +00:00
frosch
289e8a7f45 (svn r16525) -Codechange: Notify small ufos on deletion of road vehicles, so they can head for somewhere else instead of stumbling over a ghost. 2009-06-06 14:46:50 +00:00
rubidium
8d6dec5e72 (svn r16524) -Fix [FS#2963]: missing guards in the NoAI API making it possible to hit an assert in OpenTTD. 2009-06-06 11:47:21 +00:00
frosch
d98e8fcf90 (svn r16523) -Fix (rNewPool): Segfault when small ufos were heading for deleted vehicles. 2009-06-06 10:40:16 +00:00
yexo
8dba8371e3 (svn r16522) -Fix [FS#2962]: possible assert in ai debug window when an AI was stopped an a human company took it's CompanyID 2009-06-06 01:53:17 +00:00
frosch
a75f564af4 (svn r16521) -Fix [FS#2946] (r13945): Do not access 'compatible_railtypes' for road vehicles. (causing invalid reads since r16391/16392) 2009-06-05 21:19:38 +00:00
yexo
a2c5c2651a (svn r16520) -Fix [NoAI]: Make sure AIBridge::BuildBridge returns what the documentation says it does (r16244 for AIBridge) 2009-06-05 17:36:39 +00:00
alberth
e77b0adb53 (svn r16519) -Add: Prevent hiding of a window titlebar behind the status bar. 2009-06-05 07:25:26 +00:00
translators
4973d4a290 (svn r16518) -Update: WebTranslator2 update to 2009-06-04 16:25:41
swedish    - 39 fixed by daishan (39)
2009-06-04 16:25:43 +00:00
alberth
e47ca002d2 (svn r16517) -Codechange: Switched intro-screen and town directory window to nested widget trees. 2009-06-04 14:34:38 +00:00
alberth
cbf2d24ebb (svn r16516) -Codechange: Added click and drag handling for nested widgets. 2009-06-04 14:07:05 +00:00
alberth
24b2876cb5 (svn r16515) -Codechange: Added scrollbar handling for nested widgets, and finding widgets by type or position in the tree. 2009-06-04 12:46:37 +00:00
alberth
ed0a0a681a (svn r16514) -Codechange: Add widget flags, and drawing and invalidating. 2009-06-03 21:13:13 +00:00
alberth
bb075195b9 (svn r16513) -Codechange: Add nested widgets root and array to Window, and NWidgetBase::FillNestedArray() to fill the array. 2009-06-03 20:00:33 +00:00
rubidium
bb854f2b97 (svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things. 2009-06-03 18:47:08 +00:00
yexo
1df82e9702 (svn r16509) -Fix (r16502): All Sleep/DoCommand calls failed instead of only those via a call/acall/pcall function 2009-06-03 15:59:26 +00:00
smatz
4e7ec0035e (svn r16507) -Fix (r16503): segfault when deleting non-last graphics set 2009-06-03 00:05:51 +00:00
smatz
f74b597c83 (svn r16506) -Fix: count only active clients (not those waiting for map download) when checking min_active_clients limit 2009-06-02 19:56:23 +00:00
rubidium
d7eb9f9d0e (svn r16505) -Fix [FS#2951] (r16472): since g++ 4.4 the implicit (default) constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble. 2009-06-02 19:12:28 +00:00
smatz
e6b8b65fcd (svn r16504) -Fix [FS#2948](r16435): one couldn't build anything in the scenario editor 2009-06-02 12:57:47 +00:00
rubidium
b982ff66f6 (svn r16503) -Fix: base graphics names must be unique, so don't add duplicates (even if the versions differ). 2009-06-02 12:56:38 +00:00
yexo
62a698df32 (svn r16502) -Fix [FS#2935]: when an AI was suspended while in a function called (indirectly) via call/acall/pcall OpenTTD crashed. Fix this by disallowing AIs to be suspended while called via call/acall/pcall.
IMPORTANT FOR AI WRITERS: AIs can no longer call any DoCommand functions (change anything, build vehicles, etc.) in a function called (indirectly) via call/acall/pcall. Where possible, please rewrite your code so it doesn't use call/acall/pcall
2009-06-01 22:00:47 +00:00
alberth
85824cf261 (svn r16501) -Codechange: Introduced different phases in resizing a nested widget tree. 2009-06-01 20:45:46 +00:00
translators
afd9e81a47 (svn r16499) -Update: WebTranslator2 update to 2009-06-01 17:32:36
luxembourgish - 3 fixed, 11 changed by *jigo* (14)
serbian    - 105 fixed by etran (105)
2009-06-01 17:32:40 +00:00
frosch
c9eac207ea (svn r16498) -Codechange: Remove hardly used HASBITS. 2009-06-01 15:01:54 +00:00