This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 21840 for ps


Ignore:
Timestamp:
06/06/18 19:55:08 (7 years ago)
Author:
elexis
Message:

Support parsing config values as u32 in preparation of D1513, refs #5163.

Differential Revision: https://code.wildfiregames.com/D1566
Reviewed By: Vladislav

Location:
ps/trunk/source/ps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/ps/ConfigDB.cpp

    r18960 r21840  
    1 /* Copyright (C) 2015 Wildfire Games.
     1/* Copyright (C) 2018 Wildfire Games.
    22 * This file is part of 0 A.D.
    33 *
     
    111111GETVAL(bool)
    112112GETVAL(int)
     113GETVAL(u32)
    113114GETVAL(float)
    114115GETVAL(double)
  • ps/trunk/source/ps/ConfigDB.h

    r18987 r21840  
    1 /* Copyright (C) 2015 Wildfire Games.
     1/* Copyright (C) 2018 Wildfire Games.
    22 * This file is part of 0 A.D.
    33 *
     
    6666    ///@copydoc CConfigDB::GetValue
    6767    void GetValue(EConfigNamespace ns, const CStr& name, int& value);
     68    ///@copydoc CConfigDB::GetValue
     69    void GetValue(EConfigNamespace ns, const CStr& name, u32& value);
    6870    ///@copydoc CConfigDB::GetValue
    6971    void GetValue(EConfigNamespace ns, const CStr& name, float& value);
Note: See TracChangeset for help on using the changeset viewer.