summaryrefslogtreecommitdiff
path: root/ttd.c
AgeCommit message (Collapse)Author
2005-01-03(svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) ↵tron
instead of TILES_[XY]
2005-01-03(svn r1342) -Fix: [1094596] Problem with ship depot; upon load it is also ↵darkvater
given owner OWNER_WATER
2005-01-03(svn r1338) -Fix: fix signed/unsigned warnings introduced when ditching the ↵darkvater
macros for map querying.
2005-01-03(svn r1337) Use MapMax[XY]() (or MapSize[XY]() if appropriate) instead of ↵tron
TILE_MAX_[XY] While here replace one erroneous TILE_MAX_X with MapMaxY()
2005-01-03(svn r1329) Remove unused function declarationtron
2005-01-01(svn r1321) -Fix: Revision 1302 partly solved the problem and created an other. truelight
Should now really be solved.. now only MP_WATER is owned by OWNER_WATER
2004-12-30(svn r1302) -Fix: [ 1091655 ] In some older maps somehow water is owned bytruelight
OWNER_NONE instead of OWNER_WATER. -Fix: On InitializeLandscape the map was made MP_WATER, but OWNER_NONE. When ConvertGroundTilesIntoWaterTiles() is not called, this gives big problems (see above). Now the owner is set to OWNER_WATER by default.
2004-12-24(svn r1272) -Fix: game compiles again with network disabledtruelight
2004-12-23(svn r1265) -Fix: the server can also no longer use the money cheat if the truelight
advertise-mode is active
2004-12-23(svn r1240) -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled.darkvater
-Fix: removed some warnings -Enabled ENABLE_NETWORK on windows again which I accidentally commented out.
2004-12-22(svn r1236) MorphOS: added make release like in OSX (tokai)bjarni
MorphOS: cleaned up the code telling the difference between AmigaOS and MorphOS (tokai)
2004-12-22(svn r1233) Fixed several currency issues. Now currencies should work ↵dominik
correctly again.
2004-12-22(svn r1222) Currency cleanup. Changed some currency symbols according to ↵dominik
forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones).
2004-12-22(svn r1218) Fix: Autosaves go to the correct folder again with ↵dominik
keep_all_autosave enabled
2004-12-18(svn r1154) -Add: [Network] Forked dedicated server (start openttd with -Df) ↵truelight
(GeniusDex)
2004-12-15(svn r1117) Move map arrays and some related macros into their own files ↵tron
map.c and map.h
2004-12-15(svn r1093) -Fix: Hopefully fixed windows revision issues once and for all. ↵darkvater
Removed globalness of _openttd_revision and put all such ifdefs into one place. If server has a revision only the same revisions can join; if the server has no revision everyone can join. I reckon this should be a server-side option to allow people to join or not to join.
2004-12-14(svn r1090) -Fix: Made the _openttd_revision variable global, and with that truelight
hopefully killed the windows-revision problem. If WITH_REV is defined, for both Windows as *nix system _openttd_revision is filled with normal info, else _openttd_revision is set to 'norev000' -Fix: Small possible server-crash
2004-12-13(svn r1077) Implements scripts/autoexec.scr to get executed on game starting ↵dominik
(sign_de) - %! allows to merge alias parameters - \% allows to use % in alias strings - "alias" command now overwrites the old alias list entry
2004-12-13(svn r1061) -Fix: [Network] Compiling without ENABLE_NETWORK now works again ↵truelight
correctly
2004-12-12(svn r1038) Feature: OpenTTD runs with the grf files of the DOS versiondominik
Please read the Readme for further information. There are some minor graphical glitches when you use the DOS files. E.g. the autorail button is a bit screwed up.
2004-12-07(svn r970) Added 2nd data path for all non-windows OSesbjarni
added completely customizable lang path (all non-Windows OSes)
2004-12-05(svn r959) -Fix: fix previous typo for workaround of braindead MSVC6 (Tron)darkvater
-Fix: added debug code to autosave cause it is buggy in multiplayer (does not remember settings; takes them from _opt instead of _new_opt (or vice versa)).
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight
2004-12-02(svn r901) Small step in the process to clean up the DPARAM mess:tron
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest) - use inline functions instead of macros - add assert()s to check for buffer overruns
2004-11-25(svn r815) Include strings.h only in the files which need it.tron
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
2004-11-23(svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent ↵tron
with its own name and all other DO_* flags. Now it is active-true.
2004-11-20(svn r702) -Fix: Buffer overflow in music/sound/video-driver-parameter (Oskar_)truelight
2004-11-15(svn r631) Merge r440, r444, r485, r630 to trunk:tron
r440 Move screenshot function declarations to new file screenshot.h Clean up screenshot.c a bit, mostly whitespace, alloca() -> malloc() and checking return values r485 Remove unused field from struct ScreenshotFormat
2004-11-14(svn r607) -Patch: [ 985102 ] static cleanuptron
Thanks to lvoge
2004-09-23(svn r316) -Fix: not +7 (Tron)darkvater
2004-09-23(svn r315) -Fix: starting with -r option allows all resolutions (including ↵darkvater
666x666) (t r o n)
2004-09-19(svn r301) Fix: game options (like drive side) are not taken from the ↵dominik
scenario when using 'new game' command
2004-09-13(svn r240) -Fix: desync on subsidy generationsignde
-Fix: sometimes commands got executed to early on some clients -Feature: universal event packets for transmitting subsidys
2004-09-12(svn r224) -Fix: Music now finally works on WinXP. DirectMusic is now ↵darkvater
default for an OS >= WinNT4 (WinNT4, Win2k, WinXP), and MIDI driver for lower OS's (Win95, Win98, WinME, etc).
2004-09-12(svn r223) -Fix: Const correctness and miscellaneous fixes. Thank you Tron ↵darkvater
for your diligent fixing of warnings (and some possibly bugs) (Tron) -CodeLayout: Remove trailing spaces and Windows linebreaks
2004-09-12(svn r214) -Feature: CMD_NET_INSTANT [just in time command handling over ↵darkvater
network] (sign_de) -Fix: Only server can pause in network, action disabled for clients -Fix: Direct Connect editbox can handle up to max ~35 characters
2004-09-11(svn r209) -Fix: network code based desyncsignde
-Feature: framesync packets to hold the clients framecount near the servers -Fix: command queue now aligns the commands to be processed right after an sync or framesync packet -Fix: added stubs for compiling without network
2004-09-11(svn r207) -Codechange: randomizer handlingsignde
-Fix: desync problem fixes -Fix: server doesnt hang anymore when a client timed out -Feature: low latency connection enhancements [*net_sync_freq, *net_ready_ahead]
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-09-08(svn r186) -Add: debug 'net' for network debug (sign_de)truelight
-Fix: desync problem (server was not waiting for clients) (sign_de)
2004-09-06(svn r173) -Network: [1023231] Debug Code + ErrorBoxes + Load Game/Scenario. ↵darkvater
Added some more desync debug code and replaced some of the error() calls with some better error boxes. Hopefully find desyncs easier (sign_de) -GUI: Change some network GUI stuff (Darkvater)
2004-09-06(svn r169) -Fix: move around sort-widgets a bit so it looks more naturaldarkvater
-Fix: savegames are sorted with newest date first by default -Codechange: refine sorter functions -Fix: fixed linux warnings (tokai)
2004-09-03(svn r153) -Feature: [1009710] Extra Viewport. In the minimap dropdown menu, ↵darkvater
open a new viewport to have a quick look at your favorite map-positions. Independent zoom and quick jump to/from viewport (Dribbel)
2004-08-25(svn r140) -Fix: Load Scenario fixtruelight
2004-08-25(svn r137) Fix: console sometime didn't open (sign_de)dominik
2004-08-24(svn r127) New feature: ingame console. (sign_de)dominik
Press tab to open the console, more info in docs/console.txt
2004-08-23(svn r124) Prepared code for removal of block_months variable in next major ↵dominik
savegame version
2004-08-23(svn r122) Change: exclusive transport rights are now stored per town ↵dominik
instead of per station Exclusive rights from old savegames will be reset.
2004-08-23(svn r117) Feature: Performance details window in company league menu ↵dominik
(TrueLight)