Commit Graph

72 Commits (93b8a6fb3e972eb15c12ac3f5ebf1ed0791f8d74)

Author SHA1 Message Date
rubidium 72b0341ed0 (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 f528593a40 (svn r15031) -Fix (r15027): merge reverted r15026, so do it once again 16 years ago
truebrain c2406cd42d (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 ec97e1fd0d (svn r15026) -Codechange: use SpriteTypeByte instead of SpriteType in the SpriteCache struct in order to make it smaller 16 years ago
rubidium 28ea38ae55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium 4df86694a7 (svn r14910) -Codechange: merge the command queue handling into a single location 16 years ago
peter1138 766bf8deaa (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 5c8a281e00 (svn r14761) -Fix (r14730): missed the one DEREF_CLIENT in the random debug code :( 16 years ago
smatz bd92143e7b (svn r14742) -Codechange: use SmallMap in two cases to reduce compilation time and binary size 16 years ago
frosch dca37f1cb0 (svn r14704) -Codechange: Add set capabilities to SmallVector. 16 years ago
smatz ae6107535a (svn r14669) -Codechange: use SmallVector instead of std::list at one place 16 years ago
smatz ad0a578b69 (svn r14486) -Fix (r13343)(r14484): compilation with desync debug was broken 16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium f56e630e5c (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 5c6a23f8fa (svn r14232) -Codechange: use builtin for byte swapping for gcc >= 4.3 16 years ago
frosch 92f3c368b8 (svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel. 16 years ago
rubidium 019a519446 (svn r13910) -Document: string drawing related functions and types (Alberth) 16 years ago
peter1138 2466b7f01e (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 cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
smatz faebe10d81 (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 6169c3fc17 (svn r13607) -Fix (r13606): some coding style issues got fixed but some got/stayed broken 16 years ago
skidd13 8b7d893d85 (svn r13606) -Codechange: use "static FORCEINLINE" where possible as default for core functions (big functions use just inline instead) 16 years ago
skidd13 ad9b19b77a (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 cf489a25b0 (svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined 16 years ago
skidd13 149bf45b77 (svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h> 16 years ago
skidd13 a8bb6177ee (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
smatz 506cde94b6 (svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places 16 years ago
glx b3d7ca0ceb (svn r13273) -Fix [FS#2042]: MSVC warnings (again) 16 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 16 years ago
rubidium 300c7e459a (svn r12936) -Doc: a few structs in geometry_type.hpp. Patch by Alberth. 16 years ago
rubidium 4016d15bc7 (svn r12873) -Fix [FS#1946]: MSVC is whining because it doesn't understand that bytes should be cast to ints. 16 years ago
smatz 6813a17d15 (svn r12778) -Codechange: add the NORETURN attribute to *allocError() functions 16 years ago
rubidium ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 16 years ago
rubidium 2752568d61 (svn r12749) -Codechange: store the viewport information in the windows that have a viewport instead of one global array with a viewport for each window, even when they do not use the viewport. 16 years ago
rubidium 8ab49198b9 (svn r12695) -Codechange: only allocate window structs when needed. Based on a patch by Alberth. 16 years ago
smatz c3399b6848 (svn r12573) -Codechange: use defined constants instead of numbers in math_func.hpp 16 years ago
smatz 6a501c85fc (svn r12572) -Fix (r12192): min() has 32bit arguments, clamping of 64bit values didn't work 16 years ago
rubidium 571ba97f56 (svn r12536) -Codechange: some stack allocations were too large for NDS, so use the SmallStackSafeStackAlloc wrapper. Allocate on the stack by default and on the heap for NDS (or other devices that have a very small stack). 16 years ago
skidd13 b93a612dfd (svn r12516) -Revert r2583: Removed mersenne PRNG cause it is not used and won't be used in the future 16 years ago
rubidium 1c1a721d63 (svn r12438) -Fix-ish: typo spotted by Biblo. 17 years ago
smatz e0b0ecc5a7 (svn r12204) -Fix (r12192): using UINT16_MAX broke compilation on many targets 17 years ago
smatz 44a8293364 (svn r12192) -Fix: clamp various town variables to 16bit prior to returning the value 17 years ago
smatz 7d45415b3d (svn r12156) -Fix (r11454): Chance16I was now biased towards zero - round to nearest now 17 years ago
smatz 05169f53be (svn r12115) -Codechange: move malloc/realloc error messages to separate file to spare 4-8kB of binary size 17 years ago
rubidium 4a4f4b7459 (svn r12050) -Fix: random_func broke for desync debug. 17 years ago
rubidium 1b7051768c (svn r12004) -Codechange: refactor the random functions to reduce code duplication. 17 years ago
rubidium 38d690acc8 (svn r11943) -Codechange: add and use a simple structure to support small stacks by allocating it on the heap or pushing a few kB of data onto the stack when there is a large stack. 17 years ago
glx bba1a62db1 (svn r11914) -Documentation: fix some @file statement 17 years ago
rubidium 7f037d15d7 (svn r11704) -Codechange: remove another bunch of useless includes. 17 years ago
rubidium d821e5e92b (svn r11697) -Fix [FS#1585]: strgen did not (always) compile properly. 17 years ago