Feature #307

Remove direct access to map internals

Added by hylje over 10 years ago. Updated over 10 years ago.

Status:NewStart date:2009-07-05
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

On the way to introducing a full Map2D object that is useful for us is hiding its internals from user code. This means changing local user code to use special functions (inlined or not) that are located in the map source.

This issue may be closed when all map implementation details are contained in the map object.

History

#1 Updated by Hirundo over 10 years ago

This is basically already done. All map accesses are in (inline) functions in the xxx_map.h files, apart from those dealing with save/load and compatibility with old saves.

#2 Updated by hylje over 10 years ago

Thanks for the clarification. Furthermore I was not aware of the convention of *_map.h usage. That should remove some work from this project.

Also available in: Atom PDF