2
* zbufferdatastruct_ext.h
4
* $Id: zbufferdatastruct.h,v 1.6 2005/04/18 19:36:34 ton Exp $
6
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
8
* This program is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU General Public License
10
* as published by the Free Software Foundation; either version 2
11
* of the License, or (at your option) any later version. The Blender
12
* Foundation also sells licenses for use in proprietary software under
13
* the Blender License. See http://www.blender.org/BL/ for information
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
21
* You should have received a copy of the GNU General Public License
22
* along with this program; if not, write to the Free Software Foundation,
23
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
26
* All rights reserved.
28
* The Original Code is: all of this file.
30
* Contributor(s): none yet.
32
* ***** END GPL/BL DUAL LICENSE BLOCK *****
35
#ifndef ZBUFFERDATASTRUCT_EXT_H
36
#define ZBUFFERDATASTRUCT_EXT_H
38
#include "zbufferdatastruct_types.h"
41
* Set memory and counters for a fresh z buffer
43
void initZbuffer(int linewidth);
46
* Release memory for the current z buffer
48
void freeZbuffer(void);
51
* Release previous buffer and initialise new buffer.
53
void resetZbuffer(void);
56
* Make a root for a memory block (internal)
58
RE_APixstrExt *addpsemainA(void);
61
* Release a memory chunk
68
RE_APixstrExt *addpseA(void);
71
* Add an object to a zbuffer entry.
73
void insertObject(int teller,
80
* Add a flat object to a zbuffer entry.
82
void insertFlatObject(RE_APixstrExt* ap,
89
* Add a flat object to a zbuffer entry, but don't do OSA entry testing.
91
void insertFlatObjectNoOsa(RE_APixstrExt* ap,