Gamestudio Links
Zorro Links
Newest Posts
WFO Training with parallel cores Zorro64
by Martin_HH. 02/24/26 19:51
Zorro version 3.0 prerelease!
by TipmyPip. 02/24/26 17:09
ZorroGPT
by TipmyPip. 02/23/26 21:52
Camera always moves upwards?
by clonman. 02/21/26 09:29
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
4 registered members (Martin_HH, TipmyPip, AndrewAMD, Grant), 5,825 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Draw_Line() - under a panel [Re: dennis] #128262
05/13/07 14:11
05/13/07 14:11
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
You could redraw a the tile. Create a bmap during runtime with the customized values and use that on your panel. I don't see the reason why to waste rendering time for these lines as long as you don't zoom in (otherwise, ventilator's suggestion would make more sense).

Re: Draw_Line() - under a panel [Re: dennis] #128263
05/13/07 14:12
05/13/07 14:12
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
it should be quite easy. probably the most difficult thing is setting up the compiler and linker (i always hate that! ).

in the manual there is an example for a dllfunction which draws a triangle. drawing a line would be almost the same. you will need two vertices only and i think instead of trianglefan you have to use the linelist mode for drawprimitiveup.

Re: Draw_Line() - under a panel [Re: ventilator] #128264
05/13/07 14:21
05/13/07 14:21
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline OP
Member
dennis  Offline OP
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...

Okay....I will look at this tutorial. Thanks!

Re: Draw_Line() - under a panel [Re: HeelX] #128265
05/13/07 14:23
05/13/07 14:23
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline OP
Member
dennis  Offline OP
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...

@ HeelX

Again...which beta are thinking of? (A7 or a version above 6.5)

Redrawing the tile is a good idea....it would save rendering time and BMAP memory.
But I need this Size repeating......

Re: Draw_Line() - under a panel [Re: ventilator] #128266
05/13/07 15:28
05/13/07 15:28
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline OP
Member
dennis  Offline OP
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...

@ventilator

I don't find the libraries in the Properties....

(When using VC++ 2005, you also need to tell the linker not to use the libc.lib that was abandoned by Microsoft. Thus, ignore the specific library libc.lib in the project properties for Debug and Release, and add libcmt.lib to the Linkers Additional Dependencies.)

Re: Draw_Line() - under a panel [Re: dennis] #128267
05/13/07 15:38
05/13/07 15:38
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
This feature has been introduced in V6.58.b beta - released 19-Feb-2007

--> see beta page! http://www.conitec.net/beta/

Re: Draw_Line() - under a panel [Re: HeelX] #128268
05/13/07 15:47
05/13/07 15:47
Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...
dennis Offline OP
Member
dennis  Offline OP
Member

Joined: Jul 2006
Posts: 150
Deutschland/Germany, nahe Hamb...

As I can't get the beta now (I think) do you know when the next public version is released?

Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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