summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-12-19(svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const' truelight
and 'void' where needed, prefixed all functions, typedefs and global vars with 'Network' and organized all externals nicely.
2004-12-19(svn r1167) Feature: Added the possibility to add validation functions to ↵dominik
NewsItems. This is now done for "Train in depot" messages. Before displaying such a message, it checks if the train really still is in the depot. Can be applied to other news items as well.
2004-12-19(svn r1166) Fix: [ 1040119 ] Flooded wagons in depots don't keep constantly ↵dominik
exploding any more
2004-12-19(svn r1165) Fix: [ 1085255 ] Docks now have a button to display the ↵dominik
catchment area
2004-12-19(svn r1164) Redid fix from revision 1163 to work with all patch settingsdominik
2004-12-18(svn r1163) Fix: [ 1087403 ] Crashed trains aren't reported to have too few ↵dominik
orders any more
2004-12-18(svn r1162) The server list can now be automatically filled from the config ↵dominik
file. Add a section [servers] with the addresses each in a new line. Those will be checked upon OpenTTD startup.
2004-12-18(svn r1161) Don't make redundant GetAirport() calls, use the cached valuetron
2004-12-18(svn r1160) -Fix: redid revision 1159. pid_t should not be defined under ↵truelight
windows.
2004-12-18(svn r1159) -Fix: pid_t was unknown to windows; typedeffed to int.darkvater
2004-12-18(svn r1158) Make network compile on SunOStron
2004-12-18(svn r1157) Enhanced the config file (openttd.cfg) to use another section ↵dominik
type. "List sections" as opposed to "variable sections" contain a list of values, separated by a new line. This is now used for the [newgrf] group. You have to edit each line in this section from e.g. "0 = firstset.grf" to only "firstset.grf".
2004-12-18(svn r1154) -Add: [Network] Forked dedicated server (start openttd with -Df) ↵truelight
(GeniusDex)
2004-12-18(svn r1153) -Fix: FindCatchmentRadius is now a function that uses the enums ↵truelight
instead of magic numbers (tnx to Stumo)
2004-12-18(svn r1152) -Add: [Network] Added signal handling (GeniusDex)truelight
2004-12-18(svn r1151) Fix last commit |:tron
2004-12-18(svn r1150) Fixes:tron
- Don't crash when building or destroying airport without depots (bugs were latent before r1149) - Delete all hangar windows when destroying an airport, not just the first one (before r1149 none where deleted)
2004-12-18(svn r1149) Fix hack which abuses first TileIndex of airport depot array as ↵tron
number of depots (similar change as in map branch)
2004-12-17(svn r1148) Fix: The console hotkey is finally working properly on all ↵dominik
keyboards. It's the key on the top left corner
2004-12-17(svn r1146) -Fix: You can no longer change waypoints whom are owned by ↵truelight
somebody else
2004-12-17(svn r1145) Remove stray line which crept in in last committron
2004-12-17(svn r1144) Don't rely on sizeof() to determine the map size, use MapSize() ↵tron
instead
2004-12-17(svn r1143) Daily langfile updates (automatic)miham
2004-12-16(svn r1137) -Fix: [Network] Replaces all strncpy with ttd_strlcpy.. windows ↵truelight
really does not like strncpy for some silly reason.
2004-12-16(svn r1136) -Fix: [Network] Revision check on windows-servers is working nowtruelight
2004-12-16(svn r1135) -Fix: added map.c/h to vc6 project file (bociusz)truelight
2004-12-16(svn r1131) -Add: [Network] Autoclean_companies (set it with 'set ↵truelight
autoclean_companies on/off'). When enabled, empty companies (companies with no active clients) with no password are declared bankrupt after 1 year of emptyness. For empty companies with password, the password is removed after 3 years of emptyness. The delay of removing company/password can be configured via: - 'set autoclean_protected <months>' - 'set autoclean_unprotected <months>'
2004-12-16(svn r1130) Add helper functions to query map sizetron
2004-12-16(svn r1129) -Add: [Network] Added 'reset_company <company-id>'. If a company is truelight
empty (no clients logged on to it), a server can delete a company via this command in the console.
2004-12-16(svn r1128) -Fix: [Network] Going bankrupt of human-players was corrupted in ↵truelight
networkgames
2004-12-16(svn r1127) -Fix: [Network] Protect the network against an illegal ↵truelight
PLAYER_CTRL (in which a modified client could, for example, delete a random active company)
2004-12-16(svn r1126) -Fix: [Network] Pressing Disconnect on the GUI puts you back to the truelight
main-menu (so you no longer stay ingame (if you were))
2004-12-16(svn r1125) -Fix: [Network] You can now safely join a company againtruelight
2004-12-16(svn r1124) -Fix: [Network] Also the server now has the option Give Money in truelight
ClientList (tnx to teeone for reporting)
2004-12-15(svn r1121) -Feature: Added sticky windows feature. A small pin allows the ↵darkvater
user to set the window as undeletable and can only be closed by hand. As an example the viewport window has been stickied (thanks to Neko-San) -To use the feature add WDF_STICKY_BUTTON to the widget description and update all widget-ID's since sticky button will be widget 2.
2004-12-15(svn r1119) Fixed url in manpagemiham
2004-12-15(svn r1118) * Added a minimal manpage with references to where to get real infomatthijs
* Specified installation locations in the os/debian/rules script so it works now.
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 r1116) -Add: [Console] With 'set server_advertise on/off' you can put ↵truelight
server advertise on/off via console (requested by imachine)
2004-12-15(svn r1115) Put every source file on an extra linetron
2004-12-15(svn r1114) Daily langfile updates (automatic)miham
2004-12-15(svn r1113) -Add: [Network] Added the GUI part for server advertising. When ↵truelight
you go to Start Server, you can select by connection: 'Internet (advertise)'. When selected, the server will announce itself to the server-list at http://servers.openttd.org (when finished)
2004-12-15(svn r1112) -Fix: _decode_parameters was increased to [20], but not all ↵truelight
temp-dparams were
2004-12-15(svn r1111) -Fix: Some language file fixes. Added a space in 'company ↵darkvater
information' and fixed most not-same-format as english.txt problems. Some are remaining because they need translations.
2004-12-15(svn r1110) -Fix: Empty console commands were executed and returned error ↵darkvater
message (sign_de for GeniusDex)
2004-12-15(svn r1109) Fix c&p bug: In vehicle lists a name was displayed for road ↵tron
vehicles even if they had none
2004-12-15(svn r1108) -Fix: [Network] Fixed problem around slow clients:truelight
They joined, they got the map, but it took some time before the new player was created. In this time a player could do stuff, causing a player-id-mismatch, and the player was kicked out. Now a player get's a nice GUI which says: registering.. When that is gone, the player is joined and can play safely. Tnx to Moriarty for bugging me with this bug ;)
2004-12-15(svn r1107) -Fix: [Network] A spectator can no longer buy/sell shares of ↵truelight
companies
2004-12-15(svn r1106) -Add: [Network] Added master-server protocol and advertise to truelight
master-server option. No GUI yet, and disabled by default (it still is WIP)
2004-12-15(svn r1104) -Fix: nasty server crash buffer overflow problem when using ↵darkvater
release build. Big thanks to Truelight for the guidance in fixing this very annoying bug! -VS.NET now treats warnings as errors too in the release build.