Author Topic: Pracx v1.08+ Source Code  (Read 5934 times)

0 Members and 1 Guest are viewing this topic.

Offline PlotinusRedux

Pracx v1.08+ Source Code
« on: December 26, 2014, 05:42:55 AM »
I don't want to add this to GIT as I intend to rewrite it from scratch on an entirely different foundation in the next couple of months--hopefully the foundation of direct changes to compileable C++\assembly source code for terranx at least.  But for anyone interested in it as it exists, here it is.

Yitzi, the InstallScript directory has the NSIS script that installs all my files if you want to incorporation them into your patch.  Even if you don't have NSIS installed, it's just a text file you can open with anything to see exactly what my install was doing.

I make no copyright claims to this code, and give everyone full permission to use, modify, and distribute it in any way they see fit.

The solution and project files are in Visual Studio Express 2013 format, which can be downloaded for free from MS.

The meat of the code is in Shared.  It is very sparsely commented and not particularly organized--I was going to clean it up before releasing it, but since I intend to completely redo it, I didn't see much point in that.

You'll probably need to change the Output directory--I had it set to my SMACX install directory rather than Bin for quick testing of changes.

Edit: v1.07 source code --Draz
Edit 2: Future source code releases on github: https://github.com/DrazharLn/pracx
« Last Edit: May 07, 2016, 01:41:20 AM by DrazharLn »

Offline DrazharLn

Re: Pracx v1.04 Source Code
« Reply #1 on: December 26, 2014, 11:04:27 AM »
Thanks very much, Plotinus.

I'll have a go at this once I get back to a windows computer (if you don't release an updated version before then!)

Cheers,

Offline PlotinusRedux

Re: Pracx v1.04 Source Code
« Reply #2 on: December 26, 2014, 11:18:45 AM »
I emailed you the 1.03 source a while back, Draz, did you not get the email?

Offline DrazharLn

Re: Pracx v1.04 Source Code
« Reply #3 on: December 27, 2014, 12:53:29 PM »
I did not, I assumed you decided to defer a little first. I definitely entered my email address correctly in the PM (just checked) and I checked my spam folders too.

No worries, though, I can work off this code instead.

Offline DrazharLn

Re: Pracx v1.04 Source Code
« Reply #4 on: January 24, 2015, 12:07:59 PM »
I have some time to mess around with this soon. Could you post the v1.06 source?

Thanks,

Offline PlotinusRedux

Re: Pracx v1.06 Source Code
« Reply #5 on: January 29, 2015, 06:57:45 AM »
Sorry, Draz, I was down with a nasty flu, it's updated to 1.06 now.

Offline DrazharLn

Re: Pracx v1.06 Source Code
« Reply #6 on: January 29, 2015, 11:42:23 AM »
Thanks! Get well soon.

Offline DrazharLn

Re: Pracx v1.06 Source Code
« Reply #7 on: April 22, 2016, 11:50:53 PM »
v1.07 source code attached.

Quote
v1.07 (04/21/2016)
==================
* Change: No longer becomes windowed when window loses focus.
* Change: TAB no longer toggles windowed/full-screen.
* Change: ALT+ENTER now toggles windowed/full-screen mode.
* Fix: May fix colour calibration problems.
--DrazharLn

Offline DrazharLn

Re: Pracx v1.07 Source Code
« Reply #8 on: May 04, 2016, 03:15:07 AM »
I've spent a few hours going through the code and commenting it to explain how I think things work.

I wouldn't describe it as well documented, but it's a start.

Hopefully this will help new people get started with it.

Offline DrazharLn

Re: Pracx v1.07 Source Code
« Reply #9 on: May 07, 2016, 01:41:00 AM »
More people seemed interested in the code, so I've put it up on github. If anyone is watching this thread and would like me to continue bumping it for new releases, let me know.

Future source code releases on github: https://github.com/DrazharLn/pracx

 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
100 (32%)
Scient (unofficial) patch
-=-
39 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
88 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 309
AC2 Wiki Logo
-click pic for wik-

* Random quote

Why do you insist that the human genetic code is 'sacred' or 'taboo'? It is a chemical process and nothing more. For that matter -we- are chemical processes and nothing more. If you deny yourself a useful tool simply because it reminds you uncomfortably of your mortality, you have uselessly and pointlessly crippled yourself.
~Chairman Sheng-ji Yang 'Looking God in the Eye'

* Select your theme

*