OMFG, ok after killing myself I have found out that my hardware does not support rotations for direct draw and that DirectX which is suppost to emulate things, does emulate things, all things BUT...
Type: Posts; User: Diamonds
OMFG, ok after killing myself I have found out that my hardware does not support rotations for direct draw and that DirectX which is suppost to emulate things, does emulate things, all things BUT...
ok i was using the wrong type of structure now I am using DDBLTFX as a structure for the rotation variable, it init's fine, but now the blt is failing.
HRESULT h;
RECT rc =...
ok i've got this started..
DirectDraw has a datastructure with a number of effects stored which is passed into the function blt
i am having trouble getting the structure init'ed.
...
I'm looking for someone who might have wrote code or knows of a lib function within direct draw (8.0) that will rotate a bitmap. I am trying to get an arrow bitmap to rotate in 360 degree circle.
^
oh no way, neat-o that is...
btw, sang-drax do you think you could help me w/ this direct input strange-ness?
http://cboard.cprogramming.com/showthread.php?s=&threadid=40895
what's the registry stuff for?
the code should look something like this
ofstream cFile("name of file.txt");
cFile<<string<<"\n"; // \n is a return
I've made a program using Direct Input from this webpage: http://sunlightd.virtualave.net/default2.htm . Using their tutorials and code, I've been able to map keys to do different things.
The code...
forget it, foudn it
i'm going to get really yelled at for this :)
void main() {
10 //beinging
//end
goto 10;
}
class Property {
public:
Property();
void operator >>(Property p);
private:
char *owner[256];
};
Property::Property() {}
quicksort, non-recursive I feel would help...
if you use the recursive version on such a large pile, you might have speed problems.
btw, the sort is in the standard library
...
I have two classes, 1 base, and 1 the child. The base has a function print, so does the child.
Base:
class Property {
public:
Property();
char *getAddress();
void setAddress(char *s);
found it
in the 4 for loops the j loop was incrementing i...
but why would the program not print anyways?
I use cout<<"something"; to find a location as to where the program is crashing. However, they don't print even though the debugger says the program crashes at a line after the cout<<"something";
...
given two pointers :
int *p1;
int *p2;
p1 = new int[10];
memcpy(p2,p1,sizeof(p1));
thnx cela
pardon my mistake, thought i was in C++
must have been a wrong click
that makes sense.
would i have to use:
sizeof(&array) / sizeof(&array[0]);
in the function to get 10 as the length?
#include <iostream.h>
#include <stdlib.h>
#include <time.h>
void printArray(int array[]) {
cout<<"size of array: "<<sizeof(array)<<endl;
for (int i=0;i<sizeof(array);i++) ...
are you using:
cout<<"string"<<endl;
rather than
cout<<"string\n";
don't use cin
instead you'll need the program to read the keyboard buffer for 'p'
if it is pressed, paused
if not, do nothing
put that in the playmovie() function
if you have a program that runs in the 'promt' then it's a consol application, and by defination it must have the consol up to run.
If you use a Win API program you can throw it to the task bar,...
well, lemme tell you my problem, and hopefully you can suggest something.
I want to only preform an operation after 30 miliseconds. I have the theory drawn out where I would get the time, then do...