Author Topic: Decal Development Information
k3ny 
Posts: 2,788
Registered: Aug 17, '05
Extended Info (if available)
Real Post Cnt: 2,747
User ID: 1,073,863
Subject: Decal Development Information
Hello guys,

The Decal development information (i'm looking for c++ info) is down on: http://decaldev.sourceforge.net/faq/ .
I was hoping someone could point me in the right direction, as i've spent some serious time searching for this.

Thanks for any help!

 

-----signature-----
Link to this post
azv4 
Posts: 10,585
Registered: Jul 14, '08
Extended Info (if available)
Real Post Cnt: 10,565
User ID: 1,309,146
Subject: Decal Development Information
I don't think there is any documented support for current builds of Decal for C++ programmers. I know several people attempting to do C++ plugins who have run into brick walls, and those who are using C++ for Adapter Plugins don't seem willing to share code or help getting setup.

 

-----signature-----
(none)
Link to this post
-paradoxlost- 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Decal Development Information
// stdafx.h

#import "path\\to\\Decal.dll"


// plugin.h

class CPlugin:
public Decal::IPlugin2

 

-----signature-----
Link to this post
Hazridi 
Posts: 8,386
Registered: Mar 15, '01
Extended Info (if available)
Real Post Cnt: 8,277
User ID: 74,558
Subject: Decal Development Information
People run into brick walls with C++ because you have to actually know C++ to develop Decal plugins in C++. It's not like C# where people like azv4 and eps can write plugins.

 

-----signature-----



Hazridi of WE, VT, HG, SC
Decal Core Dev - http://www.decaldev.com - Beta at http://www.decaldev.com/beta
Link to this post
Hazridi 
Posts: 8,386
Registered: Mar 15, '01
Extended Info (if available)
Real Post Cnt: 8,277
User ID: 74,558
Subject: Decal Development Information
You also don't get anything by writing a C++ plugin these days -- in fact, you lose the ability to use VVS so I would broadly say, don't bother. If you really need to use C++, you can use C++/CLI as an Adapter plugin without a problem using the same signatures you would in C#.

 

-----signature-----



Hazridi of WE, VT, HG, SC
Decal Core Dev - http://www.decaldev.com - Beta at http://www.decaldev.com/beta
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: Decal Development Information
.

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
k3ny 
Posts: 2,788
Registered: Aug 17, '05
Extended Info (if available)
Real Post Cnt: 2,747
User ID: 1,073,863
Subject: Decal Development Information
Thanks for the replies guys.
The reason for using C++ was just that I feel very comfortable with it, however in light of what you say and also that it is very much overdue for me to take a look into C sharp that i'll look into it.

But back to my main issue, is that is there any documentation at all for plugin development? Very likely that it is in an obivous place, but I just can't seem to find anything (decaldev sourceforge page is broken on the developer bit).

Thanks again

 

-----signature-----
Link to this post
Mag-nus 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Decal Development Information
C# is walk in the park compared to C++.

I made the transition from C++ to C# several years ago and haven't looked back.

Just don't forget to shun the vb.net programmers just like we shunned the vb6 programmers back in the day. happy

Also, I have an open source plugin here you can use to learn from:
http://magtools.codeplex.com/

 

-----signature-----
Link to this post
k3ny 
Posts: 2,788
Registered: Aug 17, '05
Extended Info (if available)
Real Post Cnt: 2,747
User ID: 1,073,863
Subject: Decal Development Information
Haha, that was a long time ago happy .

I've bookmarked your webpage, will take closer look later at the source code - thanks for the share!

But back to the original question, is any documentation available?

 

-----signature-----
Link to this post
Hazridi 
Posts: 8,386
Registered: Mar 15, '01
Extended Info (if available)
Real Post Cnt: 8,277
User ID: 74,558
Subject: Decal Development Information
Not really. The thing is, though, with C# you don't need documentation so much as all the methods are available to you in the object browser.

Our site is pretty much dead until we resurrect it (which will happen soonish) but we never had much useful documentation on there to begin with. Virindi has a public repository with quite a few bits of source code on it which is another resource you might want.

http://virindi.net/source/

 

-----signature-----



Hazridi of WE, VT, HG, SC
Decal Core Dev - http://www.decaldev.com - Beta at http://www.decaldev.com/beta
Link to this post
Hazridi 
Posts: 8,386
Registered: Mar 15, '01
Extended Info (if available)
Real Post Cnt: 8,277
User ID: 74,558
Subject: Decal Development Information
Yeah the protocol docs are also down. Not good. I'll try to get that up and running since it's pretty essential.

 

-----signature-----



Hazridi of WE, VT, HG, SC
Decal Core Dev - http://www.decaldev.com - Beta at http://www.decaldev.com/beta
Link to this post
-paradoxlost- 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Decal Development Information
http://skunkworks.sourceforge.net/protocol/Protocol.php

 

-----signature-----
Link to this post
k3ny 
Posts: 2,788
Registered: Aug 17, '05
Extended Info (if available)
Real Post Cnt: 2,747
User ID: 1,073,863
Subject: Decal Development Information
So just to check, does anyone know of any other peices of documentation/source code which I might helpful that isnt on this thread?

Thanks again for the help.

 

-----signature-----
Link to this post
Grafix_GS 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Decal Development Information
I programmed with VB6 (and C++ from a LONG time ago, plus many other languages such as Perl, PHP, Action Script, etc.) for many years, and recently upgraded to Visual Studio .NET 2010. I decided that with upgrading to the .NET realm, that learning Visual BASIC was basically like learning a new language, and instead opted for the C# road. By downloading a few source examples (Virindi & Digero's source examples), within a week or so, I was able to make a plugin. It wasn't anything earth-shattering, but as others have pointed out, learning C# was very simple, and there seems to be plenty of resources available on the internet for learning the syntax.

One thing I've learned over the years, is that if you program in a language or two, learning the others are usually pretty easy, as it's just a matter of applying what you already know about programming, in another syntax. For example, in VB you might use PRINT to output text to the screen, whereas in C++ you might use PRINTF or ECHO to accomplish the same thing. The major advantage I've seen in C# over what I remember about C++, is that you don't have to use a bazillion "include this header" statements.

Anyhow, I'm sure if you already understand C++, you'll have no issue jumping into C# and learning it enough to create some plugins in a few days to a few weeks tops. Especially with some of the well documented source examples out there already, plus the auto-complete in the IDE of Visual Studio.

 

-----signature-----
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP