replaced bg_list for timed messages by std::vector

This commit is contained in:
Walter Julius Hennecke 2018-06-30 16:47:06 +02:00
parent a87cc1e591
commit 127b39ec50
3 changed files with 3779 additions and 3393 deletions

File diff suppressed because it is too large Load diff

View file

@ -4,6 +4,9 @@
#ifndef _G_LOCAL_H_ #ifndef _G_LOCAL_H_
#define _G_LOCAL_H_ #define _G_LOCAL_H_
#include <string>
#include <vector>
#include "../base_game/q_shared.h" #include "../base_game/q_shared.h"
#include "../base_game/bg_public.h" #include "../base_game/bg_public.h"
#include "g_public.h" #include "g_public.h"
@ -837,8 +840,9 @@ typedef struct {
/*@shared@*/ /*@null@*/ list_p safezones; /*!< self destruct safezones list */ /*@shared@*/ /*@null@*/ list_p safezones; /*!< self destruct safezones list */
/*@shared@*/ /*@null@*/ list_p locations; /*!< level locations list */ /*@shared@*/ /*@null@*/ list_p locations; /*!< level locations list */
/*@shared@*/ /*@null@*/ list_p timedMessages; /*!< timed messages list */
/*@shared@*/ /*@null@*/ list_iter_p iterTimedMessages; size_t timedMessageIndex = 0;
std::vector<std::string> timedMessages;
// other stuff // other stuff
srvChangeData_t srvChangeData; /*!< Server change data */ srvChangeData_t srvChangeData; /*!< Server change data */

File diff suppressed because it is too large Load diff