Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (7th_zorro, Quad, VoroneTZ, 1 invisible), 623 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Rocket Lib for LiteC #416981
02/06/13 20:28
02/06/13 20:28
Joined: Nov 2007
Posts: 318
Brasil, Paraná
NeoNeper Offline OP
Senior Member
NeoNeper  Offline OP
Senior Member

Joined: Nov 2007
Posts: 318
Brasil, Paraná
hello friends!
I would like to make a suggestion for new implementations 3dgs.
A lot of time we are suffering in creating GUI utilities for our projects LITEC

A Wonderful idea, seriously Make LITEC be compatible with some external GUI, such as a libRocket.
http://librocket.com/


Please! Use easy words to be translated. because my English is not very good! Grateful.
_______________________________________________________
Re: Rocket Lib for LiteC [Re: NeoNeper] #416984
02/06/13 21:08
02/06/13 21:08
Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
Ä°stanbul, Turkey
Interesting...


3333333333
Re: Rocket Lib for LiteC [Re: Quad] #416990
02/06/13 22:00
02/06/13 22:00
Joined: Nov 2007
Posts: 318
Brasil, Paraná
NeoNeper Offline OP
Senior Member
NeoNeper  Offline OP
Senior Member

Joined: Nov 2007
Posts: 318
Brasil, Paraná
YEYE


Please! Use easy words to be translated. because my English is not very good! Grateful.
_______________________________________________________
Re: Rocket Lib for LiteC [Re: NeoNeper] #417304
02/11/13 13:51
02/11/13 13:51
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Looks certainly interesting.

Re: Rocket Lib for LiteC [Re: jcl] #417322
02/11/13 15:45
02/11/13 15:45
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Originally Posted By: jcl
Looks certainly interesting.
Are you considering to make an implementation for Gamestudio PC & Android? If so, please tell us so that we/I don't have to do this by myself smile

Re: Rocket Lib for LiteC [Re: HeelX] #417527
02/13/13 15:24
02/13/13 15:24
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
I can not say at the moment, but will tell you when we made a decision.

Re: Rocket Lib for LiteC [Re: jcl] #417529
02/13/13 15:29
02/13/13 15:29
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Originally Posted By: jcl
I can not say at the moment, but will tell you when we made a decision.
Thanks. I guess I'll see it on the forecast then. Btw, I am wondering what happened to the beta/forecast page... it wasn't updated a long time.

Re: Rocket Lib for LiteC [Re: HeelX] #417531
02/13/13 15:42
02/13/13 15:42
Joined: Nov 2012
Posts: 62
Istanbul
T
Talemon Offline
Junior Member
Talemon  Offline
Junior Member
T

Joined: Nov 2012
Posts: 62
Istanbul
Hey, I've spent the last 2 days trying to make it work. I've come to a point where everything is supposed to work but nothing is rendered. You can find my code here: https://github.com/talemon/alibrocket

You need to add the assets that come with the librocket samples to your root folder like fonts, rcss, rml and images.

Re: Rocket Lib for LiteC [Re: Talemon] #417566
02/13/13 22:31
02/13/13 22:31
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Hey Talemon, thanks for your effort! I can't test it right now, though frown but I had a look into your source code.

1.) I see no Lite-C demo which tests the thing...?
2.) I see that you use custom way to export RockInit, RockDestroy and RockUpdate... I would use the standard way with DLLFUNC (which might be exactly the same but it is always a good idea to use the standard procedure)
3.) have you tied the RockUpdate function to render_layer?
4.) Is the DLL really loaded and up and running? (check acklog)

Regards,
-Christian

Re: Rocket Lib for LiteC [Re: HeelX] #417579
02/14/13 08:01
02/14/13 08:01
Joined: Nov 2012
Posts: 62
Istanbul
T
Talemon Offline
Junior Member
Talemon  Offline
Junior Member
T

Joined: Nov 2012
Posts: 62
Istanbul
Hey HeelX,

1)I guess this should do:
Code:
void RockInit(void);
void RockDestroy(void);
void RockUpdate(void);

void main()
{
	level_load(NULL);
}

function on_k_event()
{
	RockInit();
	
	wait(1);
	while(1)
	{
		RockUpdate();
		wait(1);
	}
}



2) Yes, I've used regular win32 style of exporting but both are actually the same:

DLLFUNC is defined as:
Code:
#define DLLFUNC extern "C" __declspec(dllexport)



And my code uses this and also extern "C" at the declarations:
Code:
#define ALIBROCKET_API __declspec(dllexport)



3) I didn't know about these render_ events, I will try to experiment with them.

4) Yes the I've gotten rid of every error and it loads up fine. I added diag()s to various places and confirmed that they are being called. libRocket calls my DLL's RenderCompiledGeometry function with many triangles(which I've confirmed non-zero with diag_var()s)

P.S: I even used procmon and confirmed that the application is reading and loading the resource files, they are all fine.

Page 1 of 2 1 2

Moderated by  aztec, Spirit 

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