Search found 255 matches

by Mitten.O
Tue Dec 23, 2014 6:39 pm
Forum: Programming
Topic: A reckless adventure with OpenGL
Replies: 91
Views: 5633

Re: A reckless adventure with OpenGL

em3 wrote:Deleting a NULL pointer is valid code in c++ (a no-op).
I suppose this fact make the patch somewhat irrelevant. (Not that I still feel quite comfortable with deleting NULLs).
by Mitten.O
Sat Dec 20, 2014 11:38 am
Forum: Programming
Topic: Crash on OSX with r7787 build: deadlock in parser lib
Replies: 28
Views: 2271

Re: Crash on OSX with r7787 build: deadlock in parser lib

I tried the fix that worked last time this occurred and replaced the function with static variables in value_ref_parser in IntValueRefParser.cpp and DoubleValueRefParser.cpp (get_int_parser_rules and get_double_parser_rules, respectively) with unprotected global variables. This resolved the static i...
by Mitten.O
Wed Dec 17, 2014 9:03 pm
Forum: Programming
Topic: [patch] Graphical Combat Summary
Replies: 52
Views: 4334

Re: [patch] Graphical Combat Summary

I have not encountered any situations like those in Bigjoe5s mockups in actual games, and feel that they are somewhat contrived, but on a theoretical level, he does have a point. He is at least correct in that this sort of thing is best formulated through discussion. A good balance between conveying...
by Mitten.O
Mon Dec 15, 2014 4:53 pm
Forum: Support
Topic: [bugreport and workaround] Fedora 20, 7.1 surround sound
Replies: 1
Views: 658

Re: [bugreport and workaround] Fedora 20, 7.1 surround sound

It's very good of you to provide this information despite having solved the problem for yourself. Thank you.
by Mitten.O
Mon Dec 15, 2014 4:48 pm
Forum: Programming
Topic: [patch] Graphical Combat Summary
Replies: 52
Views: 4334

Re: [patch] Graphical Combat Summary

The total width of the living ships.
by Mitten.O
Wed Dec 10, 2014 8:19 pm
Forum: Support
Topic: no text / invisible font [SVN 7768 + 7781] - solved
Replies: 26
Views: 2716

Re: no text / invisible font [SVN 7768 + 7781]

@Mitten.O: These issues seem to be related to your VBO patch, any idea what might go wrong here? Not really. My OpenGL-fu is still fairly shallow. I can debug problems when I see them, but speculating on them remotely is harder. With sufficient data I may be able to figure something out (read: come...
by Mitten.O
Wed Dec 10, 2014 7:30 pm
Forum: Play-Testing Feedback
Topic: Ships bombarding a defenseless planet instead of fighting
Replies: 12
Views: 1090

Re: Ships bombarding a defenseless planet instead of fightin

One more point: I actually think it is good that is harder to defeat a sentinel around a native planet than a lone sentinel. It makes sense balance wise.
by Mitten.O
Tue Dec 09, 2014 8:02 pm
Forum: Programming
Topic: [patch] Graphical Combat Summary
Replies: 52
Views: 4334

Re: [patch] Graphical Combat Summary

An interesting approach, but that way, the health of the fleet is shown by nothing.
by Mitten.O
Thu Dec 04, 2014 6:36 pm
Forum: Programming
Topic: [patch] Tech Tree Arc Caching
Replies: 7
Views: 951

Re: [patch] Tech Tree Arc Caching

Let this not be forgotten without some thought. Are those numbers higher with the patch? Lower? Same? Opinions on this otherwise?
by Mitten.O
Tue Dec 02, 2014 6:44 pm
Forum: Programming
Topic: A reckless adventure with OpenGL
Replies: 91
Views: 5633

Re: A reckless adventure with OpenGL

Not pointless. Someone may try to use a reference to the class after it has been deleted and before other data has been written to the memory. Doing things that make that easy to notice when debugging can be good. Of course, TextControl is sometimes validly in a state without the cache, which weaken...
by Mitten.O
Mon Dec 01, 2014 6:13 pm
Forum: Programming
Topic: A reckless adventure with OpenGL
Replies: 91
Views: 5633

Re: A reckless adventure with OpenGL

Still couldn't reproduce, but found a potential cause. TextControl isn't checking if it has a cache before deleting it. Good idea to fix that whether or not it fixes the problem.
by Mitten.O
Mon Dec 01, 2014 5:48 pm
Forum: Play-Testing Feedback
Topic: Thanks for a great game
Replies: 24
Views: 1397

Re: Thanks for a great game

One solution to that, that we've discussed before, is having a toggle (default on on release versions, off on test versions) that the tech tree only displays a "standard" or "straightforward" tech tree and takes out the more in depth but confusing stuff that you won't want on first playthrough. Eve...
by Mitten.O
Sun Nov 30, 2014 9:37 pm
Forum: Programming
Topic: A reckless adventure with OpenGL
Replies: 91
Views: 5633

Re: A reckless adventure with OpenGL

Couldn't reproduce. Found a different exit issue, though. (See other thread) How possible is it to try valgrind on windows?
by Mitten.O
Sun Nov 30, 2014 8:41 pm
Forum: Programming
Topic: [patch] Fix segfault on exit
Replies: 3
Views: 457

[patch] Fix segfault on exit

ObjectListBox uses a custom Row object for a header row and maintains a pointer to it. It was deleting it trough the pointer despite giving it to ListBox, which deletes it also, resulting in a segfault on deconstruction.