Changeset 87


Ignore:
Timestamp:
Mar 6, 2008, 2:33:39 PM (10 years ago)
Author:
Sam Hocevar
Message:
  • Get rid of version.cpp and reimplement show_verinfo() as a simple printf.
Location:
abuse/trunk/src
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/Makefile.am

    r74 r87  
    1212    chat.cpp chat.hpp \
    1313    endgame.cpp \
    14     version.cpp \
    1514    loadgame.cpp loadgame.hpp \
    1615    profile.cpp profile.hpp \
  • abuse/trunk/src/clisp.cpp

    r66 r87  
    21382138    case 265 :
    21392139    {
    2140       return major_version;
     2140      return atoi(PACKAGE_VERSION);
    21412141    } break;
    21422142    case 266 :
    21432143    {
    2144       return minor_version;
     2144      return atoi(strchr(PACKAGE_VERSION, '.') + 1);
    21452145    } break;
    21462146    case 267 :
  • abuse/trunk/src/game.cpp

    r86 r87  
    5959class game;
    6060extern crc_manager *net_crcs;
    61 extern void show_verinfo(int argc, char **argv);
    6261game *the_game;
    6362window_manager *eh = NULL;
     
    23382337void show_startup()
    23392338{
    2340   show_verinfo(start_argc, start_argv);
     2339    dprintf("Abuse version %s\n", PACKAGE_VERSION);
    23412340}
    23422341
Note: See TracChangeset for help on using the changeset viewer.