Jump to content

Oficial Orr Blog

  • entries
    33
  • comments
    75
  • views
    11,483

Check out the new ini parser


Addictgamer

395 views

 Share

Yes, after a lot of hard work, I have finally added the ini parser into ORR.

It actually reads a .cfg file, but it doesn't matter.

Anyway, here's how it works currently:

;This is a comment

;Here's an example value

SCREEN_WIDTH = 1600

;You see, the SCREEN_WIDTH is the value name, and the = means that the actual value is next.

;I belive, but haven't tried yet, that it can also be done as below

SCREEN WIDTH = 1600

;Please note that anything on the same line after the = does not count as a comment even if you have a ;

;see below

SCREEN_WIDTH = 1600 ;this is not a comment

;Now, the parser doesn't support sections, but there is an easy fix to this, example below

;The rr's speed for unupgraded

PILOT_SPEED = 1

;I would prefer this to be before the pilot's stats though



;---------------------PILOT STATS----------------------

PILOT_SPEEDUPG1 = 2


;You get it? It still has sections, but only we see those sections, not the program.

If you don't like the way it works.

Then YOU SPEND THE NEXT 100000 HOURS GOOGLING FOR SOMETHING TO DO THIS.

Meh, forgot to say this.

Also made orr run fullscreen.

 Share

0 Comments


Recommended Comments

There are no comments to display.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.