From d9d16fc03558c49ea7ed4b806e6096537f494ff8 Mon Sep 17 00:00:00 2001 From: Nicolay Korslund Date: Wed, 19 May 2010 19:41:26 +0200 Subject: [PATCH] Test commit for openmw_commits twitter channel --- game/esm_reclists.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/game/esm_reclists.hpp b/game/esm_reclists.hpp index 6fa236a36b..b4a96e96fb 100644 --- a/game/esm_reclists.hpp +++ b/game/esm_reclists.hpp @@ -64,6 +64,19 @@ namespace ESMS // Just count them for now int count; + /* + What to do here: + + load() reads the appropriate records to determine if this is an + interior or exterior cell. The old D code should be straight + forward to port here. Unlike the lists above, this struct + contains two lists, one for each cell type. We will have to hack + around again to get good indexing of exterior cells, but I think + a hash thingie like we did in D will work. An alternative is + just a map>, so we can do ext_cells[X][Y].whatever. Hmm, I + think I like that better actually. + */ + void load(ESMReader &esm) { count++;