rubidium
cf7c89f72c
(svn r11019) -Fix [FS#1176]: Vehicles in a group must always have the same type when adding new vehicles to a group. Patch by SmatZ.
2007-08-31 17:31:54 +00:00
rubidium
235ad4ab6b
(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
2007-08-30 13:03:56 +00:00
rubidium
8f719a7b2d
(svn r10799) -Fix: only calling QuickFree and not the destructor on pool cleanups might cause memory leaks due to the way C++ works.
2007-08-05 21:20:55 +00:00
rubidium
99da45988a
(svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle).
2007-08-02 21:19:07 +00:00
rubidium
9458905e4c
(svn r10751) -Codechange: make the group struct use the pool item class as super class.
2007-08-02 12:51:57 +00:00
rubidium
b76be6418e
(svn r10475) -Fix [FS#996]: some wrong comments for a few of the (vehicle) group related actions.
2007-07-08 09:35:39 +00:00
peter1138
cd0e022172
(svn r10364) -Fix [FS#706]: checking for duplicate custom names was inconsistent, and tested all 'namespaces'. now only check names of the same type.
2007-06-27 20:53:25 +00:00
peter1138
59dd90b76a
(svn r10316) -Codechange: (consistently) use index to refer to group names. Also the group string_id is irrelevant unless it is a custom name, so don't 'waste' a savegame string id.
2007-06-25 07:33:40 +00:00
rubidium
773a7c9cb6
(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
2007-06-18 19:53:50 +00:00
rubidium
3ccc83e640
(svn r10197) -Codechange: replace int32 with CommandCost where appropriate.
2007-06-18 10:48:15 +00:00
maedhros
fa548f1a6f
(svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type.
2007-06-01 12:03:10 +00:00
peter1138
fa72a4ebd1
(svn r9902) -Fix (r9898): Don't check group owner when adding a vehicle to the 'default' group.
2007-05-23 14:02:10 +00:00
peter1138
056253bef2
(svn r9898) -Fix (r9874): Many...
...
- 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.
2007-05-22 19:48:11 +00:00
rubidium
821c0acf4d
(svn r9882) -Fix (r9874): the "default group" is also a valid group in some cases.
2007-05-19 21:47:14 +00:00
rubidium
8f0f090c51
(svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13.
2007-05-19 09:40:18 +00:00