¡@

Home 

c++ Programming Glossary: game

Write applications in C or C++ for Android? [closed]

http://stackoverflow.com/questions/1002164/write-applications-in-c-or-c-for-android

in C or C for Android closed I'm trying to develop port a game to Android but it's in C and Android supports Java but I'm sure..

C++ Vector of Pointers to Objects

http://stackoverflow.com/questions/1361139/c-vector-of-pointers-to-objects

no raw owning pointers in your code. As a default in a game I would probably go with std vector std shared_ptr T . We expect..

Get path of executable

http://stackoverflow.com/questions/1528298/get-path-of-executable

application was invoked. For a bit of background this is a game using Ogre which I'm trying to profile using Very Sleepy which.. executable from its own directory so of course on load the game finds no configuration files etc. and promptly crashes. I want..

C++ delete - It deletes my objects but I can still access the data?

http://stackoverflow.com/questions/1930459/c-delete-it-deletes-my-objects-but-i-can-still-access-the-data

access the data I have written a simple working tetris game with each block as an instance of a class singleblock. class.. tempBlock deleteBlock next delete deleteBlock The game works blocks are deleted correctly and everything functions..

Easy framework for OpenGL Shaders in C/C++

http://stackoverflow.com/questions/2795044/easy-framework-for-opengl-shaders-in-c-c

consider a 3D version of the ancient kill lots of targets games like Galaga or Centipede. For games like this you're creating.. kill lots of targets games like Galaga or Centipede. For games like this you're creating and destroying lots of essentially.. that so you maintain the same shaders through the entire game not just when a particular type of target is being shown. In..

Undefined reference to vtable

http://stackoverflow.com/questions/3065154/undefined-reference-to-vtable

pSettingsStore iID 0 szName g_pLogger Log Inside game module constructor m_pInterface pInterface virtual ~CGameModule..

Stack,Static and Heap in C++

http://stackoverflow.com/questions/408670/stack-static-and-heap-in-c

You can do this in non embedded as well and console games will frequently eschew the built in dynamic memory mechanisms.. then I'd stick with C . There is a reason that every major game engine that I've ever heard of is in C if not C or assembly..

How to determine if a string is a number with C++?

http://stackoverflow.com/questions/4654636/how-to-determine-if-a-string-is-a-number-with-c

a function that checks if a string is a number. For a game I am writing I just need to check if a line from the file I..

Fastest method of screen capturing

http://stackoverflow.com/questions/5069104/fastest-method-of-screen-capturing

priority. The screencasting program will be for recording game footage although if this does narrow down the options I'm still..

Should I learn C before learning C++? [closed]

http://stackoverflow.com/questions/598552/should-i-learn-c-before-learning-c

One was particularly good a sort of FPS asteroids game. I decided to take a peek in the src directory to find it was.. C code before. From what I saw in the .cpp code in this game it didn't look very different. I'm interested in learning either..

What's the best Free C++ Profiler for Windows?

http://stackoverflow.com/questions/67554/whats-the-best-free-c-profiler-for-windows

to find a free non intrusive good profiling tool. I'm a game developer and I use PIX for Xbox360 and found it very good but..

OpenGL define vertex position in pixels

http://stackoverflow.com/questions/7377912/opengl-define-vertex-position-in-pixels

vertex position in pixels I've been writing a 2D basic game engine in OpenGL C and learning everything as I go along. I'm..

What modern C++ libraries should be in my toolbox? [closed]

http://stackoverflow.com/questions/777764/what-modern-c-libraries-should-be-in-my-toolbox

should be in my toolbox closed I've been out of the C game for about 10 years and I want to get back in and start on a..

Check if a class has a member function of a given signature

http://stackoverflow.com/questions/87372/check-if-a-class-has-a-member-function-of-a-given-signature

that mess was 10 to 12 function invocation... and I'm a game developer. I need to define a custom behavior for classes that..

