Author Topic: Pracx v1.08+ Source Code  (Read 2265 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 »
  • Publish
  • 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 »
  • Publish
  • 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 »
  • Publish
  • 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 »
  • Publish
  • 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 »
  • Publish
  • 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 »
  • Publish
  • 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 »
  • Publish
  • Thanks! Get well soon.

    Offline DrazharLn

    Re: Pracx v1.06 Source Code
    « Reply #7 on: April 22, 2016, 11:50:53 PM »
  • Publish
  • 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 »
  • Publish
  • 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 »
  • Publish
  • 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)
    -=-
    14 (6%)
    XP Compatibility patch
    -=-
    7 (3%)
    Gog version for Windows
    -=-
    45 (22%)
    Scient (unofficial) patch
    -=-
    22 (10%)
    Kyrub's latest patch
    -=-
    13 (6%)
    Yitzi's latest patch
    -=-
    77 (38%)
    AC for Mac
    -=-
    2 (0%)
    AC for Linux
    -=-
    5 (2%)
    Gog version for Mac
    -=-
    7 (3%)
    No patch
    -=-
    9 (4%)
    Total Members Voted: 201
    AC2 Wiki Logo

    * Random quote

    Human behavior is economic behavior. The particulars may vary but competition for limited resources remains a constant. Need as well as greed has followed us to the stars and the rewards of wealth still await those wise enough to recognize this deep thrumming of our common pulse.
    ~CEO Nwabudike Morgan 'The Centauri Monopoly'

    * Select your theme

    *

    Facebook Comments