Search found 250 matches

by BurakCanik
May 10th, 2017, 6:14 pm
Forum: Everything
Topic: Circular Class Dependency
Replies: 10
Views: 4792

Re: Circular Class Dependency

Cool, just what I needed. ComPtr<> is a nice touch too, I was using those but wasn't clear on some things like passing them to functions etc. I'm gonna tinker with your framework for now I think :D
by BurakCanik
May 10th, 2017, 12:51 pm
Forum: Everything
Topic: Circular Class Dependency
Replies: 10
Views: 4792

Re: Circular Class Dependency

Yeah I'm using forward declarations all over the place as you said. Both solutions work, I failed to add that part to my post :D Using another System class is an intriguing idea, but I liked having the MainWindow own the message loop. I'll give this a thought but it seems like a logical solution. Th...
by BurakCanik
May 9th, 2017, 8:12 pm
Forum: Everything
Topic: Circular Class Dependency
Replies: 10
Views: 4792

Circular Class Dependency

Okay So I'm writing a little framework of my own, you know stealing stuff from a bunch of places including chili. Anyways I've got a little problem of circular class dependency. I have these 3 classes: Framework, GraphicsEngine and MainWindow. Framework owns the GraphicsEngine and also has a referen...
by BurakCanik
March 5th, 2017, 8:19 pm
Forum: Everything
Topic: VS2015 Generates Slow Code (Again...)
Replies: 5
Views: 2554

Re: VS2015 Generates Slow Code (Again...)

While your fix seems to have worked, the performance is still at the level of the old compilers, which isn't OPTIMAL , however, in your case I think it'll work. Exactly. I don't have to wait 15+ seconds when I run the demo in DEBUG build, instead I wait for ~3.3 seconds so that's good. But still it...
by BurakCanik
March 5th, 2017, 10:51 am
Forum: Everything
Topic: VS2015 Generates Slow Code (Again...)
Replies: 5
Views: 2554

Re: VS2015 Generates Slow Code (Again...)

A way to dramatically increase debug build performance of visual studio: https://randomascii.wordpress.com/2011/07/22/visual-c-debug-buildsfast-checks-cause-5x-slowdowns/ The part that immediately worked wonders for me: Update 2, Sep 2013: the slowdown is triggered by a combination of Runtime Checks...
by BurakCanik
March 4th, 2017, 12:16 pm
Forum: Everything
Topic: VS2015 Generates Slow Code (Again...)
Replies: 5
Views: 2554

VS2015 Generates Slow Code (Again...)

I'm back again with another rant. There was this: http://www.planetchili.net/forum/viewtopic.php?f=3&t=3343&hilit=vs2015 Now I'm having a similar problem. I have a heightmap that has 2049 x 2049 elements. There is a simple smoothing function that is simply averaging each element's value with its clo...
by BurakCanik
March 3rd, 2017, 3:54 pm
Forum: Everything
Topic: Help with linked lists
Replies: 5
Views: 2503

Re: Help with linked lists

Adding to Chili's reply, a quote from "Game Programming Patterns" (great book by the way, shout out to AlbinoPapa for recommending it): "Life is too short to code linked lists from scratch."
by BurakCanik
March 3rd, 2017, 3:46 pm
Forum: Everything
Topic: Help me by playing with my Snake!
Replies: 4
Views: 2221

Re: Help me by playing with my Snake!

Snake's speed is giving me cancer! I didn't have much time so I couldn't play for long, will give it a go again later. By the way, maybe you've tried it already but if you are suspecting that segment spacing fill is the cause of said bug here, I suggest drawing those filling pixels in a different (a...
by BurakCanik
March 3rd, 2017, 3:32 pm
Forum: Everything
Topic: Did Any Of You Guys Felt Like Noobs When You Started?
Replies: 21
Views: 9889

Re: Did Any Of You Guys Felt Like Noobs When You Started?

I've read a nice blog post. It's about higher education in the game industry actually but the last paragraph sums up what I said previously. And I think the overall post might actually answer questions some of us may have regarding game industry career/education choices, so I'm posting the link belo...
by BurakCanik
March 3rd, 2017, 3:10 pm
Forum: Everything
Topic: Help me by playing with my Snake!
Replies: 4
Views: 2221

Re: Help me by playing with my Snake!

That is one kinky thread title.