Ignore:
Timestamp:
Mar 18, 2008, 12:05:08 AM (12 years ago)
Author:
Sam Hocevar
Message:
  • Cleaned up cache.cpp.
  • Renamed stupid "cash" variable into "cache".
  • Rename cache_list and crc_manager into CacheList? and CrcManager?.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/game.hpp

    r120 r123  
    100100
    101101  backtile *get_bg(int x) { if (x<0 || x>=nbacktiles || backtiles[x]<0)
    102                            return cash.backt(backtiles[BLACK]);
    103                            else return cash.backt(backtiles[x]); }
     102                           return cache.backt(backtiles[BLACK]);
     103                           else return cache.backt(backtiles[x]); }
    104104  foretile *get_fg(int x) { if (x<0 || x>=nforetiles || foretiles[x]<0)
    105                            return cash.foret(foretiles[BLACK]); else
    106                            return cash.foret(foretiles[x]); }
     105                           return cache.foret(foretiles[BLACK]); else
     106                           return cache.foret(foretiles[x]); }
    107107
    108108  void ftile_on(int screenx, int screeny, int32_t &x, int32_t &y);
Note: See TracChangeset for help on using the changeset viewer.