Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-10-31 | (svn r3109) Replace two occurrences of '256' with TOTAL_NUM_ENGINES | peter1138 | |
2005-10-22 | (svn r3077) static, const, bracing, indentation, 0 -> '\0'/NULL, typos in ↵ | tron | |
comments, excess empty lines, minor other changes nothing spectacular, just some stuff, which piled up | |||
2005-10-17 | (svn r3055) Give the savegame/scenarion sort order flags symbolic names | tron | |
2005-10-07 | (svn r3024) -Codechange: Another batch of replacements of ↵ | tron | |
int/uint/int16/byte/-1 with proper types and constants | |||
2005-09-28 | (svn r2995) Replace 0xFF/0xFFFF with ↵ | tron | |
CT_INVALID/OWNER_SPECTATOR/INVALID_STATION where appropriate | |||
2005-09-19 | (svn r2963) Fix: calculate proportions of non-square giant screenshot correctly. | peter1138 | |
2005-09-07 | (svn r2921) -Codechange: moved all AI-code to 1 central place (ai/ai.c) | truelight | |
-Fix: removed the ability for the oldAI to cheat (this will criple him somewhat) -Add: base-code for many improvements to come in the AI-system -Add: added base-code for multiplayer AIs (DOES NOT WORK YET!) | |||
2005-09-03 | (svn r2909) Game would hang where the autosave_on_exit was activated. | Darkvater | |
- Updated VS.NET and VS6 project files changed AI files | |||
2005-09-02 | (svn r2906) Fix some threaded saving problems. Now the thread only ↵ | Darkvater | |
interfaces with the main program through a sort of mutex. Communication uses the function OTTD_SendThreadMessage() with the approiate message which is handled in ProcessSentMessage() during the main loop. | |||
2005-08-23 | (svn r2886) Rename the "owner" attribute to "m1", because when it stores an ↵ | tron | |
owner it is accessed by [GS]etOwner anyway and when it doesn't store an owner, but arbitrary data, accessing a field called "owner" is confusing. | |||
2005-08-14 | (svn r2866) Move all functions and tables which aren't directly involved in ↵ | tron | |
managing the sprite heap to a new file gfxinit.c. This doesn't ease the global variable mess, but makes the distinction between sprite heap and gfx loading routines easier. | |||
2005-08-10 | (svn r2848) -Fix: [ 1256044 ] fixed crash when loading a map made before rev ↵ | bjarni | |
2817 in scenario editor. This was introduced in 2817 | |||
2005-08-06 | (svn r2821) Remove a write-only variable | tron | |
2005-08-06 | (svn r2817) -Codechange: [autoreplace]: moved autoreplace and autorenew to ↵ | bjarni | |
serverside -This means that one company can only have one setting for renew and replacing more clients will not fight due to different settings anymore -This is a needed step in the line to fix autoreplacing dualheaded locomotives NOTE: savegame revision bump (peter1138 + me in coop) | |||
2005-08-06 | (svn r2814) -Fix: made MorphOS to compile again | truelight | |
2005-08-05 | (svn r2809) Implement more generic threading functions, which allow more ↵ | tron | |
than one thread | |||
2005-07-29 | (svn r2754) Move str_fmt into string.[ch] | tron | |
2005-07-29 | (svn r2748) Remove unused cruft from the main loop | tron | |
2005-07-26 | (svn r2720) Remove unused declarations and definitions | tron | |
2005-07-26 | (svn r2714) Remove unnecessary includes | tron | |
2005-07-24 | (svn r2701) Insert Id tags into all source files | tron | |
2005-07-23 | (svn r2685) -Codechange: Split the music/sound/video drivers into separate ↵ | tron | |
files and move them into subfolders. This results in shorter and hopefully easier to maintain files. Note: I had to change paths in #include statements of some unrelated files, because I added the ottd base directory to the include path (-I.) | |||
2005-07-22 | (svn r2673) Include functions.h directly, not globally via openttd.h | tron | |
2005-07-22 | (svn r2672) Move saving/loading related declarations to saveload.h | tron | |
2005-07-20 | (svn r2657) -Codechange: The available railtypes per player are now a ↵ | celestar | |
bitmask, so that railtypes do not be in ascending order of appearance. Allows easier implementation or more railtypes | |||
2005-07-17 | (svn r2610) - Feature: set server map name to the loaded name of the ↵ | Darkvater | |
game/scenario. Also truncate where neccessary - Feature: truncate the path of the saveload window | |||
2005-07-17 | (svn r2606) -Codechange: renamed ai.c to ai_old.c, and ai.h to ai_new.h to ↵ | truelight | |
make room for a global AI-handler | |||
2005-07-17 | (svn r2602) -Codechange: removed unused variable (disable_computer) | truelight | |
-Fix: Changed some stuff to make server-side AIs possible in the far future | |||
2005-07-16 | (svn r2588) Codechange: Remove PLAYER_SEED_RANDOM | ludde | |
2005-07-15 | (svn r2583) Move OS specific code out of misc.c | ludde | |
Added support for Mersenne Twister random number generator (not implemented in network yet) Wrap player randoms around #ifdef | |||
2005-07-14 | (svn r2564) Fix: Fixed conceptual issue in network_gui.c. AllocateName is ↵ | ludde | |
not meant to be used by GUI-code, because it modifies the "game-state". Added a way to bind a C-string to an openttd string which doesn't modify the game state. | |||
2005-07-13 | (svn r2560) Fix: various minor code changes. | ludde | |
Added RandomTile/RandomTileSeed functions to generate a random tile. Changed landscape routines so they don't assume that the Y map side is a power of two. (support for this is not complete, though) Changed some frequently used map macros to not compute the values each time. Silence some warnings on MSVC. | |||
2005-07-13 | (svn r2558) Change the internal map format from 7 arrays to one array of ↵ | tron | |
structs, this doesn't change the saved format for now. It's a stepping stone for further changes. | |||
2005-07-10 | (svn r2542) -Add: [GPMI] Added GPMI (http://sourceforge.net/projects/libgpmi/) | truelight | |
support to OpenTTD in preperation of AIScripts (long term). It is OFF by default. Add GPMI:=1 to Makefile.config to enable. | |||
2005-07-08 | (svn r2535) Tabs | tron | |
2005-06-30 | (svn r2499) -Codechange: Moved the semaphore bit from bit 2 to bit 3 in ↵ | celestar | |
_map_hi for rails, in order to make way for pbs | |||
2005-06-25 | (svn r2487) Replace TILE_XY by TileXY/TileDiffXY | tron | |
2005-06-24 | (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile" | tron | |
2005-06-21 | (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer | celestar | |
2005-06-07 | (svn r2433) - CodeChange: unmagicify all road/train crossings with ↵ | Darkvater | |
IsLevelCrossing() function (peter1138) | |||
2005-06-04 | (svn r2408) Introduce SetTileOwner() and use it | tron | |
2005-06-04 | (svn r2407) Use {Get,Is}TileOwner to get/check the owner of a tile and fix ↵ | tron | |
some bogus reads of _map_owner | |||
2005-06-02 | (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files. | Darkvater | |