Commit Graph

97 Commits (e42deae3a98ead62bf2ab8e76f8e571a2baa951c)

Author SHA1 Message Date
frosch 0d782b0f96 (svn r16498) -Codechange: Remove hardly used HASBITS. 15 years ago
smatz 56a7b70591 (svn r16380) -Codechange: rename pool.hpp to pool_type.hpp 15 years ago
smatz 62a7948af0 (svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved 15 years ago
smatz 3bd52accd9 (svn r16356) -Codechange: use 'size_t' instead of 'uint' as parameter of functions in mem_func.hpp 15 years ago
smatz 6221d74644 (svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index) 15 years ago
rubidium a5d6e23e9d (svn r16305) -Codechange: force-enable extra sync checking when random debugging is enable and give the calling location of Chance16(R) instead of the Random call within those functions. 15 years ago
rubidium 3d3b5256f0 (svn r16295) -Fix: ICC defined __GNUC__ but does not define __builtin_bswap32, so fall back to the default swap method for ICC. 15 years ago
smatz f5316c5cbd (svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
15 years ago
smatz 25ecace01b (svn r16148) -Fix [FS#2839]: misleading comment (part by Bilbo) 15 years ago
rubidium a1e822df6b (svn r16130) -Fix [FS#2855]: the overflowsafe type didn't like dividing by int64 larger than MAX_INT32 causing division by negative numbers and small anomolies when drawing graphs. 15 years ago
frosch d3de4ba91b (svn r16006) -Fix (r0): Chance16() did not work for b = 1. Also transform the formula to not use divisions. 15 years ago
rubidium 89d0eca6b7 (svn r15931) -Codechange: let the host and ban lists use of SmallVector. 15 years ago
rubidium 3ef8a09e20 (svn r15777) -Add: helper functions to get the least common multiple and the greatest common divisor (Alberth) 16 years ago
rubidium 9d018723b7 (svn r15711) -Codechange: lots of whitespace cleanup/fixes 16 years ago
rubidium 60de42be49 (svn r15649) -Fix (r15556): don't unnecessarily reallocate 16 years ago
rubidium b55ed2e668 (svn r15603) -Fix [FS#2696]: crash when using an extraordinarily large sprite as cursor. 16 years ago
smatz 846044ee26 (svn r15571) -Fix: incorrect use of memset 16 years ago
rubidium 3ba802e995 (svn r15556) -Change: don't temporary malloc+free when encoding sprites, just reuse the same piece of allocated memory for each encoding. 16 years ago
smatz b8471e5401 (svn r15508) -Fix: three header files had incorrect 'anti-multiple-inclusion' header 16 years ago
peter1138 e73a4e490c (svn r15447) -Codechange: void functions don't tend to return true if and only if anyway 16 years ago
belugas 62be0ce7e6 (svn r15446) -Revert(r15445): Seems that "iff" stands for "if and only if". So not much of a typo.
Thanks, Yexo.  I feel less ignorant today :D
16 years ago
belugas c26426a44e (svn r15445) -Fix: little typos 16 years ago
smatz 5ad1cd32b2 (svn r15324) -Codechange: unify the class used for comparing of strings for std::map 16 years ago
smatz 0d3f5e6e74 (svn r15299) -Cleanup: remove many redundant includes 16 years ago
Yexo 0e42a7bac7 (svn r15291) -Cleanup: Move the station list widgets to their class from station_gui.h
-Fix: comment for ReallocT was wrong, the memory is not zeroed.
16 years ago
rubidium 3a13b75e37 (svn r15126) -Feature: downloading content from a central server (content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates. 16 years ago
smatz 16dfe58e4d (svn r15031) -Fix (r15027): merge reverted r15026, so do it once again 16 years ago
truebrain a3dd7506d3 (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
16 years ago
smatz 9294f96168 (svn r15026) -Codechange: use SpriteTypeByte instead of SpriteType in the SpriteCache struct in order to make it smaller 16 years ago
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium d4b6cc997d (svn r14910) -Codechange: merge the command queue handling into a single location 16 years ago
peter1138 5f4aef3c11 (svn r14776) -Fix (r14742): ListPositionMap relied on std::map having sorted the map, which is now done by a manual key sorter on SmallMap. This fixes engine ID list sorting. 16 years ago
rubidium 703831ec6d (svn r14761) -Fix (r14730): missed the one DEREF_CLIENT in the random debug code :( 16 years ago
smatz 2e2086f3f8 (svn r14742) -Codechange: use SmallMap in two cases to reduce compilation time and binary size 16 years ago
frosch 5ea2dc97fd (svn r14704) -Codechange: Add set capabilities to SmallVector. 16 years ago
smatz 3cd2957544 (svn r14669) -Codechange: use SmallVector instead of std::list at one place 16 years ago
smatz 7a031b60cd (svn r14486) -Fix (r13343)(r14484): compilation with desync debug was broken 16 years ago
rubidium b650a86e58 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
smatz c620d5e5f0 (svn r14232) -Codechange: use builtin for byte swapping for gcc >= 4.3 16 years ago
frosch f7826f8a37 (svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel. 16 years ago
rubidium c5a4e90338 (svn r13910) -Document: string drawing related functions and types (Alberth) 16 years ago
peter1138 6e0af9fdfe (svn r13781) -Feature: NewGRF presets, selected by a drop down list in the NewGRF window. Presets are saved in the config file. 16 years ago
rubidium 3a799389eb (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
smatz 114c820c56 (svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and encoding so it uses similiar scheme as 8bpp-optimized
All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.
16 years ago
skidd13 b4ef380c49 (svn r13607) -Fix (r13606): some coding style issues got fixed but some got/stayed broken 16 years ago
skidd13 640e547886 (svn r13606) -Codechange: use "static FORCEINLINE" where possible as default for core functions (big functions use just inline instead) 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
smatz 9da745b381 (svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined 16 years ago
skidd13 03854bf27c (svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h> 16 years ago