Changeset 27 in tspsg-svn for trunk/src/defines.h


Ignore:
Timestamp:
Jun 23, 2009, 7:56:29 PM (15 years ago)
Author:
laleppa
Message:

+ Language is automatically loaded at application startup (based on user's locale name).
+ Full Ukrainian and Russian translation.

  • English is now default language.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/defines.h

    r23 r27  
    3333#define DEF_FONT_COLOR Qt::black
    3434
     35// Decided, that static array with 100 of cities maximum hard limit
     36// will be enough for most cases, but the code will be simplier than
     37// when using dynamic lists. If you need more, just change this value
     38// and recompile the program ;-)
     39#define MAX_CITIES 100
     40// This value means infinity :-)
     41#ifndef INFINITY
     42        #define INFINITY 1.7E+308
     43#endif
     44// This is string, which represents infinite value in table
     45#define INFSTR "-----"
     46
    3547#endif // DEFINES_H
Note: See TracChangeset for help on using the changeset viewer.