Am I coding this right?

  • pilojo
    1st Nov 2010 Member 0 Permalink
    Neospector
    It's the source for the newest released. It's under "Wrong operating system? other platforms here" part.
  • Neospector
    1st Nov 2010 Member 0 Permalink
    pilojo
    K
  • pilojo
    1st Nov 2010 Member 0 Permalink
    Neospector
    Post the source after you finish with the good source.
  • Neospector
    1st Nov 2010 Member 0 Permalink
    pilojo
    My powder source.h - 38.4 Kb
    Working on Powder.c
  • pilojo
    1st Nov 2010 Member 0 Permalink
    Neospector
    EXP=explode. You want a 0 there. M= menu 1 or 0 100 isn't an option. HRD= how much acid affects it. You have it set to not at all. Other than that, good job.
  • Xenocide
    1st Nov 2010 Former Staff 0 Permalink
    Neospector
    Always use GitHub if you want any elements to be seriously considered for merging into stable.

    The code on GitHub is bleeding edge so it may have some instablilites however if you use that you'll have all the newest code and elements and it saves a lot of trouble merging later on.

    www.pastebin.com is good for showing people huge chunks of code without them having to download them and they can submit corrections.

    pilojo:
    I don't recommend following antb's source. The files are modded past what the files are originally. I'll also fix this but, be aware that antb's source isn't the official source. Yet.

    Well I seem to remember you building your first element on it :P and mine is quite heavily modified from the original source, but only so my parts remain separate from the main source and leaves me less work to do if there's any elements added. My master branch will NEVER be the main source unless someone pulls an element :P any actual updates intended are placed in separate branches, such as the "weights" branch :P
  • Neospector
    1st Nov 2010 Member 0 Permalink
    Fixed. Also changed HOTS to only 300.
    I'll finish up tomorrow.
  • Neospector
    1st Nov 2010 Member 0 Permalink
    Bumping up....
    newest powder.c http://jumbofiles.com/il2vglvgb02a
    Is STEL still conductive? If it is, and there's no other major problems, I'm going to attempt to make it into a mod.
  • pilojo
    1st Nov 2010 Member 0 Permalink
    No. I'll fix it and send it to you. Edit: I have it done. Uploading. EDIT2: Here you go. http://www.box.net/shared/danbe68a0r
  • Neospector
    1st Nov 2010 Member 0 Permalink
    pilojo
    I've implemented it. But I got an error in the mod:
    1>------ Build started: Project: Neospector's Mod, Configuration: Debug Win32 ------
    1> powder.c
    1>c:\users\john\downloads\powder-42.3-src\graphics.h(3): fatal error C1083: Cannot open include file: 'SDL/SDL.h': No such file or directory
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    That's my only problem, in my own powder.c and it doesn't even concern that file. I've copied the DLL files into the source folder, still wont read them.