Age | Commit message (Collapse) | Author |
|
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.
|