(svn r16544) -Codechange: use double-linked list for vehicle position caches in order to improve performance (~5% with many vehicles)
This commit is contained in:
@@ -100,8 +100,8 @@ public:
|
||||
/* Boundaries for the current position in the world and a next hash link.
|
||||
* NOSAVE: All of those can be updated with VehiclePositionChanged() */
|
||||
Rect coord;
|
||||
Vehicle *next_hash;
|
||||
Vehicle *next_new_hash;
|
||||
Vehicle *next_hash, **prev_hash;
|
||||
Vehicle *next_new_hash, **prev_new_hash;
|
||||
Vehicle **old_new_hash;
|
||||
|
||||
SpriteID colourmap; // NOSAVE: cached colour mapping
|
||||
|
Reference in New Issue
Block a user