English
Regulars table & Café

XProfan 10 - latest Changes

 

RGH
XProfan 10 nähert itself slow but sure the Release-Version. The next Subscriptionslieferung becomes means Version RC1 (ReleaseCandidat 1) his.

following Syntaxänderungen in the OpenGL-area have I yet installed:

The OGL-functions Bitmapfont and Outlinefont receive a further Parameter, namely the lever one with Create(Font,...) begot Fonts. The previous Solution with UseFont having whom disadvantage, that tappt im dunkeln naturally only funktionierte, if the OpenGL-Window the Mainwindow the Program was. so schauts now from:

FontNr% = oGL(BitmapFont, hFont&)
FontNr% = oGL(OutlineFont, hFont&, fashion!)

your müßt means any programs, The Fonts use, properly adjust. i think but, rather now to the Release another Syntaxänderung, as later the Kompatiblität because of a Krücke!

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
08/10/06  
 




Frank
Abbing
correctly.. so must one with of/ one Betaversion still always calculate and this is indeed aale so.
 
08/10/06  
 




Jac
de
Lad
Hello Roland,

I know, that You now not any more plenty to assimilate want, but here another faster suggestion:

Kannste Please a function InstrCount(sub$,string$) or so install, The The amount of sub$ in string$ angibt? the would class!

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
08/15/06  
 




RGH
[quote:e847f7c82b=Jacob Liebeck]Hello Roland,

I know, that You now not any more plenty to assimilate want, but here another faster suggestion:

Kannste Please a function InstrCount(sub$,string$) or so install, The The amount of sub$ in string$ angibt? the would class!

Jac [/quote:e847f7c82b]
Hi,
the goes but already since a couple Subscriptionsversionen with the advanced len-function:
anz% = len(string$, del$)
del$ is the Delimiter between whom Substrings.
And if You know want, How often del$ in string$ vorkommt, ziehst You simply 1 of Result ex.
there del$ too several characters big his can, can on these point with the advanced len-function exakt the detect, what You know want.

Greeting
Roland

Nachtrag: with the opportunity have I yet a small Bug in RC1 discover: If string$ with del$ aufhört, is the Result circa 1 To squat. (too the Leerstring between the last del$ and the Stringende is a gültiger Substring.) In RC2 becomes this bow fixed his.
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
08/15/06  
 




Jac
de
Lad
alas damn, I Have again what not mitgekriegt... ash on my master!!!!

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
08/15/06  
 



[quote:cd9c27c713=Jacob Liebeck]alas damn, I Have again what not mitgekriegt... ash on my master!!!!

Jac [/quote:cd9c27c713]
therefore this Thread here.  [...] 
 
08/15/06  
 




Jac
de
Lad
Yes, you're right...

yet what other: How wärs, if the Compiler with of/ one Header-Definition, The in dern possible angegebenen Header-Files No is simply in a self-defined Header-directory to the Definition seek? so would one itself the $H save and should not always dran think, which Header now be installed must and which not...?

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
08/16/06  
 




RGH
another small Syntaxänderung with OpenGL ex RC2:

from XPGLTyp becomes XPGLObjType. XPGType comes hinzu:

t$ = oGL(XPGLObjType, n&)
determined whom Objekttyp the XPGL-data with the number n&. possible Ergebniswerte: P, L, LS, LL, T, TS, TF, Q, QS, PY

t$ = oGL(XPGLType, n&)
determined The manner the values the XPGL-data with the number n&. the Result is a String, the maximum from whom four letters V, T, C n exists. One V for Vertexwerte is always present, one T standing for Texturwerte, one C for Farbwerte and a n for Normalwerte.

Greeting
Roalnd
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
08/20/06  
 




Jac
de
Lad
Hello Roland!

this is me already with PType$() noticed: I finss unfavourable, for such command as Return Value a String To use, because the Compare undgleich aufwändiger is, as with one Integer. of my opinion to wärs rather, if The functions PType$() and XPGLObjType one Integer give back würden; the Programmer white then from the Help, what The values mean.

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
08/20/06  
 




Jac
de
Lad
Hello Roland!

i know, You want not any more plenty Change, but a klitzekleine idea Have I yet:

would be it possible, that the Compiler yourself recognize, that with DLL-Call The address one Strings indicated go must, means that it the yourself umsetzt? the would a large relief, there ca. 50% of my Programmabstürze in the Testphase on vergessenem Addr() rest. there should one only yet daruaf respect no p$+q$ or s anzugeben.

Jac
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
08/20/06  
 




Frank
Abbing
[quote:5b2f454c64]would be it possible, that the Compiler yourself recognize, that with DLL-Call The address one Strings indicated go must, means that it the yourself umsetzt? the would a large relief,[/quote:5b2f454c64]
ex XProfan can with APIs directly one Literal indicated go. so z.B.:
CompileMarkSeparation
apiAppendMenu(handle&, 0, 100, "Hier ein Text")
>
 
08/20/06  
 




Sebastian
König
[quote:b0d1d2239f]would be it possible, that the Compiler yourself recognize, that with DLL-Call The address one Strings indicated go must, means that it the yourself umsetzt? the would a large relief, there ca. 50% of my Programmabstürze in the Testphase on vergessenem Addr() rest.[/quote:b0d1d2239f]
Hello Jac,

this Error can You by a short Check with the ProfanInspector avoid, the in such Make whom Error E0010 (String directly on externe function transfer) reports...

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
08/20/06  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

10.217 Views

Untitledvor 0 min.

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie