Ignore:
Timestamp:
Mar 2, 2008, 12:29:06 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fix almost 2,000 warnings by using proper "const" keywords where needed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/level.cpp

    r18 r39  
    12641264}
    12651265
    1266 level::level(spec_directory *sd, bFILE *fp, char *lev_name)
     1266level::level(spec_directory *sd, bFILE *fp, char const *lev_name)
    12671267{
    12681268  spec_entry *e;
     
    17441744    for (i=0;i<total_view_vars();i++)
    17451745    {
    1746       char *find_name=get_view_var_name(i);
     1746      char const *find_name = get_view_var_name(i);
    17471747      se=sd->find(find_name);
    17481748
     
    21862186
    21872187
    2188 int level::save(char *filename, int save_all)
     2188int level::save(char const *filename, int save_all)
    21892189{
    21902190        char name[255], bkname[255];
     
    23402340}
    23412341
    2342 level::level(int width, int height, char *name)
     2342level::level(int width, int height, char const *name)
    23432343{
    23442344  the_game->need_refresh();
     
    32403240}
    32413241
    3242 FILE *open_FILE(char *filename, char *mode);
    3243 
    32443242void level::write_object_info(char *filename)
    32453243{
Note: See TracChangeset for help on using the changeset viewer.