Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 69102

C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.

4 votes

Alternative to entity system in a game engine?

Divide your world up into chunks. Store a linked list of entities in each chunk. When an entity moves out of a chunk, move it from one list to another. This allows you to pick out which chunks of ent …
Lucien's user avatar
  • 1,176
1 vote
0 answers
248 views

Error "glGenBuffers is ambiguous" in Eclipse Mars [closed]

I have called a function, which is part of OpenGL correctly. uint vboId; glGenBuffers(1, &vboId); This is definitely correct because the program successfully runs. The error shown when I hover ove …
Lucien's user avatar
  • 1,176
2 votes

Special Pathfinding Algorithm

A* will certainly work for this. Linked below is an excellent tutorial on how to implement it. 1) Add the starting square (or node) to the open list. 2) Repeat the following: a) Look for the lowest …
Lucien's user avatar
  • 1,176
4 votes
1 answer
698 views

Stored Textures in C++ Projects

I have executed the following command in order to store a texture (PNG) file in a C++ header file: xxd -i Texture.png Texture.h. How would I go about loading this texture into OpenGL? glEnable(GL_TE …
Lucien's user avatar
  • 1,176
2 votes
1 answer
2k views

Version 320 is not supported, SDL C++

I have the following four lines before I create the window. SDL_Init(SDL_INIT_VIDEO); SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); SDL_GL_SetAttribute(SDL_GL_CONTEXT …
Lucien's user avatar
  • 1,176