dominik
18dd7ebae2
(svn r1170) Fix: news_gui.c should compile everywhere without warnings now.
2004-12-19 13:06:20 +00:00
truelight
4d94803d32
(svn r1169) -Fix: [Network] [ 1087591 ] When you want to be a spectator, you now
...
stay a spectator even if someone else joins.
2004-12-19 10:24:45 +00:00
truelight
0e19f74c16
(svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const'
...
and 'void' where needed, prefixed all functions, typedefs and global
vars with 'Network' and organized all externals nicely.
2004-12-19 10:17:26 +00:00
dominik
bb5dca016d
(svn r1167) Feature: Added the possibility to add validation functions to 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 09:39:19 +00:00
dominik
cf89cb12cd
(svn r1166) Fix: [ 1040119 ] Flooded wagons in depots don't keep constantly exploding any more
2004-12-19 09:33:02 +00:00
dominik
f18b913493
(svn r1165) Fix: [ 1085255 ] Docks now have a button to display the catchment area
2004-12-19 09:31:35 +00:00
dominik
61d744c38a
(svn r1164) Redid fix from revision 1163 to work with all patch settings
2004-12-19 09:30:05 +00:00
dominik
453c85e61d
(svn r1163) Fix: [ 1087403 ] Crashed trains aren't reported to have too few orders any more
2004-12-18 21:11:45 +00:00
dominik
853c11d301
(svn r1162) The server list can now be automatically filled from the config file. Add a section [servers] with the addresses each in a new line. Those will be checked upon OpenTTD startup.
2004-12-18 18:58:03 +00:00
tron
b9779176d5
(svn r1161) Don't make redundant GetAirport() calls, use the cached value
2004-12-18 18:19:49 +00:00
truelight
c7b5cc3787
(svn r1160) -Fix: redid revision 1159. pid_t should not be defined under windows.
2004-12-18 18:13:37 +00:00
darkvater
158a4d897b
(svn r1159) -Fix: pid_t was unknown to windows; typedeffed to int.
2004-12-18 18:05:56 +00:00
tron
1fd06cf773
(svn r1158) Make network compile on SunOS
2004-12-18 17:31:02 +00:00
dominik
74a0d26d0e
(svn r1157) Enhanced the config file (openttd.cfg) to use another section 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 16:00:10 +00:00
truelight
17a613546c
(svn r1154) -Add: [Network] Forked dedicated server (start openttd with -Df) (GeniusDex)
2004-12-18 14:19:21 +00:00
truelight
3f2d2d8f37
(svn r1153) -Fix: FindCatchmentRadius is now a function that uses the enums instead
...
of magic numbers (tnx to Stumo)
2004-12-18 13:38:27 +00:00
truelight
88b94c3c67
(svn r1152) -Add: [Network] Added signal handling (GeniusDex)
2004-12-18 13:15:41 +00:00
tron
80a9fa962d
(svn r1151) Fix last commit |:
2004-12-18 12:46:29 +00:00
tron
a4e5ed68fd
(svn r1150) Fixes:
...
- 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 12:40:34 +00:00
tron
376c5adb7c
(svn r1149) Fix hack which abuses first TileIndex of airport depot array as number of depots (similar change as in map branch)
2004-12-18 12:19:04 +00:00
dominik
64f98e058d
(svn r1148) Fix: The console hotkey is finally working properly on all keyboards. It's the key on the top left corner
2004-12-17 23:32:54 +00:00
truelight
9d05289147
(svn r1146) -Fix: You can no longer change waypoints whom are owned by somebody else
2004-12-17 17:06:20 +00:00
tron
ef89eb019a
(svn r1145) Remove stray line which crept in in last commit
2004-12-17 09:02:41 +00:00
tron
e75954a7ab
(svn r1144) Don't rely on sizeof() to determine the map size, use MapSize() instead
2004-12-17 09:01:24 +00:00
miham
52685ad50c
(svn r1143) Daily langfile updates (automatic)
2004-12-17 04:42:55 +00:00
truelight
da24f97483
(svn r1137) -Fix: [Network] Replaces all strncpy with ttd_strlcpy.. windows really
...
does not like strncpy for some silly reason.
2004-12-16 15:51:18 +00:00
truelight
f04d49ca17
(svn r1136) -Fix: [Network] Revision check on windows-servers is working now
2004-12-16 15:35:19 +00:00
truelight
f6e23d726f
(svn r1135) -Fix: added map.c/h to vc6 project file (bociusz)
2004-12-16 14:57:25 +00:00
truelight
5e28fb8f97
(svn r1131) -Add: [Network] Autoclean_companies (set it with 'set 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 13:59:23 +00:00
tron
89fd12692f
(svn r1130) Add helper functions to query map size
2004-12-16 12:30:13 +00:00
truelight
74a149127d
(svn r1129) -Add: [Network] Added 'reset_company <company-id>'. If a company is
...
empty (no clients logged on to it), a server can delete a company via
this command in the console.
2004-12-16 11:36:57 +00:00
truelight
dccd3adb9b
(svn r1128) -Fix: [Network] Going bankrupt of human-players was corrupted in networkgames
2004-12-16 11:36:00 +00:00
truelight
523ba1ff50
(svn r1127) -Fix: [Network] Protect the network against an illegal PLAYER_CTRL (in
...
which a modified client could, for example, delete a random active company)
2004-12-16 11:35:08 +00:00
truelight
693d074d76
(svn r1126) -Fix: [Network] Pressing Disconnect on the GUI puts you back to the
...
main-menu (so you no longer stay ingame (if you were))
2004-12-16 11:12:59 +00:00
truelight
c5770907ac
(svn r1125) -Fix: [Network] You can now safely join a company again
2004-12-16 11:09:00 +00:00
truelight
e5a2abb872
(svn r1124) -Fix: [Network] Also the server now has the option Give Money in
...
ClientList (tnx to teeone for reporting)
2004-12-16 11:04:43 +00:00
darkvater
83981e40b5
(svn r1121) -Feature: Added sticky windows feature. A small pin allows the 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 23:33:04 +00:00
miham
ec94450aef
(svn r1119) Fixed url in manpage
2004-12-15 22:50:20 +00:00
matthijs
76363231be
(svn r1118) * Added a minimal manpage with references to where to get real info
...
* Specified installation locations in the os/debian/rules script so it works now.
2004-12-15 22:46:53 +00:00
tron
765ecfed84
(svn r1117) Move map arrays and some related macros into their own files map.c and map.h
2004-12-15 22:18:54 +00:00
truelight
736718ef53
(svn r1116) -Add: [Console] With 'set server_advertise on/off' you can put server
...
advertise on/off via console (requested by imachine)
2004-12-15 22:06:47 +00:00
tron
15265ac40a
(svn r1115) Put every source file on an extra line
2004-12-15 22:05:40 +00:00
miham
37192a99a6
(svn r1114) Daily langfile updates (automatic)
2004-12-15 21:54:13 +00:00
truelight
5f51b42c99
(svn r1113) -Add: [Network] Added the GUI part for server advertising. When 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 21:54:07 +00:00
truelight
88862fcdb6
(svn r1112) -Fix: _decode_parameters was increased to [20], but not all temp-dparams were
2004-12-15 21:45:44 +00:00
darkvater
2d5a938621
(svn r1111) -Fix: Some language file fixes. Added a space in 'company information' and fixed most not-same-format as english.txt problems. Some are remaining because they need translations.
2004-12-15 21:45:05 +00:00
darkvater
ce4bff7fa5
(svn r1110) -Fix: Empty console commands were executed and returned error message (sign_de for GeniusDex)
2004-12-15 21:30:20 +00:00
tron
39b3e71239
(svn r1109) Fix c&p bug: In vehicle lists a name was displayed for road vehicles even if they had none
2004-12-15 21:25:33 +00:00
truelight
fa1f026367
(svn r1108) -Fix: [Network] Fixed problem around slow clients:
...
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 21:13:52 +00:00
truelight
9595ee80e3
(svn r1107) -Fix: [Network] A spectator can no longer buy/sell shares of companies
2004-12-15 20:24:26 +00:00