Changeset 121 for trunk/tests


Ignore:
Timestamp:
06/15/13 17:47:57 (12 years ago)
Author:
epyon
Message:
  • Nova builds with -Weverything/-Wall/-pedantic/etc on: on MSVC 2012 on GCC 4.6.3 on clang 3.2
  • ... without a single fucking warning.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/render_test/rl.cc

    r93 r121  
    88#include <nv/logging.hh>
    99#include <nv/logger.hh>
    10 #include <glm/glm.hpp>
    11 #include <glm/gtc/matrix_transform.hpp>
    12 #include <glm/gtc/type_ptr.hpp>
     10#include <nv/math.hh>
    1311#include <nv/string.hh>
    1412#include <nv/types.hh>
     
    1917const nv::uint16 size_xy = size_x * size_y;
    2018
    21 nv::uint8 height[size_xy] =
     19static nv::uint8 height[size_xy] =
    2220{
    2321        4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,  4,
     
    3937};
    4038
    41 nv::uint8 map[size_xy] =
     39static nv::uint8 map[size_xy] =
    4240{
    4341        2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,  2,
     
    224222                                        case nv::KEY_UP     : move.z = move.z - 1.0f; break;
    225223                                        case nv::KEY_DOWN   : move.z = move.z + 1.0f; break;
     224                                        default: break;
    226225                                        }
    227226                                }
    228227                                break;
     228                        default: break;
    229229                        }
    230230                }
Note: See TracChangeset for help on using the changeset viewer.