summaryrefslogtreecommitdiff
path: root/src/waypoint.cpp
AgeCommit message (Collapse)Author
2009-07-22(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and ↵rubidium
waypoint_func.h
2009-07-22(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions ↵rubidium
all over the place when using the more advanced station types. -Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
2009-07-21(svn r16897) -Codechange: use the 'generic' station spec to station ↵rubidium
allocation for waypoints too
2009-07-21(svn r16896) -Codechange: make station spec allocation and station animation ↵rubidium
functions work for both stations and waypoints
2009-07-18(svn r16870) -Codechange: unmagicify road stop/waypoint picker drawingrubidium
2009-07-18(svn r16869) -Codechange: make drawing waypoints a tiny bit more like ↵rubidium
drawing stations
2009-07-18(svn r16868) -Codechange: unify UpdateAll[Station|Waypoint]VirtCoordsrubidium
2009-07-17(svn r16864) -Codechange: make Waypoints a subclass of BaseStation.rubidium
2009-07-17(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like ↵rubidium
used for e.g. stations
2009-07-17(svn r16862) -Codechange: make waypoints use the same system of station ↵rubidium
station spec lists.
2009-07-17(svn r16860) -Codechange: introduce a helper to assign a station spec to ↵rubidium
Waypoints
2009-07-16(svn r16855) -Codechange: remove unused 'conversion' stuff from the waypoint ↵rubidium
struct and make it more similar to Station.
2009-07-16(svn r16850) -Codechange: unify some naming of variables between waypoints ↵rubidium
and stations.
2009-07-13(svn r16821) -Codechange: unify the naming of type::UpdateVirtCoord and ↵rubidium
UpdateAll[Type]VirtCoords.
2009-07-08(svn r16764) -Codechange: unify the way viewport signs are marked dirtyrubidium
2009-05-22(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation ↵smatz
time, binary size and run time (with asserts disabled) should be improved
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-03-13(svn r15704) -Cleanup: remove further includes from recently split filessmatz
2009-03-13(svn r15703) -Codechange: split Cmd* from waypoint.cpp to waypoint_cmd.cpp.belugas
2009-02-26(svn r15589) -Fix: drawing of waypoints with invalid owner was brokensmatz
-Change: don't take over waypoints without owner, it could belong to a bankrupted company (and the code was broken) - savegame conversion code is a bit more liberal now, too
2009-02-09(svn r15434) -Codechange: bit of type safety for the DC_xxx flags.rubidium
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-10(svn r14958) -Codechange [FS#1923]: when checking for unique names, compare ↵smatz
only with manually set names There are situations that aren't solvable (because of different language files), so if the user really wants to have duplicated name, allow him to do so. It solves desyncs between server and clients using different languages. It behaves the same in SP and MP, so users won't see the different behaviour as a bug (and even checking in SP could be worked around by the user).
2009-01-10(svn r14949) -Cleanup: pointer coding stylerubidium
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2009-01-03(svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid ↵smatz
depots, industries, towns and waypoints
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-10-14(svn r14464) -Codechange: replace (uint)-1 with UINT_MAX (PhilSophus)rubidium
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-15(svn r14334) -Feature: ability to reset name to default/automatic value (for ↵smatz
vehicles, engines, towns, groups, stations, waypoints, managers and companies)
2008-09-14(svn r14322) -Fix (r10368): possible assert when renaming removed waypointsmatz
2008-09-09(svn r14280) -Codechange: use IsRailWaypointTile() instead of IsTileType() ↵smatz
and IsRailWaypoint() checks at several places
2008-09-07(svn r14265) -Fix (r10750): desyncs after deleting a waypoint because of ↵smatz
explicit destructor call instead of using operator delete
2008-08-31(svn r14210) -Codechange: remove a useless check when creating new waypointsmatz
2008-08-23(svn r14145) -Fix (r14135, r14141): When savegame conversion cannot ↵frosch
determine a owner of a greyed waypoint, ensure that the owner is assigned when the waypoint is rebuild.
2008-08-23(svn r14143) -Codechange: Recenter viewport of waypoint window when ↵frosch
relocating the waypoint.
2008-08-23(svn r14142) -Codechange: Disallow taking over greyed waypoints of other ↵frosch
companies.
2008-08-23(svn r14135) -Codechange: Add owner to waypoints. Previously, it was guessed ↵belugas
from rail underneath it.
2008-08-21(svn r14119) -Fix(r14104): Forgot to make the gui disappear when the ↵belugas
waypoint is deleted. Smatz pointing
2008-08-13(svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in ↵rubidium
the command. Checking for the length in pixels is impossible because that differs per client.
2008-08-02(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing ↵rubidium
some tracks and reroute trains afterwards. (michi_cc)
2008-08-02(svn r13931) -Codechange [YAPP]: Retain the reservation state when ↵rubidium
building/removing waypoints or level crossings. (michi_cc)
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-07(svn r12989) -Codechange: move ViewportSign to viewport_type.h.rubidium
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-04-23(svn r12855) -Codechange: do not use autoptr's for testing whether certain ↵rubidium
objects can be build, but check it directly in the pool so we do not have to call destructors in the testing phase. Stations still use the autoptr though.
2008-04-18(svn r12762) -Fix: tabs after the first non-tab character are generally not ↵rubidium
okay (or lines starting with a space and then tabs).
2008-04-06(svn r12599) -Codechange: force AllocateSafeRaw() to be linked to simplify ↵smatz
compiler's decisions about inlining