Need for predictable random generator

http://stackoverflow.com/questions/910215/need-for-predictable-random-generator

for predictable random generator I'm a web game developer and I got a problem with random numbers. Let's say.. our code to C so I want to solve this problem in our game's new engine. I don't know if the solution is some uniform random.. earlier answers that real randomness in small runs of some games is undesirable it does seem too unfair for some use cases...

I want to learn game development. Which language should I use? [closed]

http://stackoverflow.com/questions/1544903/i-want-to-learn-game-development-which-language-should-i-use

what the big engines and middleware are written in e.g. Gamebryo Unreal id tech FMOD Sound System the RAD Game tools stuff.. in e.g. Gamebryo Unreal id tech FMOD Sound System the RAD Game tools stuff etc. . Python is used in some games as a scripting.. games you might also consider Flash ActionScript Browser Games are also games and it's a big market or C# XNA although that..

How to deactivate input statement after some time?

http://stackoverflow.com/questions/18289635/how-to-deactivate-input-statement-after-some-time

EINTR errno perror read failed exit EXIT_FAILURE printf Game over n else alarm 0 Switch of alarm. printf You entered ' s'..

C++: Why can't I use float value as a template parameter?

http://stackoverflow.com/questions/2183087/c-why-cant-i-use-float-value-as-a-template-parameter

of non class type `int' I am reading Data Structures for Game Programmers by Ron Penton the author passes a float but when..

Repeated Multiple Definition Errors from including same header in multiple cpps

http://stackoverflow.com/questions/223771/repeated-multiple-definition-errors-from-including-same-header-in-multiple-cpps

is identical to the book I'm working with All In One Game Programming by John S. Harbour. I ran into the exact same problems..

Microsecond resolution timestamps on Windows

http://stackoverflow.com/questions/2414359/microsecond-resolution-timestamps-on-windows

of using a high resolution timer in the first place. Game Timing and Multicore Processors is a recommendation on how to..

Chipmunk Physics or Box2D for C++ 2D GameEngine?

http://stackoverflow.com/questions/2707106/chipmunk-physics-or-box2d-for-c-2d-gameengine

Physics or Box2D for C 2D GameEngine I'm developing what it's turning into a cross platform.. I'm developing what it's turning into a cross platform 2D Game Engine my initial platform target is iPhone OS but could move..

Need some feedback on how to make a class “thread-safe”

http://stackoverflow.com/questions/3482352/need-some-feedback-on-how-to-make-a-class-thread-safe

projects is a Tetris game. In this project I have a Game class that contains all game state data. It has methods for.. lowering it . At first I thought that I could make the Game class thread safe by adding a mutex member variable and lock.. calls. For example This is not thread safe. while game.isGameOver game.dropCurrentBlock One solution that I tried is adding..

Game Objects Talking To Each Other

http://stackoverflow.com/questions/4574016/game-objects-talking-to-each-other

Objects Talking To Each Other What is a good way of dealing..

Program is generating same random numbers on each run?

http://stackoverflow.com/questions/7592129/program-is-generating-same-random-numbers-on-each-run

cout Good job You chose x y endl score cout You hit a mine Game over endl cout Final score score endl getchar return EXIT_SUCCESS..

How do I select a range of values in a switch statement?

http://stackoverflow.com/questions/9432226/how-do-i-select-a-range-of-values-in-a-switch-statement

Enterprise C 2010. I'm learning from Beginning C Through Game Programming . c switch statement share improve this question..

Using SendMessage to enter text into an edit control belonging to another process

http://stackoverflow.com/questions/9984770/using-sendmessage-to-enter-text-into-an-edit-control-belonging-to-another-proces

in window mode. I'm doing this HWND hWnd FindWindow NULL Game HWND edit FindWindowEx hWnd NULL Edit NULL SendMessage edit.. Use spy to open the game process and once you are in Game's login window you will see that spy reports several threads..