Commit Graph

9545 Commits

Author SHA1 Message Date
belugas 5408e1a51b (svn r13559) -Codechange: Enumification of the Options menu items 2008-06-17 23:51:17 +00:00
smatz 9da745b381 (svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined 2008-06-17 19:38:00 +00:00
smatz dedb0033b3 (svn r13551) -Codechange: store offsets to different zoom levels in a distinguished struct instead in the data stream for 8bpp-optimized 2008-06-17 17:25:22 +00:00
belugas 6d4590ec7c (svn r13550) -Fix(r13540, r13542): widget_count did not had the same value as 27. So, it has to be lowered by one, so it can be used as a widget "pointer" 2008-06-17 16:33:55 +00:00
peter1138 26879ce24a (svn r13544) -Codechange: Add support for NewGRF varaction2 variable 5F. 2008-06-17 07:05:17 +00:00
belugas d3fa4228cb (svn r13543) -Codechange: Enumification of the InGame toolbar and some leftovers of scenario editor one.
Still more go do
2008-06-17 03:20:04 +00:00
belugas 37c58f606b (svn r13542) -Codechange: Less a few more magic numbers and a code a bit more adaptable, still 2008-06-17 03:13:09 +00:00
belugas da5fb0cf7e (svn r13541) -Codechange: Aligning some switch case. Code cosmetics. 2008-06-17 02:33:42 +00:00
belugas f5f05b4e86 (svn r13540) -Codechange: Less a magic number and a more adaptable code 2008-06-17 02:25:45 +00:00
glx 4782df757c (svn r13539) -Fix (r13537): signed/unsigned warnings 2008-06-16 20:16:43 +00:00
frosch 0fff18b044 (svn r13538) -Fix (r12740)[FS#2087]: ChildSprites of foundations are not necessarily consecutive. 2008-06-16 20:08:30 +00:00
smatz 2299181c4b (svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions 2008-06-16 19:38:41 +00:00
belugas 0c342f3292 (svn r13536) -Codechange: Bit shifting is not really required when you know exactly the value to use.
Even more when it's a parameter.
2008-06-16 17:28:15 +00:00
skidd13 f1cecb1795 (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 0a19f738bc (svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting with GUIList function calls 2008-06-16 17:09:52 +00:00
skidd13 6b8a758339 (svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls 2008-06-16 17:05:17 +00:00
skidd13 617e1f16c0 (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 f95cee3057 (svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting 2008-06-15 16:40:41 +00:00
skidd13 dd5f4f0a2c (svn r13522) -Codechange: Replace the qsort of the highscore with one of the internal sorters 2008-06-15 16:11:25 +00:00
skidd13 1ddafcadd2 (svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow 2008-06-15 15:48:33 +00:00
smatz 704c9be0b8 (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 237a6f554a (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 8bc42a8c2f (svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles. 2008-06-14 19:13:23 +00:00
skidd13 03854bf27c (svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h> 2008-06-14 16:41:03 +00:00
skidd13 96fc91baf3 (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 bf9a32b475 (svn r13515) -Codechange: Widget enumification for scenario editor 2008-06-14 02:00:20 +00:00
belugas 8cbb17384d (svn r13514) -Codechange: Removal of dead code (or useless, to be more exact) 2008-06-14 01:45:58 +00:00
belugas bcb71a011e (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 fd08e7b51a (svn r13508) -Fix (r7733): incorrect usage of strtoul 2008-06-13 15:18:29 +00:00
peter1138 24d35c58b7 (svn r13507) -Fix (r12856): first engine change should've been moved too 2008-06-13 13:28:55 +00:00
rubidium f2404ac20f (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 5d828d8eee (svn r13504) -Codechange: enumify some widgets for scenario editor. More work is required. 2008-06-13 01:57:48 +00:00
belugas 3d07e5ca10 (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 e40f835a7e (svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could cause deadlocks or crashes 2008-06-13 00:00:04 +00:00
smatz 421a040e89 (svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, planetmaker) 2008-06-12 22:29:42 +00:00
frosch 79ad51867a (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 7dcc69e617 (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 005d612227 (svn r13494) -Fix: a little documentation + copy-paste mistake for sprite.h. 2008-06-12 18:51:35 +00:00
skidd13 d99aef2f71 (svn r13490) -Add: a seperate icon for aqueducts 2008-06-12 16:30:41 +00:00
rubidium a5486e626d (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 39b397438c (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 43622f95e1 (svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail tiles. 2008-06-12 11:15:43 +00:00
peter1138 d61da119d3 (svn r13482) -Codechange: Use "extended bytes" in Actions 3 and 4 for vehicles 2008-06-12 09:25:04 +00:00
smatz 9d359641ec (svn r13481) -Codechange: add 'B' keyboard shortcut to build aqueduct (planetmaker) 2008-06-11 21:37:36 +00:00
rubidium da524e71ae (svn r13480) -Fix [FS#2050]: RVs stoppping at drive through stations of other companies. 2008-06-11 19:57:45 +00:00
smatz 5d5d9f682e (svn r13479) -Codechange: don't use word 'bridge' for aqueducts that often 2008-06-11 17:35:55 +00:00
smatz 1a043128e1 (svn r13478) -Codechange: don't use GetBridgeSpec() for aqueducts 2008-06-11 17:10:36 +00:00
smatz 881d384e56 (svn r13477) -Fix (r13464): correct tile type in the Query tile info window 2008-06-11 16:24:00 +00:00
rubidium 232a2a8e3c (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 58d63ec726 (svn r13475) -Fix (r13464): crash on destroying aquaduct with ship on in and on company bankrupt 2008-06-11 15:56:55 +00:00