Mon, 30 May 2005 21:46:10 +0000 matthijs (svn r2386) * Blaat
Mon, 30 May 2005 16:03:21 +0000 Darkvater (svn r2385) - Feature: shortcut CTRL + U that clears the commandline of the current input-box. As requested by Tron.
Mon, 30 May 2005 15:50:20 +0000 Darkvater (svn r2384) - Fix: Check selling land and setting player colour. Also an extra map-bounds check for terraforming; inspired by the monkey (and Tron :) )
Mon, 30 May 2005 14:45:36 +0000 Darkvater (svn r2383) - Fix: Monkey-testing turned up some command crashes.
Mon, 30 May 2005 13:35:39 +0000 Darkvater (svn r2382) - Fix: Check the airport type when building an airport
Mon, 30 May 2005 13:06:15 +0000 Darkvater (svn r2381) - Fix: [ 1210610 ] Endgame window on easy difficulty results in infinite loop. Oops. Seperated the window classes of endgame and highscreen.
Mon, 30 May 2005 10:18:18 +0000 orudge (svn r2380) - Fix: Build year for mail compartment of planes was not set correctly, affected station ratings (Asterix_)
Sun, 29 May 2005 20:42:01 +0000 orudge (svn r2379) - Fix: [newgrf] Note to self, check thoroughly before committing!
Sun, 29 May 2005 20:36:11 +0000 orudge (svn r2378) - Fix: [newgrf] Further property stubs, help prevents subsequent incorrect reading of newgrf data
Sun, 29 May 2005 20:05:04 +0000 orudge (svn r2377) - Fix: [newgrf] Ignore action 0 prop 0x20 (air drag)
Sun, 29 May 2005 16:06:21 +0000 miham (svn r2376) [Translations] Updated to 2005-04-29 (28 strs / 3 langs)
Sat, 28 May 2005 19:05:24 +0000 Darkvater (svn r2375) - CodeChange: add the newly added 'all' of server_ip to it's helptext.
Sat, 28 May 2005 18:47:05 +0000 Darkvater (svn r2374) - CodeChange: giving server_ip a value of 'all' will make the server listen on any interface (0.0.0.0); also fix a typo in one of the script example files: s/ports/interfaces
Sat, 28 May 2005 17:01:26 +0000 Darkvater (svn r2373) - CodeChange: don't redraw the window upon a user-based dirty request if the requested widget is invisible or otherwise not visible (type WWT_EMPTY)
Sat, 28 May 2005 16:59:51 +0000 Darkvater (svn r2372) - Fix (console): update the example scripts in the scripts/ directory to reflect the new console functionality
Sat, 28 May 2005 10:32:09 +0000 matthijs (svn r2371) - Fix: [ 1144510 ] make install tries to install scenarios in the (non-existing) personal dir when USE_HOMEDIR is specified.
Sat, 28 May 2005 09:29:36 +0000 tron (svn r2370) Replace some magic numbers with symbolic names
Fri, 27 May 2005 15:05:54 +0000 tron (svn r2369) Remove _thd_ptr: It always holds the address of _thd
Fri, 27 May 2005 13:41:03 +0000 Darkvater (svn r2368) - Fix: Add 'multihead' TTDPatch option to OpenTTD newgrf flags-emulation (DBSETXLW doesn't complain about it anymore)
Thu, 26 May 2005 19:43:56 +0000 tron (svn r2367) Remove some unused functions, probably was some debug stuff
Thu, 26 May 2005 19:41:58 +0000 tron (svn r2366) Use SetRedErrorSquare() instead of home brewed version
Thu, 26 May 2005 16:31:32 +0000 hackykid (svn r2365) - Change: [refitting] Make refitting capacities for trains newgrf compatible. Train vehicles can now carry twice as much mail/goods as other cargo, and four times as much passengers.
Tue, 24 May 2005 16:13:37 +0000 Darkvater (svn r2364) - Fix (regression): [ 1206850 ] Cannot change difficulty in main menu, always the value it was before you changed it. A too rigid check forgot to check the parameter value -1 which set the difficulty level itself.
Mon, 23 May 2005 19:00:16 +0000 matthijs (svn r2363) - Codechange: [NPF] Removed caching the endnode check. The code for this was buggy, fundamentally flawed and barely useful. (Hackykid)
Mon, 23 May 2005 16:41:51 +0000 miham (svn r2362) [Translations] Updated to 2005-04-23 (207 strs / 6 langs)
Sun, 22 May 2005 14:10:20 +0000 hackykid (svn r2361) - Feature: [newgrf] Implement varaction2 property 0x41 and 0xDA. These are the position in and length of chain of consecutive vehicles with the same type, and index of the next wagon in the chain (INVALID_VEHICLE if last), resp. Improves displaying of some engines in the dbsetxl.
Sun, 22 May 2005 08:09:40 +0000 tron (svn r2360) Use GB and SB in [GS]etMapExtraBits
Sun, 22 May 2005 07:43:18 +0000 tron (svn r2359) Use strecpy instead of str_cat (which was rather a cpy than a cat, btw), remove the latter and simplify some constructs
Sun, 22 May 2005 07:12:09 +0000 tron (svn r2358) Add macros for getting (GB) and setting (SB) a range of bits
Sat, 21 May 2005 21:30:13 +0000 orudge (svn r2357) Small OS/2 update
Sat, 21 May 2005 19:42:34 +0000 tron (svn r2356) Make check if statvfs() is availible a bit more sensible
Sat, 21 May 2005 19:41:35 +0000 orudge (svn r2354) Update OpenTTD for 0.4.0.1 release 0.4.0.1
Sat, 21 May 2005 15:18:20 +0000 Darkvater (svn r2353) - Prepare windows installer for 0.4.0.1
Fri, 20 May 2005 17:59:24 +0000 Darkvater (svn r2352) - Feature: add the possibility to print out the current debug-level
Thu, 19 May 2005 17:40:26 +0000 tron (svn r2351) -Fix: It was possible to open more than one tree window
Thu, 19 May 2005 16:25:35 +0000 miham (svn r2350) [Translations] Updated to 2005-04-18 (156 strs / 3 langs)
Wed, 18 May 2005 12:53:37 +0000 Darkvater (svn r2349) - Fix: remove warning from release build when assertions are no longer active
Tue, 17 May 2005 23:25:18 +0000 Darkvater (svn r2348) - Fix: Do not scroll the game with the arrow keys when the chatbox is open
Tue, 17 May 2005 23:08:21 +0000 Darkvater (svn r2347) - Fix (regression): depot window did not get redrawn when a non-train-engine was sold.
Tue, 17 May 2005 20:59:29 +0000 Darkvater (svn r2346) - Fix: Have the windows installer also delete any spritecache.xx files on uninstall
Tue, 17 May 2005 20:58:58 +0000 Darkvater (svn r2345) - 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).
Tue, 17 May 2005 20:54:05 +0000 Darkvater (svn r2344) - 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.
Tue, 17 May 2005 20:52:52 +0000 Darkvater (svn r2343) - 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.
Tue, 17 May 2005 19:36:36 +0000 Darkvater (svn r2342) - 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.
Tue, 17 May 2005 19:08:27 +0000 miham (svn r2341) [Translations] Updated to 2005-04-17 (74 strs / 6 langs)
Tue, 17 May 2005 18:50:07 +0000 Darkvater (svn r2340) - Fix (Regression): [ 1203731 ] Signs don't work in multiplayer, unwanted remains of the _decode_parameters to _cmd_text move.
Tue, 17 May 2005 18:22:59 +0000 Darkvater (svn r2339) - 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 <value>') now works and not only when a client is connected.
Tue, 17 May 2005 16:07:48 +0000 Darkvater (svn r2338) - CodeChange: only call the variable hooks when you set their value not when you query them
Tue, 17 May 2005 16:01:19 +0000 truelight (svn r2337) -Fix: NetworkUDPRemoveAdvertise wasn't fully correct (which made Darkvater go crazy ;))
Tue, 17 May 2005 11:22:43 +0000 Darkvater (svn r2336) - GFX: make the openttd icon look good on Win2k and lower as well. The TrueColor/256 icons had an ugly black shadow
Mon, 16 May 2005 18:19:04 +0000 miham (svn r2335) [Translations] Updated to 2005-05-16 (36 strs / 17 langs, removed unused strings)
Mon, 16 May 2005 16:19:32 +0000 Darkvater (svn r2334) - Fix (regression): moved togglefullscreen into the video-driver, now windows works, dedicated works and sdl works. Also reverted the change to the makefile.
Mon, 16 May 2005 15:05:49 +0000 Darkvater (svn r2333) - CodeChange: also don't execute command if user has typed all spaces (eg nothing worthwhile). Suggested and implemented by Tron.
Mon, 16 May 2005 13:46:26 +0000 Darkvater (svn r2332) - Feature: Add 'clear' command and CTRL+L to empty the console window
Mon, 16 May 2005 12:15:53 +0000 Darkvater (svn r2331) - Fix (regression): fix text overflows in about box.
Mon, 16 May 2005 12:15:34 +0000 Darkvater (svn r2330) - 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()
Mon, 16 May 2005 08:41:42 +0000 tron (svn r2329) 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
Mon, 16 May 2005 08:30:32 +0000 tron (svn r2328) There's no need for extra magic to detect libpng on FreeBSD
Mon, 16 May 2005 00:04:01 +0000 bjarni (svn r2327) -fix [MacOSX] default path for midi player on mac is now correct again
Sun, 15 May 2005 21:50:26 +0000 Darkvater (svn r2325) - Update OpenTTD for 0.4.0 release 0.4.0
Sun, 15 May 2005 18:50:55 +0000 tron (svn r2324) 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.
Sun, 15 May 2005 18:43:36 +0000 tron (svn r2323) Remove unused dereferencing
Sun, 15 May 2005 16:30:02 +0000 Darkvater (svn r2322) - CodeChange: doxygen commented the tunnel-crash fix. Also if (bla) {return;} else {return;} is not proper code. It's if (bla) {return;} return; ;)
Sun, 15 May 2005 14:01:35 +0000 matthijs (svn r2321) - 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)
Sun, 15 May 2005 13:48:23 +0000 matthijs (svn r2320) - Fix: [ 1185176 ] Train in tunnel is not properly detected by signal code (Hackykid)
Sun, 15 May 2005 11:20:38 +0000 Darkvater (svn r2319) - 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.
Sun, 15 May 2005 10:40:53 +0000 Darkvater (svn r2318) - Feature: added console command 'part' to leave a currently running game and 'join' which is an alias to 'connect' to join a multiplayer server.
Sun, 15 May 2005 10:23:42 +0000 Darkvater (svn r2317) - Fix: [ 1193048 ] Pre-signal stays red when there is only a single exit signal (dinno)
Sat, 14 May 2005 23:48:39 +0000 Darkvater (svn r2316) - Fix: [ 1154454 ] Fix BeOS build on Trunk (myob)
Sat, 14 May 2005 22:51:15 +0000 Darkvater (svn r2315) - Fix: [ 1187613 ] No HQ present for competitor, disable 'View HQ' button, inspired by lucaspiller
Sat, 14 May 2005 22:42:33 +0000 Darkvater (svn r2314) - Feature: [ 1187490 ] Patches for building on IRIX (jgilje)
Sat, 14 May 2005 22:03:25 +0000 Darkvater (svn r2313) - 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
Sat, 14 May 2005 21:55:54 +0000 Darkvater (svn r2312) - Fix (regression): changing to/from fullscreen got broken with SDL.
Sat, 14 May 2005 21:03:46 +0000 Darkvater (svn r2311) - Fix: eh, forgot to remove moved function.
Sat, 14 May 2005 21:01:57 +0000 Darkvater (svn r2310) - 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.
Sat, 14 May 2005 19:34:59 +0000 Darkvater (svn r2309) - CodeChange: Change all _iconsole_color_whatever into _icolour_wtv (abbreviated). Besides the changed into proper english, yes this commit is pretty useless ;)
Sat, 14 May 2005 19:25:18 +0000 Darkvater (svn r2308) - 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"
Sat, 14 May 2005 18:25:01 +0000 Darkvater (svn r2307) - Fix (regression): it was not possible to change the drive-side in the intro-game.
Sat, 14 May 2005 12:36:16 +0000 Darkvater (svn r2306) - 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"
Sat, 14 May 2005 06:48:14 +0000 miham (svn r2305) [Translations] Updated to 2005-05-14 (~50 strs / 7 langs)
Fri, 13 May 2005 18:19:26 +0000 Darkvater (svn r2304) - 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.
Fri, 13 May 2005 17:09:05 +0000 Darkvater (svn r2303) - 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.
Fri, 13 May 2005 17:05:03 +0000 Darkvater (svn r2302) - Fix: when you started a server 'load <file>' did not work prior to doing 'ls'. Fixed by moving the changing of saveload_mode into BuildFileList()
Thu, 12 May 2005 23:47:45 +0000 Darkvater (svn r2301) - CodeChange: prettyify ChangeOwnerShipOfPlayerItems() a bit
Thu, 12 May 2005 23:46:01 +0000 Darkvater (svn r2300) - CodeChange: check the last number of commands, now only the refit ones remain, and some server-only commands.
Thu, 12 May 2005 00:20:16 +0000 Darkvater (svn r2299) - Fix: add more verbose output to possible hack-attempt.
Thu, 12 May 2005 00:18:30 +0000 Darkvater (svn r2298) - CodeChange: removed CmdAbuses: CmdSetTownNameType(), CmdStartNewGame(), CmdCreateScenario(), CmdSetNewLandscapeType() and CmdGenRandomNewGame().
Thu, 12 May 2005 00:11:37 +0000 Darkvater (svn r2297) - CodeChange: server-check the next batch of commands.
Wed, 11 May 2005 18:09:12 +0000 darkvater (svn r2296) - Fix (regression): oops, forgot the MS code-decleration rules :p
Wed, 11 May 2005 16:29:33 +0000 Darkvater (svn r2295) - Fix: you were still able to delete any tile if you were not careful with CmdDestroyCompanyHQ. Fixed this; thanks HackyKid.
Wed, 11 May 2005 16:17:03 +0000 Darkvater (svn r2294) - CodeChange: check the service interval settings when changing of all vehicle-types. To simplify things introduce GetServiceIntervalClamped() that returns the same or clamped value of the new service interval. There were some inconsistencies in the gui files so I had to change those, and const correctness kicked in, so it's a bit messy at certain points.
Wed, 11 May 2005 15:31:10 +0000 Darkvater (svn r2293) - Fix (regression): You couldn't modify commands anymore; fixed. (|| and && are kinda confusing with !=) :P
Wed, 11 May 2005 15:30:28 +0000 Darkvater (svn r2292) - Fix (regression): make error message more general for console errors. Dedicated servers are properly filtered out when requesting player-password.
Wed, 11 May 2005 12:46:19 +0000 Darkvater (svn r2291) - Fix (regression): When a client joined it changed the server-player's name. Funny effect; but not desired. Thanks for pointing it out Tron. It needed a bit of hacking, but is not less of a hack than the one used before :)
Wed, 11 May 2005 00:00:27 +0000 Darkvater (svn r2290) - CodeChange: protect the next batch of commands. This brings us to a total of 61, which is 53% :)
Tue, 10 May 2005 08:45:55 +0000 Darkvater (svn r2289) - Fix (regression): check p1 param of road-depot building instead of unused p2 (typo). Thanks peter1138.
Mon, 09 May 2005 22:33:00 +0000 Darkvater (svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115).
Mon, 09 May 2005 19:56:08 +0000 Darkvater (svn r2287) - Fix (regression): cast stationcount to unsigned instead of p1 to signed when checking valid waypoint types. Thanks for pointing it out Tron
Mon, 09 May 2005 16:37:40 +0000 Darkvater (svn r2286) - CodeChange: paramcheck the next batch of commands.
Mon, 09 May 2005 13:26:15 +0000 Darkvater (svn r2285) - Codechange: Fix up some of the missing things from server-checking; namely bridge-type, bridge-length, dragged end-tile (bridge/station), station_spread
Sun, 08 May 2005 21:00:56 +0000 Darkvater (svn r2284) - Fix (regression): [ 1197177 ] Scenario editor: desert add/remove tool removes industries. Fixed a bit too agressive desert generator. It still does remove the industry (sand's a bitch on machinery), but at least it does it cleanly :)
Sun, 08 May 2005 20:53:02 +0000 Darkvater (svn r2283) - Fix (regression): [ 1197493 ] train_gui.c:1341: failed assertion ..., somehow RebuildVehicleList() got lost during the rewrite :P
Sun, 08 May 2005 16:17:01 +0000 miham (svn r2282) [Translations] Updated to 2005-05-08 (58 strs / 3 langs)
Sat, 07 May 2005 22:00:36 +0000 matthijs (svn r2281) - Fix: [ 1115204 ] [NPF] When pressing the goto depot button, trains will now also look behind it if there is no depot in front. If so, the train reverses immediately. This also work anywhere, not just at stations.
Sat, 07 May 2005 10:26:45 +0000 Darkvater (svn r2280) - Fix: Check if the passed tile to DoCommand is within the current mapsize
Sat, 07 May 2005 10:26:12 +0000 Darkvater (svn r2279) - Fix: Check the parameters of the first 10 Commands. While there also add proper comments for the functions and fix up CmdFailed()
Sat, 07 May 2005 08:14:06 +0000 tron (svn r2278) When renaming a station, check if the station exists and belongs to the correct player
Fri, 06 May 2005 22:06:40 +0000 Darkvater (svn r2277) - Codechange: change sscanf() into stroul() Which Does The Right Thing tm. Thanks tron
Fri, 06 May 2005 20:38:18 +0000 Darkvater (svn r2276) - CodeChange: remove DebugProc() and make the ALT+0...4 codes only available in debug mode
Fri, 06 May 2005 18:34:28 +0000 Darkvater (svn r2275) - Fix: [ 1196662 ] scrollto doesn't accept hexadecimal numbers
Fri, 06 May 2005 16:13:44 +0000 Darkvater (svn r2274) - Codechange: some comments, parentheses and EngineID typedef for engine_type
Fri, 06 May 2005 12:00:25 +0000 celestar (svn r2273) -Fix: Road vehicles no longer try to obtain a slot when they have crashed. (peter1138)
Fri, 06 May 2005 06:59:24 +0000 tron (svn r2272) Remove unused attribute from struct Station
Fri, 06 May 2005 06:56:30 +0000 tron (svn r2271) CMD_SET_PLAYER_FACE, CMD_SET_PLAYER_COLOR, CMD_INCREASE_LOAN, CMD_DECREASE_LOAN only make sense for the current player, so don't explicitly pass a player number
Thu, 05 May 2005 20:46:14 +0000 Darkvater (svn r2270) - Fix/Codechange: fix up selling rail vehicles. Try to be smart about it. When selling dual-headed trains, also sell the rear end; if the now-first wagon is an engine, make it a train. When selling the whole train, try to leave dual-headed setups intact
Thu, 05 May 2005 20:44:52 +0000 Darkvater (svn r2269) - CodeChange: no else after return; exchange some magic 0xffff with INVALID_VEHICLE, vehicle index is of type VehicleID
Thu, 05 May 2005 15:22:20 +0000 Darkvater (svn r2268) - Fix [ 1195595 ] high resolutions don't work. Clamp all possible inputs of resolutions to the maximum availble
Wed, 04 May 2005 22:13:07 +0000 matthijs (svn r2267) - Codechange: Reverted the typedeffing of VehicleType (r2256), since that interfered with the saveload code.
Wed, 04 May 2005 19:09:25 +0000 Darkvater (svn r2266) - Feature: it is now possible to start a dedicated server on Win98/95, for the few sadistic geeks that really want to do this (thanks for testing Hackykid). Also fix up another glitch in console output
Wed, 04 May 2005 10:17:00 +0000 Darkvater (svn r2265) - Fix: some more useful help messages and consistent errors for failed console-cmds. Make command 'clients' only available in network mode