someone good with source codes?
-
Topic authordalmatian_fanatic
- Posts: 39
- Joined: 13.09.2006
- With us: 18 years 2 months
- Location: personal
someone good with source codes?
Hi. Is there anyone here that is good with modifying source codes and applying them to the programs? I have the source code for Rassilion's Globular cluster Generator....in fact i have two copies....one is for the changes id like to have applied to it, and another is the original. The only thing ive changed is what spectral types are produced. I can share the program AND both the modified and the original source codes with anyone who can make the changes i want with it. Wish i knew enough about this kind of stuff to do it myself Thanks!
-
Topic authordalmatian_fanatic
- Posts: 39
- Joined: 13.09.2006
- With us: 18 years 2 months
- Location: personal
Re: someone good with source codes?
OOPS i just found out that my codes are actually only txt files that are pretty much useless to someone who has never dealt with programming.
-
Topic authordalmatian_fanatic
- Posts: 39
- Joined: 13.09.2006
- With us: 18 years 2 months
- Location: personal
Re: someone good with source codes?
ok i found a remedy to only having the TXT version of the source codes, i found the real thing, been a long day
-
Topic authordalmatian_fanatic
- Posts: 39
- Joined: 13.09.2006
- With us: 18 years 2 months
- Location: personal
Re: someone good with source codes?
anyhow....here is the change i want to have made....
right now the code has the spectral types of stars set up like this:
If specType < 1 And specType > -1 Then s = "Q"
If specType < 2 And specType > 0 Then s = "O"
If specType < 3 And specType > 1 Then s = "B"
If specType < 5 And specType > 2 Then s = "A"
If specType < 20 And specType > 4 Then s = "F"
If specType < 50 And specType > 19 Then s = "G"
If specType < 60 And specType > 49 Then s = "K"
If specType < 75 And specType > 59 Then s = "M"
If specType < 101 And specType > 74 Then s = "R"
I am looking to only change the star classes in this source code so that it is more like this....
If specType < 1 And specType > -1 Then s = "Q"
If specType < 2 And specType > 0 Then s = "O"
If specType < 3 And specType > 1 Then s = "B"
If specType < 5 And specType > 2 Then s = "A"
If specType < 20 And specType > 4 Then s = "B"
If specType < 50 And specType > 19 Then s = "B"
If specType < 60 And specType > 49 Then s = "B"
If specType < 75 And specType > 59 Then s = "O"
If specType < 101 And specType > 74 Then s = "B"
This way the generator will only create hot blue and white star clusters. It will be very useful for creating galaxies where the arms are almost totally blue from these types of stars. I will have a second generator on my system so that i can create the other spectral types of stars also.
right now the code has the spectral types of stars set up like this:
If specType < 1 And specType > -1 Then s = "Q"
If specType < 2 And specType > 0 Then s = "O"
If specType < 3 And specType > 1 Then s = "B"
If specType < 5 And specType > 2 Then s = "A"
If specType < 20 And specType > 4 Then s = "F"
If specType < 50 And specType > 19 Then s = "G"
If specType < 60 And specType > 49 Then s = "K"
If specType < 75 And specType > 59 Then s = "M"
If specType < 101 And specType > 74 Then s = "R"
I am looking to only change the star classes in this source code so that it is more like this....
If specType < 1 And specType > -1 Then s = "Q"
If specType < 2 And specType > 0 Then s = "O"
If specType < 3 And specType > 1 Then s = "B"
If specType < 5 And specType > 2 Then s = "A"
If specType < 20 And specType > 4 Then s = "B"
If specType < 50 And specType > 19 Then s = "B"
If specType < 60 And specType > 49 Then s = "B"
If specType < 75 And specType > 59 Then s = "O"
If specType < 101 And specType > 74 Then s = "B"
This way the generator will only create hot blue and white star clusters. It will be very useful for creating galaxies where the arms are almost totally blue from these types of stars. I will have a second generator on my system so that i can create the other spectral types of stars also.
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 3 months
Re: someone good with source codes?
--- edit ---
Last edited by John Van Vliet on 20.10.2013, 08:42, edited 1 time in total.
-
Topic authordalmatian_fanatic
- Posts: 39
- Joined: 13.09.2006
- With us: 18 years 2 months
- Location: personal
Re: someone good with source codes?
well i have just been going by what selden was telling me all about
He said that what i would need to do is modify the file called starPrj.VBW and that i would need a program to compile it all together......i have tried using Microsoft Visual Basic program to do this. However i get completely lost when i try to use it, i may be good with creating the stc files and other addons for celestia, but when it comes to these things, im about as dumb as a sack of potatoes.
He said that what i would need to do is modify the file called starPrj.VBW and that i would need a program to compile it all together......i have tried using Microsoft Visual Basic program to do this. However i get completely lost when i try to use it, i may be good with creating the stc files and other addons for celestia, but when it comes to these things, im about as dumb as a sack of potatoes.
- John Van Vliet
- Posts: 2944
- Joined: 28.08.2002
- With us: 22 years 3 months
Re: someone good with source codes?
--- edit ---
Last edited by John Van Vliet on 20.10.2013, 08:41, edited 1 time in total.
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 10 months
- Location: Seattle, Washington, USA
Re: someone good with source codes?
john Van Vliet wrote:you might want to do some googling for tutorials on using microsoft's compilers, there gui frontends are hell to learn .I have ,for the most part, given up on using MS software .
Actually, the GUI for MS Visual C++ is very good and quite easy to use. No other IDE that I've used has technology as good as MS's IntelliSense for code completion, and the MS debugger seems quite a bit snappier than others.
--Chris