Search found 85 matches

by Rebornxeno
Thu Oct 10, 2013 7:52 pm
Forum: Programming Discussion
Topic: Windows.h
Replies: 11
Views: 7742

Re: Windows.h

Your words have not fallen on blind eyes, ol' buddy ol' pal. However, I can see I did not get my question across clearly enough. In terms of programming using the windows api, I've almost done it all, from making a message loop to device drivers. What I want to learn is how #including a header, that...
by Rebornxeno
Wed Oct 09, 2013 11:52 pm
Forum: Programming Discussion
Topic: Windows.h
Replies: 11
Views: 7742

Windows.h

Yo yo wadup dawgz. Rebx in da hizouse! I want to see what really happens when I include files in my programs that let me access parts of my operating system, so I go digging around and I find that all the real meat of what happens is hidden away in A bunch of dll files. What am I spose to do? Am I t...
by Rebornxeno
Thu Jun 27, 2013 4:03 pm
Forum: Programming Discussion
Topic: Safe Division
Replies: 12
Views: 8137

Re: Safe Division

I've been looking for just this! Thanks!
by Rebornxeno
Sun Jun 23, 2013 4:34 pm
Forum: Programming Discussion
Topic: Probability Generator
Replies: 5
Views: 3573

Re: Probability Generator

Oh it returns true or false. I get it now.
by Rebornxeno
Sun Jun 23, 2013 11:56 am
Forum: Programming Discussion
Topic: Probability Generator
Replies: 5
Views: 3573

Re: Probability Generator

How does the "< successrate;" part work?
by Rebornxeno
Sat Jun 22, 2013 6:13 pm
Forum: Programming Discussion
Topic: Probability Generator
Replies: 5
Views: 3573

Re: Probability Generator

How does the < successrate part work?
by Rebornxeno
Fri Jun 21, 2013 3:42 pm
Forum: Programming Discussion
Topic: Header files
Replies: 10
Views: 22666

Re: Header files

Yep! I just got through reading that myself, fixed it, and the warnings are gone. I can't tell you how annoying 300 warnings are. Thanks for the help!
by Rebornxeno
Fri Jun 21, 2013 3:19 pm
Forum: Programming Discussion
Topic: Header files
Replies: 10
Views: 22666

Re: Header files

I'm getting macro redefinition warnings, like 300 of them. Huge pain in my ass every time I recompile. I could probably fix it if my ide told me where the first and second definitions were, but it only tells me "warning C4005: 'DXGI_STATUS_OCCLUDED' : macro redefinition". Double clicking t...
by Rebornxeno
Fri Jun 21, 2013 2:51 pm
Forum: Game Development
Topic: Software Engineering Philosophical Crisis
Replies: 11
Views: 18389

Re: Software Engineering Philosophical Crisis

I haven't inherited or used polymorphism ever. I have used templates, but that's about as morphism as it is for me. It seems to me that those things limit, instead of enhance. I use c++ though I don't use a lot of those extra features it comes with. I might as well be using c. I have a class that do...
by Rebornxeno
Fri Jun 21, 2013 2:44 pm
Forum: Programming Discussion
Topic: Header files
Replies: 10
Views: 22666

Re: Header files

Are you sure that works? I have a file with #pragma once and #ifdef guards and I'm still getting macro redefinitions.
by Rebornxeno
Fri Jun 21, 2013 1:50 pm
Forum: Programming Discussion
Topic: Header files
Replies: 10
Views: 22666

Re: Header files

What if instead of a struct, I had a #define. If I have to include that in every file, I'll get macro redefinitions. What then?
by Rebornxeno
Fri Jun 21, 2013 10:28 am
Forum: Programming Discussion
Topic: Header files
Replies: 10
Views: 22666

Header files

DataStrcture.h: struct Data { int a,b,c; } MakeData.h: Data MakeData(); MakeData.cpp: #include "MakeData.h" Data MakeData() { Data d; d.a = 1; d.b = 2; d.c = 3; return d; } Main.cpp: #include "DataStrcture.h" #include "MakeData.h" main(argc, argv[]) { Data d = MakeData...
by Rebornxeno
Tue Jun 18, 2013 4:03 pm
Forum: Programming Discussion
Topic: Ray casting
Replies: 0
Views: 25939

Ray casting

Yo yo wadup elysian shadowzzzz What I want is to be able to cast a ray from the world-space position of any pixel on my screen into the orthogonal(i think) direction of which my view matrix is pointing. I have a left handed perspective matrix, a left handed view matrix. When I upload my matrices to ...
by Rebornxeno
Sat Mar 16, 2013 1:01 pm
Forum: Game Development
Topic: Head Tracking VR Just Seems Off...
Replies: 9
Views: 6817

Re: Head Tracking VR Just Seems Off...

I get the feeling that the head tracking is no different than using a mouse and keyboard to move around. Instead of mouse and keyboard, it goes by your head. So imagine in a game, instead of looking around when you moved the mouse left and right, you could only strafe. That is what it looks like you...
by Rebornxeno
Sat Mar 16, 2013 9:47 am
Forum: Game Development
Topic: Head Tracking VR Just Seems Off...
Replies: 9
Views: 6817

Re: Head Tracking VR Just Seems Off...

Tweaking it to look right will be hard if you don't quite know what right is. Do you already have in mind what you are trying to accomplish, and how the current version doesn't match up with it? If you can answer that, then figuring out what is wrong will be a lot easier.