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

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

lisp: refactor the cache system.

  • Property svn:keywords set to Id
File size: 654 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#ifdef SCADALISP
16#define can_cache_lisp() 0
17#else
18#define can_cache_lisp() 0 /* XXX */
19#endif
20
21// return number of bytes to save this block of code
22size_t block_size(LObject *level);
23void write_level(bFILE *fp, LObject *level);
24LObject *load_block(bFILE *fp);
25
26#endif
27
Note: See TracBrowser for help on using the repository browser.