Commit Graph

9782 Commits

Author SHA1 Message Date
skidd13
18097d0461 (svn r13535) -Codechange: Protect GUIList internals
-Fix: VL_FIST_SORT should be set after list rebuild too
2008-06-16 17:10:55 +00:00
skidd13
d85c5f020b (svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting with GUIList function calls 2008-06-16 17:09:52 +00:00
skidd13
96e898699c (svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls 2008-06-16 17:05:17 +00:00
skidd13
5e956bf57f (svn r13524) -Codechange: use the typesafe QSort for vehicle sortings
-Prepare: vehicles sorting for convsersion to GUIList
2008-06-15 22:10:22 +00:00
skidd13
fc648a2b30 (svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting 2008-06-15 16:40:41 +00:00
skidd13
5dc6a19c26 (svn r13522) -Codechange: Replace the qsort of the highscore with one of the internal sorters 2008-06-15 16:11:25 +00:00
skidd13
477f22a6fd (svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow 2008-06-15 15:48:33 +00:00
smatz
41457acd47 (svn r13520) -Fix (r13375): pointer has to be valid before it can be loaded to (SLE_STR) 2008-06-15 13:52:51 +00:00
belugas
d095599b58 (svn r13519) -Feature[newGRF]: Implement var 63, variational action2 variable for Houses.
Or, in more simple terms, the check for the animation frame of nearby house.
2008-06-15 02:48:25 +00:00
frosch
8fd2971bc3 (svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles. 2008-06-14 19:13:23 +00:00
skidd13
149bf45b77 (svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h> 2008-06-14 16:41:03 +00:00
skidd13
a8bb6177ee (svn r13516) -Codechange: Move MemCpyT to a fitting core header
-Codechange: Split the sorting code from the sortlist to an appropriate header
2008-06-14 16:23:08 +00:00
belugas
e044910d52 (svn r13515) -Codechange: Widget enumification for scenario editor 2008-06-14 02:00:20 +00:00
belugas
cec90c1af1 (svn r13514) -Codechange: Removal of dead code (or useless, to be more exact) 2008-06-14 01:45:58 +00:00
belugas
a91eb2ad13 (svn r13513) -Codechange: Give proper message when building a river fails.
Give proper description of a river tile with the Query Tool.
Extracted (in part) from FS#1884, by Ammler
2008-06-14 01:08:59 +00:00
glx
d8fde03ec7 (svn r13508) -Fix (r7733): incorrect usage of strtoul 2008-06-13 15:18:29 +00:00
peter1138
7d877c0c05 (svn r13507) -Fix (r12856): first engine change should've been moved too 2008-06-13 13:28:55 +00:00
rubidium
e193349743 (svn r13505) -Fix: clear the memory for the new AI during the loading of a savegame so it does not try to execute commands generated in a different savegame, which could be resulting in the AI trying to give orders to stations that do not exist. 2008-06-13 05:50:24 +00:00
belugas
5d2ee7ecde (svn r13504) -Codechange: enumify some widgets for scenario editor. More work is required. 2008-06-13 01:57:48 +00:00
belugas
224f8e6fec (svn r13503) -Fix(r13173)[FS#2073]: Wrong widget numbers & event handlers were assigned to the zoom in and out buttons in the scenario editor 2008-06-13 01:17:03 +00:00
smatz
4298508918 (svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could cause deadlocks or crashes 2008-06-13 00:00:04 +00:00
smatz
4c7adc8009 (svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, planetmaker) 2008-06-12 22:29:42 +00:00
frosch
90507de6e4 (svn r13499) -Codechange: Allow drawing (ugly) leveled foundations on steep slopes, just in case someone needs them for fallback. 2008-06-12 21:36:56 +00:00
rubidium
b14d884a0a (svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse. 2008-06-12 19:06:30 +00:00
rubidium
ecbf3bd0de (svn r13494) -Fix: a little documentation + copy-paste mistake for sprite.h. 2008-06-12 18:51:35 +00:00
skidd13
a7348eb7a0 (svn r13490) -Add: a seperate icon for aqueducts 2008-06-12 16:30:41 +00:00
rubidium
c97a045f57 (svn r13489) -Fix: first determine where to *exactly* build a house before asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good. 2008-06-12 14:41:29 +00:00
smatz
fe6f09e66e (svn r13488) -Fix (r13485): track wasn't removed on company bankrupcy when there was a ship on lower halftile 2008-06-12 13:40:07 +00:00
rubidium
e2bcbd5c50 (svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail tiles. 2008-06-12 11:15:43 +00:00
peter1138
1c79b92989 (svn r13482) -Codechange: Use "extended bytes" in Actions 3 and 4 for vehicles 2008-06-12 09:25:04 +00:00
smatz
ea4c46da99 (svn r13481) -Codechange: add 'B' keyboard shortcut to build aqueduct (planetmaker) 2008-06-11 21:37:36 +00:00
rubidium
8e7f5072ce (svn r13480) -Fix [FS#2050]: RVs stoppping at drive through stations of other companies. 2008-06-11 19:57:45 +00:00
smatz
52e1ca3ba3 (svn r13479) -Codechange: don't use word 'bridge' for aqueducts that often 2008-06-11 17:35:55 +00:00
smatz
a3e0078ef2 (svn r13478) -Codechange: don't use GetBridgeSpec() for aqueducts 2008-06-11 17:10:36 +00:00
smatz
c009a253dc (svn r13477) -Fix (r13464): correct tile type in the Query tile info window 2008-06-11 16:24:00 +00:00
rubidium
e4675ed05e (svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct. 2008-06-11 16:22:07 +00:00
smatz
6d4474d819 (svn r13475) -Fix (r13464): crash on destroying aquaduct with ship on in and on company bankrupt 2008-06-11 15:56:55 +00:00
glx
7b8b5f9a8d (svn r13472) -Backport (r13467 from NoAI): make CmdRemoveRoadStop use p2 as documented (only look at bit 0, not at the complete value) 2008-06-11 15:08:52 +00:00
rubidium
7ccf05ff35 (svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future. 2008-06-11 14:55:02 +00:00
rubidium
6f550fc4ca (svn r13468) -Fix: make aqueducts a little more expensive than normal bridges and disable terraforming of aqueduct bridgeheads; one can't terraform normal canal tiles either. 2008-06-11 14:51:31 +00:00
rubidium
137f2c072a (svn r13466) -Fix (r13464): slope checking got lost during development... 2008-06-11 14:13:07 +00:00
rubidium
ee843728bf (svn r13464) -Codechange: support NewGRF Action 0x05, type 12. 2008-06-11 13:54:01 +00:00
smatz
2475d0010b (svn r13462) -Codechange: move DriverFactoryBase destructor definition from header file (saves ~16kB) 2008-06-11 12:46:28 +00:00
smatz
506cde94b6 (svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places 2008-06-10 21:59:22 +00:00
belugas
0e78f51801 (svn r13446) -Fix(r13443): changed the var previously introduced from 69 to 46, as no param was required (thanks frosch) 2008-06-10 17:47:55 +00:00
smatz
4ce73a679c (svn r13445) -Codechange: make 32bpp_optimized blitter ~10-20% faster in drawing (depends on architecture and compiler) 2008-06-10 17:28:37 +00:00
rubidium
199b3d7886 (svn r13444) -Codechange: make the order GUI somewhat more efficient. The most used options can be done with a single click now. 2008-06-10 16:46:11 +00:00
belugas
ff419b7182 (svn r13443) -Feature[newGRF]: Add var 0x69 for industries, long format construction date.
Same as var B0, but base year is now 0, instead of 1920
2008-06-10 16:10:54 +00:00
belugas
03e2d30a33 (svn r13437) -Feature[newGRF]: Add long format introduction and maximum construction year for house. 2008-06-10 00:42:19 +00:00
smatz
e1d2cd6983 (svn r13434) -Fix (r13317): news window with invalid news item could be shown 2008-06-09 12:20:00 +00:00