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

Last change on this file since 528 was 500, checked in by Sam Hocevar, 11 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
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
4 *  Copyright (c) 2005-2011 Sam Hocevar <>
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 */
11#ifndef __LCACHE_HPP_
12#define __LCACHE_HPP_
13#include "lisp.h"
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);
Note: See TracBrowser for help on using the repository browser.