Author Topic: Project Neo-MODELVIEW32  (Read 2055 times)

0 Members and 1 Guest are viewing this topic.

Offline Rampage

  • Son Of Rampage
  • 211
  • Urogynaecologist
Project Neo-MODELVIEW32
Dear Freespace Denizens:

I have put model-making on hiatus (I have broken all ties with 158th MODding and have yet to complete the stuff requested by Woomeister. :nervous: "Attempted Suicides", however, will proceed as planned.)and have joined the beautiful world of C++ programming!  With Bobboau's Aurora's editor, it just seems right to update MODELVIEW32 with Bobboau's glow code (I nickname it Lambda Glow) and many other features that MODELVIEW32 lacks.  I'm also hoping to fix some bugs.

Now, to engage in this project, I cannot do this by my own for I have a limited knowledge of C++ (Starting off as Bobboau) and will need extra help.  If I can have a joint project with Bobboau and Kazan, I may just get it done faster.

Also, anyone know where to get the code for PCS?

One of the dialogs:


- Rampage
« Last Edit: February 21, 2003, 03:37:37 pm by 255 »

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
I really like that you setting your self up for this goal.

But it seems to me, as you write that you have limited knowledge of C++, that you setting out to want to learn to much at one point.

specify limited knowledge.
"what have you produced so far"
Hello world!, or something more advanced.

"what do you know about the FS2 source code"
(in order to make program for FS2 you should really know what the limits, restrictions are). There are plenty more than MAX_SHIP_TYPES, and MAX_SHIPS.

Do you understand the difference between the various basic types, Etc etc.

For example. When bobboau started out, a year ago, he knew almost nothing about C/C++.

And it has taken him a year to advance this far, note  that he proberbly has done this in his sparetime. Also he posses a very "fast drive" to learn it.

in other words. Let Him and others know a little more about your current capebilities.

explaining over the internet takes time since we are not.
Face to Face.

About the Code. Kazan CVSed it somewhere. Do a search, he announced it in one of the FS-modding/source forums.
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
I havn't even been able to properly open the MV source let alone play with it, so I'd be starting out just as you are as far as updateing MV goes.

Lambda ...?
I am a bit confused with exactly what you want, becase the dialog you have there doesn't apear to be a standard glow point, so are you trying to make a new data type, or what is all that extra stuff in the dialog?

or are you trying to make you're own personal POF editor?
that's fun :D
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Rampage

  • Son Of Rampage
  • 211
  • Urogynaecologist
When it comes to C++, I know almost close to NOTHING.  I'm a Visual Basic guy.  (Too bad that VB went extinct.)  So I'm like Bobboau a year ago.

I have tried to complete projects in C++, as most ended up in some exacrable (mostly horrible syntax errors that resulted from an undeclared variable or class).

Is there a "Learn C++ in 21 Days" book or such?  So far, I have 102+ errors on the Lambda code ALONE!

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
yes there is but it's mostly only good for learning basic MFC stuff (wich you will want to learn)

when dealing with errors you should fix them as they show up, you may only have one misplaced semicolen or brace, what is the first error in the list,

actuly, what is the basic setup that you are going for, is this going to be an application with an aplication class and a main window and stuff, or are you going to try doing it c style (though, I realy don't know how that could be done resonably)
are you useing the appwizard at all (usefull but do not depend on it, in fact don't use it at all while learning),

actualy lets get to the basics of C++, make sure you know,
as you said you have no experience at all in c++
do you have any clue what an object and/or class is?
:)
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline DTP

  • ImPortant Coder
  • 28
    • http://www.c4-group.dk
Quote
Originally posted by Rampage
When it comes to C++, I know almost close to NOTHING.  I'm a Visual Basic guy.  (Too bad that VB went extinct.)  So I'm like Bobboau a year ago.

I have tried to complete projects in C++, as most ended up in some exacrable (mostly horrible syntax errors that resulted from an undeclared variable or class).

Is there a "Learn C++ in 21 Days" book or such?  So far, I have 102+ errors on the Lambda code ALONE!


well you know the basics of programming then.

C/C++ is very memory efficiant. that means that every, what you from VB would know as a Variable has to be specificly declared what kind of type it is. in short, how many bytes it is going to need.

Some types like CHAR cant hold a value greater than 255 because it is a 8 bit type. also chars are projected onto the screen as charachters rather than a plain value. IF we want values we use an INT, that is if we want integers.

If we want a string, we use a  socalled array also known as a C-style string.

C style Array
Char mytext[50];
mytext = "i love C++" //error, C needs 50 not 11 chars for this array.

That is quite different from what you know from Visual basic i beleive.

That was three examples of basic types.
The learn C++ in 21 days may skip these explanations. ofcourse there are plenty more basic types.

C++ do ofcourse hold the string type you know from visual basic, but it is much more memory/cpu time hungry than Chars.

start by learning C, maybe go buy a book, And the best ones are exspensive.

Dont buy a C++ for dummies or something, they are crap.

I got a book from the creator of C++. in which the novice as the professional can benefit from reading, that also explains about C, and what is bad in C but good in C++, and vice versa. its a good starting point. A bit intimedating in the start. but once you get the "hang of" C++ its easy.

but it is 44.95US$
If you are interested in this it is published by

Addison-Wesley
The C++ programming Language X-edition
by Bjarne Stroustrup. The creator of C++.
ISBN 0-201-88954-4

X means what ever edition it has reached now.

If you need a book is your call. But it is sure nice to have some kind of reference when in doubt.
VBB member; reg aug 1999; total posts 600.
War is a lion, on whos back you fall, never to get up.
Think big. Invade Space.

 

Offline Rampage

  • Son Of Rampage
  • 211
  • Urogynaecologist
I'm currently using my extremely limited knowledge of C++ to clean up some of the code in ModelView32.  I'm also eradicating the German things from the code as well, so Bobboau shouldn't have any major problems opening the project.

What I want is for ModelView32 to become fully functional for users across the community.  I'll personally contact Bobboau to give him some specs on the program.

 

Offline Rampage

  • Son Of Rampage
  • 211
  • Urogynaecologist
Since I can't reach Bobboau, the PM letter is quoted below:

Quote
Letter to Bobboau
Dear Bobboau:

As you might know, I'm cleaning up the ModelView32 code for you to look at.  I'm using a new workspace and an Anglo-cized resource file to make the all American version of the code, since you complained about the German-related problems when opeing it.  I'm also implementing standard edit dialogs for docks, paths, insignias, and glow points for you to work on.

When you get the package in, say a few days, I hope that you'll take a closer look at the source and make your modifications.  I have also seen the coding of Aurora and I must say, some places are quite messy. (Based on my knowledge of VBasic programming.)  I hope, through working on ModelView32, you'll obtain a greater knowledge that can be used to improvise Aurora.  Also, by working on ModelView32, you'll be giving us something that's more stable to use for POF editing.  I'm pretty sure that Aurora will eventually phase out ModelView32, but lets cooperate with the wishes of the community and give them something they can use without worries right away.

Sincerely,

Rampage

  

Offline Rampage

  • Son Of Rampage
  • 211
  • Urogynaecologist
Here's another PM that I can't send through due to Bobboau's horribly cluttered PM mailbox.

Quote

I have modified the code according to your taste. (No German files.)  I hope that you'll do a fabulous job on it.  Enjoy the coding.

http://mysite.verizon.net/vze1lyx2/dump/mv32.exe

I added:

1. Glow Point (Lambda) Dialog
2. Insignia Dialog (Duplicate of Thrusters Dialog.  Did nothing so far on it.)
3. Docking Dialog
4. Paths Dialog

Enjoy!


Rampage