[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
lostlabyrinth.com • View topic - A few compilation fixes
It is currently Wed Dec 12, 2018 5:05 pm


Post new topic Reply to topic  [ 15 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: A few compilation fixes
PostPosted: Sun Mar 20, 2011 7:02 pm 
Site Admin
User avatar

Joined: Mon Oct 12, 2009 2:30 am
Posts: 233
I strongly recommend to get a working linux installation as well.
All programmers should be able to test on all platforms.
Its free so there should be no reason not to install it.

As Grunz and I are using Linux as main OS its good to have a windows programmer now as well. We had some errors lately because we did not test enough.

I could fix the errors in the code right now. They are not grave, but it would be nice if you could run a simple test from time to time in f.e. a virtual machine. At least to make sure that the code compiles.


Top
 OfflineProfile  
 Post subject: Re: A few compilation fixes
PostPosted: Mon Mar 21, 2011 2:26 am 
Site Admin
User avatar

Joined: Mon Oct 12, 2009 2:30 am
Posts: 233
I reached Richard through facebook finally :D
So hopefully we get the few things working that do work in purebasic but not in elice yet.
It would be so great to be able to continue using elice.
And I guess its only small things when you really know what you are doing.


Top
 OfflineProfile  
 Post subject: Re: A few compilation fixes
PostPosted: Wed Mar 23, 2011 5:44 pm 
Site Admin
User avatar

Joined: Mon Oct 12, 2009 2:30 am
Posts: 233


Top
 OfflineProfile  
 Post subject: Re: A few compilation fixes
PostPosted: Wed Mar 23, 2011 6:52 pm 
Site Admin
User avatar

Joined: Mon Oct 12, 2009 2:30 am
Posts: 233
I found loads of things that simply do not work anymore.

The code usees messagerequesters now for linux as well.
There is a reason why we did not use that.
Other than in windows there are a lot of linux machines that have no gtk system installed.
I want laby to have sdl as dependency only. And as soon as you use this stuff we would have to force players to install gnome.

There are other code constructions that elice simply does not support yet.

Linux is the main target of the new laby version. So please if you want to continue helping with this project get linux running first and make sure it runs with elice as well.


Top
 OfflineProfile  
 Post subject: Re: A few compilation fixes
PostPosted: Thu Mar 24, 2011 1:04 am 
User avatar

Joined: Thu Nov 11, 2010 12:38 am
Posts: 161
Location: Norway
Yeah sure. I was not aware that the elice compiler was so underdeveloped and didn't support all the standard PureBasic commands yet.

I had implemented quicksort without using any of the Peek functions, but it was a bit more clunky and not so generalized. My current implementation of the quicksort algorithm allows us to sort any struct of any type with the same algorithm (using memory operation like peek). We could simply revert it to static procedures specialized for sorting specific structure types:

QuickSortMonsterList()
QuickSortSpellList()
etc.

instead of: QuickSort(whichStructure)

It is a pity that we are limited to using the elice compiler though! We can't utilize much of PureBasic's true power (like networking).

Btw: I used messagerequesters because I found a few instances of it already being used in the code. What do we use instead for logging and error messaging?

_________________
Lost Labyrinth Developer
Check out my other game:


Top
 OfflineProfile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


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:  
cron

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
GuildWarsAlliance Style by Daniel St. Jules of Gamexe.net
Guild Wars™ is a trademark of NCsoft Corporation. All rights reserved.