NETRATz / evaluatedecks

Automatically exported from code.google.com/p/evaluatedecks
0 stars 0 forks source link

Make more Cross-Platform friendly. #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I was wondering if (with some help maybe) you would be willing to make some of 
your code (especially the non-gui stuff) more NIX friendly.  I can give you 
some pointers, and most of it comes down to using figuring out what OS is 
running and using statements like:
#ifdef TARGET_OS_MAC
  // Mac Includes Here
  // Mac Defines Here
#endif

#ifdef __linux__
  // Linux Includes Here
  // Linux Define Here
#endif

#ifdef _WIN32 || _WIN64
  // Windows Includes Here
  // Linux Defines Here
#endif

I don't have a Mac to compile on, but I am sure someone would be willing to 
help, and I have limited access to Windows machines with Visual Studio (not 
entirely sure what version, but I have a feeling its VS10), and I have access 
almost 24 hours a day to various Linux machines.  If a cross platform object 
file (basically all the functionality without a gui) can be made, then the guis 
will be relatively easy to make.

Original issue reported on code.google.com by cmay...@gmail.com on 1 Jan 2012 at 8:10

GoogleCodeExporter commented 9 years ago
Damn copy and paste :/
14c14
<   // Linux Defines Here
---
>   // Windows Defines Here

Original comment by cmay...@gmail.com on 1 Jan 2012 at 8:12

GoogleCodeExporter commented 9 years ago
VS2008-2010
well I have 2 lunux VMs on my own, but I have no expirience in programming on 
Linux or MacOS and I am not planning to
I don't think I use any platform specific functions, aside from passing deck 
via shared memory, so this should compile under Linux with relative ease, but 
GUI will probably take much more time because shared memory will have to be 
replaced(reworked?) with something else, that allows to exchange data between 
executables

Original comment by mini...@gmail.com on 2 Jan 2012 at 10:05

GoogleCodeExporter commented 9 years ago
I took a look at your code and tchar.h is a windows specific header, but I 
think its completely possible to remove it without any effect on linux/mac.  I 
didn't delve much deeper than that, but I think I am only really interested in 
the IterateDecks code since that seems to be where most of the implementation 
for the backend is.  I'm still looking at it, but if I send some patches, would 
you be willing to incorporate them?

Original comment by cmay...@gmail.com on 2 Jan 2012 at 6:07

GoogleCodeExporter commented 9 years ago
Sure, why not?! I can add you to members if you want to edit something.

Original comment by mini...@gmail.com on 3 Jan 2012 at 8:10

GoogleCodeExporter commented 9 years ago
That would work for me.  I won't make any actual changes to the odd other than 
to try and make something work as a backend for *nix based systems.

Original comment by cmay...@gmail.com on 3 Jan 2012 at 7:34

GoogleCodeExporter commented 9 years ago
I need your google mail to add you

Original comment by mini...@gmail.com on 3 Jan 2012 at 8:35

GoogleCodeExporter commented 9 years ago
Just sent you an email.

Original comment by cmay...@gmail.com on 3 Jan 2012 at 10:36

GoogleCodeExporter commented 9 years ago
I was just wondering if any progress had been made on this. I would love to 
have a Linux version

Original comment by crisp...@gmail.com on 2 Mar 2012 at 11:43

GoogleCodeExporter commented 9 years ago
nope, I don't think so
A guy that undertook the task is too elusive...

Original comment by mini...@gmail.com on 2 May 2012 at 10:20

GoogleCodeExporter commented 9 years ago
As the old guy apparently gave up, I started some work on this. Im not really 
confident, but since I already did some work I would like to share this.

If you want I could push this into an svn branch.

Independently of that, I also have some (small) fixes for the mainline.

Original comment by fabianku...@web.de on 2 Jul 2012 at 10:29

GoogleCodeExporter commented 9 years ago
Ok, basic CLI version is done for linux. (Only simple stuff, alpha stage.)

Original comment by fabianku...@web.de on 21 Jul 2012 at 9:36

GoogleCodeExporter commented 9 years ago
Could you attach your file with maybe some instructions so those of us who are 
impatient can get it working? lol

Original comment by catepill...@gmail.com on 22 Jul 2012 at 7:31

GoogleCodeExporter commented 9 years ago
I have added you to the contributors list, feel free to commit your CLI version

Original comment by mini...@gmail.com on 23 Jul 2012 at 9:57

GoogleCodeExporter commented 9 years ago
Should be in SVN (I hope I did not screw anything up, not really SVN expert...)
Assigning this issue to me.

Original comment by fabianku...@web.de on 27 Jul 2012 at 3:44

GoogleCodeExporter commented 9 years ago
The linux cli part is progressing quite fine. It is still lacking support for 
raid, quests and surge. Some things are buggy/broken.

Original comment by fabianku...@web.de on 6 Sep 2012 at 1:06