Wing Commander II
Reconstructed Win32 source (1996)
Loading...
Searching...
No Matches
vpfree.c File Reference

Frees a viewport. More...

#include "game.h"
#include <malloc.h>

Go to the source code of this file.

Functions

void free_viewport (Viewport *viewport)

Variables

int g_nViewportAllocationCount
unsigned char * g_apViewportAllocations [128]
int g_2_nFreeViewportCalls

Detailed Description

Frees a viewport.

Definition in file vpfree.c.

Function Documentation

◆ free_viewport()

Variable Documentation

◆ g_2_nFreeViewportCalls

int g_2_nFreeViewportCalls

Definition at line 53 of file vpfree.c.

Referenced by free_viewport().

◆ g_apViewportAllocations

unsigned char* g_apViewportAllocations[128]

Definition at line 52 of file vpfree.c.

Referenced by AllocateViewport(), free_viewport(), and ValidateViewportBounds().

◆ g_nViewportAllocationCount

int g_nViewportAllocationCount

Definition at line 51 of file vpfree.c.

Referenced by AllocateViewport(), free_viewport(), and ValidateViewportBounds().