Search found 3982 matches

by albinopapa
January 27th, 2020, 8:23 am
Forum: Everything
Topic: What to do?
Replies: 28
Views: 529

Re: What to do?

Seems like I may have fallen a bit behind. The past week I haven't really touched the project due to fatigue. After a while, things start to run together and I don't know what I'm doing. So I am taking a break. I'll miss my self appointed deadline, but what can you do in situations like this really?...
by albinopapa
January 22nd, 2020, 6:16 pm
Forum: Everything
Topic: C++20 Ranges Makes My Wiener Feel Funny and I Like It
Replies: 3
Views: 92

Re: C++20 Ranges Makes My Wiener Feel Funny and I Like It

Not sure I like the "pipes", but I've read because of the order of operations defined for the C++ language, operator>> and operator<< wouldn't be usable in the same manner...disappointed.
by albinopapa
January 22nd, 2020, 6:09 pm
Forum: Everything
Topic: Intermediate Tutorial 21 Bonus part cannot build for x86 platform
Replies: 9
Views: 107

Re: Intermediate Tutorial 21 Bonus part cannot build for x86 platform

Damnit did I fuck something up >:[ I can't tell. It could be Visual Studio. I find it weird that SpriteEffect.h includes Graphics.h and Graphics.h includes SpriteEffect.h, and VS doesn't have a problem with this. I'm guessing because the inclusion of SpriteEffect.h doesn't interfere with the Graphi...
by albinopapa
January 22nd, 2020, 4:08 am
Forum: Everything
Topic: Intermediate Tutorial 21 Bonus part cannot build for x86 platform
Replies: 9
Views: 107

Re: Intermediate Tutorial 21 Bonus part cannot build for x86 platform

and what "extern template" means that we initiate DrawSprite in other place, you don't need to initiate once more, use the existed one. Is that right?
Yep, it tells the compiler that the specialized template definition is somewhere else and to use it instead of instantiating a new version.
by albinopapa
January 21st, 2020, 5:13 pm
Forum: Everything
Topic: Intermediate Tutorial 21 Bonus part cannot build for x86 platform
Replies: 9
Views: 107

Re: Intermediate Tutorial 21 Bonus part cannot build for x86 platform

If you have something like: #define NPOO 100 Then yes, but in this case it's just a flag that if defined before Graphics.h allow the template extern lines be shown, otherwise hide the lines of code. Developers use this technique to control compilation for different operating systems for example. #If...
by albinopapa
January 21st, 2020, 1:15 am
Forum: Everything
Topic: Intermediate Tutorial 21 Bonus part cannot build for x86 platform
Replies: 9
Views: 107

Re: Intermediate Tutorial 21 Bonus part cannot build for x86 platform

Well, you're right, it does not compile in x86 for some reason. I tried checking the properties and they are relatively the same. The issue seems to be with the order in which files are compiled. What I mean is the GOD_GRAPHICS macro is defined in GraphicsD.cpp. If you have made it this far in the s...
by albinopapa
January 20th, 2020, 10:13 am
Forum: Everything
Topic: What to do?
Replies: 28
Views: 529

Re: What to do?

11 days to go and I'm pretty sure I'm not going to make the deadline, even for the base mechanics. I finally started working on the Enemy# classes' behavior. Aside from architecture, design is another downfall of mine. I feel I'm not very creative, but I'm having fun and haven't burnt out yet so hop...
by albinopapa
January 20th, 2020, 9:41 am
Forum: Everything
Topic: Intermediate Tutorial 21 Bonus part cannot build for x86 platform
Replies: 9
Views: 107

Re: Intermediate Tutorial 21 Bonus part cannot build for x86 platform

If this is after the optimizations he made for std::vector and Debug, it's probably because you or he did not have "All Platforms" chosen in the project properties. I'm also not sure if all optimizations are available for x86, but it's been awhile since he went through and since I've seen it so I do...
by albinopapa
January 19th, 2020, 9:09 am
Forum: Everything
Topic: What to do?
Replies: 28
Views: 529

Re: What to do?

EnemyBehavior branch I don't know why this ended up on my EnemyBehavior branch when I made an MVC branch, but here's the current code thus far. As I said, nothing real exciting happening, but at least it's running...on my PC anyway. I'm not sure it will run on anything under Windows 10, or at the v...