summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-03-15(svn r3877) Add functions to turn a tile into a rail/road bridge ramp/middle ↵tron
part
2006-03-14(svn r3876) - Fix: We know on a level crossing's town owner of the road (if ↵Darkvater
any); it is in m2 so properly set it back when the crossing's removed.
2006-03-14(svn r3875) - [Patches] Fix up the intro menu so the right values for the ↵Darkvater
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.
2006-03-14(svn r3874) - Codechange: move the extern decleration of _patches_newgame ↵Darkvater
inside the WE_CREATE event because it is only used there.
2006-03-14(svn r3873) -Fix: don't remove Makefile.config if it isn't there in the ↵truelight
first place -Add: allow --debug=3 to enable DEBUG lvl 3 (--debug results in a lvl 1)
2006-03-14(svn r3872) - [win32] Show the revision in crash.txt and enable the button ↵Darkvater
to show the crash text in the crash-window
2006-03-14(svn r3871) - [win32] Remove mapfile generation and generate a pdb file ↵Darkvater
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.
2006-03-14(svn r3870) -Fix: missed one item in last commit, tnx glx :)truelight
2006-03-14(svn r3869) -Fix: don't use OS in configure, some system have that defined ;)truelight
2006-03-14(svn r3867) -Add: added --debug, --profile and --revision to configuretruelight
2006-03-14(svn r3866) -Fix: only add CXX if it is giventruelight
Word of warning: configure _does_ delete your Makefile.config!
2006-03-14(svn r3865) -Add: a fully optional configure script, that is a wrapper aroundtruelight
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.
2006-03-14(svn r3864) -Fix: small problems with make-system, making room for a ↵truelight
wrapper-configure
2006-03-14(svn r3857) Add and use GetBridgeRampDirection()tron
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]
2006-03-14(svn r3856) Distinct between bridge ramps and bridge middle partstron
2006-03-13(svn r3854) - Fix restart_game_date to default to zero and allow a value of ↵Darkvater
0 which got screwed up during the patch-rewrite. Thanks peter1138
2006-03-13(svn r3853) - Fix a change of SetDParam64 to SetDParam in r3713 that caused ↵Darkvater
slightly vibrating text when pressing the cheat-button. Thanks to peter1138 for noticing.
2006-03-13(svn r3852) - Revert r3733 which fixed the default value loading for char, ↵Darkvater
but broke loading a set value. Added a better fix which needs a char value to be a string (eg enclosed in double-quotes)
2006-03-13(svn r3851) Rail depots only have an entrance at one side, therefore use ↵tron
UpdateSignalsOnSegment() instead of SetSignalsOnBothDir()
2006-03-13(svn r3849) Fix bug in r3846tron
2006-03-13(svn r3846) Add functions to set the type of stuff (clear, water, rail, ↵tron
road) under bridges
2006-03-13(svn r3838) Demystify building bridge middle parts a bit by removing some ↵tron
magic numbers and generic names
2006-03-12(svn r3837) Partially unmagicfy restoring the tiles when deleting a bridgetron
Existing bug: When restoring a road piece which belongs to a town the town index unconditionally gets set to 0
2006-03-12(svn r3832) Replace some magic numbers by (Diag)Direction enumstron
2006-03-12(svn r3831) Add and use GetRailDepotDirection()tron
2006-03-12(svn r3830) Move IsTunnelTile() from tile.h to tunnel_map.h and add ↵tron
IsTunnel(), which just checks for a tunnel, but not the tile type as IsTunnelTile() does
2006-03-12(svn r3829) Reduce the use of _error_message by directly returning error ↵tron
codes instead of using this global variable
2006-03-12(svn r3827) Remove the global variable _error_message_2, it's only used as ↵tron
local variable
2006-03-12(svn r3823) Remove dead code: A value for 'image' gets calculated and ↵tron
overwritten just a few lines later without being used in between
2006-03-11(svn r3820) Be a bit more strict with types: use special types instead of ↵tron
generic byte and don't fill arbitrary data into inappropriate types
2006-03-11(svn r3816) Use existing accessorstron
2006-03-10(svn r3814) Remove another call to FindLandscapeHeight()tron
2006-03-10(svn r3813) Simplify strange control flowtron
2006-03-10(svn r3812) Remove a pointless gototron
2006-03-10(svn r3811) -Fix: [autoreplace]: (FS#67) autoreplacing trains now keep their ↵bjarni
tile length instead of their pixel length
2006-03-10(svn r3809) - Add map accessor files to MS VS 2003 project filepeter1138
2006-03-09(svn r3805) - [FS#62] Fix doxygen comments to refer to the correct ↵peter1138
parameter. (sulai)
2006-03-09(svn r3803) Change the second parameter of UpdateSignalsOnSegment() from ↵tron
Direction to DiagDirection as that's what it really operates on
2006-03-08(svn r3802) * Add a dummy file in the scenario dir to make the makefile ↵matthijs
stop complaining on make install (temporary hack).
2006-03-08(svn r3801) * Update debian packaging files to the ones used for releasing ↵matthijs
0.4.5 (see os/debian/changelog for details). * Fix a small debconf issue which was in the 0.4.5 release.
2006-03-08(svn r3798) Fix typo in r3795tron
2006-03-08(svn r3796) When unmagicfying code, do it Right(tm) and also give the ↵tron
variables sensible names. I flipped a 'b' and a 'd' in r3785
2006-03-08(svn r3795) Add a function to request the orientation of a depottron
2006-03-08(svn r3794) Use already available accessor functions instead of GB()tron
2006-03-08(svn r3792) -Fix: Mark the right tile as dirty. It's just a graphical glitch ↵tron
which happend in r1592
2006-03-08(svn r3791) Replace home grown direction handling for placing lighthouses by ↵tron
standard DiagDir
2006-03-08(svn r3789) Add an enum and function to handle DiagDirection changestron
2006-03-08(svn r3788) Fix (harmless) typo in r3784tron
2006-03-08(svn r3787) Use DirToDiagDir() instead of >> 1tron
2006-03-08(svn r3786) More work for DirDifftron