Age | Commit message (Collapse) | Author |
|
to a single location.
|
|
the command. Checking for the length in pixels is impossible because that differs per client.
|
|
|
|
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
|
WindowClass lookup
|
|
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.
|
|
|
|
compiler's decisions about inlining
|
|
|
|
group ID to the backup
|
|
unneeded include from openttd.h.
|
|
now attached to their object directly and there is
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
|
|
|
|
|
|
|
|
when it's not necessary.
|
|
single location.
|
|
test run.
|
|
useless includes.
|
|
logical place and remove about 50% of the includes of 'functions.h'
|
|
their respective places.
|
|
|
|
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
|
|
style
|
|
Vehicle::first pointer correctly set.
|
|
type when adding new vehicles to a group. Patch by SmatZ.
|
|
Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
|
cleanups might cause memory leaks due to the way C++ works.
|
|
IsValidVehicle(vehicle).
|
|
super class.
|
|
group related actions.
|
|
inconsistent, and tested all 'namespaces'. now only check names of the same type.
|
|
Also the group string_id is irrelevant unless it is a custom name, so don't 'waste' a savegame string id.
|
|
easily modified.
|
|
|
|
individual checks depending on the vehicle type.
|
|
the 'default' group.
|
|
- Group protection status wasn't changed via a command.
- Group renaming didn't check group owner (and in fact changed the owner,
just like renaming a sign...).
- Added owner checks to other group commands.
- Invalidate window data after the command has been completed instead of after
the command has been sent. This fixes gui issues in network play.
|
|
cases.
|
|
can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
|