peter1138
9c7f09322e
(svn r3805) - [FS#62] Fix doxygen comments to refer to the correct parameter. (sulai)
19 years ago
tron
78a7b15ce0
(svn r3803) Change the second parameter of UpdateSignalsOnSegment() from Direction to DiagDirection as that's what it really operates on
19 years ago
matthijs
a00385913b
(svn r3802) * Add a dummy file in the scenario dir to make the makefile stop complaining on make install (temporary hack).
19 years ago
matthijs
ba5172d0f4
(svn r3801) * 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.
19 years ago
tron
602e567074
(svn r3798) Fix typo in r3795
19 years ago
tron
2bd2f75de2
(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
19 years ago
tron
463cf2ec6b
(svn r3795) Add a function to request the orientation of a depot
19 years ago
tron
7bce62899c
(svn r3794) Use already available accessor functions instead of GB()
19 years ago
tron
2c6435ccc9
(svn r3792) -Fix: Mark the right tile as dirty. It's just a graphical glitch which happend in r1592
19 years ago
tron
9b53fb9e03
(svn r3791) Replace home grown direction handling for placing lighthouses by standard DiagDir
19 years ago
tron
e68120034c
(svn r3789) Add an enum and function to handle DiagDirection changes
19 years ago
tron
af69dba514
(svn r3788) Fix (harmless) typo in r3784
19 years ago
tron
2181a72e9e
(svn r3787) Use DirToDiagDir() instead of >> 1
19 years ago
tron
03536a32a1
(svn r3786) More work for DirDiff
19 years ago
tron
8b447de24c
(svn r3785) Replace some if-magic to determine the turning direction for road vehicles with the new DirDiff stuff
19 years ago
tron
ecabf8a5f0
(svn r3784) Add a type and functions to handle direction changes
19 years ago
tron
fbe939b31f
(svn r3783) Replace further ints and magic numbers by Direction, DiagDirection and friends
19 years ago
tron
313754011d
(svn r3779) Move CheckTunnelInWay() to a more appropriate place, invert its result and give it a less ambiguous name (IsTunnelInWay)
19 years ago
peter1138
a172b194c2
(svn r3778) - Fix crash when resizing news history window.
19 years ago
tron
f2dc736554
(svn r3777) Add some functions to handle tunnels
19 years ago
tron
2d3c28f2b3
(svn r3776) Replace many ints and magic numbers by Direction, DiagDirection and friends
19 years ago
peter1138
fc1e9c5a92
(svn r3775) Fix loading of server_port from config file, introduced in Darkvater's unified configuration changes (r3719+)
19 years ago
tron
554f659e30
(svn r3774) Remove some more magic numbers and types
19 years ago
tron
f3fb21c96c
(svn r3773) Shove some semantics down ottd's throat by replacing ints and magic numbers by enums and some related changes
19 years ago
tron
d793292778
(svn r3770) Remove the _road_special_gettrackstatus hack. Egladil and me deem it unnecessary
19 years ago
tron
27888c0694
(svn r3769) Add a cast to make KUDr's C++ compiler happy
19 years ago
tron
586388c9f1
(svn r3767) Move all direction related enums and functions to a separate header
19 years ago
tron
f007ad282c
(svn r3766) Add a function to get the RoadBits from an arbitrary tile
19 years ago
tron
ebec656110
(svn r3765) Fix some naming glitches in r3763 and add missing svn properties
19 years ago
tron
cc4f5b4e6f
(svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme
19 years ago
tron
5913c3931b
(svn r3761) Fix two bugs in r3757
19 years ago
tron
d49ad36ed8
(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
19 years ago
bjarni
f4cf9b0a91
(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)
19 years ago
tron
87fdb129d2
(svn r3758) Remove the news validation callback. It is superseded by r3757.
19 years ago
tron
4270026b42
(svn r3757) -Feature: Delete news items about vehicles, when they get stale
...
This is used to delete
- all news about a vehicle, when it gets deleted
- "vehicle has stopped in depot" news, when it gets started
- "vehicle has invalid orders" news, when the orders get changed
19 years ago
tron
006444a0dc
(svn r3754) Miscellaneous changes: indentation, reduce variable scope, constness, avoid some more function pointer casts
19 years ago
tron
62f5386d91
(svn r3752) FYOS avoid to cast function pointers
19 years ago
tron
c91a2e0f26
(svn r3751) -Fix: Correctly implement minimum search, so road vehicles head twoards the closest station, not the last one in the list
19 years ago
tron
08720b6fd7
(svn r3750) Use INVALID_STATION instead of -1 in NPF
19 years ago
tron
4ebaa55fe1
(svn r3749) -Fix: [FS#61] The tooltips for raising and lowering land buttons in the scenario editor are interchanged (Reported and fixed by lc)
19 years ago
tron
7579d1faa9
(svn r3748) Remove bubblesort(), it's unused
19 years ago
tron
40fd4377b0
(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)
19 years ago
Darkvater
5b0e6f90a9
(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.
...
- Fix a nasty bug with improper counter addition. (*i)++ and NOT *i++ when setting a patch value through the console.
19 years ago
tron
72e28805b8
(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
19 years ago
bjarni
dcdfa496d5
(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)
19 years ago
bjarni
e29a435226
(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
...
This fix is not a good solution and might not work, but if it works, it's better than nothing until we get the real solution
19 years ago
bjarni
1931b8ea96
(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
...
It also adds a new error window, which can be used just like assert, but it is also active when asserts are turned off
This is useful for places where it's really important to check even if assert is turned off. It's not used in the code yet
19 years ago
bjarni
8878ab2e9a
(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
19 years ago
tron
57aa648a0e
(svn r3733) Fix a bug in r3719, which caused a crash when the default value for a SLE_VAR_CHAR setting was used
19 years ago
Darkvater
9bbe6876ba
(svn r3732) - Fix two warnings. Stupid MSVC didn't even complain :s (Thank Tron and peter1138)
...
- NOTE! There are a few warnings left in settings_gui because tha callback functions are disabled. I still need a good place for them.
19 years ago