Ignore:
Timestamp:
Mar 2, 2008, 12:29:06 AM (12 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/loadgame.cpp

    r4 r39  
     1#include <string.h>
     2
    13#include "specs.hpp"
    24#include "jwindow.hpp"
     
    810#include "cache.hpp"
    911#include "gui.hpp"
     12#include "dev.hpp"
    1013#include "id.hpp"
    1114#include "demo.hpp"
    1215#include "game.hpp"
    13 #include <string.h>
    1416
    1517extern void *save_order;         // load from "saveordr.lsp", contains a list ordering the save games
     
    1820
    1921extern window_manager *eh;
    20 extern char *symbol_str(char *name);
    2122
    2223#define MAX_SAVE_GAMES 5
     
    6465  return eh->new_window(mx,yres/2-(WINDOW_FRAME_TOP+ih*5)/2,-1,-1,buts[0]);
    6566}
    66 
    67 FILE *open_FILE(char *filename, char *mode);
    6867
    6968int get_save_spot()
     
    141140}
    142141
    143 int load_game(int show_all, char *title)   // return 0 if the player escapes, else return the number of the game to load
     142int load_game(int show_all, char const *title)   // return 0 if the player escapes, else return the number of the game to load
    144143{
    145144        int total_saved=0;
Note: See TracChangeset for help on using the changeset viewer.