Commit Graph

9605 Commits

Author SHA1 Message Date
skidd13
a7e3f09f7c (svn r13574) -Doc: Document the small vector template class 2008-06-19 09:33:50 +00:00
skidd13
1818d5c2e1 (svn r13573) -Codechange: Use smallvec class functions instead of class members 2008-06-19 09:32:25 +00:00
rubidium
ae91120307 (svn r13572) -Fix: MSVC x64 complains. 2008-06-19 09:15:52 +00:00
smatz
5259d13da7 (svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines 2008-06-18 21:19:04 +00:00
smatz
25db4b3aae (svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it to 2008-06-18 20:20:12 +00:00
smatz
811ae0ac3f (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
2008-06-18 16:48:58 +00:00
smatz
883ffd1683 (svn r13564) -Codechange: do not use SetPixel in PaletteAnimate, access destination directly instead. Makes palette animation ~40% faster. 2008-06-18 13:11:02 +00:00
belugas
424a7935ad (svn r13562) -Codechange: Yet another enumification, which required a bit of explanation/documentation of a trickery some would call a hack 2008-06-18 03:19:31 +00:00
belugas
5e8e2709d0 (svn r13561) -Codechange: two more enumifications of widgets 2008-06-18 02:38:28 +00:00
belugas
db174b8b9b (svn r13560) -Fix(r13550): This section widget_count did not required to be lowered. So small revert 2008-06-18 02:04:01 +00:00
belugas
b8b47dcf50 (svn r13559) -Codechange: Enumification of the Options menu items 2008-06-17 23:51:17 +00:00
smatz
cf489a25b0 (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
4e2e078743 (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
4bbe69f881 (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
ea965c21e1 (svn r13544) -Codechange: Add support for NewGRF varaction2 variable 5F. 2008-06-17 07:05:17 +00:00
belugas
fb4619c8ea (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
365705209b (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
f5b1b5a640 (svn r13541) -Codechange: Aligning some switch case. Code cosmetics. 2008-06-17 02:33:42 +00:00
belugas
7b873ce0bc (svn r13540) -Codechange: Less a magic number and a more adaptable code 2008-06-17 02:25:45 +00:00
glx
8578181a3a (svn r13539) -Fix (r13537): signed/unsigned warnings 2008-06-16 20:16:43 +00:00
frosch
e04e2822b8 (svn r13538) -Fix (r12740)[FS#2087]: ChildSprites of foundations are not necessarily consecutive. 2008-06-16 20:08:30 +00:00
smatz
e00df941fa (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
b08db89d30 (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
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