Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [40d] Macintosh FPS rate  (Read 759 times)

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
[40d] Macintosh FPS rate
« on: November 04, 2008, 09:14:28 am »

I'm not going to ask you to fix the output system - I know how hard it is - but could you at least set the g_fps timer to something saner, like 20? Or perhaps make it read it from file?

Being stuck on 100 makes the game.. slow.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?

Yanlin

  • Bay Watcher
  • Legendary comedian.
    • View Profile
Re: [40d] Macintosh FPS rate
« Reply #1 on: November 06, 2008, 01:33:53 pm »

I thought the Mac had a text editor that could open simple ini and txt files...

Just edit it yourself man.
Logged
WE NEED A SLOGAN!

Sunday

  • Bay Watcher
    • View Profile
Re: [40d] Macintosh FPS rate
« Reply #2 on: November 06, 2008, 01:52:48 pm »

That's not how it works, Yanlin.  I'm pretty sure when you change the g_fps through the init on a mac, it doesn't actually change the g_fps in the game.  Some of the init options that work on a PC don't work on a mac.
Logged

Sareth

  • Bay Watcher
  • Pull the lever.
    • View Profile
Re: [40d] Macintosh FPS rate
« Reply #3 on: November 06, 2008, 06:19:29 pm »

That sucks, but look at the bright side, Toady is nice enough to make a mac version!
Logged

Yanlin

  • Bay Watcher
  • Legendary comedian.
    • View Profile
Re: [40d] Macintosh FPS rate
« Reply #4 on: November 07, 2008, 01:00:19 am »

That's not how it works, Yanlin.  I'm pretty sure when you change the g_fps through the init on a mac, it doesn't actually change the g_fps in the game.  Some of the init options that work on a PC don't work on a mac.

Care to explain why it works that way? I'm not so great with Macs. I'm a PC man.
Logged
WE NEED A SLOGAN!

Baughn

  • Noble Phantasm
  • The Haruhiist
  • Hiss
    • View Profile
Re: [40d] Macintosh FPS rate
« Reply #5 on: November 08, 2008, 11:08:54 am »

The macintosh port of DF uses a single timer to decide both when to advance the simulation, and when to draw frames.

Right now, it draws at least one frame per tick. The timer ticks 100 times a second.

I don't quite recall if the non-graphical framerate can go above 100 or not, but in any case it would be relatively simple to add a check that only actually draws a frame, say, once every five ticks.
Logged
C++ makes baby Cthulhu weep. Why settle for the lesser horror?