Slider puzzle code

List your programs here (game-related or other software).

Moderators: scallenger, Rebel, madppiper, TresCom Support Team

Post Reply
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6112
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Slider puzzle code

Post by Rebel »

Ran across my slider puzzle code and figured I'd release it. Don't ask me
to explain it, 'cause I don't remember that much about it. You need to
download the BmpImage folder and replace the existing BmpImage folder
inside the 1024 code folder, else the program will be missing its default
image as well as those included with the released program. It was compiled
using dev c++ 5.6.2 (a readme txt file will tell you what libraries to add to
the project). Do not delete the main.o file for any reason; I had to edit the
new.header file to erase a line to avoid a redeclaration and illegal conversion
error to get a compilation and you don't want to get into messing with those
files (especially if you forget what you edited).

Good luck if you can follow it! :lol:

* this is the code only, the compiled program can be downloaded on the
main site under miscellaneous.
Attachments
1024_code.zip
slider puzzle code
(823.03 KiB) Downloaded 465 times
BmpImages.zip
bmpimage folder
(1.09 MiB) Downloaded 479 times
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Slider puzzle code

Post by machf »

OK, let's see what I can do with it...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6112
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Re: Slider puzzle code

Post by Rebel »

machf wrote:OK, let's see what I can do with it...
Well, instead of going batty trying to alter the compiler header
files, you could always throw caution to the wind and simply go
into project options, under warnings (I think) and just check the
code for syntax errors only. It'd probably compile that way -

That error didn't exist in an earlier dev/gcc package, but I had
to change code in several programs since I downloaded the last
Dev version I'm using now. I should really switch to codeblocks,
but I find Dev easier to use.
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Slider puzzle code

Post by machf »

Yeah, me too.

And by "let's see what I can do" I meant "what I can turn it into" rather than "if I can fix it"... ;)
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
Post Reply