Search found 5 matches
- 24 Apr 2011, 14:56
- Forum: AI
- Topic: New CppInterface callback problem
- Replies: 15
- Views: 3030
Re: New CppInterface callback problem
thank you all for your answers, you helped me allot :)
- 23 Apr 2011, 13:56
- Forum: AI
- Topic: New CppInterface callback problem
- Replies: 15
- Views: 3030
Re: New CppInterface callback problem
just forking the thread kills the game, after removing the boost::thread the WriteChat function works inside HandleEvent. But how can I use the callback outside the HandleEvent oder the CppTestAi class? That still crashes the game. Setting it to public and use it from another class does a SIGSEGV.
- 23 Apr 2011, 10:53
- Forum: AI
- Topic: New CppInterface callback problem
- Replies: 15
- Views: 3030
New CppInterface callback problem
Hi, I'm trying to code a simple threaded(boost) ai with the new Cpp interface (using the sample CCppTestAI from the git master) (I'm new to C++ normaly I code in C/C99) My Problem is that I cant use the callback outside of the cpptestai::CCppTestAI::HandleEvent function. I tried to use it out of a b...
- 23 Apr 2011, 07:40
- Forum: Help & Bugs
- Topic: spring uses no video memory?
- Replies: 10
- Views: 1323
Re: spring uses no video memory?
(correct me if I'm wrong) OpenGL is a API for writing 2,3D applications and it's on top of the hardware/driver. The usage of the video memory / frame buffer is on the driver/hardware side. So dcore221 it's more like your video driver isn't using all your video ram or there is not enough stuff to put...
- 22 Apr 2011, 21:41
- Forum: Help & Bugs
- Topic: [SOLVED]gcc 4.6 build problem
- Replies: 1
- Views: 1131
[SOLVED]gcc 4.6 build problem
Hi, at this morning I got the new source from the git(master last commit a4858bdaea472e2abb24b1372656f4b865f7c70a) and compiled successfully with cmake,make (gcc 4.5). But after upgrading to gcc 4.6 via pacman (archlinux) I got several build failures: FIRST but easy to fix: /spring/spring/rts/Render...