summaryrefslogtreecommitdiff
path: root/openttd.c
AgeCommit message (Collapse)Author
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 variabletron
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 againtruelight
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 looptron
2005-07-26(svn r2720) Remove unused declarations and definitionstron
2005-07-26(svn r2714) Remove unnecessary includestron
2005-07-24(svn r2701) Insert Id tags into all source filestron
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.htron
2005-07-22(svn r2672) Move saving/loading related declarations to saveload.htron
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_RANDOMludde
2005-07-15(svn r2583) Move OS specific code out of misc.cludde
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) Tabstron
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/TileDiffXYtron
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 GetPlayercelestar
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 ittron
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