Aktuelle Zeit: Mo Mai 20, 2013 5:52 am


Neues Thema erstellenAntwort erstellen Seite 1 von 1   [ 4 Beiträge ]
Autor Nachricht
 Betreff des Beitrags: Doubt in the use of OmegaFont
BeitragVerfasst: Di Mai 23, 2006 9:18 pm 
Mostly Harmless
Mostly Harmless
Benutzeravatar

Registriert: Mo Mai 22, 2006 9:06 pm
Beiträge: 11
Hi all!

...
...
OmegaFont.BeginFont;
OmegaFont.Print(PanelX + 40, AltoTitulo + Panel_YTitulo, 'Reclutar');
OmegaFont.EndFont;
For caux := 1 to MaxTiposUnidades do
Begin
OImageList_Especial.BeginDraw;
OImageList_Especial.ImageList.Items[Grafico_Base1].Draw(PanelX, AltoTitulo + Panel_YUnidades + caux * 50, 0);
OImageList_Especial.EndDraw;

OImageList_Unidades.BeginDraw;
OImageList_Unidades.ImageList.Items[caux].Draw(PanelX, AltoTitulo + Panel_YUnidades + caux * 50, 0);
OImageList_Unidades.EndDraw;
OmegaFont.BeginFont;
OmegaFont.Print(PanelX + 40, AltoTitulo + Panel_YUnidades + caux * 50, MTiposUnidades[caux].Nombre);
OmegaFont.Print(PanelX + 40, AltoTitulo + Panel_YUnidades + 12 + caux * 50, 'Movimiento: '+IntToStr(MTiposUnidades[caux].Movimiento));
OmegaFont.Print(PanelX + 40, AltoTitulo + Panel_YUnidades + 24 + caux * 50, 'Defensa: '+IntToStr(MTiposUnidades[caux].Defensa));
OmegaFont.Print(PanelX + 40, AltoTitulo + Panel_YUnidades + 36 + caux * 50, 'Ataque: '+IntToStr(MTiposUnidades[caux].Ataque));
OmegaFont.Print(PanelX + 40, AltoTitulo + Panel_YUnidades + 48 + caux * 50, 'Coste: '+IntToStr(MTiposUnidades[caux].Coste));

OmegaFont.EndFont;
end;
...
...

This is a correct use of OmegaFont ? with the OmegaFont.BeginFont and OmegaFont.EndFont in this way ?

_________________
-=Sargora=-


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: Mi Mai 24, 2006 7:49 am 
Site Admin
Site Admin
Benutzeravatar

Registriert: Di Mai 04, 2004 9:48 am
Beiträge: 4065
Wohnort: Drolshagen (Germany/NRW)
Hello,

yes this is the idea on how to use it.

If you have the latest Omega, I think we made some changes and it does not do anything at all. I am not sure.

Use an FPS counter and try with all the Beginfont and Begindraw and then notice the FPS, do the same without all the stuff I think it is the same.

Firle

_________________
You know you've spent too much time on the computer when you spill milk and the first thing you think is, 'edit, undo.'


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: Fr Mai 26, 2006 7:06 pm 
Mostly Harmless
Mostly Harmless
Benutzeravatar

Registriert: Mo Mai 22, 2006 9:06 pm
Beiträge: 11
Yes, its works fine without the beginfont, endfont and checked without begindraw, enddraw of omegaimagelist and works too

About FPS, seems that goes up without all this calls to a empty function in the bucles...

_________________
-=Sargora=-


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: Sa Mai 27, 2006 9:21 am 
Site Admin
Site Admin
Benutzeravatar

Registriert: Di Mai 04, 2004 9:48 am
Beiträge: 4065
Wohnort: Drolshagen (Germany/NRW)
No problem with your English, I can understand you very good, I am myself from germany so also no perfect english :D

Firle

_________________
You know you've spent too much time on the computer when you spill milk and the first thing you think is, 'edit, undo.'


Nach oben
 Profil  
 
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Neues Thema erstellenAntwort erstellen Seite 1 von 1   [ 4 Beiträge ]


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Gehe zu:  
cron


Powered by phpBB® Forum Software © phpBB Group
twilightBB Style by Daniel St. Jules of Gamexe.net

Deutsche Übersetzung durch phpBB.de