Commit Graph

279 Commits (jgrpp)

Author SHA1 Message Date
rubidium 1b9ea5468e (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. 17 years ago
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. 17 years ago
rubidium cb7eaff353 (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. 17 years ago
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. 17 years ago
rubidium 83e1fdcb01 (svn r10799) -Fix: only calling QuickFree and not the destructor on pool cleanups might cause memory leaks due to the way C++ works. 17 years ago
rubidium 99da45988a (svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle). 17 years ago
rubidium b15c0efaa9 (svn r10756) -Codechange: use vehicle->IsValid in favour of IsValidVehicle(vehicle). 17 years ago
rubidium 9458905e4c (svn r10751) -Codechange: make the group struct use the pool item class as super class. 17 years ago
rubidium 87ad3df284 (svn r10751) -Codechange: make the group struct use the pool item class as super class. 17 years ago
rubidium b76be6418e (svn r10475) -Fix [FS#996]: some wrong comments for a few of the (vehicle) group related actions. 17 years ago
rubidium 640421fb79 (svn r10475) -Fix [FS#996]: some wrong comments for a few of the (vehicle) group related actions. 17 years ago
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. 17 years ago
peter1138 c692d897cd (svn r10364) -Fix [FS#706]: checking for duplicate custom names was inconsistent, and tested all 'namespaces'. now only check names of the same type. 17 years ago
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. 17 years ago
peter1138 74e34ee729 (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. 17 years ago
rubidium 773a7c9cb6 (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. 17 years ago
rubidium 49220cc6f1 (svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified. 17 years ago
rubidium 3ccc83e640 (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. 17 years ago
rubidium 966e2738b9 (svn r10197) -Codechange: replace int32 with CommandCost where appropriate. 17 years ago
maedhros fa548f1a6f (svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type. 17 years ago
maedhros 4acf3e4c3f (svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type. 17 years ago
peter1138 fa72a4ebd1 (svn r9902) -Fix (r9898): Don't check group owner when adding a vehicle to the 'default' group. 17 years ago
peter1138 c46ac94ce2 (svn r9902) -Fix (r9898): Don't check group owner when adding a vehicle to the 'default' group. 17 years ago
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.
17 years ago
peter1138 2125b96387 (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.
17 years ago
rubidium 821c0acf4d (svn r9882) -Fix (r9874): the "default group" is also a valid group in some cases. 17 years ago
rubidium 707bc97c03 (svn r9882) -Fix (r9874): the "default group" is also a valid group in some cases. 17 years ago
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. 17 years ago
rubidium 7d4be11516 (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. 17 years ago