Commit Graph

9558 Commits (bf826eb06e41ded4bceb8580495fa26684ba8ee9)
 

Author SHA1 Message Date
skidd13 bf826eb06e (svn r13577) -Change: group core files in source.list together 16 years ago
rubidium 4ccd8a6786 (svn r13576) -Codechange: disable static NewGRFs when non-static NewGRFs query them in the context of network games. This makes it impossible for static NewGRFs to disable non-static NewGRFs and 'bad' things happening because the non-static NewGRF doesn't know about the static NewGRF. 16 years ago
skidd13 2f65d35ead (svn r13575) -Codechange: Move small vector to core since it fits better in there
-Codechange: convert smallvector from struct to class
16 years ago
skidd13 c4cc5cdf3b (svn r13574) -Doc: Document the small vector template class 16 years ago
skidd13 e7f2765f4c (svn r13573) -Codechange: Use smallvec class functions instead of class members 16 years ago
rubidium f2730396da (svn r13572) -Fix: MSVC x64 complains. 16 years ago
smatz 7a7ff65ac5 (svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines 16 years ago
smatz bc12e5453c (svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it to 16 years ago
smatz 29985b768c (svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences are now drawn until first non-opaque sprite is found (bit 14 not set)
This is to balance performance, code complexity and NewGRF requirements
16 years ago
smatz cc2f9187cc (svn r13564) -Codechange: do not use SetPixel in PaletteAnimate, access destination directly instead. Makes palette animation ~40% faster. 16 years ago
belugas be4e7b86f3 (svn r13562) -Codechange: Yet another enumification, which required a bit of explanation/documentation of a trickery some would call a hack 16 years ago
belugas 22c017c0c2 (svn r13561) -Codechange: two more enumifications of widgets 16 years ago
belugas f16b9dcd2b (svn r13560) -Fix(r13550): This section widget_count did not required to be lowered. So small revert 16 years ago
belugas 5408e1a51b (svn r13559) -Codechange: Enumification of the Options menu items 16 years ago
smatz 9da745b381 (svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined 16 years ago
smatz dedb0033b3 (svn r13551) -Codechange: store offsets to different zoom levels in a distinguished struct instead in the data stream for 8bpp-optimized 16 years ago
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" 16 years ago
peter1138 26879ce24a (svn r13544) -Codechange: Add support for NewGRF varaction2 variable 5F. 16 years ago
belugas d3fa4228cb (svn r13543) -Codechange: Enumification of the InGame toolbar and some leftovers of scenario editor one.
Still more go do
16 years ago
belugas 37c58f606b (svn r13542) -Codechange: Less a few more magic numbers and a code a bit more adaptable, still 16 years ago
belugas da5fb0cf7e (svn r13541) -Codechange: Aligning some switch case. Code cosmetics. 16 years ago
belugas f5f05b4e86 (svn r13540) -Codechange: Less a magic number and a more adaptable code 16 years ago
glx 4782df757c (svn r13539) -Fix (r13537): signed/unsigned warnings 16 years ago
frosch 0fff18b044 (svn r13538) -Fix (r12740)[FS#2087]: ChildSprites of foundations are not necessarily consecutive. 16 years ago
smatz 2299181c4b (svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions 16 years ago
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.
16 years ago
skidd13 f1cecb1795 (svn r13535) -Codechange: Protect GUIList internals
-Fix: VL_FIST_SORT should be set after list rebuild too
16 years ago
skidd13 0a19f738bc (svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting with GUIList function calls 16 years ago
skidd13 6b8a758339 (svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls 16 years ago
skidd13 617e1f16c0 (svn r13524) -Codechange: use the typesafe QSort for vehicle sortings
-Prepare: vehicles sorting for convsersion to GUIList
16 years ago
skidd13 f95cee3057 (svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting 16 years ago
skidd13 dd5f4f0a2c (svn r13522) -Codechange: Replace the qsort of the highscore with one of the internal sorters 16 years ago
skidd13 1ddafcadd2 (svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow 16 years ago
smatz 704c9be0b8 (svn r13520) -Fix (r13375): pointer has to be valid before it can be loaded to (SLE_STR) 16 years ago
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.
16 years ago
frosch 8bc42a8c2f (svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles. 16 years ago
skidd13 03854bf27c (svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h> 16 years ago
skidd13 96fc91baf3 (svn r13516) -Codechange: Move MemCpyT to a fitting core header
-Codechange: Split the sorting code from the sortlist to an appropriate header
16 years ago
belugas bf9a32b475 (svn r13515) -Codechange: Widget enumification for scenario editor 16 years ago
belugas 8cbb17384d (svn r13514) -Codechange: Removal of dead code (or useless, to be more exact) 16 years ago
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
16 years ago
glx fd08e7b51a (svn r13508) -Fix (r7733): incorrect usage of strtoul 16 years ago
peter1138 24d35c58b7 (svn r13507) -Fix (r12856): first engine change should've been moved too 16 years ago
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. 16 years ago
belugas 5d828d8eee (svn r13504) -Codechange: enumify some widgets for scenario editor. More work is required. 16 years ago
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 16 years ago
smatz e40f835a7e (svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could cause deadlocks or crashes 16 years ago
smatz 421a040e89 (svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, planetmaker) 16 years ago
frosch 79ad51867a (svn r13499) -Codechange: Allow drawing (ugly) leveled foundations on steep slopes, just in case someone needs them for fallback. 16 years ago
rubidium 7dcc69e617 (svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse. 16 years ago