/***************************************************************************
*
* GLee.c
* GLee (OpenGL Easy Extension library)
* Version : 5.21
*
* Copyright (c)2006 Ben Woodhouse All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer as
* the first lines of this file unmodified.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY BEN WOODHOUSE ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
* IN NO EVENT SHALL BEN WOODHOUSE BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* Web: http://elf-stone.com/glee.php
*
* [This file was automatically generated by GLeeGen 5.21
*
***************************************************************************/
#ifdef _MSC_VER
#pragma optimize( "g", off )
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "GLee.h"
#if defined(__APPLE__) || defined(__APPLE_CC__)
#include <Carbon/Carbon.h>
#endif
typedef GLuint(*GLEE_LINK_FUNCTION)(void);
GLboolean __GLeeInited=GL_FALSE;
#ifndef _WIN32
#define __stdcall /* nothing */
#endif
void * __GLeeGetProcAddress(const char *extname)
{
#ifdef WIN32
return (void*)wglGetProcAddress(extname);
#elif defined(__APPLE__) || defined(__APPLE_CC__)
CFBundleRef bundle;
CFURLRef bundleURL = CFURLCreateWithFileSystemPath(kCFAllocatorDefault, CFSTR("/System/Library/Frameworks/OpenGL.framework"), kCFURLPOSIXPathStyle, true);
CFStringRef functionName = CFStringCreateWithCString(kCFAllocatorDefault, extname, kCFStringEncodingASCII);
void *function;
bundle = CFBundleCreate(kCFAllocatorDefault, bundleURL);
assert(bundle != NULL);
function = CFBundleGetFunctionPointerForName(bundle, functionName);
CFRelease(bundleURL);
CFRelease(functionName);
CFRelease(bundle);
return function;
#else
return (void*)glXGetProcAddressARB((const GLubyte *)extname);
#endif
}
/* Extension querying variables */
GLboolean _GLEE_VERSION_1_2 = GL_FALSE;
GLboolean _GLEE_ARB_imaging = GL_FALSE;
GLboolean _GLEE_VERSION_1_3 = GL_FALSE;
GLboolean _GLEE_VERSION_1_4 = GL_FALSE;
GLboolean _GLEE_VERSION_1_5 = GL_FALSE;
GLboolean _GLEE_VERSION_2_0 = GL_FALSE;
GLboolean _GLEE_VERSION_2_1 = GL_FALSE;
GLboolean _GLEE_ARB_multitexture = GL_FALSE;
GLboolean _GLEE_ARB_transpose_matrix = GL_FALSE;
GLboolean _GLEE_ARB_multisample = GL_FALSE;
GLboolean _GLEE_ARB_texture_env_add = GL_FALSE;
GLboolean _GLEE_ARB_texture_cube_map = GL_FALSE;
GLboolean _GLEE_ARB_texture_compression = GL_FALSE;
GLboolean _GLEE_ARB_texture_border_clamp = GL_FALSE;
GLboolean _GLEE_ARB_point_parameters = GL_FALSE;
GLboolean _GLEE_ARB_vertex_blend = GL_FALSE;
GLboolean _GLEE_ARB_matrix_palette = GL_FALSE;
GLboolean _GLEE_ARB_texture_env_combine = GL_FALSE;
GLboolean _GLEE_ARB_texture_env_crossbar = GL_FALSE;
GLboolean _GLEE_ARB_texture_env_dot3 = GL_FALSE;
GLboolean _GLEE_ARB_texture_mirrored_repeat = GL_FALSE;
GLboolean _GLEE_ARB_depth_texture = GL_FALSE;
GLboolean _GLEE_ARB_shadow = GL_FALSE;
GLboolean _GLEE_ARB_shadow_ambient = GL_FALSE;
GLboolean _GLEE_ARB_window_pos = GL_FALSE;
GLboolean _GLEE_ARB_vertex_program = GL_FALSE;
GLboolean _GLEE_ARB_fragment_program = GL_FALSE;
GLboolean _GLEE_ARB_vertex_buffer_object = GL_FALSE;
GLboolean _GLEE_ARB_occlusion_query = GL_FALSE;
GLboolean _GLEE_ARB_shader_objects = GL_FALSE;
GLboolean _GLEE_ARB_vertex_shader = GL_FALSE;
GLboolean _GLEE_ARB_fragment_shader = GL_FALSE;
GLboolean _GLEE_ARB_shading_language_100 = GL_FALSE;
GLboolean _GLEE_ARB_texture_non_power_of_two = GL_FALSE;
GLboolean _GLEE_ARB_point_sprite = GL_FALSE;
GLboolean _GLEE_ARB_fragment_program_shadow = GL_FALSE;
GLboolean _GLEE_ARB_draw_buffers = GL_FALSE;
GLboolean _GLEE_ARB_texture_rectangle = GL_FALSE;
GLboolean _GLEE_ARB_color_buffer_float = GL_FALSE;
GLboolean _GLEE_ARB_half_float_pixel = GL_FALSE;
GLboolean _GLEE_ARB_texture_float = GL_FALSE;
GLboolean _GLEE_ARB_pixel_buffer_object = GL_FALSE;
GLboolean _GLEE_EXT_abgr = GL_FALSE;
GLboolean _GLEE_EXT_blend_color = GL_FALSE;
GLboolean _GLEE_EXT_polygon_offset = GL_FALSE;
GLboolean _GLEE_EXT_texture = GL_FALSE;
GLboolean _GLEE_EXT_texture3D = GL_FALSE;
GLboolean _GLEE_SGIS_texture_filter4 = GL_FALSE;
GLboolean _GLEE_EXT_subtexture = GL_FALSE;
GLboolean _GLEE_EXT_copy_texture = GL_FALSE;
GLboolean _GLEE_EXT_histogram = GL_FALSE;
GLboolean _GLEE_EXT_convolution = GL_FALSE;
GLboolean _GLEE_SGI_color_matrix = GL_FALSE;
GLboolean _GLEE_SGI_color_table = GL_FALSE;
GLboolean _GLEE_SGIS_pixel_texture = GL_FALSE;
GLboolean _GLEE_SGIX_pixel_texture = GL_FALSE;
GLboolean _GLEE_SGIS_texture4D = GL_FALSE;
GLboolean _GLEE_SGI_texture_color_table = GL_FALSE;
GLboolean _GLEE_EXT_cmyka = GL_FALSE;
GLboolean _GLEE_EXT_texture_object = GL_FALSE;
GLboolean _GLEE_SGIS_detail_texture = GL_FALSE;
GLboolean _GLEE_SGIS_sharpen_texture = GL_FALSE;
GLboolean _GLEE_EXT_packed_pixels = GL_FALSE;
GLboolean _GLEE_SGIS_texture_lod = GL_FALSE;
GLboolean _GLEE_SGIS_multisample = GL_FALSE;
GLboolean _GLEE_EXT_rescale_normal = GL_FALSE;
GLboolean _GLEE_EXT_vertex_array = GL_FALSE;
GLboolean _GLEE_EXT_misc_attribute = GL_FALSE;
GLboolean _GLEE_SGIS_generate_mipmap = GL_FALSE;
GLboolean _GLEE_SGIX_clipmap = GL_FALSE;
GLboolean _GLEE_SGIX_shadow = GL_FALSE;
GLboolean _GLEE_SGIS_texture_edge_clamp = GL_FALSE;
GLboolean _GLEE_SGIS_texture_border_clamp = GL_FALSE;
GLboolean _GLEE_EXT_blend_minmax = GL_FALSE;
GLboolean _GLEE_EXT_blend_subtract = GL_FALSE;
GLboolean _GLEE_EXT_blend_logic_op = GL_FALSE;
GLboolean _GLEE_SGIX_interlace = GL_FALSE;
GLboolean _GLEE_SGIX_pixel_tiles = GL_FALSE;
GLboolean _GLEE_SGIS_texture_select = GL_FALSE;
GLboolean _GLEE_SGIX_sprite = GL_FALSE;
GLboolean _GLEE_SGIX_texture_multi_buffer = GL_FALSE;
GLboolean _GLEE_EXT_point_parameters = GL_FALSE;
GLboolean _GLEE_SGIS_point_parameters = GL_FALSE;
GLboolean _GLEE_SGIX_instruments = GL_FALSE;
GLboolean _GLEE_SGIX_texture_scale_bias = GL_FALSE;
GLboolean _GLEE_SGIX_framezoom = GL_FALSE;
GLboolean _GLEE_SGIX_tag_sample_buffer = GL_FALSE;
GLboolean _GLEE_FfdMaskSGIX = GL_FALSE;
GLboolean _GLEE_SGIX_polynomial_ffd = GL_FALSE;
GLboolean _GLEE_SGIX_reference_plane = GL_FALSE;
GLboolean _GLEE_SGIX_flush_raster = GL_FALSE;
GLboolean _GLEE_SGIX_depth_texture = GL_FALSE;
GLboolean _GLEE_SGIS_fog_function = GL_FALSE;
GLboolean _GLEE_SGIX_fog_offset = GL_FALSE;
GLboolean _GLEE_HP_image_transform = GL_FALSE;
GLboolean _GLEE_HP_convolution_border_modes = GL_FALSE;
GLboolean _GLEE_INGR_palette_buffer = GL_FALSE;
GLboolean _GLEE_SGIX_texture_add_env = GL_FALSE;
GLboolean _GLEE_EXT_color_subtable = GL_FALSE;
GLboolean _GLEE_PGI_vertex_hints = GL_FALSE;
GLboolean _GLEE_PGI_misc_hints = GL_FALSE;
GLboolean _GLEE_EXT_paletted_texture = GL_FALSE;
GLboolean _GLEE_EXT_clip_volume_hint = GL_FALSE;
GLboolean _GLEE_SGIX_list_priority = GL_FALSE;
GLboolean _GLEE_SGIX_ir_instrument1 = GL_FALSE;
GLboolean _GLEE_SGIX_calligraphic_fragment = GL_FALSE;
GLboo
没有合适的资源?快使用搜索试试~ 我知道了~
2d游戏地图编辑器,
共419个文件
h:230个
cpp:165个
c:10个
需积分: 24 0 下载量 53 浏览量
2011-05-18
10:40:57
上传
评论
收藏 756KB RAR 举报
温馨提示
又是没资源分,随便提供一个2d游戏地图编辑器, 我也是网上down的,有用的拿去...
资源详情
资源评论
资源推荐
收起资源包目录
2d游戏地图编辑器, (419个子文件)
GLee.c 688KB
inftrees.c 16KB
infblock.c 12KB
infcodes.c 8KB
inflate.c 7KB
crc32.c 7KB
inffast.c 6KB
zutil.c 5KB
infutil.c 2KB
adler32.c 1KB
EditorScene.cpp 65KB
TerrainBrush.cpp 25KB
PraetoriansTerrainVisuals.cpp 24KB
TextureLoader.cpp 24KB
XMLParser.cpp 19KB
Shaders.cpp 19KB
TransformGroup.cpp 16KB
VillageLabScene.cpp 16KB
GUIPanel.cpp 15KB
NatureLabScene.cpp 15KB
JPEGLoader.cpp 15KB
StructureLabScene.cpp 14KB
CharacterLabScene.cpp 14KB
ShaderAttributes.cpp 14KB
CritterLabScene.cpp 14KB
Gateway.cpp 14KB
Index.cpp 14KB
FactoryPBA.cpp 14KB
Renderer.cpp 13KB
Window.cpp 13KB
BoundsDescriptor.cpp 13KB
GLCaps.cpp 12KB
BrushLabScene.cpp 12KB
TGALoader.cpp 11KB
GUIComboBox.cpp 11KB
Texture.cpp 11KB
WindowsManager.cpp 10KB
PraetoriansTerrainWater.cpp 10KB
DDSLoader.cpp 10KB
PraetoriansMissionScript.cpp 10KB
Radix3.cpp 9KB
BlockMemory.cpp 9KB
GUITabbedPanel.cpp 9KB
GUIRectangle.cpp 9KB
OptionsScene.cpp 8KB
NewmapScene.cpp 8KB
ImageExt.cpp 8KB
GUITextBox.cpp 8KB
String.cpp 8KB
Stage.cpp 8KB
Sprite.cpp 8KB
GUISlider.cpp 8KB
PraetoriansTerrainPasture.cpp 8KB
SpatialIndex.cpp 7KB
TextureCoordGenerator.cpp 7KB
FrameBufferObject.cpp 7KB
PraetoriansTerrainTextures.cpp 7KB
Transform3D.cpp 7KB
GLPBuffer.cpp 7KB
GUIClippedRectangle.cpp 7KB
WaterDatabase.cpp 6KB
Radix.cpp 6KB
Archive.cpp 6KB
Font.cpp 6KB
FileSystem.cpp 6KB
ModelDatabase.cpp 6KB
BlendAttributes.cpp 6KB
GUICheckBox.cpp 6KB
GUIText.cpp 6KB
Water.cpp 6KB
LoadmapScene.cpp 5KB
Spline.cpp 5KB
Appearance.cpp 5KB
Camera.cpp 5KB
Logger.cpp 5KB
PageFile.cpp 5KB
Perlin.cpp 5KB
DisplayMode.cpp 5KB
Frustum.cpp 5KB
Geometry.cpp 5KB
PraetoriansDataset.cpp 5KB
Image.cpp 5KB
Model.cpp 5KB
TileTextureCoords.cpp 4KB
TileGraphRenderer.cpp 4KB
PraetoriansWorldVisuals.cpp 4KB
AlphaAttributes.cpp 4KB
GUITexCoordDescriptor.cpp 4KB
Benchmark.cpp 4KB
TerrainDatabase.cpp 4KB
TileGraph.cpp 4KB
Scene.cpp 4KB
SoundManager.cpp 3KB
Material.cpp 3KB
GUIFrame.cpp 3KB
PraetoriansTerrainLogic.cpp 3KB
SceneManager.cpp 3KB
LogicViewer.cpp 3KB
TileRevealer.cpp 3KB
GUIMaterialSurface.cpp 3KB
共 419 条
- 1
- 2
- 3
- 4
- 5
flipcode
- 粉丝: 25
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- YOLOV4-TINY权重文件
- 以下是一个使用贪心算法解决多机调度问题的基本步骤0.txt
- 基于大数据的房产估价是近年来随着技术的发展而兴起的一种新型估价方法.txt
- 企业供应链管理系统v3.rar
- 富芮坤FR8016HA蓝牙开发板使用手册+硬件PCB图+封装库+DEMO演示软件源代码.zip
- 基于YOLOv7的芯片表面缺陷检测系统
- 京东物流 数字化供应链综合研究报告2018.rar
- 基于YOLOv7的植物虫害识别&防治系统
- 2000.1-2023.8中国经济政策不确定性指数月度数据.xlsx
- Screenshot_2024-04-21-20-42-15-443_com.tencent.mm.jpg
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0