Search found 4373 matches

by albinopapa
August 8th, 2021, 1:15 am
Forum: Everything
Topic: My very first C++ game!!
Replies: 7
Views: 5016

Re: My very first C++ game!!

There should be a list of icons in the post. If it's a post by you, I believe it has to be your most recent post in that thread, then you should see an X to delete it.
by albinopapa
July 24th, 2021, 5:46 pm
Forum: Everything
Topic: Can't Build Solution (Stuck on video #0)
Replies: 1
Views: 3316

Re: Can't Build Solution (Stuck on video #0)

Which version of Visual Studio did you install? The issue stems from the fact the Color class in Color.h has some constexpr methods including the constructors. In earlier versions of VS there are some conflicts which without change to the framework seem to go away with newer versions of VS. My advic...
by albinopapa
June 14th, 2021, 12:35 pm
Forum: Everything
Topic: Question about typedef template
Replies: 2
Views: 3106

Re: Question about typedef template

Double quotes qualify a variable with it's scope. In this case, it's requesting the Pipeline from the global scope ie the Pipeline<> template class which is aliased as Pipeline. The other alias is LightIndicatorPipeline made from Pipeline<SolidColorEffect>. The compiler might get confused and try us...
by albinopapa
June 5th, 2021, 11:04 am
Forum: Everything
Topic: Beginner Recursion Bullshit
Replies: 1
Views: 1929

Re: Beginner Recursion Bullshit

#include <iostream> int main(void) { { // extra scope to simulate function scope int i = 0; if (i < 3) { { // i = 0 scope int i = 1; if (i < 3) { { // i = 1 scope int i = 2; if (i < 3) { { // i = 2 scope int i = 3; if (i < 3) // i is not less than 3, skip { int i = 4; std::cout << i << std::endl; }...
by albinopapa
June 5th, 2021, 9:16 am
Forum: Everything
Topic: Chili DirectX Framework
Replies: 1
Views: 2126

Re: Chili DirectX Framework

Sounds like you might have downloaded the old framework. Where did you download it from? dxerr.h and dxerr.dll were part of the June 2010 DirectX SDK if I recall correctly, but I may be mistaken. In the newer framework from 2016 ( the other one was from like 2012 ) has chili modified versions of dxe...
by albinopapa
April 22nd, 2021, 7:46 am
Forum: Everything
Topic: overengineerd tutorial 10 rectangle
Replies: 4
Views: 2810

Re: overengineerd tutorial 10 rectangle

Your code looked so nice, I forgot where you were. LOL.

No worries, I wrote that after being up for way too long. Everything looks good, keep it up.
by albinopapa
April 21st, 2021, 11:51 am
Forum: Everything
Topic: overengineerd tutorial 10 rectangle
Replies: 4
Views: 2810

Re: overengineerd tutorial 10 rectangle

A few things to note here. Moved the DrawRect to the Graphics class since it's a generic draw procedure. This way you wouldn't have to recreate it every time you wanted to use it for some rect somewhere else other than Game. The addition of Point and Dimension is just to give more expression and fle...
by albinopapa
April 21st, 2021, 11:30 am
Forum: Everything
Topic: overengineerd tutorial 10 rectangle
Replies: 4
Views: 2810

Re: overengineerd tutorial 10 rectangle

Honestly, what you have looks good in general. For instance, if the Rect class was an abstract object then the usage would be fine. The only reason I say it like that is because you've pigeonholed the Rect class to a specific object and traditionally it would be more of a utility object. By keeping ...
by albinopapa
April 14th, 2021, 3:31 pm
Forum: Everything
Topic: Absolute Beginner Documenting C++ Progress [daily updates]
Replies: 4
Views: 5189

Re: Absolute Beginner Documenting C++ Progress [daily updates]

Oh man, I remember when Yumtard did this it was a lot of fun. How are things going Yumtard?
by albinopapa
April 8th, 2021, 10:30 pm
Forum: Everything
Topic: Dlls and ABI
Replies: 3
Views: 2743

Re: Dlls and ABI

crazy thing about name mangling is I think each compiler writer mangles names differently. C functions don't get mangled nearly as bad as C++ functions. each dll and exe are processes. memory allocated from one process isn't necessarily compatible from another process as you've stated. If you alloca...