log

age author description
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() draft
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 draft
Mon, 16 May 2005 08:30:32 +0000 tron (svn r2328) There's no need for extra magic to detect libpng on FreeBSD draft
Mon, 16 May 2005 00:04:01 +0000 bjarni (svn r2327) -fix [MacOSX] default path for midi player on mac is now correct again draft
Sun, 15 May 2005 21:50:26 +0000 Darkvater (svn r2325) - Update OpenTTD for 0.4.0 release draft
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. draft
Sun, 15 May 2005 18:43:36 +0000 tron (svn r2323) Remove unused dereferencing draft
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; ;) draft
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) draft
Sun, 15 May 2005 13:48:23 +0000 matthijs (svn r2320) - Fix: [ 1185176 ] Train in tunnel is not properly detected by signal code (Hackykid) draft
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. draft
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. draft
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) draft
Sat, 14 May 2005 23:48:39 +0000 Darkvater (svn r2316) - Fix: [ 1154454 ] Fix BeOS build on Trunk (myob) draft
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 draft
Sat, 14 May 2005 22:42:33 +0000 Darkvater (svn r2314) - Feature: [ 1187490 ] Patches for building on IRIX (jgilje) draft
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 draft
Sat, 14 May 2005 21:55:54 +0000 Darkvater (svn r2312) - Fix (regression): changing to/from fullscreen got broken with SDL. draft
Sat, 14 May 2005 21:03:46 +0000 Darkvater (svn r2311) - Fix: eh, forgot to remove moved function. draft
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. draft
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 ;) draft
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" draft
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. draft
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" draft
Sat, 14 May 2005 06:48:14 +0000 miham (svn r2305) [Translations] Updated to 2005-05-14 (~50 strs / 7 langs) draft
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. draft
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. draft
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() draft
Thu, 12 May 2005 23:47:45 +0000 Darkvater (svn r2301) - CodeChange: prettyify ChangeOwnerShipOfPlayerItems() a bit draft
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. draft
Thu, 12 May 2005 00:20:16 +0000 Darkvater (svn r2299) - Fix: add more verbose output to possible hack-attempt. draft
Thu, 12 May 2005 00:18:30 +0000 Darkvater (svn r2298) - CodeChange: removed CmdAbuses: CmdSetTownNameType(), CmdStartNewGame(), CmdCreateScenario(), CmdSetNewLandscapeType() and CmdGenRandomNewGame(). draft
Thu, 12 May 2005 00:11:37 +0000 Darkvater (svn r2297) - CodeChange: server-check the next batch of commands. draft
Wed, 11 May 2005 18:09:12 +0000 darkvater (svn r2296) - Fix (regression): oops, forgot the MS code-decleration rules :p draft
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. draft
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. draft
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 draft
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. draft
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 :) draft
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% :) draft
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. draft
Mon, 09 May 2005 22:33:00 +0000 Darkvater (svn r2288) - CodeChange: protected the next batch of commands (41 so far, out of 115). draft
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 draft
Mon, 09 May 2005 16:37:40 +0000 Darkvater (svn r2286) - CodeChange: paramcheck the next batch of commands. draft
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 draft
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 :) draft
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 draft
Sun, 08 May 2005 16:17:01 +0000 miham (svn r2282) [Translations] Updated to 2005-05-08 (58 strs / 3 langs) draft
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. draft
Sat, 07 May 2005 10:26:45 +0000 Darkvater (svn r2280) - Fix: Check if the passed tile to DoCommand is within the current mapsize draft
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() draft
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 draft
Fri, 06 May 2005 22:06:40 +0000 Darkvater (svn r2277) - Codechange: change sscanf() into stroul() Which Does The Right Thing tm. Thanks tron draft
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 draft
Fri, 06 May 2005 18:34:28 +0000 Darkvater (svn r2275) - Fix: [ 1196662 ] scrollto doesn't accept hexadecimal numbers draft
Fri, 06 May 2005 16:13:44 +0000 Darkvater (svn r2274) - Codechange: some comments, parentheses and EngineID typedef for engine_type draft
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) draft
Fri, 06 May 2005 06:59:24 +0000 tron (svn r2272) Remove unused attribute from struct Station draft
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 draft
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 draft
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 draft
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 draft
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. draft
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 draft
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 draft
Tue, 03 May 2005 22:18:40 +0000 matthijs (svn r2264) - Fix: [ 1060686 1187655 ] Changing the full-load flag on the current order doesn't take effect immediately. (glx) draft
Tue, 03 May 2005 22:05:34 +0000 Darkvater (svn r2263) - Fix: If the seperator string is empty for custom currencies, everything after that is cut off. Fix it by replacing nothing with ' '. Thanks for noticing peter1138 draft
Tue, 03 May 2005 20:45:23 +0000 matthijs (svn r2262) - Fix: Assertion when vehicle in a depot wants to do pathfinding. draft
Tue, 03 May 2005 19:31:33 +0000 matthijs (svn r2261) - Fix: When crashed vehicles try to find a depot for servicing, openttd asserts. draft
Tue, 03 May 2005 15:20:08 +0000 Darkvater (svn r2260) - Fix (regression): custom currency input works again ingame draft
Tue, 03 May 2005 11:48:55 +0000 Darkvater (svn r2259) - Fix (regression): remove a warning and make the help for variables behave the same as for commands draft
Tue, 03 May 2005 11:14:06 +0000 Darkvater (svn r2258) - Fix (regression): game crashes on resizing window. Windows is a bit too aggressive with its _assume(0), and it did not even belong there draft
Tue, 03 May 2005 00:11:30 +0000 matthijs (svn r2257) - Fix: [NPF] NPF debug markings modify _map2 instead of _map3_hi for street tiles, corrupting them. draft
Mon, 02 May 2005 23:59:11 +0000 matthijs (svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx) draft
Mon, 02 May 2005 22:13:20 +0000 matthijs (svn r2255) - Fix: [ 9680363 ] [NPF] Broken buoy handling for ships draft
Mon, 02 May 2005 21:56:01 +0000 Darkvater (svn r2254) - Fix: using 'ls' or 'dir' in the console always shows loadable savegames and does not depend on the whim of the currently open saveload dialog draft
Mon, 02 May 2005 18:53:06 +0000 matthijs (svn r2253) - Fix: [ 1190896 1184378 ] [NPF] Trains ignoring their railtype (mono, maglev) (glx) draft
Mon, 02 May 2005 18:22:16 +0000 Darkvater (svn r2252) - ReFix: Redo r2251. Just remove the 'default widget handler', WDF_STD_BTN, instead of doing the "workaround" of the previous commit draft
Mon, 02 May 2005 18:08:34 +0000 Darkvater (svn r2251) - Fix: [ 1193945 ] Clicking on the chat text box causes an assertion failure draft
Mon, 02 May 2005 17:58:11 +0000 Darkvater (svn r2250) - Fix (regression): arguments with spaces in them were incorrectly parsed draft
Mon, 02 May 2005 17:52:35 +0000 matthijs (svn r2249) - Fix: [ 1187703 ] [NPF] Road vehicles cannot find a depot when in a roadstop draft
Mon, 02 May 2005 17:14:31 +0000 Darkvater (svn r2248) - Fix (regression): fix crashing of game when joining a dedicated server (only reset _thd.pos, not the whole structure; as done in revision 2241 to fix another crash) draft
Mon, 02 May 2005 17:05:59 +0000 Darkvater (svn r2247) - Fix (regression): executing scripts now works (remove newline character(s)). draft
Mon, 02 May 2005 16:02:24 +0000 Darkvater (svn r2246) - CodeChange: Station is 'st' not 'station' - random commit of the day draft
Mon, 02 May 2005 16:01:53 +0000 Darkvater (svn r2245) - CodeChange: simplify the clamping of values for patch-settings by using clamp() draft
Mon, 02 May 2005 16:00:49 +0000 Darkvater (svn r2244) - Fix: 'scrollto' is not debug only..sorry :) draft
Mon, 02 May 2005 15:52:19 +0000 Darkvater (svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'. draft
Sun, 01 May 2005 20:16:52 +0000 Darkvater (svn r2242) -Fix: [ 1193414 ] Fix for waypoint GUI, scrolling and button-actions (Hackykid) draft
Sun, 01 May 2005 19:37:20 +0000 Darkvater (svn r2241) - Fix: [ 1190625 ] Changing mapsize crashes game with highlighting. Without shutting down OpenTTD some possibly 'invalid' data in TileHighLightData (_thd) is left behind; reset it. draft
Sun, 01 May 2005 18:40:01 +0000 miham (svn r2240) [Translations] Updated to 2005-05-01 (17 strs / 2 langs) draft
Sun, 01 May 2005 15:13:39 +0000 bjarni (svn r2239) -Fix [autoreplace]: [ 1185653 ] autoreplacing a dualheaded engine into a singleheaded engine is no longer a potiontial crash draft
Sat, 30 Apr 2005 11:18:45 +0000 Darkvater (svn r2238) - [ 1184377 ] Update to OpenTTD readme (orudge) draft
Sat, 30 Apr 2005 10:49:47 +0000 Darkvater (svn r2237) - Fix (regression): [ 1192284 ] Bug: Ship refuses to add buoy to its orders (init100) draft
Thu, 28 Apr 2005 17:42:13 +0000 miham (svn r2236) [Translations] Updated to 2005-04-28 (21 strs / 3 langs) draft
Wed, 27 Apr 2005 05:49:03 +0000 miham (svn r2235) [Translations] Updated finnish translation (Ville Koshinen) draft
Tue, 26 Apr 2005 17:56:52 +0000 miham (svn r2234) [Translations] Updated to 2005-04-26 (149 strs / 12 langs) draft
Mon, 25 Apr 2005 14:29:58 +0000 tron (svn r2233) Bracing, whitespace, indendation draft
Mon, 25 Apr 2005 13:52:59 +0000 tron (svn r2232) Remove unused commands draft
Mon, 25 Apr 2005 13:12:48 +0000 Darkvater (svn r2231) - Fix: max_join_time pointing to _network_max_join_time is an uint16, so it should have type SDT_UINT16; fix for revision 2106 (thanks peter1138) draft
Sun, 24 Apr 2005 21:56:46 +0000 Darkvater (svn r2230) Oops, revert wrongly committed local console.c. Also add the endian_target.h and endian_host.h to the ignore list draft
Sun, 24 Apr 2005 21:44:45 +0000 Darkvater (svn r2229) - Fix: [ 1188777 ] Non-existing sprite #5125 (presignal). The DOS grf file trgi.grf has 6 less sprites than the windows one. This results in some segfaults for certain sprites. Fixed it by added a dummy grf file consisting ofr 6 sprites and loaded when using DOS gfx at the appropiate place. draft
Sun, 24 Apr 2005 19:04:56 +0000 Darkvater (svn r2228) - Fix: [ 1188986 ] Song in main menu screen should loop when it ends. draft
Sun, 24 Apr 2005 18:24:29 +0000 Darkvater (svn r2227) - Fix (regression): [ 1188408 ] Fix news settings load check. When updating old news-message-types to new ones, certain combinations of new were wrongly recognized as old (glx) draft
Sun, 24 Apr 2005 16:01:36 +0000 truelight (svn r2226) -Fix: 2 other capital problems for the OSX part of the Makefile draft
Sun, 24 Apr 2005 15:41:01 +0000 truelight (svn r2225) -Fix: split the endian-detection to target/host. Now cross-compiling draft
Sun, 24 Apr 2005 12:47:09 +0000 truelight (svn r2224) -Fix: capital-correctness for OSX-dir-names draft
Sun, 24 Apr 2005 07:56:18 +0000 tron (svn r2223) When adding tracks to a railway tile reset the ground to bare land, fix for a glitch in r2131 draft
Fri, 22 Apr 2005 05:41:09 +0000 tron (svn r2222) Check the parameters of Cmd{Insert,Delete,Modify,Skip}Order() and CmdRestoreOrderIndex(): draft
Thu, 21 Apr 2005 16:20:38 +0000 Darkvater (svn r2221) - Fix: "Map size" is two words. Also draw the string right-aligned in the intro gui so it doesn't matter how long it is in other languages. draft
Thu, 21 Apr 2005 16:13:52 +0000 tron (svn r2220) Put two TileIndices into temporary variables to improve readability draft
Thu, 21 Apr 2005 06:56:16 +0000 miham (svn r2219) [Translations] Updated to 2005-04-21_2 (40 strs / 5 langs) draft
Thu, 21 Apr 2005 05:51:47 +0000 tron (svn r2218) Indentation draft
Wed, 20 Apr 2005 22:30:40 +0000 Darkvater (svn r2217) - Fix: [ 1184201 ] AI orders its vehicles to a competitor's truck stop. Added a CmdFailed() check to all command returns of the AI instead of the simple == / != CMD_ERROR check. This should fix the problem. draft
Wed, 20 Apr 2005 22:24:39 +0000 miham (svn r2216) [Translations] Updated to 2005-04-21 (67 strs / 6 langs) draft
Wed, 20 Apr 2005 12:52:02 +0000 Darkvater (svn r2215) - Feature: Add a temporary mapsize selector to the intro gui. This is sufficient until the real window is designed & coded. draft
Tue, 19 Apr 2005 18:30:31 +0000 Darkvater (svn r2214) - Fix: Dragging the desert tool over half-desert turns it into full-desert; dragging the tool while pressing ctrl, will remove the desert area. draft
Mon, 18 Apr 2005 05:42:59 +0000 celestar (svn r2213) -Fix/Feature/Codechange: [ Multistop ] Changed the algo so that it uses NPF. This fixes the problem of RVs attempting to go to unreachable stops [ 1161610 ], and should greatly reduce the wrong stop problem. Cleaned parts of the code draft
Sun, 17 Apr 2005 19:44:05 +0000 miham (svn r2212) [Translations] Updated to 2005-04-17 (139 strs / 3 langs) draft
Sat, 16 Apr 2005 20:37:17 +0000 Darkvater (svn r2211) - Fix(ish): When eternally looping in 2090 don't go increasing the inflation anymore because it will just rise to insanely high values beyond all imagination. draft
Sat, 16 Apr 2005 20:10:24 +0000 Darkvater (svn r2210) - Fix: When a road-station is deleted, also delete the assigned slots of all vehicles headed to that station. This fixes an assertion, thanks go to Tron for finding the cause. draft