sureandrew / SexyAppFramework

The PopCap game framework, named SexyApp Framework, is a flexible high-level library that provides commonly required functions and reusable components, designed to facilitate rapid development of high-quality games.
59 stars 12 forks source link

Compatibility and other things for latest C++ syntax, VS builds, etc #1

Closed YalekW5435 closed 3 years ago

YalekW5435 commented 3 years ago

Being in the popcap community/Bejeweled community for over 12 years and wanted to start doing some stuff with this framework, but:

Is this framework even compatible with the latest version(s) of the C++ syntax, and which now in VS, needs to include library files in the framework (for the linker) in order for a project to build? Also, the framework is old, from 1995-2005, from the bygone era of Windows 95-XP. (XP people might luck out with this).

The projects ive tried building with this even with the framework set as a startup project with proper configurations all fail to build because of the above (and below issues).

Also, DirectDraw is bygone, and some D3D things need to be checked out, such as D3D11 and D3D12 support (which somehow the framework can allow even with the class variables mWidth and mHeight being able to be set to 4K maybe, because it can be any resolution which is a great start, as the framework somehow was ahead of its time with the infinite resolution settings you can set), and some other things. There is an issue with a D3D8 header as its trying to include a nonexistent header known as "d3d8caps.h". As to probably reason that, D3D8 is only a legacy component on some Win10 OS's.

Unsure though if this version of the framework (dating to 2016), fixes those issues.

I myself am not an expert at C++ but am aware enough to share these issues at forth. Even though the current is 1.30.

I am also unsure (and quite displeased) why this framework didnt make it to linux for the people there deserve this stuff.

So those are the things ive noticed with this current version.

BTW, I think "sureandrew" = Andrew Stein, from Popcap himself. :P.

YalekW5435 commented 3 years ago

To add on to the frameworks incompatibility: The current versions of Visual studio (I ofc am using vs2019 community)requires, and this is not an option, for every single .vcxproject, .vcproject, be upgraded and migrated to the latest standards and build requirements, regardless of what version you have. You cannot say no to this in VS2019 community. And if you jhit cancel, it will not open in those versions, just a blank IDE.

Theres a big problem with this and its because when you do that, some things get messed up and errors are caused. Some projects in this framework also fail to completely upgrade and migrate at all, due to their settings.

  1. And if you attempt to build anything with the settings configured the way they are, they will all fail, regardless. Sorry folks, but you probably wont be able to build anything past 2010. Even the tutorials and demos claim to help others build in the current configs. Even setting the startup projects to which the "local windows debugger" changes to "start" >> guess what? It aint building. Sorry to break the party to pieces, but this is how Visual studio had become since past 2010 or more. I did see a columns thing that was built with this and that guy was lucky to build with the settings he had, because of 2008 era stuff. But even opening that game, still required a massive update. It ruins everything.

Hopefully Sureandrew can fix this massive issue in disguise, because its making us feel empty and have no where to go.

YalekW5435 commented 3 years ago

cap1

YalekW5435 commented 3 years ago

Now: this does not mean your entire project will build. I was able to build both the framework (as lib), and my project with as much accuracy as possible, even on Windows 10.

But theres an even BIGGER problem with VS when it tried to execute the following: Note: I dont have any additional code added as of yet, only a background color to fill in the window's color as a dark grey.

image

and the reason being below:

image

Nothing more than the fact that WE CANNOT BE USING DIRECTDRAW ON WINDOWS 10.

YalekW5435 commented 3 years ago

And thus is why, at all costs, maintenance is 100% important. Its just like the linux kernel, YOU MUST KEEP IT MAINTENANCED.

rullinoiz commented 3 years ago

you're getting this for free and popcap hasn't made a real casual game since 2009