Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

PureGDK / Sample project for Windowed or Fullscreen...

Author
Message
WLGfx
16
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 28th Aug 2011 16:50 Edited at: 28th Aug 2011 16:51
Attached is a sample startup project for anyone who is just starting out with PureGDK.

It allows you to have your own debugging (trace) as well as visual studios, you can cheat with OO style global vars, and a cleanup facility.

Okay, a few things need to be added:

1. The dialogue for changing the screen prefs. (50% done)
2. A few more checks on the system calls.

prefs.cpp

To change resolution, delete "prefs.zzz" and change these values.

I will update this code as I start to make some improvements.

Fingers crossed this 'will' actually help someone too.

Warning! May contain Nuts!

Attachments

Login to view attachments
Siege1975
19
Years of Service
User Offline
Joined: 27th Jul 2004
Location: UK - Wiltshire
Posted: 2nd Oct 2011 06:23
Don't suppose you'd be willing to convert that into PureBasic?

I've tried and tried but I just don't understand C or it's derivations. Which is a real pain in the ... for me. Total blind spot apparently.

WLGfx
16
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 4th Oct 2011 01:20
I've never used PureBasic before but from what I can see it is a very good compiled language. The above file has since been updated so that now I can use a windows gui form inside my program so that the screen prefs can be changed.

Mental arithmetic? Me? (That's for computers) I can't subtract a fart from a plate of beans!
Warning! May contain Nuts!

Login to post a reply

Server time is: 2024-04-25 21:56:11
Your offset time is: 2024-04-25 21:56:11