Wed, 08 Mar 2006 23:12:38 +0000 |
matthijs |
(svn r3801) * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details).
draft
|
Wed, 08 Mar 2006 20:25:28 +0000 |
tron |
(svn r3798) Fix typo in r3795
draft
|
Wed, 08 Mar 2006 19:47:18 +0000 |
tron |
(svn r3796) When unmagicfying code, do it Right(tm) and also give the variables sensible names. I flipped a 'b' and a 'd' in r3785
draft
|
Wed, 08 Mar 2006 15:29:23 +0000 |
tron |
(svn r3795) Add a function to request the orientation of a depot
draft
|
Wed, 08 Mar 2006 15:28:38 +0000 |
tron |
(svn r3794) Use already available accessor functions instead of GB()
draft
|
Wed, 08 Mar 2006 13:03:29 +0000 |
tron |
(svn r3792) -Fix: Mark the right tile as dirty. It's just a graphical glitch which happend in r1592
draft
|
Wed, 08 Mar 2006 12:26:56 +0000 |
tron |
(svn r3791) Replace home grown direction handling for placing lighthouses by standard DiagDir
draft
|
Wed, 08 Mar 2006 08:51:26 +0000 |
tron |
(svn r3789) Add an enum and function to handle DiagDirection changes
draft
|
Wed, 08 Mar 2006 08:36:00 +0000 |
tron |
(svn r3788) Fix (harmless) typo in r3784
draft
|
Wed, 08 Mar 2006 08:28:48 +0000 |
tron |
(svn r3787) Use DirToDiagDir() instead of >> 1
draft
|
Wed, 08 Mar 2006 08:16:31 +0000 |
tron |
(svn r3786) More work for DirDiff
draft
|
Wed, 08 Mar 2006 07:50:26 +0000 |
tron |
(svn r3785) Replace some if-magic to determine the turning direction for road vehicles with the new DirDiff stuff
draft
|
Wed, 08 Mar 2006 07:48:56 +0000 |
tron |
(svn r3784) Add a type and functions to handle direction changes
draft
|
Wed, 08 Mar 2006 06:55:33 +0000 |
tron |
(svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
draft
|
Tue, 07 Mar 2006 07:51:05 +0000 |
tron |
(svn r3779) Move CheckTunnelInWay() to a more appropriate place, invert its result and give it a less ambiguous name (IsTunnelInWay)
draft
|
Mon, 06 Mar 2006 23:01:35 +0000 |
peter1138 |
(svn r3778) - Fix crash when resizing news history window.
draft
|
Mon, 06 Mar 2006 20:55:24 +0000 |
tron |
(svn r3777) Add some functions to handle tunnels
draft
|
Mon, 06 Mar 2006 20:28:28 +0000 |
tron |
(svn r3776) Replace many ints and magic numbers by Direction, DiagDirection and friends
draft
|
Mon, 06 Mar 2006 19:23:26 +0000 |
peter1138 |
(svn r3775) Fix loading of server_port from config file, introduced in Darkvater's unified configuration changes (r3719+)
draft
|
Mon, 06 Mar 2006 13:29:27 +0000 |
tron |
(svn r3774) Remove some more magic numbers and types
draft
|
Mon, 06 Mar 2006 13:11:08 +0000 |
tron |
(svn r3773) Shove some semantics down ottd's throat by replacing ints and magic numbers by enums and some related changes
draft
|
Sun, 05 Mar 2006 17:24:04 +0000 |
tron |
(svn r3770) Remove the _road_special_gettrackstatus hack. Egladil and me deem it unnecessary
draft
|
Sun, 05 Mar 2006 12:54:22 +0000 |
tron |
(svn r3769) Add a cast to make KUDr's C++ compiler happy
draft
|
Sun, 05 Mar 2006 12:34:55 +0000 |
tron |
(svn r3767) Move all direction related enums and functions to a separate header
draft
|
Sun, 05 Mar 2006 12:22:20 +0000 |
tron |
(svn r3766) Add a function to get the RoadBits from an arbitrary tile
draft
|
Sun, 05 Mar 2006 11:18:34 +0000 |
tron |
(svn r3765) Fix some naming glitches in r3763 and add missing svn properties
draft
|
Sun, 05 Mar 2006 10:19:33 +0000 |
tron |
(svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme
draft
|
Sat, 04 Mar 2006 17:18:13 +0000 |
tron |
(svn r3761) Fix two bugs in r3757
draft
|
Sat, 04 Mar 2006 13:52:52 +0000 |
tron |
(svn r3760) Replace some magic numbers for checking for a suitable slope for a level crossing by some less magic numbers. Quite similar to r3699, though this time for placing the rails
draft
|
Sat, 04 Mar 2006 12:09:10 +0000 |
bjarni |
(svn r3759) -Fix: [OSX] don't set CC_HOST to i686 gcc when compiling universal binaries on PPC without any Makefile.config. Introduced in 3674 (before that i686 used PPC as CC_HOST, but nobody noticed that)
draft
|
Sat, 04 Mar 2006 11:15:44 +0000 |
tron |
(svn r3758) Remove the news validation callback. It is superseded by r3757.
draft
|
Sat, 04 Mar 2006 11:01:35 +0000 |
tron |
(svn r3757) -Feature: Delete news items about vehicles, when they get stale
draft
|
Fri, 03 Mar 2006 22:21:29 +0000 |
tron |
(svn r3754) Miscellaneous changes: indentation, reduce variable scope, constness, avoid some more function pointer casts
draft
|
Fri, 03 Mar 2006 21:29:13 +0000 |
tron |
(svn r3752) FYOS avoid to cast function pointers
draft
|
Fri, 03 Mar 2006 21:18:19 +0000 |
tron |
(svn r3751) -Fix: Correctly implement minimum search, so road vehicles head twoards the closest station, not the last one in the list
draft
|
Fri, 03 Mar 2006 20:54:54 +0000 |
tron |
(svn r3750) Use INVALID_STATION instead of -1 in NPF
draft
|
Fri, 03 Mar 2006 20:48:03 +0000 |
tron |
(svn r3749) -Fix: [FS#61] The tooltips for raising and lowering land buttons in the scenario editor are interchanged (Reported and fixed by lc)
draft
|
Fri, 03 Mar 2006 20:43:54 +0000 |
tron |
(svn r3748) Remove bubblesort(), it's unused
draft
|
Fri, 03 Mar 2006 19:42:09 +0000 |
tron |
(svn r3747) Change HASBIT() to return 0/1 instead of 0/value of tested bit, because the name suggests it does the former and current behavior broke in some places in very subtle ways (for example HASBIT(x, 0) != HASBIT(y, 1) doesn't work, returning a bool after HASBIT(x, 9) neither)
draft
|
Fri, 03 Mar 2006 11:27:18 +0000 |
Darkvater |
(svn r3746) - [7/7] Moving the callback functions for the setting-changes from settings_gui.c to settings.c. Also enable the callback functionality through the console.
draft
|
Fri, 03 Mar 2006 07:51:41 +0000 |
tron |
(svn r3745) Fix two buffer overflows, one case of undefined behavior (the destination buffer of sprintf() may not alias with one of its arguments) and some other minor stuff introduced in r3740
draft
|
Thu, 02 Mar 2006 22:21:27 +0000 |
bjarni |
(svn r3742) -codechange: [OSX] changed an assert to use the new error window and added another two to show if the screen buffer fails for some reason in cocoa driver (instead of just crashing)
draft
|
Thu, 02 Mar 2006 22:00:57 +0000 |
bjarni |
(svn r3741) -Fix: [i686 OSX] reverted the change in rev 3670 for non PowerPC (done with #ifdef) since it appeared to crash intel based macs
draft
|
Thu, 02 Mar 2006 21:43:09 +0000 |
bjarni |
(svn r3740) -Feature: [OSX] added OS version, CPU type and newGRF settings to assert window and a message to tell people to add that to a bug report
draft
|
Thu, 02 Mar 2006 21:27:20 +0000 |
bjarni |
(svn r3739) -Fix: [Big endian CPUs] fixed bug introduced in rev 3720 where BE computers would read insane map sizes and crash as a result
draft
|
Thu, 02 Mar 2006 14:45:35 +0000 |
tron |
(svn r3733) Fix a bug in r3719, which caused a crash when the default value for a SLE_VAR_CHAR setting was used
draft
|
Thu, 02 Mar 2006 09:57:28 +0000 |
Darkvater |
(svn r3732) - Fix two warnings. Stupid MSVC didn't even complain :s (Thank Tron and peter1138)
draft
|
Thu, 02 Mar 2006 08:55:12 +0000 |
celestar |
(svn r3730) Multistop modifications:
draft
|
Thu, 02 Mar 2006 02:30:15 +0000 |
Darkvater |
(svn r3727) - Fix some typos in the readme and known-bugs text files
draft
|
Thu, 02 Mar 2006 02:22:15 +0000 |
Darkvater |
(svn r3726) - [6/6] Finalize conversion, finally save the patches struct.
draft
|
Thu, 02 Mar 2006 02:03:21 +0000 |
Darkvater |
(svn r3724) - [5.5/6] heh, the patch part got left out of the previous commit, sorry
draft
|
Thu, 02 Mar 2006 01:56:25 +0000 |
Darkvater |
(svn r3723) - [5/6] Move over the console commands from settings_gui to settings where they rather belong.
draft
|
Thu, 02 Mar 2006 01:41:25 +0000 |
Darkvater |
(svn r3722) - [4/4] Present the game with a unified structure for the configuration-ini, saveload, console and gui representations of the settings. The last part finishes the transition with the merging of the settings_gui table(s).
draft
|
Thu, 02 Mar 2006 00:32:48 +0000 |
Darkvater |
(svn r3721) - [3/4] Present the game with a unified structure for the configuration-ini, saveload, console and gui representations of the settings. From part 3 on, OpenTTD is once again compilable.
draft
|
Thu, 02 Mar 2006 00:07:41 +0000 |
Darkvater |
(svn r3720) - [2/4] Present the game with a unified structure for the configuration-ini, saveload, console and gui representations of the settings. This second part gets rid of the old SettingDesc structures and updates them with the unified types. These new settings are heavily macro'd, which should make it easy to add/edit entries within sections.
draft
|
Wed, 01 Mar 2006 23:53:20 +0000 |
Darkvater |
(svn r3719) - [1/4] Present the game with a unified structure for the configuration-ini, saveload, console and gui representations of the settings. This first part rewrites the configuration section to use the SaveLoad VarType in general.
draft
|
Wed, 01 Mar 2006 23:39:21 +0000 |
Darkvater |
(svn r3718) - Add proper Doxygen comments to some saveload-structs (using ///<)
draft
|
Wed, 01 Mar 2006 23:14:03 +0000 |
peter1138 |
(svn r3717) - [2cc] Add 2cc colour maps and use for newgrf engines requiring them. Currently the second colour is fixed to be the player's colour.
draft
|
Wed, 01 Mar 2006 21:15:25 +0000 |
Darkvater |
(svn r3716) - Move the option settings (_game_opt_desc) from misc.c into settings.c. This will be merged with SettingDesc misc_settings above as they are actually the same. No functionality has changed beside the fact that the settings are now in a different Chunkhandler.
draft
|
Wed, 01 Mar 2006 21:00:44 +0000 |
tron |
(svn r3714) Add functions to turn tiles into water and shore tiles
draft
|
Wed, 01 Mar 2006 20:49:47 +0000 |
Darkvater |
(svn r3713) - Fix up the cheats window a little. The cheats code is still abominable, but at least a bit more readable now.
draft
|
Wed, 01 Mar 2006 20:38:39 +0000 |
Darkvater |
(svn r3712) - Change the boolean assignment/reading from == 1 to != 0 as suggested by Tron.
draft
|
Wed, 01 Mar 2006 20:34:51 +0000 |
Darkvater |
(svn r3711) - Extract the WriteValue() and ReadValue() parts of the saveload code to assign/read to/from a variable. Preparatory work to make this the general function type for such assignments
draft
|
Wed, 01 Mar 2006 20:24:22 +0000 |
Darkvater |
(svn r3710) - Use the general function DrawArrowButtons() instead of doing it manually. The function has two parameters added, colour and an enabled flag.
draft
|
Wed, 01 Mar 2006 19:20:35 +0000 |
bjarni |
(svn r3707) -Fix: made the generated Finnish town names sound more Finnish (ln-)
draft
|
Wed, 01 Mar 2006 17:35:01 +0000 |
peter1138 |
(svn r3701) [2cc] move vehicle/engine palette functions out of header file and document the remaining definitions
draft
|
Wed, 01 Mar 2006 15:03:47 +0000 |
tron |
(svn r3699) Replace some magic numbers for checking for a suitable slope for a level crossing by some less magic numbers
draft
|
Wed, 01 Mar 2006 12:31:39 +0000 |
tron |
(svn r3698) Add GetCrossingRailBits() and ComplementRoadBits(). Simplify the code by using them
draft
|
Wed, 01 Mar 2006 09:40:34 +0000 |
tron |
(svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in which direction a pieces of rail goes
draft
|
Wed, 01 Mar 2006 08:56:38 +0000 |
tron |
(svn r3696) Add functions to turn a tile into a normal rail tile/depot/waypoint. This is just a tiny step, the rail code needs way more love and caring
draft
|
Wed, 01 Mar 2006 06:39:04 +0000 |
tron |
(svn r3695) Add 2 MarkTileByTile() which I forgot in r3689 (noticed by Belugas)
draft
|
Tue, 28 Feb 2006 21:19:50 +0000 |
tron |
(svn r3689) Add functions to turn a tile into either a normal road tile, a level crossing or a road depot
draft
|
Tue, 28 Feb 2006 13:18:14 +0000 |
tron |
(svn r3687) Complete some bits I missed whenn adding accessor functions for road types and pieces
draft
|
Tue, 28 Feb 2006 11:49:12 +0000 |
tron |
(svn r3686) Dispel some strange magic regarding level crossings and foundations:
draft
|
Tue, 28 Feb 2006 08:16:00 +0000 |
peter1138 |
(svn r3685) Include a file missed from r3684...
draft
|
Tue, 28 Feb 2006 08:13:15 +0000 |
peter1138 |
(svn r3684) - NewGRF: Support loading of miscellaneous flags (not used yet)
draft
|
Tue, 28 Feb 2006 06:14:42 +0000 |
tron |
(svn r3683) Get rid of another FindLandscapeHeight()
draft
|
Mon, 27 Feb 2006 19:49:53 +0000 |
bjarni |
(svn r3682) -Fix: didn't write $ correct in G5_detector in r3673, which caused problems for tortoisesvn
draft
|
Mon, 27 Feb 2006 19:43:19 +0000 |
peter1138 |
(svn r3681) - [Multistop] Check the RoadStop type before check its status. This fixes an assert introduced in r3663. Also fix the return type of GetRoadStopType().
draft
|
Mon, 27 Feb 2006 17:24:31 +0000 |
tron |
(svn r3680) Fix some magic numbers which got damaged in r1768
draft
|
Mon, 27 Feb 2006 16:58:26 +0000 |
bjarni |
(svn r3679) -Fix: [OSX] fixed warning introduced in r3670 about permission denied in G5_detector.c when compiling without having Makefile.config
draft
|
Mon, 27 Feb 2006 15:35:22 +0000 |
peter1138 |
(svn r3678) - NewGRF Codechange: remove redundant braces and temporary variables.
draft
|
Mon, 27 Feb 2006 08:08:10 +0000 |
tron |
(svn r3677) Remove the FindLandscapeHeightByTile()s from the default AI.
draft
|
Sun, 26 Feb 2006 19:02:09 +0000 |
bjarni |
(svn r3676) -Change: [OSX] changed info about package to how to install the game
draft
|
Sat, 25 Feb 2006 22:03:30 +0000 |
bjarni |
(svn r3675) -Fix: [OSX] made the default gcc names for building universal binaries into the newest gcc for each target instead of hardcoding it for 4.0.0
draft
|
Sat, 25 Feb 2006 21:25:23 +0000 |
bjarni |
(svn r3674) -Feature: [OSX] Added support for tripple binaries (binaries optimised for G3, G5 and i686)
draft
|
Sat, 25 Feb 2006 18:11:11 +0000 |
bjarni |
(svn r3673) -Codechange: [OSX] changed the makefile to autodetect if it compiles on G5 and then adds flags to optimise for G5
draft
|
Sat, 25 Feb 2006 16:57:17 +0000 |
bjarni |
(svn r3672) -Fix: [makefile] fixed bug where some settings where overwritten with the default ones when MAKEFILE_VERSION was changed
draft
|
Fri, 24 Feb 2006 22:12:11 +0000 |
bjarni |
(svn r3671) -Code cleanup: fixed style and removed commented out code in video/cocoa_v.m
draft
|
Fri, 24 Feb 2006 22:05:20 +0000 |
bjarni |
(svn r3670) -Codechange: [OSX] rewrote a part of the cocoa video driver to speed it up by 1000% in fullscreen
draft
|
Fri, 24 Feb 2006 20:52:32 +0000 |
tron |
(svn r3669) Really wipe all data when making a void tile
draft
|
Fri, 24 Feb 2006 20:38:08 +0000 |
tron |
(svn r3668) Add a function to turn a tile into a tree tile
draft
|
Fri, 24 Feb 2006 20:35:37 +0000 |
tron |
(svn r3667) Fix the cause of an assertion I triggered in r3665
draft
|
Fri, 24 Feb 2006 20:09:50 +0000 |
peter1138 |
(svn r3666) Fix up svn properties and add header files to Windows project files.
draft
|
Fri, 24 Feb 2006 19:56:24 +0000 |
tron |
(svn r3665) Add a function to turn a tile into a clear tile
draft
|
Fri, 24 Feb 2006 19:52:26 +0000 |
tron |
(svn r3664) Add a function to turn a tile into a void tile
draft
|
Fri, 24 Feb 2006 17:52:07 +0000 |
peter1138 |
(svn r3663) - Fix: [Multistop] Check the status of the destination road stop instead of a station's first road stop. This only has effect with road vehicle queuing disabled.
draft
|
Thu, 23 Feb 2006 20:53:30 +0000 |
Darkvater |
(svn r3662) Fix regression FS#58 with union, endiannes and static decleration problems. Removed the union.
draft
|
Thu, 23 Feb 2006 18:52:13 +0000 |
bjarni |
(svn r3661) -Fix [PPC computers] quick dirty fix for failure to start the game on BE CPUs
draft
|
Thu, 23 Feb 2006 12:24:19 +0000 |
tron |
(svn r3660) Convert further road bits and type references to the functions/enums
draft
|
Thu, 23 Feb 2006 11:53:48 +0000 |
tron |
(svn r3659) Add function to get the road bits of a level crossing
draft
|
Thu, 23 Feb 2006 08:20:28 +0000 |
tron |
(svn r3658) Add functions and symbolic names to retrieve road tile types and road pieces
draft
|
Thu, 23 Feb 2006 07:32:46 +0000 |
tron |
(svn r3657) Fix indentation and remove now unused variable, which i forgot in r3655
draft
|
Thu, 23 Feb 2006 07:31:36 +0000 |
tron |
(svn r3656) Simplify the overly complicated check for road pieces under a bridge
draft
|
Thu, 23 Feb 2006 07:26:49 +0000 |
tron |
(svn r3655) Simplify a boolean expression and turn 3 if-cascades into switches
draft
|
Wed, 22 Feb 2006 21:35:45 +0000 |
tron |
(svn r3654) Turn another if-cascade into a switch
draft
|
Wed, 22 Feb 2006 21:11:31 +0000 |
tron |
(svn r3653) -Fix: You didn't pay for terraforming at the end tile when building a tunnel
draft
|
Wed, 22 Feb 2006 21:09:55 +0000 |
tron |
(svn r3652) Rewrite CmdBuildTunnel in the hope to make it a bit more comprehensible
draft
|
Tue, 21 Feb 2006 19:42:42 +0000 |
truelight |
(svn r3651) -Fix: r3646 fixed some lame compiler, but broke others... this fixes it for some more compilers
draft
|
Tue, 21 Feb 2006 18:15:59 +0000 |
tron |
(svn r3650) Fix braino in r3649, spotted by Mihamix
draft
|
Tue, 21 Feb 2006 18:07:35 +0000 |
tron |
(svn r3649) Turn several if-cascades into switch()es
draft
|
Tue, 21 Feb 2006 17:48:40 +0000 |
Darkvater |
(svn r3648) - Fix typo in r3647, don't ask me how it got there s/_/./
draft
|
Tue, 21 Feb 2006 17:29:53 +0000 |
Darkvater |
(svn r3647) Some style-changes to the parameter parser
draft
|
Tue, 21 Feb 2006 15:57:09 +0000 |
Darkvater |
(svn r3646) - We are not using MFC so don't use afxres but winres. This solves the compilation problem if MFC is not installed with the compiler IDE (VS6 for example)
draft
|
Tue, 21 Feb 2006 07:44:33 +0000 |
tron |
(svn r3645) Fix stupid typos in last (r3644) commit *sigh*
draft
|
Tue, 21 Feb 2006 07:41:54 +0000 |
tron |
(svn r3644) Don't use FindLandscapeHeightByTile() when it's overkill - often it was just a complicated way of writing GetTileSlope(tile, NULL)
draft
|
Tue, 21 Feb 2006 06:43:53 +0000 |
tron |
(svn r3643) Remove a local variable which is just a pointer to a road stop status field and had the sensible name 'b'; instead directly use the road stop status field
draft
|
Tue, 21 Feb 2006 01:15:59 +0000 |
Darkvater |
(svn r3642) There is a 'npf' debug level for a reason, use that instead of bastardizing 'misc'. Also, pointers are checked against NULL in an if-statement
draft
|
Mon, 20 Feb 2006 23:40:53 +0000 |
Darkvater |
(svn r3641) - Rename MusicFilesettings 'btn_down' to more sensible 'playing'
draft
|
Mon, 20 Feb 2006 23:01:58 +0000 |
Darkvater |
(svn r3640) - Remove win32-only variables from variables.h and put them into win32_v.c. Also ifdef the win32 specific configuration file settings.
draft
|