Wed, 15 Mar 2006 16:44:50 +0000 |
tron |
(svn r3887) Add a function to get the other bridge end when you're at a bridge ramp
draft
|
Wed, 15 Mar 2006 16:09:23 +0000 |
tron |
(svn r3885) Simplify DoConvertTunnelBridgeRail() a bit
draft
|
Wed, 15 Mar 2006 14:11:17 +0000 |
bjarni |
(svn r3884) renamed TRIPPLE_BINARY to TRIPLE_BINARY
draft
|
Wed, 15 Mar 2006 14:03:09 +0000 |
bjarni |
(svn r3882) -Codechange: [OSX] changed the way universal and tripple binaries are build
draft
|
Wed, 15 Mar 2006 12:37:59 +0000 |
Darkvater |
(svn r3880) - just do a string compare without length restrictions; followup for r3875
draft
|
Wed, 15 Mar 2006 07:10:41 +0000 |
tron |
(svn r3877) Add functions to turn a tile into a rail/road bridge ramp/middle part
draft
|
Tue, 14 Mar 2006 23:28:04 +0000 |
Darkvater |
(svn r3876) - Fix: We know on a level crossing's town owner of the road (if any); it is in m2 so properly set it back when the crossing's removed.
draft
|
Tue, 14 Mar 2006 22:58:46 +0000 |
Darkvater |
(svn r3875) - [Patches] Fix up the intro menu so the right values for the mapsize are shown (the default ones). Setting the value involves a small hack in that we also set the _patches value because that is used for world-generation and only inside there do the values get copied from _newgame
draft
|
Tue, 14 Mar 2006 22:56:22 +0000 |
Darkvater |
(svn r3874) - Codechange: move the extern decleration of _patches_newgame inside the WE_CREATE event because it is only used there.
draft
|
Tue, 14 Mar 2006 21:35:15 +0000 |
truelight |
(svn r3873) -Fix: don't remove Makefile.config if it isn't there in the first place
draft
|
Tue, 14 Mar 2006 21:31:51 +0000 |
Darkvater |
(svn r3872) - [win32] Show the revision in crash.txt and enable the button to show the crash text in the crash-window
draft
|
Tue, 14 Mar 2006 21:29:38 +0000 |
Darkvater |
(svn r3871) - [win32] Remove mapfile generation and generate a pdb file instead. This and the corresponding executable is enough to trace the source of a crash given by crash.txt by using WinDbg for example. Mapfiles are a bit deprecated in the newer VS environments.
draft
|
Tue, 14 Mar 2006 20:59:03 +0000 |
truelight |
(svn r3870) -Fix: missed one item in last commit, tnx glx :)
draft
|
Tue, 14 Mar 2006 20:56:07 +0000 |
truelight |
(svn r3869) -Fix: don't use OS in configure, some system have that defined ;)
draft
|
Tue, 14 Mar 2006 19:21:49 +0000 |
truelight |
(svn r3867) -Add: added --debug, --profile and --revision to configure
draft
|
Tue, 14 Mar 2006 19:15:46 +0000 |
truelight |
(svn r3866) -Fix: only add CXX if it is given
draft
|
Tue, 14 Mar 2006 19:12:39 +0000 |
truelight |
(svn r3865) -Add: a fully optional configure script, that is a wrapper around
draft
|
Tue, 14 Mar 2006 19:10:33 +0000 |
truelight |
(svn r3864) -Fix: small problems with make-system, making room for a wrapper-configure
draft
|
Tue, 14 Mar 2006 12:00:11 +0000 |
tron |
(svn r3857) Add and use GetBridgeRampDirection()
draft
|
Tue, 14 Mar 2006 09:00:10 +0000 |
tron |
(svn r3856) Distinct between bridge ramps and bridge middle parts
draft
|
Mon, 13 Mar 2006 23:20:24 +0000 |
Darkvater |
(svn r3854) - Fix restart_game_date to default to zero and allow a value of 0 which got screwed up during the patch-rewrite. Thanks peter1138
draft
|
Mon, 13 Mar 2006 23:13:21 +0000 |
Darkvater |
(svn r3853) - Fix a change of SetDParam64 to SetDParam in r3713 that caused slightly vibrating text when pressing the cheat-button. Thanks to peter1138 for noticing.
draft
|
Mon, 13 Mar 2006 23:10:02 +0000 |
Darkvater |
(svn r3852) - Revert r3733 which fixed the default value loading for char, but broke loading a set value. Added a better fix which needs a char value to be a string (eg enclosed in double-quotes)
draft
|
Mon, 13 Mar 2006 20:12:35 +0000 |
tron |
(svn r3851) Rail depots only have an entrance at one side, therefore use UpdateSignalsOnSegment() instead of SetSignalsOnBothDir()
draft
|
Mon, 13 Mar 2006 15:38:52 +0000 |
tron |
(svn r3849) Fix bug in r3846
draft
|
Mon, 13 Mar 2006 12:55:20 +0000 |
tron |
(svn r3846) Add functions to set the type of stuff (clear, water, rail, road) under bridges
draft
|
Mon, 13 Mar 2006 07:12:49 +0000 |
tron |
(svn r3838) Demystify building bridge middle parts a bit by removing some magic numbers and generic names
draft
|
Sun, 12 Mar 2006 20:59:56 +0000 |
tron |
(svn r3837) Partially unmagicfy restoring the tiles when deleting a bridge
draft
|
Sun, 12 Mar 2006 17:42:04 +0000 |
tron |
(svn r3832) Replace some magic numbers by (Diag)Direction enums
draft
|
Sun, 12 Mar 2006 16:13:16 +0000 |
tron |
(svn r3831) Add and use GetRailDepotDirection()
draft
|
Sun, 12 Mar 2006 15:04:03 +0000 |
tron |
(svn r3830) Move IsTunnelTile() from tile.h to tunnel_map.h and add IsTunnel(), which just checks for a tunnel, but not the tile type as IsTunnelTile() does
draft
|
Sun, 12 Mar 2006 12:19:25 +0000 |
tron |
(svn r3829) Reduce the use of _error_message by directly returning error codes instead of using this global variable
draft
|
Sun, 12 Mar 2006 10:15:36 +0000 |
tron |
(svn r3827) Remove the global variable _error_message_2, it's only used as local variable
draft
|
Sun, 12 Mar 2006 08:47:18 +0000 |
tron |
(svn r3823) Remove dead code: A value for 'image' gets calculated and overwritten just a few lines later without being used in between
draft
|
Sat, 11 Mar 2006 17:06:16 +0000 |
tron |
(svn r3820) Be a bit more strict with types: use special types instead of generic byte and don't fill arbitrary data into inappropriate types
draft
|
Sat, 11 Mar 2006 09:10:46 +0000 |
tron |
(svn r3816) Use existing accessors
draft
|
Fri, 10 Mar 2006 17:01:51 +0000 |
tron |
(svn r3814) Remove another call to FindLandscapeHeight()
draft
|
Fri, 10 Mar 2006 12:57:42 +0000 |
tron |
(svn r3813) Simplify strange control flow
draft
|
Fri, 10 Mar 2006 11:27:52 +0000 |
tron |
(svn r3812) Remove a pointless goto
draft
|
Fri, 10 Mar 2006 10:01:56 +0000 |
bjarni |
(svn r3811) -Fix: [autoreplace]: (FS#67) autoreplacing trains now keep their tile length instead of their pixel length
draft
|
Fri, 10 Mar 2006 09:20:28 +0000 |
peter1138 |
(svn r3809) - Add map accessor files to MS VS 2003 project file
draft
|
Thu, 09 Mar 2006 20:37:51 +0000 |
peter1138 |
(svn r3805) - [FS#62] Fix doxygen comments to refer to the correct parameter. (sulai)
draft
|
Thu, 09 Mar 2006 12:32:25 +0000 |
tron |
(svn r3803) Change the second parameter of UpdateSignalsOnSegment() from Direction to DiagDirection as that's what it really operates on
draft
|
Wed, 08 Mar 2006 23:21:32 +0000 |
matthijs |
(svn r3802) * Add a dummy file in the scenario dir to make the makefile stop complaining on make install (temporary hack).
draft
|
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
|