Author Topic: source-code of "Wire" (entry from the reduced-resolution-challenge)  (Read 8700 times)

0 Members and 1 Guest are viewing this topic.

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1290
  • Karma: 466
    • View Profile
    • my stuff
So, this is the source code of my entry to the reduced-resolution-challenge (including visual studio project).
I cleaned the source up a bit, simplified some things and added some comments.
Still this is a bit hacked & messy here and there and is not meant as a tutorial.
You're expected to have at least some idea what C/C++ and OpenGL are. But even if you're a complete beginner it might be fun to turn on some of the parameters.
Music is not included for clarity (the original version used minifmod to play an xm-file and the tune can be found here).

If you don't understand some details please feel free to ask here.

Have fun!

« Last Edit: December 31, 2017 by Rbz »
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Yeah ... how cool. That deserves some K++
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline AnimalMother

  • btst #6,$bfe001
  • Atari ST
  • ***
  • Posts: 113
  • Karma: 7
    • View Profile
Thanks for sharing, something new to study K++

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Source code looks very well structured and clean.

I really like the encapsulation of the GLDevice class. Definately
a very solid code a lot of ppl should learn from in my eyes.
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Thanks!  Something to look at over the weekend :)

Jim
Challenge Trophies Won:

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Thanks a bunch for releasing this!
Challenge Trophies Won:

Offline Voltage

  • Professor
  • Pentium
  • *****
  • Posts: 857
  • Karma: 53
    • View Profile
Thanks Hellfire.  I'm already enjoying going over this code.

Karma++
Challenge Trophies Won:

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Does the C++ source still exist some where? as the link doesn't work anymore.

Cheers in advance,
Clyde.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1290
  • Karma: 466
    • View Profile
    • my stuff
I'm pretty sure it still exists soemwhere but unfortunately I don't have time to look after it right now.
Maybe someone else can find it before I do?
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2748
  • Karma: 492
    • View Profile
    • http://www.rbraz.com/
Done :)
I've attached it to hellfire's first post.
Challenge Trophies Won:

Offline ViL

  • Avocado lover 🥑
  • C= 64
  • **
  • Posts: 52
  • Karma: 1
    • View Profile
there was already a bump from 2008 to 2013 so i though why not?

the link has once more felt and now shows a 404 :c someone please can upload a mirror? :)

thanks a lot in advance!~ i was hyped to study hellfire's of this demo :D

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2748
  • Karma: 492
    • View Profile
    • http://www.rbraz.com/
Hi, the file is attached to Hellfire's first post, look for:

Quote
wire-src.zip (15.09 kB - downloaded 54 times.)
Challenge Trophies Won:

Offline ViL

  • Avocado lover 🥑
  • C= 64
  • **
  • Posts: 52
  • Karma: 1
    • View Profile
hii, Rbz; thanks for the response! apparently i can't see any attached file in any post there are other posts that claim to have attached files BUT i also can't see them

this is how i see the first post
Code: [Select]
https://i.imgur.com/27m2wTx.png
and this is how i see the link on the post
Code: [Select]
https://i.imgur.com/MR5Nnb1.png
is there anything i should do to see attached files? :c thanks!

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2748
  • Karma: 492
    • View Profile
    • http://www.rbraz.com/
Not sure why you can't see the attached file, on your screenshot it looks like you are not logged on.

Anyway, you can download it from here:

www.rbraz.com/temp/wire-src.zip

 :cheers:
Challenge Trophies Won:

Offline ViL

  • Avocado lover 🥑
  • C= 64
  • **
  • Posts: 52
  • Karma: 1
    • View Profile
ooo, now i can see attached files!!!11 1 11! it might be that before, i were automatically logout after some time without noticing :) had to login a couple of times a day LOL so a while ago i found a way to keep logged in for way longer! x3 now i can finally look out for so many tutorials i am hyped for! this is delightful! =' D btw thaanks a lot, Rbz! x3 gonna dig em' codes asap!~ :D
« Last Edit: December 31, 2017 by ViLXDRYAD »