------------------------------------------------------------------------ r1255 | dominik | 2004-12-23 18:28:13 +0000 (Thu, 23 Dec 2004) | 2 lines Renamed "postfix" to "suffix", for strings and variable names ------------------------------------------------------------------------ r1254 | dominik | 2004-12-23 18:14:12 +0000 (Thu, 23 Dec 2004) | 3 lines - Fix: [ 993500 ] High bridge rendering error - Changed button to open landscaping toolbar ------------------------------------------------------------------------ r1253 | truelight | 2004-12-23 17:59:37 +0000 (Thu, 23 Dec 2004) | 10 lines -Update: updated the multiplayer doc a bit. Via this commit I wanted to thank everyone who helped with this new network, with some people by name: Bjarni, for Endian support, Hackykid, for Masterserver and ingame server-list, Geniusdex, for suggestions and bug reporting, Darkvater, for the Windows testing, Tron, for his comments and suggestions for the network, sign_de, for his general help around the network, orudge, for his kind offer to host our masterserver, dominik, for the network GUI, and all the others I did not mention or forgot. Thank you all :) ------------------------------------------------------------------------ r1252 | truelight | 2004-12-23 17:37:26 +0000 (Thu, 23 Dec 2004) | 3 lines -Add: [Network] With 'set restart_game_date' you can set the date for in which year the server must restart hisself. (0 = disabled, default value) ------------------------------------------------------------------------ r1251 | truelight | 2004-12-23 17:12:30 +0000 (Thu, 23 Dec 2004) | 2 lines -Fix: [Console] The alias 'clean_company' is now working correctly ------------------------------------------------------------------------ r1250 | truelight | 2004-12-23 15:33:47 +0000 (Thu, 23 Dec 2004) | 2 lines -Fix: a dedicated server could not kick user number 1 ------------------------------------------------------------------------ r1249 | truelight | 2004-12-23 15:08:53 +0000 (Thu, 23 Dec 2004) | 2 lines -Fix: new files in the last commit had double content ------------------------------------------------------------------------ r1248 | truelight | 2004-12-23 14:46:16 +0000 (Thu, 23 Dec 2004) | 7 lines -Add: initial OS/2 support (read docs/ReadMe_OS2.txt) (orudge) Works fine, beside some minor stuff: - Network is not working yet - Keyboard is not working - No MIDI support - 'A few file selector bugs involving drives' ------------------------------------------------------------------------ r1247 | truelight | 2004-12-23 14:02:40 +0000 (Thu, 23 Dec 2004) | 2 lines -Fix: [ 1090313 ] Shares are now also sold when a company goes bankrupt ------------------------------------------------------------------------ r1246 | truelight | 2004-12-23 13:53:05 +0000 (Thu, 23 Dec 2004) | 3 lines -Fix: [ 1090099 ] Company-messages did crash the game, because company-index was sent, which should have been the client-index ------------------------------------------------------------------------ r1244 | truelight | 2004-12-23 13:03:48 +0000 (Thu, 23 Dec 2004) | 3 lines -Fix: no longer show the current password when 'set company_pw' is called without parameters (technical not possible, sorry DV) ------------------------------------------------------------------------ r1243 | darkvater | 2004-12-23 11:36:22 +0000 (Thu, 23 Dec 2004) | 1 line -Fix: Scenario road-building toolbar also stickified. Thx for the notice teeone ------------------------------------------------------------------------ r1242 | darkvater | 2004-12-23 11:31:06 +0000 (Thu, 23 Dec 2004) | 1 line -Fix: fix some morhpos warnings (tokai) ------------------------------------------------------------------------ r1241 | darkvater | 2004-12-23 00:33:44 +0000 (Thu, 23 Dec 2004) | 1 line -To get empty password, '*' is not needed in the gui; forgot to remove it from the tooltip...it's late already. ------------------------------------------------------------------------ r1240 | darkvater | 2004-12-23 00:24:44 +0000 (Thu, 23 Dec 2004) | 3 lines -Fix: OpenTTD once again compiles if ENABLE_NETWORK is disabled. -Fix: removed some warnings -Enabled ENABLE_NETWORK on windows again which I accidentally commented out. ------------------------------------------------------------------------ r1239 | darkvater | 2004-12-22 23:24:53 +0000 (Wed, 22 Dec 2004) | 3 lines -Feature: Added gui option of setting company password. It can be found in the 'company information' window -Spiced up 'set company_pw' a bit, where if no pw is typed, it shows the current one. -Added a space between company name and player; looks better ------------------------------------------------------------------------ r1238 | bjarni | 2004-12-22 22:52:06 +0000 (Wed, 22 Dec 2004) | 1 line Changelog update with the mac specific stuff since 0.3.4 ------------------------------------------------------------------------ r1237 | darkvater | 2004-12-22 21:37:28 +0000 (Wed, 22 Dec 2004) | 1 line -Fix: Viewports crash when too many viewports are open. Their amount was not updated to reflect the updated windows amount (thx lefti) ------------------------------------------------------------------------ r1236 | bjarni | 2004-12-22 21:12:36 +0000 (Wed, 22 Dec 2004) | 2 lines MorphOS: added make release like in OSX (tokai) MorphOS: cleaned up the code telling the difference between AmigaOS and MorphOS (tokai) ------------------------------------------------------------------------ r1235 | miham | 2004-12-22 21:09:45 +0000 (Wed, 22 Dec 2004) | 1 line Daily langfile updates (automatic) ------------------------------------------------------------------------ r1233 | dominik | 2004-12-22 19:48:27 +0000 (Wed, 22 Dec 2004) | 2 lines Fixed several currency issues. Now currencies should work correctly again. ------------------------------------------------------------------------ r1232 | tron | 2004-12-22 19:16:56 +0000 (Wed, 22 Dec 2004) | 1 line Plug memory leak ------------------------------------------------------------------------ r1231 | truelight | 2004-12-22 19:16:10 +0000 (Wed, 22 Dec 2004) | 2 lines -Fix: missing header file for console_cmds.c ------------------------------------------------------------------------ r1228 | truelight | 2004-12-22 18:56:52 +0000 (Wed, 22 Dec 2004) | 3 lines -Add: [Network] When a server normally shuts down, it removed itself from the server-list ------------------------------------------------------------------------ r1227 | truelight | 2004-12-22 18:42:56 +0000 (Wed, 22 Dec 2004) | 5 lines -Add: Ingame Server-list (select Internet, then Find Servers) -Fix: UDPListener was launched wrongly -Fix: Not all sockets have broadcast enabled anymore -Fix: Server-advertise retries 3 times before giving up ------------------------------------------------------------------------ r1225 | darkvater | 2004-12-22 17:37:21 +0000 (Wed, 22 Dec 2004) | 2 lines -Feature: SHIFT+DEL now deletes all non-vital windows (only status bar and main bar remain) -Fix: For everyone who tried to crash the game by opening a huge amount of windows and stickying all of them; bad luck. It's fixed now (thanks Tron for the helpful criticism). First all normal windows are a candidate for replacement, then if none are found, sticky windows. Then..well that should not happen :) ------------------------------------------------------------------------ r1222 | dominik | 2004-12-22 16:54:55 +0000 (Wed, 22 Dec 2004) | 2 lines Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones). ------------------------------------------------------------------------ r1219 | darkvater | 2004-12-22 15:45:41 +0000 (Wed, 22 Dec 2004) | 1 line -Fix: compilation for windows release build (forgotten VARDEF) ------------------------------------------------------------------------ r1218 | dominik | 2004-12-22 15:32:50 +0000 (Wed, 22 Dec 2004) | 2 lines Fix: Autosaves go to the correct folder again with keep_all_autosave enabled ------------------------------------------------------------------------ r1215 | dominik | 2004-12-22 13:19:26 +0000 (Wed, 22 Dec 2004) | 2 lines Feature: You can now make a custom currency by chosing "Custom..." ------------------------------------------------------------------------ r1214 | darkvater | 2004-12-22 01:32:30 +0000 (Wed, 22 Dec 2004) | 2 lines -Feature: Stickified Industries (list & window), Smallmaps (all three), Stations (list & window) and Towns (list & window). I hope I didn't forget to update a widget somewhere :O -Feature: With the sticky windows on and some unfortunate resizing of your game it the 'close' button might go outside of the playing field, making it impossible to close. Added an option to the Options menu that closes all windows, even if they are stickified ("Close ALL windows") ------------------------------------------------------------------------ r1213 | darkvater | 2004-12-22 00:45:05 +0000 (Wed, 22 Dec 2004) | 1 line -Feature: Stickified vehicle lists ------------------------------------------------------------------------ r1212 | darkvater | 2004-12-22 00:18:40 +0000 (Wed, 22 Dec 2004) | 1 line -Feature: sticky windows all build-toolbars ------------------------------------------------------------------------ r1211 | darkvater | 2004-12-21 23:27:58 +0000 (Tue, 21 Dec 2004) | 1 line -Feature: Introduce sticky windows to all vehicle windows...Just make sure you do not sticky more than 23 at a time. Also a lot of places in the code invalidated the 'status bar' of the vehicle, referring to it as widget 4. This is now widget 5 and has been #definitized ------------------------------------------------------------------------ r1210 | miham | 2004-12-21 22:53:55 +0000 (Tue, 21 Dec 2004) | 1 line Daily langfile updates (automatic) ------------------------------------------------------------------------ r1209 | truelight | 2004-12-21 19:39:21 +0000 (Tue, 21 Dec 2004) | 2 lines -Fix: fix compiler warning (sorry) ------------------------------------------------------------------------ r1208 | truelight | 2004-12-21 19:37:10 +0000 (Tue, 21 Dec 2004) | 3 lines -Fix: the owner-check introduced in r1203 now also works correctly for bridges (the middle-parts don't have any owner) ------------------------------------------------------------------------ r1207 | celestar | 2004-12-21 19:07:23 +0000 (Tue, 21 Dec 2004) | 2 lines -Fix: Compiler warning due to the modified catchment areas ------------------------------------------------------------------------ r1206 | dominik | 2004-12-21 18:30:51 +0000 (Tue, 21 Dec 2004) | 2 lines Fix: Polished build docks window a bit. ------------------------------------------------------------------------ r1205 | dominik | 2004-12-21 17:41:12 +0000 (Tue, 21 Dec 2004) | 2 lines Fix: Made the network window a bit wider, so that other languages don't have overlapping strings ------------------------------------------------------------------------ r1204 | truelight | 2004-12-21 17:31:10 +0000 (Tue, 21 Dec 2004) | 2 lines -Add: [Network] Added some cheaters-protection (money-cheat mostly) ------------------------------------------------------------------------ r1203 | truelight | 2004-12-21 17:12:20 +0000 (Tue, 21 Dec 2004) | 4 lines -Fix: the pathfinder no longer sees rail with an other owner as a possible route. This also makes sure signals don't show red because there is a train on the track of an other owner. ------------------------------------------------------------------------ r1202 | truelight | 2004-12-21 16:56:43 +0000 (Tue, 21 Dec 2004) | 2 lines -Fix: removed unused variable ------------------------------------------------------------------------ r1201 | truelight | 2004-12-21 16:54:46 +0000 (Tue, 21 Dec 2004) | 2 lines -Fix: I forgot to add a * in r1183 ;) ------------------------------------------------------------------------ r1200 | truelight | 2004-12-21 16:17:27 +0000 (Tue, 21 Dec 2004) | 4 lines -Fix: Fixed bug pointed out by Tron: when a train is on the road/rail-crossing, and you let an other train drive towards it, reverse it, the lights no longer go off. ------------------------------------------------------------------------ r1199 | truelight | 2004-12-21 16:02:14 +0000 (Tue, 21 Dec 2004) | 4 lines -Fix: [ 958098 ] No longer road/rail crossing signals hang when a train is reversed at the wrong moment (Yeah, our longest open bug finally fixed :) :) :)) ------------------------------------------------------------------------ r1198 | truelight | 2004-12-21 16:00:14 +0000 (Tue, 21 Dec 2004) | 4 lines -Fix: [ 1087701 ] It is no longer possible to crash trains of other companies by building a depot close to a station. (even more: trains do no longer enter tiles that do not belong to his owner) ------------------------------------------------------------------------ r1197 | truelight | 2004-12-21 14:54:27 +0000 (Tue, 21 Dec 2004) | 3 lines -Fix: [GUI] in r1194 someone deleted too much code from WE_KEYPRESS. Now you can change your player-name in the GUI again :) ------------------------------------------------------------------------ r1196 | truelight | 2004-12-21 14:42:06 +0000 (Tue, 21 Dec 2004) | 2 lines -Fix: Preview Vehicle had a small glitch. Fixed now. ------------------------------------------------------------------------ r1195 | miham | 2004-12-21 14:35:19 +0000 (Tue, 21 Dec 2004) | 1 line Daily langfile updates (automatic) ------------------------------------------------------------------------ r1194 | dominik | 2004-12-20 22:14:39 +0000 (Mon, 20 Dec 2004) | 2 lines Feature: You can now add and remove servers from the server list. Those will be remembered until you delete them by pressing the Delete key. ------------------------------------------------------------------------ r1189 | tron | 2004-12-20 18:11:22 +0000 (Mon, 20 Dec 2004) | 1 line Fix vehicle list update glitch when moving waggons in depots ------------------------------------------------------------------------ r1188 | truelight | 2004-12-20 16:35:16 +0000 (Mon, 20 Dec 2004) | 4 lines -Fix: [Network] Fixed that CTRL+ could sometimes hang a dedicated server till enter was pressed. CTRL+D after a random key still does hang the dedicated server till enter is pressed. ------------------------------------------------------------------------ r1187 | truelight | 2004-12-20 16:15:19 +0000 (Mon, 20 Dec 2004) | 3 lines -Fix: [Network] You can no longer join as spectator a game with no companies (a lot of code can simply not handle it) ------------------------------------------------------------------------ r1186 | truelight | 2004-12-20 16:02:01 +0000 (Mon, 20 Dec 2004) | 3 lines -Fix: [Network] You can now join a company on a server where a company went bankrupt, without joining the wrong company (or even failing to do so) ------------------------------------------------------------------------ r1185 | truelight | 2004-12-20 15:26:19 +0000 (Mon, 20 Dec 2004) | 2 lines -Fix: [Network] Send to team now results in correct company on the sender ------------------------------------------------------------------------ r1184 | truelight | 2004-12-20 15:25:39 +0000 (Mon, 20 Dec 2004) | 3 lines -Fix: [Network] %p as chat message no longer gives funny result (tnx to GeniusDex (that makes 10 ;))) ------------------------------------------------------------------------ r1183 | truelight | 2004-12-20 14:38:28 +0000 (Mon, 20 Dec 2004) | 3 lines -Fix: Newsmessage-validation-pointer was never reset, causing some nasty crashes (tnx to GeniusDex for the clear backtrace) ------------------------------------------------------------------------ r1182 | truelight | 2004-12-20 14:37:52 +0000 (Mon, 20 Dec 2004) | 2 lines -Fix: Makefile had a small glitch, making it impossible to compile the game (Oskar_) ------------------------------------------------------------------------ r1181 | miham | 2004-12-20 12:38:33 +0000 (Mon, 20 Dec 2004) | 1 line Daily langfile updates (automatic) ------------------------------------------------------------------------ r1180 | bjarni | 2004-12-19 23:27:20 +0000 (Sun, 19 Dec 2004) | 1 line Makefile: fixed dependancies so the flag -j can be used. It makes the compilation process into more than one job which makes it able to benefit from multiple CPUs. Using -j without setting a limit of jobs (like -j2) is not a great idea (thanks to ln-- for reporting the need for this one) ------------------------------------------------------------------------ r1179 | dominik | 2004-12-19 22:23:32 +0000 (Sun, 19 Dec 2004) | 3 lines Fix: Tooltips for vehicle list sorting This has gotta be the greatest kick for Moriarty! ------------------------------------------------------------------------ r1178 | dominik | 2004-12-19 22:17:27 +0000 (Sun, 19 Dec 2004) | 2 lines Fix: Error message for building canals on slopes is correct ------------------------------------------------------------------------ r1177 | tron | 2004-12-19 21:03:16 +0000 (Sun, 19 Dec 2004) | 1 line Enable non-stop flag for waypoints ------------------------------------------------------------------------ r1176 | truelight | 2004-12-19 19:17:15 +0000 (Sun, 19 Dec 2004) | 2 lines -Fix: [Network] PlayerBasedMenu's caused crashes when a company went bankrupt ------------------------------------------------------------------------ r1175 | truelight | 2004-12-19 16:26:45 +0000 (Sun, 19 Dec 2004) | 4 lines -Fix: [ 1086375 ] Backup-order-list was not closed with an OT_NOTHING, resulting in order-lists mixing together (maybe tnx to Darkvater, not sure though..) ------------------------------------------------------------------------ r1174 | truelight | 2004-12-19 15:14:55 +0000 (Sun, 19 Dec 2004) | 2 lines -Fix: [Network] All strings can now be translated (no more hardcoded strings) ------------------------------------------------------------------------ r1173 | truelight | 2004-12-19 14:42:17 +0000 (Sun, 19 Dec 2004) | 3 lines -Fix: [Network] Console input in dedicated server for windows was not working (Hackykid) ------------------------------------------------------------------------ r1172 | truelight | 2004-12-19 14:08:29 +0000 (Sun, 19 Dec 2004) | 2 lines -Fix: [Network] Pressing CTRL+C in dedicated server now closed the server ------------------------------------------------------------------------ r1171 | dominik | 2004-12-19 13:28:09 +0000 (Sun, 19 Dec 2004) | 2 lines Fix: Console hotkey works again on keyboards where this key is a deadkey. ------------------------------------------------------------------------ r1170 | dominik | 2004-12-19 13:06:20 +0000 (Sun, 19 Dec 2004) | 2 lines Fix: news_gui.c should compile everywhere without warnings now. ------------------------------------------------------------------------ r1169 | truelight | 2004-12-19 10:24:45 +0000 (Sun, 19 Dec 2004) | 3 lines -Fix: [Network] [ 1087591 ] When you want to be a spectator, you now stay a spectator even if someone else joins. ------------------------------------------------------------------------ r1168 | truelight | 2004-12-19 10:17:26 +0000 (Sun, 19 Dec 2004) | 4 lines -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. ------------------------------------------------------------------------ r1167 | dominik | 2004-12-19 09:39:19 +0000 (Sun, 19 Dec 2004) | 2 lines 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. ------------------------------------------------------------------------ r1166 | dominik | 2004-12-19 09:33:02 +0000 (Sun, 19 Dec 2004) | 2 lines Fix: [ 1040119 ] Flooded wagons in depots don't keep constantly exploding any more ------------------------------------------------------------------------ r1165 | dominik | 2004-12-19 09:31:35 +0000 (Sun, 19 Dec 2004) | 2 lines Fix: [ 1085255 ] Docks now have a button to display the catchment area ------------------------------------------------------------------------ r1164 | dominik | 2004-12-19 09:30:05 +0000 (Sun, 19 Dec 2004) | 2 lines Redid fix from revision 1163 to work with all patch settings ------------------------------------------------------------------------ r1163 | dominik | 2004-12-18 21:11:45 +0000 (Sat, 18 Dec 2004) | 2 lines Fix: [ 1087403 ] Crashed trains aren't reported to have too few orders any more ------------------------------------------------------------------------ r1162 | dominik | 2004-12-18 18:58:03 +0000 (Sat, 18 Dec 2004) | 2 lines 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. ------------------------------------------------------------------------ r1161 | tron | 2004-12-18 18:19:49 +0000 (Sat, 18 Dec 2004) | 1 line Don't make redundant GetAirport() calls, use the cached value ------------------------------------------------------------------------ r1160 | truelight | 2004-12-18 18:13:37 +0000 (Sat, 18 Dec 2004) | 2 lines -Fix: redid revision 1159. pid_t should not be defined under windows. ------------------------------------------------------------------------ r1159 | darkvater | 2004-12-18 18:05:56 +0000 (Sat, 18 Dec 2004) | 1 line -Fix: pid_t was unknown to windows; typedeffed to int. ------------------------------------------------------------------------ r1158 | tron | 2004-12-18 17:31:02 +0000 (Sat, 18 Dec 2004) | 1 line Make network compile on SunOS ------------------------------------------------------------------------ r1157 | dominik | 2004-12-18 16:00:10 +0000 (Sat, 18 Dec 2004) | 2 lines 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". ------------------------------------------------------------------------ r1154 | truelight | 2004-12-18 14:19:21 +0000 (Sat, 18 Dec 2004) | 2 lines -Add: [Network] Forked dedicated server (start openttd with -Df) (GeniusDex) ------------------------------------------------------------------------ r1153 | truelight | 2004-12-18 13:38:27 +0000 (Sat, 18 Dec 2004) | 3 lines -Fix: FindCatchmentRadius is now a function that uses the enums instead of magic numbers (tnx to Stumo) ------------------------------------------------------------------------ r1152 | truelight | 2004-12-18 13:15:41 +0000 (Sat, 18 Dec 2004) | 2 lines -Add: [Network] Added signal handling (GeniusDex) ------------------------------------------------------------------------ r1151 | tron | 2004-12-18 12:46:29 +0000 (Sat, 18 Dec 2004) | 1 line Fix last commit |: ------------------------------------------------------------------------ r1150 | tron | 2004-12-18 12:40:34 +0000 (Sat, 18 Dec 2004) | 4 lines 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) ------------------------------------------------------------------------ r1149 | tron | 2004-12-18 12:19:04 +0000 (Sat, 18 Dec 2004) | 1 line Fix hack which abuses first TileIndex of airport depot array as number of depots (similar change as in map branch) ------------------------------------------------------------------------ r1148 | dominik | 2004-12-17 23:32:54 +0000 (Fri, 17 Dec 2004) | 1 line Fix: The console hotkey is finally working properly on all keyboards. It's the key on the top left corner ------------------------------------------------------------------------ r1146 | truelight | 2004-12-17 17:06:20 +0000 (Fri, 17 Dec 2004) | 2 lines -Fix: You can no longer change waypoints whom are owned by somebody else ------------------------------------------------------------------------ r1145 | tron | 2004-12-17 09:02:41 +0000 (Fri, 17 Dec 2004) | 1 line Remove stray line which crept in in last commit ------------------------------------------------------------------------ r1144 | tron | 2004-12-17 09:01:24 +0000 (Fri, 17 Dec 2004) | 1 line Don't rely on sizeof() to determine the map size, use MapSize() instead ------------------------------------------------------------------------ r1143 | miham | 2004-12-17 04:42:55 +0000 (Fri, 17 Dec 2004) | 1 line Daily langfile updates (automatic) ------------------------------------------------------------------------