Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, NewbieZorro), 15,207 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Write C++ in A7 #188254
03/13/08 16:04
03/13/08 16:04
Joined: Feb 2008
Posts: 18
Canada
Sengey Offline OP
Newbie
Sengey  Offline OP
Newbie

Joined: Feb 2008
Posts: 18
Canada
I read that you can write C++ in A7 version of GS. How do you switch between Lite-C to C++.

Thanks for taking your time.


Last One Standing.
Re: Write C++ in A7 [Re: Sengey] #188255
03/13/08 17:01
03/13/08 17:01
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
There are 2 methodes for this:
1) You could write an engine plugin in c++ by using the plugin sdk.
2) You could use the engine sdk and call the engine from a c++ program. So the whole game is written in c++ and you just have to call the engine from c++.

Lite-C is very C++ oriented. And if you don't want to use some special c++ features which aren't supported by Lite-C, you can also use Lite-C.

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: Write C++ in A7 [Re: Dark_samurai] #188256
03/13/08 20:04
03/13/08 20:04
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
that sounded as if lite-c was similar to c++, which it is not. it is not even fully compatible to normal c. you were right though with your methods for writing c++ for a7... i don't want to criticise you, just... well. lite-c is not like c++.

Re: Write C++ in A7 [Re: Joey] #188257
03/13/08 21:28
03/13/08 21:28
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
I should have said, that the syntax of lite-C is similar to normal C or C++. But of course it has limitations in comparison with normal C. There are no structs for example, but this feature is planned to be implented.

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: Write C++ in A7 [Re: Dark_samurai] #188258
03/13/08 21:36
03/13/08 21:36
Joined: Oct 2002
Posts: 799
Germany->Bavaria->Nuremberg
C
Christian__A Offline
User
Christian__A  Offline
User
C

Joined: Oct 2002
Posts: 799
Germany->Bavaria->Nuremberg
You mean classes i think


MfG, Christian__A. Visit my Site: www.chris-a.de


Re: Write C++ in A7 [Re: Christian__A] #188259
03/13/08 23:10
03/13/08 23:10
Joined: Feb 2008
Posts: 18
Canada
Sengey Offline OP
Newbie
Sengey  Offline OP
Newbie

Joined: Feb 2008
Posts: 18
Canada
I know that Lite - C is different, it uses C as a Base not C++. What I am talking about that on 3dgamestudio specifications on the website, it says in A7 version you can script C++. If you read what it says on www.3dgamestudio.com they say that in A7 you can script with C++. I am not talking about old A6. It is just same as you can import 3D Max or Maya models into A7.

Last edited by Sengey; 03/13/08 23:11.
Re: Write C++ in A7 [Re: Sengey] #188260
03/14/08 07:24
03/14/08 07:24
Joined: Apr 2006
Posts: 66
Sweden
R
rstralberg Offline
Junior Member
rstralberg  Offline
Junior Member
R

Joined: Apr 2006
Posts: 66
Sweden
In the 3D GameStudio specification on the website it's never said that
you may script C++.

Quote:

Lite-C is a lightweight version of C/C++, the language used for commercial games programming. But unlike C++, it's extremely easy to learn and the best way to get introduced into 'real' programming. Anything that's scary to a beginner, like memory and pointer handling, is automatically managed in lite-C.




Quote:

If you prefer to program in 'real' C++, Delphi or other languages, you can implement Gamestudio's engine into your own programs using the engine SDK. You can even continue to use lite-C as a scripting language; lite-C functions and variables can be called from your program and vice versa.




This means that you may use the engine (as a dll) in your own C++ code or
write your own C++ plugins so they can be used by the engine and lite-C.
Not that you can script in C++.

Kindly
~Roland

Last edited by rstralberg; 03/14/08 09:52.

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1