Jump to content

Change LoadFont() arguments


MasteR
 Share

Recommended Posts

For consistency I'd like to see LoadFont() accept a string with the .dds file extension.

 

e.g.

LoadFont("FontName.dds")

 

instead of (currently)

LoadFont("FontName")

 

For consistency between the engine's load functions. The LoadModel() function requires .gmf even though it searches for and loads additional files just as LoadFont() does.

AMD Athlon 64 X2 Dual Core 6000+ (3.0 GHz)

4 GB DDR2 RAM

2 x NVIDIA GeForce 9500 GT 512 MB (SLI 1.0 GB)

Windows XP Pro

Link to comment
Share on other sites

Fonts are not loaded from just a dds file. They are loaded from a DDS and an INI file of the same name.

 

LoadModel() requires the .gmf file extension on the end of the file name. But the function also loads .LUA, .INI and .PYH files of the same name.

Why should LoadFont() be any different? The function loads image based fonts, and I feel it makes more sense to pass it an image file name. LoadModel() loads models so you pass it a model filename.

 

I feel there is confusion breed here.

 

It’s simply my thoughts after all this forum is for feature requests not feature demands.

AMD Athlon 64 X2 Dual Core 6000+ (3.0 GHz)

4 GB DDR2 RAM

2 x NVIDIA GeForce 9500 GT 512 MB (SLI 1.0 GB)

Windows XP Pro

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...