TresCom Forums

TresCom : The Trespasser Fan Gateway...
It is currently Mon Oct 22, 2018 5:50 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Slider puzzle code
PostPosted: Tue Jul 31, 2018 3:15 pm 
Offline
-=TresCom Developer=-
-=TresCom Developer=-
User avatar

Joined: Sun Nov 10, 2002 10:26 pm
Posts: 4842
Location: That country nobody likes (you know the one)
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:
File comment: slider puzzle code
1024_code.zip [823.03 KiB]
Downloaded 10 times
File comment: bmpimage folder
BmpImages.zip [1.09 MiB]
Downloaded 10 times
Top
 Profile  
 
 Post subject: Re: Slider puzzle code
PostPosted: Tue Jul 31, 2018 4:35 pm 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Thu Apr 24, 2003 11:20 pm
Posts: 10881
Location: Lima, Peru
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


Top
 Profile  
 
 Post subject: Re: Slider puzzle code
PostPosted: Tue Jul 31, 2018 9:14 pm 
Offline
-=TresCom Developer=-
-=TresCom Developer=-
User avatar

Joined: Sun Nov 10, 2002 10:26 pm
Posts: 4842
Location: That country nobody likes (you know the one)
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.


Top
 Profile  
 
 Post subject: Re: Slider puzzle code
PostPosted: Wed Aug 01, 2018 6:14 am 
Offline
T-Rex Killer
T-Rex Killer
User avatar

Joined: Thu Apr 24, 2003 11:20 pm
Posts: 10881
Location: Lima, Peru
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group