------------------------------------------------------------------------ r2351 | tron | 2005-05-19 17:40:26 +0000 (Thu, 19 May 2005) | 1 line -Fix: It was possible to open more than one tree window ------------------------------------------------------------------------ r2350 | miham | 2005-05-19 16:25:35 +0000 (Thu, 19 May 2005) | 1 line [Translations] Updated to 2005-04-18 (156 strs / 3 langs) ------------------------------------------------------------------------ r2349 | Darkvater | 2005-05-18 12:53:37 +0000 (Wed, 18 May 2005) | 1 line - Fix: remove warning from release build when assertions are no longer active ------------------------------------------------------------------------ r2348 | Darkvater | 2005-05-17 23:25:18 +0000 (Tue, 17 May 2005) | 1 line - Fix: Do not scroll the game with the arrow keys when the chatbox is open ------------------------------------------------------------------------ r2347 | Darkvater | 2005-05-17 23:08:21 +0000 (Tue, 17 May 2005) | 1 line - Fix (regression): depot window did not get redrawn when a non-train-engine was sold. ------------------------------------------------------------------------ r2346 | Darkvater | 2005-05-17 20:59:29 +0000 (Tue, 17 May 2005) | 1 line - Fix: Have the windows installer also delete any spritecache.xx files on uninstall ------------------------------------------------------------------------ r2345 | Darkvater | 2005-05-17 20:58:58 +0000 (Tue, 17 May 2005) | 1 line - Fix: Don't allow stuff to be renamed to nothing if we don't support it. Only valid ones are signs (delete) and waypoints (rename to default). ------------------------------------------------------------------------ r2344 | Darkvater | 2005-05-17 20:54:05 +0000 (Tue, 17 May 2005) | 1 line - Fix (regression): [ 1197216 ] Error: !invalid string id 0 in GetString. Dedicated server also had the endgame window shown and because now it is properly no-player anymore it crashed. ------------------------------------------------------------------------ r2343 | Darkvater | 2005-05-17 20:52:52 +0000 (Tue, 17 May 2005) | 1 line - Fix (regression): dedicated server caused desyncs with its commands, because the player sent over the network is OWNER_SPECTATOR as well, which on clients cannot execute anything. So *hack*hack* it into temporarily player 0. ------------------------------------------------------------------------ r2342 | Darkvater | 2005-05-17 19:36:36 +0000 (Tue, 17 May 2005) | 1 line - Fix (Regression): _cmd_text is always valid, so test the first character for '\0'. Also for some reason I forgot to validate the p1 param so that might lead to crashes with invalid signes. Fixed as well. ------------------------------------------------------------------------ r2341 | miham | 2005-05-17 19:08:27 +0000 (Tue, 17 May 2005) | 1 line [Translations] Updated to 2005-04-17 (74 strs / 6 langs) ------------------------------------------------------------------------ r2340 | Darkvater | 2005-05-17 18:50:07 +0000 (Tue, 17 May 2005) | 1 line - Fix (Regression): [ 1203731 ] Signs don't work in multiplayer, unwanted remains of the _decode_parameters to _cmd_text move. ------------------------------------------------------------------------ r2339 | Darkvater | 2005-05-17 18:22:59 +0000 (Tue, 17 May 2005) | 1 line - Fix: on a dedicated server, after the joining of a player, the player was set to player 0 instead of remaining OWNER_SPECTATOR. Fix this, and allow the dedicated server to execute commands (so 'patch ') now works and not only when a client is connected. ------------------------------------------------------------------------ r2338 | Darkvater | 2005-05-17 16:07:48 +0000 (Tue, 17 May 2005) | 2 lines - CodeChange: only call the variable hooks when you set their value not when you query them - Fix: typo in pool.c "Cleaing up" --> "Cleaning up" ------------------------------------------------------------------------ r2337 | truelight | 2005-05-17 16:01:19 +0000 (Tue, 17 May 2005) | 2 lines -Fix: NetworkUDPRemoveAdvertise wasn't fully correct (which made Darkvater go crazy ;)) ------------------------------------------------------------------------ r2336 | Darkvater | 2005-05-17 11:22:43 +0000 (Tue, 17 May 2005) | 1 line - GFX: make the openttd icon look good on Win2k and lower as well. The TrueColor/256 icons had an ugly black shadow ------------------------------------------------------------------------ r2335 | miham | 2005-05-16 18:19:04 +0000 (Mon, 16 May 2005) | 1 line [Translations] Updated to 2005-05-16 (36 strs / 17 langs, removed unused strings) ------------------------------------------------------------------------ r2334 | Darkvater | 2005-05-16 16:19:32 +0000 (Mon, 16 May 2005) | 1 line - Fix (regression): moved togglefullscreen into the video-driver, now windows works, dedicated works and sdl works. Also reverted the change to the makefile. ------------------------------------------------------------------------ r2333 | Darkvater | 2005-05-16 15:05:49 +0000 (Mon, 16 May 2005) | 1 line - CodeChange: also don't execute command if user has typed all spaces (eg nothing worthwhile). Suggested and implemented by Tron. ------------------------------------------------------------------------ r2332 | Darkvater | 2005-05-16 13:46:26 +0000 (Mon, 16 May 2005) | 2 lines - Feature: Add 'clear' command and CTRL+L to empty the console window - Fix: do not execute emtpy commands anymore ------------------------------------------------------------------------ r2331 | Darkvater | 2005-05-16 12:15:53 +0000 (Mon, 16 May 2005) | 1 line - Fix (regression): fix text overflows in about box. ------------------------------------------------------------------------ r2330 | Darkvater | 2005-05-16 12:15:34 +0000 (Mon, 16 May 2005) | 1 line - Fix: link error when compiling as dedicated. Add sdl.c to always compile in makefile as it is always protected by WITH_SDL and add a stub for ToggleFullScreen() ------------------------------------------------------------------------ r2329 | tron | 2005-05-16 08:41:42 +0000 (Mon, 16 May 2005) | 1 line CMD_CHANGE_PRESIDENT_NAME and CMD_CHANGE_COMPANY_NAME don't use p1, so don't send any meaningful value for it when invoking these commands ------------------------------------------------------------------------ r2328 | tron | 2005-05-16 08:30:32 +0000 (Mon, 16 May 2005) | 1 line There's no need for extra magic to detect libpng on FreeBSD ------------------------------------------------------------------------ r2327 | bjarni | 2005-05-16 00:04:01 +0000 (Mon, 16 May 2005) | 2 lines -fix [MacOSX] default path for midi player on mac is now correct again ------------------------------------------------------------------------ r2325 | Darkvater | 2005-05-15 21:50:26 +0000 (Sun, 15 May 2005) | 1 line - Update OpenTTD for 0.4.0 release ------------------------------------------------------------------------ r2324 | tron | 2005-05-15 18:50:55 +0000 (Sun, 15 May 2005) | 2 lines Introduce _cmd_text for passing strings with a command instead of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes. ------------------------------------------------------------------------ r2323 | tron | 2005-05-15 18:43:36 +0000 (Sun, 15 May 2005) | 2 lines Remove unused dereferencing ------------------------------------------------------------------------ r2322 | Darkvater | 2005-05-15 16:30:02 +0000 (Sun, 15 May 2005) | 1 line - CodeChange: doxygen commented the tunnel-crash fix. Also if (bla) {return;} else {return;} is not proper code. It's if (bla) {return;} return; ;) ------------------------------------------------------------------------ r2321 | matthijs | 2005-05-15 14:01:35 +0000 (Sun, 15 May 2005) | 2 lines - Fix: [ 1202286 ] On OS/2 you get a double backslash in your filename after browsing to the root dir of a drive and "." and ".." are incorrectly displayed. (orudge) ------------------------------------------------------------------------ r2320 | matthijs | 2005-05-15 13:48:23 +0000 (Sun, 15 May 2005) | 2 lines - Fix: [ 1185176 ] Train in tunnel is not properly detected by signal code (Hackykid) ------------------------------------------------------------------------ r2319 | Darkvater | 2005-05-15 11:20:38 +0000 (Sun, 15 May 2005) | 1 line - Fix: copying/pasting from the extra viewport did not center on what you wanted to see if one of the windows (viewport or main) was zoomed out. Also fix the undisabled-zoom-in button upon creation. ------------------------------------------------------------------------ r2318 | Darkvater | 2005-05-15 10:40:53 +0000 (Sun, 15 May 2005) | 1 line - Feature: added console command 'part' to leave a currently running game and 'join' which is an alias to 'connect' to join a multiplayer server. ------------------------------------------------------------------------ r2317 | Darkvater | 2005-05-15 10:23:42 +0000 (Sun, 15 May 2005) | 1 line - Fix: [ 1193048 ] Pre-signal stays red when there is only a single exit signal (dinno) ------------------------------------------------------------------------ r2316 | Darkvater | 2005-05-14 23:48:39 +0000 (Sat, 14 May 2005) | 1 line - Fix: [ 1154454 ] Fix BeOS build on Trunk (myob) ------------------------------------------------------------------------ r2315 | Darkvater | 2005-05-14 22:51:15 +0000 (Sat, 14 May 2005) | 1 line - Fix: [ 1187613 ] No HQ present for competitor, disable 'View HQ' button, inspired by lucaspiller ------------------------------------------------------------------------ r2314 | Darkvater | 2005-05-14 22:42:33 +0000 (Sat, 14 May 2005) | 1 line - Feature: [ 1187490 ] Patches for building on IRIX (jgilje) ------------------------------------------------------------------------ r2313 | Darkvater | 2005-05-14 22:03:25 +0000 (Sat, 14 May 2005) | 1 line - Fix: [ 1202115 ] Clicking shipslist on bouy asserts GetPlayer(). Bouys and oilrigs don't have owners, so it cannot get the vehicle-list of the station-owner. Just use _current_player ------------------------------------------------------------------------ r2312 | Darkvater | 2005-05-14 21:55:54 +0000 (Sat, 14 May 2005) | 1 line - Fix (regression): changing to/from fullscreen got broken with SDL. ------------------------------------------------------------------------ r2311 | Darkvater | 2005-05-14 21:03:46 +0000 (Sat, 14 May 2005) | 1 line - Fix: eh, forgot to remove moved function. ------------------------------------------------------------------------ r2310 | Darkvater | 2005-05-14 21:01:57 +0000 (Sat, 14 May 2005) | 3 lines - Fix: Game would crash if you full-screened with the 'fullscreen' button than chose a resolution from the dropdown box that was no longer valid. Big thanks to DaleStan for track down the crashing bug. - Fix: There would be duplicate entries in the resolutions dropdown box. Copy SDL method or removing duplicates and sort the list. - Feature: in the settings menu, you don't have to click on the arrows anymore, clicking on the dropdown box itself has the same effect. Consistent with other dropdowns in the game ------------------------------------------------------------------------ r2309 | Darkvater | 2005-05-14 19:34:59 +0000 (Sat, 14 May 2005) | 1 line - CodeChange: Change all _iconsole_color_whatever into _icolour_wtv (abbreviated). Besides the changed into proper english, yes this commit is pretty useless ;) ------------------------------------------------------------------------ r2308 | Darkvater | 2005-05-14 19:25:18 +0000 (Sat, 14 May 2005) | 2 lines - Fix: enforce server-only and/or offline commands by giving them flags in the process table. This also fixes bug "[ 1190944 ] Many commands not checked for security" - CodeChange: move ValParamRailtype() to check rail type from command.h to vehicle.h where it is better suited. ------------------------------------------------------------------------ r2307 | Darkvater | 2005-05-14 18:25:01 +0000 (Sat, 14 May 2005) | 2 lines - Fix (regression): it was not possible to change the drive-side in the intro-game. - CodeChange: remove unused "CANT_DO_THIS" double-string. ------------------------------------------------------------------------ r2306 | Darkvater | 2005-05-14 12:36:16 +0000 (Sat, 14 May 2005) | 1 line - CodeChange: Check the last commands; refits. This needed an extensive rewrite and global/local-cargo ID juggling and bitmasking. However with this done it looks better as well and is compatible with newgrf handling. Big thanks to HackyKid for doing most of the work. This also closes patch "[ 1199277 ] Command checks" ------------------------------------------------------------------------ r2305 | miham | 2005-05-14 06:48:14 +0000 (Sat, 14 May 2005) | 1 line [Translations] Updated to 2005-05-14 (~50 strs / 7 langs) ------------------------------------------------------------------------ r2304 | Darkvater | 2005-05-13 18:19:26 +0000 (Fri, 13 May 2005) | 1 line - Fix (regression): excuse the Lumber mill from the list of raw-industries build-restriction, as it can be built always, patch-setting, or no patch-setting. ------------------------------------------------------------------------ r2303 | Darkvater | 2005-05-13 17:09:05 +0000 (Fri, 13 May 2005) | 2 lines - CodeChange (fix): when giving money to other players only allow transferring money that is above your loan. Eg you can't give away your loan. - Langfix: 'goes down by' 'increases', vv for down in english.txt. ------------------------------------------------------------------------ r2302 | Darkvater | 2005-05-13 17:05:03 +0000 (Fri, 13 May 2005) | 1 line - Fix: when you started a server 'load ' did not work prior to doing 'ls'. Fixed by moving the changing of saveload_mode into BuildFileList() ------------------------------------------------------------------------ r2301 | Darkvater | 2005-05-12 23:47:45 +0000 (Thu, 12 May 2005) | 2 lines - CodeChange: prettyify ChangeOwnerShipOfPlayerItems() a bit - CodeChange: add comments to a very ugly part of the code (network_client.c); that enforces that the server gives an ID to the client. ------------------------------------------------------------------------ r2300 | Darkvater | 2005-05-12 23:46:01 +0000 (Thu, 12 May 2005) | 3 lines - CodeChange: check the last number of commands, now only the refit ones remain, and some server-only commands. - CodeChange: remove cmd-misuses CmdStartScenario() and CmdDestroyCompanyHQ() - Fix (invisible): when parameter checking CmdRestoreOrderIndex() the vehicle did not have its orders yet, so it would fail. So move doing this until AFTER the orders have been added back in RestoreVehicleOrders() ------------------------------------------------------------------------