source: abuse/trunk/src/lcache.h @ 500

Last change on this file since 500 was 500, checked in by Sam Hocevar, 9 years ago

cache: get rid of the lisp cache code, it cannot be used properly as
it conflicts with the garbage collector: cached data contains pointers
that would need to be updated at each collect.

  • Property svn:keywords set to Id
File size: 559 bytes
Line 
1/*
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *  Copyright (c) 2005-2011 Sam Hocevar <sam@hocevar.net>
5 *
6 *  This software was released into the Public Domain. As with most public
7 *  domain software, no warranty is made or implied by Crack dot Com or
8 *  Jonathan Clark.
9 */
10
11#ifndef __LCACHE_HPP_
12#define __LCACHE_HPP_
13#include "lisp.h"
14
15// return number of bytes to save this block of code
16size_t block_size(LObject *level);
17void write_level(bFILE *fp, LObject *level);
18LObject *load_block(bFILE *fp);
19
20#endif
21
Note: See TracBrowser for help on using the repository browser.