Search found 5 matches

by stagephrite
August 8th, 2014, 4:35 pm
Forum: Everything
Topic: Doc my penis isn't scaling !?!
Replies: 13
Views: 4995

Re: Doc my penis isn't scaling !?!

Most mouse wheels can be rotated slightly left and right as well as the obvious vertical rotation.....so i'd assume WM_MOUSEHWHEEL detects this.
by stagephrite
August 1st, 2014, 9:29 am
Forum: Everything
Topic: Advanced Lesson 2 .exe error
Replies: 3
Views: 2049

Re: Advanced Lesson 2 .exe error

The debug assertion error is because when you run the program via the IDE it is running in the "chili directx framework 2014......." folder which is where the dxf is so all is good....however when you run the exe directly it is running in the debug folder where there is no dxf file. So copying the d...
by stagephrite
July 18th, 2014, 4:12 am
Forum: Everything
Topic: Compiling problem lesson 8
Replies: 4
Views: 2371

Re: Compiling problem lesson 8

This is because you don't have microsoft visual c++ 2012 redistributable installed on the machine where you get the error. So you can either download and install that or find the folder where msvcr120.dll is located on the computer with visual studio installed and copy all the dll's in that folder i...
by stagephrite
July 17th, 2014, 3:54 pm
Forum: Everything
Topic: Cool Idea - Implementation?
Replies: 10
Views: 5060

Re: Cool Idea - Implementation?

I'd use unsigned shorts(or signed shorts if you feel you need the negative values) to store the x and y in pixeldata, a range of 0 - 65,535(for unsigned) or –32,768 to 32,767(for signed) should be more than enough and you'll be saving 4 bytes of memory per pixel.
by stagephrite
July 10th, 2014, 5:59 pm
Forum: Everything
Topic: Very confused - Platformer
Replies: 6
Views: 2562

Re: Very confused - Platformer

The problem is that the destructor of D3DGraphics is being called for each instance of a surface. This is because you are giving each surface a separate copy of gfx(also creating separate copies of its member pointers.) This means that when each surface deletes its own gfx instance, because its own ...