Changeset 382 for trunk/src/engine


Ignore:
Timestamp:
06/01/15 20:39:35 (10 years ago)
Author:
epyon
Message:
  • massive C++11 update (upgrade to MSVC 2015)
  • array/dynamic_array - fully based on memory containers (will be moved) (in progress)
Location:
trunk/src/engine
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/engine/particle_engine.cc

    r374 r382  
    368368                                {
    369369                                        edata.emmiter_func = nv_particle_emmiter_point;
    370                                         NV_LOG_WARNING( "Unknown emmiter type in particle system! (", sub_type, ")" );
     370                                        NV_LOG_WARNING( "Unknown emmiter type in particle system! (", sub_type.c_str(), ")" );
    371371                                }
    372372
  • trunk/src/engine/program_manager.cc

    r380 r382  
    3737        }
    3838
    39         nv::program program = m_context->get_device()->create_program( vsource, fsource );
     39        nv::program program = m_context->get_device()->create_program( string_ref( vsource ), string_ref( fsource ) );
    4040        return add( program );
    4141}
  • trunk/src/engine/resource_system.cc

    r380 r382  
    1212{
    1313        m_lua = a_lua_state;
    14         lua::register_storage( m_lua, get_storage_name(), "register_" + get_resource_name().to_string() );
     14        lua::register_storage( m_lua, get_storage_name(), string_ref( "register_" + get_resource_name().to_string() ) );
    1515}
    1616
Note: See TracChangeset for help on using the changeset viewer.