------------------------------------------------------------------------ r3890 | tron | 2006-03-15 17:38:00 +0000 (Wed, 15 Mar 2006) | 1 line Simplify deleting a bridge by handling the ramps outside of the removal loop ------------------------------------------------------------------------ r3889 | tron | 2006-03-15 17:27:15 +0000 (Wed, 15 Mar 2006) | 1 line Change a part of the bridge drawing code to make it more comprehensible and add the needed accessors ------------------------------------------------------------------------ r3888 | tron | 2006-03-15 16:47:35 +0000 (Wed, 15 Mar 2006) | 1 line If you think you've checked everything, check once more. *sigh* Fix r3887 ------------------------------------------------------------------------ r3887 | tron | 2006-03-15 16:44:50 +0000 (Wed, 15 Mar 2006) | 1 line Add a function to get the other bridge end when you're at a bridge ramp ------------------------------------------------------------------------ r3885 | tron | 2006-03-15 16:09:23 +0000 (Wed, 15 Mar 2006) | 1 line Simplify DoConvertTunnelBridgeRail() a bit ------------------------------------------------------------------------ r3884 | bjarni | 2006-03-15 14:11:17 +0000 (Wed, 15 Mar 2006) | 1 line renamed TRIPPLE_BINARY to TRIPLE_BINARY ------------------------------------------------------------------------ r3882 | bjarni | 2006-03-15 14:03:09 +0000 (Wed, 15 Mar 2006) | 10 lines -Codechange: [OSX] changed the way universal and tripple binaries are build Instead of compiling a binary for each arch and then join them in the end, each .o file is now compiled as a fat file This means that the makefile will not call itself to make a binary for each target and we don't have to make clean between each build it also means that if one file changed, we don't have to recompile all files Another benefit is since it's handled at .o level and though LDFLAGS, no special code is needed if we decide to compile more binaries (like a lot of stuff used to happen at post linking) We also needs much less flags to set up, so it should be even easier to get to work out of the box now The tradeoff in doing so is that now the binary needs at least OSX 10.3.9 to execute To deal with this issue, the JAGUAR flag can be used to compile for older OSes. We will release a binary for old OSes at next release to see if anybody even downloads it (not that many people use OSX 10.2 anymore) GPMI will not work on 10.2 anyway so we will cut support for it some day anyway ------------------------------------------------------------------------ r3880 | Darkvater | 2006-03-15 12:37:59 +0000 (Wed, 15 Mar 2006) | 1 line - just do a string compare without length restrictions; followup for r3875 ------------------------------------------------------------------------ r3877 | tron | 2006-03-15 07:10:41 +0000 (Wed, 15 Mar 2006) | 1 line Add functions to turn a tile into a rail/road bridge ramp/middle part ------------------------------------------------------------------------ r3876 | Darkvater | 2006-03-14 23:28:04 +0000 (Tue, 14 Mar 2006) | 1 line - 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. ------------------------------------------------------------------------ r3875 | Darkvater | 2006-03-14 22:58:46 +0000 (Tue, 14 Mar 2006) | 2 lines - [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 - [Patches] Fix a stupid, stupid bug where I used sizeof() as length instead of strlen() in getting console values for patches. ------------------------------------------------------------------------ r3874 | Darkvater | 2006-03-14 22:56:22 +0000 (Tue, 14 Mar 2006) | 1 line - Codechange: move the extern decleration of _patches_newgame inside the WE_CREATE event because it is only used there. ------------------------------------------------------------------------ r3873 | truelight | 2006-03-14 21:35:15 +0000 (Tue, 14 Mar 2006) | 3 lines -Fix: don't remove Makefile.config if it isn't there in the first place -Add: allow --debug=3 to enable DEBUG lvl 3 (--debug results in a lvl 1) ------------------------------------------------------------------------ r3872 | Darkvater | 2006-03-14 21:31:51 +0000 (Tue, 14 Mar 2006) | 1 line - [win32] Show the revision in crash.txt and enable the button to show the crash text in the crash-window ------------------------------------------------------------------------ r3871 | Darkvater | 2006-03-14 21:29:38 +0000 (Tue, 14 Mar 2006) | 1 line - [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. ------------------------------------------------------------------------ r3870 | truelight | 2006-03-14 20:59:03 +0000 (Tue, 14 Mar 2006) | 2 lines -Fix: missed one item in last commit, tnx glx :) ------------------------------------------------------------------------ r3869 | truelight | 2006-03-14 20:56:07 +0000 (Tue, 14 Mar 2006) | 2 lines -Fix: don't use OS in configure, some system have that defined ;) ------------------------------------------------------------------------ r3867 | truelight | 2006-03-14 19:21:49 +0000 (Tue, 14 Mar 2006) | 2 lines -Add: added --debug, --profile and --revision to configure ------------------------------------------------------------------------ r3866 | truelight | 2006-03-14 19:15:46 +0000 (Tue, 14 Mar 2006) | 3 lines -Fix: only add CXX if it is given Word of warning: configure _does_ delete your Makefile.config! ------------------------------------------------------------------------ r3865 | truelight | 2006-03-14 19:12:39 +0000 (Tue, 14 Mar 2006) | 6 lines -Add: a fully optional configure script, that is a wrapper around Makefile.config, inserting data directly into it. This is needed for the CompileFarm (nightly) and most likely it will help out many people who want to cross-compile. I might have missed several options out of the Makefile.config, but those are the needed ones for the CompileFarm. ------------------------------------------------------------------------ r3864 | truelight | 2006-03-14 19:10:33 +0000 (Tue, 14 Mar 2006) | 2 lines -Fix: small problems with make-system, making room for a wrapper-configure ------------------------------------------------------------------------ r3857 | tron | 2006-03-14 12:00:11 +0000 (Tue, 14 Mar 2006) | 3 lines Add and use GetBridgeRampDirection() Note: This slightly changes the behavior of GetAnyRoadBits() to only return a road piece for the start of the bridge ramp instead of a full ROAD_[XY] ------------------------------------------------------------------------ r3856 | tron | 2006-03-14 09:00:10 +0000 (Tue, 14 Mar 2006) | 1 line Distinct between bridge ramps and bridge middle parts ------------------------------------------------------------------------ r3854 | Darkvater | 2006-03-13 23:20:24 +0000 (Mon, 13 Mar 2006) | 1 line - Fix restart_game_date to default to zero and allow a value of 0 which got screwed up during the patch-rewrite. Thanks peter1138 ------------------------------------------------------------------------ r3853 | Darkvater | 2006-03-13 23:13:21 +0000 (Mon, 13 Mar 2006) | 1 line - Fix a change of SetDParam64 to SetDParam in r3713 that caused slightly vibrating text when pressing the cheat-button. Thanks to peter1138 for noticing. ------------------------------------------------------------------------ r3852 | Darkvater | 2006-03-13 23:10:02 +0000 (Mon, 13 Mar 2006) | 1 line - 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) ------------------------------------------------------------------------ r3851 | tron | 2006-03-13 20:12:35 +0000 (Mon, 13 Mar 2006) | 1 line Rail depots only have an entrance at one side, therefore use UpdateSignalsOnSegment() instead of SetSignalsOnBothDir() ------------------------------------------------------------------------ r3849 | tron | 2006-03-13 15:38:52 +0000 (Mon, 13 Mar 2006) | 1 line Fix bug in r3846 ------------------------------------------------------------------------ r3846 | tron | 2006-03-13 12:55:20 +0000 (Mon, 13 Mar 2006) | 2 lines Add functions to set the type of stuff (clear, water, rail, road) under bridges ------------------------------------------------------------------------ r3838 | tron | 2006-03-13 07:12:49 +0000 (Mon, 13 Mar 2006) | 1 line Demystify building bridge middle parts a bit by removing some magic numbers and generic names ------------------------------------------------------------------------ r3837 | tron | 2006-03-12 20:59:56 +0000 (Sun, 12 Mar 2006) | 3 lines Partially unmagicfy restoring the tiles when deleting a bridge Existing bug: When restoring a road piece which belongs to a town the town index unconditionally gets set to 0 ------------------------------------------------------------------------ r3832 | tron | 2006-03-12 17:42:04 +0000 (Sun, 12 Mar 2006) | 1 line Replace some magic numbers by (Diag)Direction enums ------------------------------------------------------------------------ r3831 | tron | 2006-03-12 16:13:16 +0000 (Sun, 12 Mar 2006) | 1 line Add and use GetRailDepotDirection() ------------------------------------------------------------------------ r3830 | tron | 2006-03-12 15:04:03 +0000 (Sun, 12 Mar 2006) | 1 line 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 ------------------------------------------------------------------------ r3829 | tron | 2006-03-12 12:19:25 +0000 (Sun, 12 Mar 2006) | 1 line Reduce the use of _error_message by directly returning error codes instead of using this global variable ------------------------------------------------------------------------ r3827 | tron | 2006-03-12 10:15:36 +0000 (Sun, 12 Mar 2006) | 1 line Remove the global variable _error_message_2, it's only used as local variable ------------------------------------------------------------------------ r3823 | tron | 2006-03-12 08:47:18 +0000 (Sun, 12 Mar 2006) | 1 line Remove dead code: A value for 'image' gets calculated and overwritten just a few lines later without being used in between ------------------------------------------------------------------------ r3820 | tron | 2006-03-11 17:06:16 +0000 (Sat, 11 Mar 2006) | 1 line Be a bit more strict with types: use special types instead of generic byte and don't fill arbitrary data into inappropriate types ------------------------------------------------------------------------ r3816 | tron | 2006-03-11 09:10:46 +0000 (Sat, 11 Mar 2006) | 1 line Use existing accessors ------------------------------------------------------------------------ r3814 | tron | 2006-03-10 17:01:51 +0000 (Fri, 10 Mar 2006) | 1 line Remove another call to FindLandscapeHeight() ------------------------------------------------------------------------ r3813 | tron | 2006-03-10 12:57:42 +0000 (Fri, 10 Mar 2006) | 1 line Simplify strange control flow ------------------------------------------------------------------------ r3812 | tron | 2006-03-10 11:27:52 +0000 (Fri, 10 Mar 2006) | 1 line Remove a pointless goto ------------------------------------------------------------------------ r3811 | bjarni | 2006-03-10 10:01:56 +0000 (Fri, 10 Mar 2006) | 1 line -Fix: [autoreplace]: (FS#67) autoreplacing trains now keep their tile length instead of their pixel length ------------------------------------------------------------------------ r3809 | peter1138 | 2006-03-10 09:20:28 +0000 (Fri, 10 Mar 2006) | 2 lines - Add map accessor files to MS VS 2003 project file ------------------------------------------------------------------------ r3805 | peter1138 | 2006-03-09 20:37:51 +0000 (Thu, 09 Mar 2006) | 2 lines - [FS#62] Fix doxygen comments to refer to the correct parameter. (sulai) ------------------------------------------------------------------------ r3803 | tron | 2006-03-09 12:32:25 +0000 (Thu, 09 Mar 2006) | 1 line Change the second parameter of UpdateSignalsOnSegment() from Direction to DiagDirection as that's what it really operates on ------------------------------------------------------------------------ r3802 | matthijs | 2006-03-08 23:21:32 +0000 (Wed, 08 Mar 2006) | 2 lines * Add a dummy file in the scenario dir to make the makefile stop complaining on make install (temporary hack). ------------------------------------------------------------------------ r3801 | matthijs | 2006-03-08 23:12:38 +0000 (Wed, 08 Mar 2006) | 3 lines * Update debian packaging files to the ones used for releasing 0.4.5 (see os/debian/changelog for details). * Fix a small debconf issue which was in the 0.4.5 release. ------------------------------------------------------------------------ r3798 | tron | 2006-03-08 20:25:28 +0000 (Wed, 08 Mar 2006) | 1 line Fix typo in r3795 ------------------------------------------------------------------------ r3796 | tron | 2006-03-08 19:47:18 +0000 (Wed, 08 Mar 2006) | 1 line When unmagicfying code, do it Right(tm) and also give the variables sensible names. I flipped a 'b' and a 'd' in r3785 ------------------------------------------------------------------------