Ignore:
Timestamp:
Aug 22, 2010, 2:55:40 AM (10 years ago)
Author:
sam
Message:

Refactor stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/entity.cpp

    r153 r154  
    3838char const *Entity::GetName()
    3939{
    40     return "Generic entity";
     40    return "<entity>";
    4141}
    4242
     
    5555}
    5656
    57 void Entity::TickRender(float deltams)
     57void Entity::TickDraw(float deltams)
    5858{
    5959#if !FINAL_RELEASE
    60     if (state != STATE_PRETICK_RENDER)
    61         fprintf(stderr, "ERROR: invalid entity render tick\n");
    62     state = STATE_POSTTICK_RENDER;
     60    if (state != STATE_PRETICK_DRAW)
     61        fprintf(stderr, "ERROR: invalid entity draw tick\n");
     62    state = STATE_POSTTICK_DRAW;
    6363#endif
    6464}
Note: See TracChangeset for help on using the changeset viewer.