Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Akow, AndrewAMD), 1,640 guests, and 13 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Lite-C and C-script together #309755
02/10/10 23:51
02/10/10 23:51
Joined: Dec 2009
Posts: 217
Italy
PietroNifosi Offline OP
Member
PietroNifosi  Offline OP
Member

Joined: Dec 2009
Posts: 217
Italy
Noob question, how do I start the engine, using the two languages at the same time, in terms of code? Define something where? how?


Dear Fans, to celebrate our 500.000 downloads,
Evhacon 2 is now FREE TO PLAY on Amazon Underground!
HD Version: https://www.amazon.com/gp/product/B071FKSVG2
LD Version (Optimized for lower devices): https://www.amazon.com/gp/product/B0719TXFJN
Re: Lite-C and C-script together [Re: PietroNifosi] #309756
02/11/10 00:07
02/11/10 00:07
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
I'm not sure, but I think that Iread somewhere that you can mixthem simply by writing the c-script part in .wdl files and the other in .c files.

I would write the includes in the main .c file.

#include oldcode.wdl
#include newdefines.c

Something like that, but I didn't try it.

Re: Lite-C and C-script together [Re: Pappenheimer] #309762
02/11/10 00:42
02/11/10 00:42
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
AFAIK if you run main.c Lite-C will run main.wld too, similarly for any included files with both .c and .wdl,

*tho also recently untested*

Re: Lite-C and C-script together [Re: MrGuest] #309768
02/11/10 02:23
02/11/10 02:23
Joined: Dec 2009
Posts: 217
Italy
PietroNifosi Offline OP
Member
PietroNifosi  Offline OP
Member

Joined: Dec 2009
Posts: 217
Italy
Yeah well guys it doesn't work i mean:
I'm trying to run shade-c (in lite-c ofcourse) and the glorious combat system (by david lancaster in c-script) together. But it doesn't work.

From map properties -> main file is the .c
As soon as I run the level i get this

<function^flare_center();>
c_fx.wdl (): Not found - flare_center

etc etc for everything else.

If in map properties i change my main file to .wdl it works fine, but of course without anything that belongs to lite-c (shade-c for instance)

when i run the level this is how i launch it

c_main.c -nx 200 -f


maybe something to be changed there?


Dear Fans, to celebrate our 500.000 downloads,
Evhacon 2 is now FREE TO PLAY on Amazon Underground!
HD Version: https://www.amazon.com/gp/product/B071FKSVG2
LD Version (Optimized for lower devices): https://www.amazon.com/gp/product/B0719TXFJN
Re: Lite-C and C-script together [Re: PietroNifosi] #309788
02/11/10 08:35
02/11/10 08:35
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
That don`t will work. You don`t can mix lite-c and c-script.

Re: Lite-C and C-script together [Re: Widi] #309836
02/11/10 15:23
02/11/10 15:23
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
You can't mix Lite-C and C-Script. Stick to one language and use it for all of your code.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: Lite-C and C-script together [Re: Redeemer] #309853
02/11/10 17:01
02/11/10 17:01
Joined: Dec 2009
Posts: 217
Italy
PietroNifosi Offline OP
Member
PietroNifosi  Offline OP
Member

Joined: Dec 2009
Posts: 217
Italy
Oh really? it doesn't work?

So tell me how come there's a few lines in the manual where it's clearly stated that if you name your main.wdl with the same file name of your main.c ("main" is the file name) you can get both languages running at the same time?

And isn't it curious that if you do such a thing everytime you load a level with the .c connected as main file, the .wdl also gets loaded and you can infact browse it from the resource_files>scripts.

Amazing isn't it????


Dear Fans, to celebrate our 500.000 downloads,
Evhacon 2 is now FREE TO PLAY on Amazon Underground!
HD Version: https://www.amazon.com/gp/product/B071FKSVG2
LD Version (Optimized for lower devices): https://www.amazon.com/gp/product/B0719TXFJN
Re: Lite-C and C-script together [Re: PietroNifosi] #309868
02/11/10 18:44
02/11/10 18:44
Joined: Jul 2007
Posts: 424
EUROPE
maslone1 Offline
Senior Member
maslone1  Offline
Senior Member

Joined: Jul 2007
Posts: 424
EUROPE
Take a look in the Rudi-Workshop. There is lite-c and c-script files/code in combination. But not to use functions/instructions of c-script completely, but to use "actions" and functions in WED-Editor. I guess it's used to create prototypes, but not complete codes in combination.....


A8c, Blender, FlStudio, Unity3d
Re: Lite-C and C-script together [Re: maslone1] #309895
02/11/10 20:20
02/11/10 20:20
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
Yes, so you can only use wdl for prototypes.


Gamestudio download | chip programmers | 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