Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Stooq now requires an API key
by VHX. 06/08/26 20:14
ZorroGPT
by TipmyPip. 06/06/26 12:36
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
XTB
by pr0logic. 05/18/26 12:27
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 3,688 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Seraphinang, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Font Error #151419
08/31/07 23:17
08/31/07 23:17
Joined: Jun 2006
Posts: 19
H
Hogona Offline OP
Newbie
Hogona  Offline OP
Newbie
H

Joined: Jun 2006
Posts: 19
Hi Everyone.
I am having trouble getting Fonts to work.

Code :

FONT* My_Font = "numbers.tga";

When I try to compile, I get the Error Keyword Unknown FONT*

This is how the manual tells me to do it.

Could someone please tell me what I am doing wrong ????

I am using A7 Commercial.

Re: Font Error [Re: Hogona] #151420
09/01/07 04:42
09/01/07 04:42
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
have you included acknex header in your main file?

Re: Font Error [Re: Shadow969] #151421
09/01/07 11:13
09/01/07 11:13
Joined: Jun 2007
Posts: 236
acknex.exe
ACKNEX007 Offline
Member
ACKNEX007  Offline
Member

Joined: Jun 2007
Posts: 236
acknex.exe
try to include the headers like as this..
#include <acknex.h>
#include <default.c>

and don't forget to save the source file was .c , not .WDL !

thanks.

Re: Font Error [Re: ACKNEX007] #151422
09/02/07 07:04
09/02/07 07:04
Joined: Jun 2006
Posts: 19
H
Hogona Offline OP
Newbie
Hogona  Offline OP
Newbie
H

Joined: Jun 2006
Posts: 19
Thank you Shadow969 and Acknex007, but I saved my file as a .c file and I included the files, but I still get the error.

Last edited by Hogona; 09/02/07 07:05.
Re: Font Error [Re: Hogona] #151423
09/02/07 09:47
09/02/07 09:47
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
looks strange. maybe you should post your full code here, it may help

Re: Font Error [Re: Shadow969] #151424
09/04/07 23:09
09/04/07 23:09
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
HI!

Question :

How does the compiler look at a font file?
Must it be bmp or pcx?

Ottawa

Re: Font Error [Re: Ottawa] #151425
09/05/07 03:53
09/05/07 03:53
Joined: Oct 2006
Posts: 873
S
Shadow969 Offline
User
Shadow969  Offline
User
S

Joined: Oct 2006
Posts: 873
It can be both bmp and pcx
The bitmap size must exactly be either 11 times, 128 times, or 256 times the given character size

Re: Font Error [Re: Shadow969] #151426
09/06/07 22:55
09/06/07 22:55
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Thanks for the info Shadow969


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C

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