|
Last change
on this file since 10994 was
8729,
checked in by rgrieder, 14 years ago
|
|
Merged unity_build branch back to trunk.
Features:
- Implemented fully automatic build units to speed up compilation if requested
- Added DOUT macro for quick debug output
- Activated text colouring in the POSIX IOConsole
- DeclareToluaInterface is not necessary anymore
Improvements:
- Output levels now change appropriately when switch back and forth from dev mode
- Log level for the file output is now also correct during startup
- Removed some header file dependencies in core and tools to speed up compilation
no more file for command line options
- Improved util::tribool by adapting some concepts from boost::tribool
Regressions:
- It is not possible anymore to specify command line arguments in an extra file because we've got config values for that purpose.
|
-
Property svn:eol-style set to
native
|
|
File size:
398 bytes
|
| Line | |
|---|
| 1 | function handleDefArg(argument, defaultValue) |
|---|
| 2 | if argument == nil then |
|---|
| 3 | return defaultValue |
|---|
| 4 | else |
|---|
| 5 | return argument |
|---|
| 6 | end |
|---|
| 7 | end |
|---|
| 8 | |
|---|
| 9 | function table.findIndex(table, value) |
|---|
| 10 | for i, v in ipairs(table) do |
|---|
| 11 | if v == value then |
|---|
| 12 | return i |
|---|
| 13 | end |
|---|
| 14 | end |
|---|
| 15 | return 0 |
|---|
| 16 | end |
|---|
| 17 | |
|---|
| 18 | -- Shortcuts for tribool |
|---|
| 19 | tribool = orxonox.tribool |
|---|
| 20 | dontcare = orxonox.dontcare_keyword_t() |
|---|
Note: See
TracBrowser
for help on using the repository browser.