Created
October 15, 2021 18:28
-
-
Save gbudny/52823818a586ea89cc2e10e8b4373d2a to your computer and use it in GitHub Desktop.
warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from alloween.h:157, | |
from alloween.cpp:8: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from bspfile.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
bspfile.cpp: In function ‘hBool LoadMap()’: | |
bspfile.cpp:41:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
41 | m_ConsPrint("Loading Map : %s\n", path ); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
bspfile.cpp:81:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
81 | p = fs_RenameFileExtension(path, "hsl"); | |
| ^~~~~ | |
bspfile.cpp:89:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
89 | m_ConsPrint("No Map file was found!\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
bspfile.cpp: In function ‘void UnloadMap()’: | |
bspfile.cpp:156:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
156 | m_ConsPrint("UnLoading Map\n"); | |
| ^~~~~~~~~~~~~~~~~ | |
bspfile.cpp: In function ‘int bsp_LoadEntity(FILE*)’: | |
bspfile.cpp:614:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
614 | m_ConsPrint("StopPos : %f %f %f\n",gStopPos.X,gStopPos.Y,gStopPos.Z); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
bspfile.cpp: In function ‘void bsp_LoadLightmaps(char*, FILE*)’: | |
bspfile.cpp:650:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
650 | m_ConsPrint(">>> %s\n", name); | |
| ^~~~~~~~~~ | |
bspfile.cpp:683:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
683 | m_ConsPrint("too much lightmaps!\n",path); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
bspfile.cpp:686:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
686 | m_ConsPrint("<LIGHTMAP> %d\n",i); | |
| ^~~~~~~~~~~~~~~~~ | |
bspfile.cpp:695:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
695 | m_ConsPrint("%s\n",path); // | |
| ^~~~~~ | |
bspfile.cpp: In function ‘hBool bsp_Load_MAPFILE(char*)’: | |
bspfile.cpp:823:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
823 | m_ConsPrint("<NODES> %d\n",gNb_nodes); // | |
| ^~~~~~~~~~~~~~ | |
bspfile.cpp:846:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
846 | m_ConsPrint("<FACES> %d\n",gNb_faces); // | |
| ^~~~~~~~~~~~~~ | |
bspfile.cpp:855:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
855 | m_ConsPrint("Too much vertices in a face\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
bspfile.cpp:861:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
861 | m_ConsPrint("vertice : %d error\n",Face.NumberOfVertices); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
bspfile.cpp:896:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
896 | m_ConsPrint("<LEAFS> %d\n",gNb_Leafs); // | |
| ^~~~~~~~~~~~~~ | |
bspfile.cpp:936:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
936 | m_ConsPrint("Too much vertices in a face\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
bspfile.cpp:941:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
941 | m_ConsPrint("vertice : %d error\n",pCurr->NumberOfVertices); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
bspfile.cpp:955:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
955 | m_ConsPrint("ab loading error\n"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
bspfile.cpp:961:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
961 | m_ConsPrint("<PORTALS> %d\n",gNb_Portals); // | |
| ^~~~~~~~~~~~~~~~ | |
bspfile.cpp: In function ‘hBool bsp_Load_POLYFILE(char*)’: | |
bspfile.cpp:1092:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1092 | m_ConsPrint("Polygon List not empty\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
bspfile.cpp:1133:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1133 | m_ConsPrint("Inavlide vertex with %d points\n",Poly->NumberOfVertices); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
bspfile.cpp: In function ‘hBool LoadMap()’: | |
bspfile.cpp:39:20: warning: ‘%s’ directive writing up to 254 bytes into a region of size 243 [-Wformat-overflow=] | |
39 | sprintf(path,"%s%s%s",SYSDIR,MAPDIR,mapfile.string); | |
| ^~ ~~~~~~~~~~~~~~ | |
bspfile.cpp:39:9: note: ‘sprintf’ output between 13 and 267 bytes into a destination of size 255 | |
39 | sprintf(path,"%s%s%s",SYSDIR,MAPDIR,mapfile.string); | |
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
bspfile.cpp: In function ‘void bsp_LoadLightmaps(char*, FILE*)’: | |
bspfile.cpp:694:20: warning: ‘%s’ directive writing up to 254 bytes into a region of size 248 [-Wformat-overflow=] | |
694 | sprintf(path,"%s%s/%s",SYSTEX,cpname,temp); | |
| ^~ ~~~~~~ | |
bspfile.cpp:694:11: note: ‘sprintf’ output between 9 and 517 bytes into a destination of size 255 | |
694 | sprintf(path,"%s%s/%s",SYSTEX,cpname,temp); | |
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from camera.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from halloween_linux.cpp:3: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
halloween_linux.cpp: In function ‘hBool sys_CreateGL(int, int, int)’: | |
halloween_linux.cpp:220:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
220 | m_ConsPrint("SDL_Initialization failed: %s\n", SDL_GetError()); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
halloween_linux.cpp:241:6: error: ‘surface’ was not declared in this scope | |
241 | surface = SDL_SetVideoMode( ScreenX[(int)videomode.value], | |
| ^~~~~~~ | |
halloween_linux.cpp:251:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
251 | m_ConsPrint("Video mode set failed: %s\n", SDL_GetError( ) ); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
halloween_linux.cpp: In function ‘void sys_KillGL()’: | |
halloween_linux.cpp:333:18: error: ‘surface’ was not declared in this scope | |
333 | SDL_FreeSurface(surface); | |
| ^~~~~~~ | |
halloween_linux.cpp: In function ‘int sys_setVID()’: | |
halloween_linux.cpp:362:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
362 | m_ConsPrint("CreateGLWindow FAILED"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:116, | |
from halloween_linux.cpp:3: | |
constantes.h:42:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
42 | #define NAME "HALLOWEEN, The new nightmare!" | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
halloween_linux.cpp:366:19: note: in expansion of macro ‘NAME’ | |
366 | sys_CreateWindow(NAME,ScreenX[(int)videomode.value],ScreenY[(int)videomode.value],(int)colordepth.value); | |
| ^~~~ | |
halloween_linux.cpp:371:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
371 | game_QuitMessage("gl_InitGL Failed."); | |
| ^~~~~~~~~~~~~~~~~~~ | |
halloween_linux.cpp:377:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
377 | game_QuitMessage("di_IniDInput FAILED"); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
halloween_linux.cpp:384:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
384 | m_ConsPrint("No sound available\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
halloween_linux.cpp: In function ‘void sys_end()’: | |
halloween_linux.cpp:442:10: warning: format not a string literal and no format arguments [-Wformat-security] | |
442 | printf(ErrorMessage); | |
| ^~~~~~~~~~~~ | |
halloween_linux.cpp: In function ‘void LoadingError(char*)’: | |
halloween_linux.cpp:456:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
456 | m_ConsPrint("%s\n", message); | |
| ^~~~~~ | |
halloween_linux.cpp: In function ‘void sys_setGamma(float)’: | |
halloween_linux.cpp:530:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
530 | m_ConsPrint("Gamma set to : %f\n",(float)gamma); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
halloween_linux.cpp: In function ‘bool sys_GameEvent()’: | |
halloween_linux.cpp:586:29: error: cannot convert ‘SDL_keysym’ to ‘int’ | |
586 | IN_SetKeyboard(event.key.keysym, false); | |
| ~~~~~~~~~~^~~~~~ | |
| | | |
| SDL_keysym | |
In file included from alloween.h:126, | |
from halloween_linux.cpp:3: | |
input.h:175:40: note: initializing argument 1 of ‘void IN_SetKeyboard(int, hBool)’ | |
175 | void IN_SetKeyboard(int/*SDL_keysym*/ keysym, hBool keydir); | |
| ~~~~~~~~~~~~~~~~~~^~~~~~ | |
halloween_linux.cpp:596:29: error: cannot convert ‘SDL_keysym’ to ‘int’ | |
596 | IN_SetKeyboard(event.key.keysym, true); | |
| ~~~~~~~~~~^~~~~~ | |
| | | |
| SDL_keysym | |
In file included from alloween.h:126, | |
from halloween_linux.cpp:3: | |
input.h:175:40: note: initializing argument 1 of ‘void IN_SetKeyboard(int, hBool)’ | |
175 | void IN_SetKeyboard(int/*SDL_keysym*/ keysym, hBool keydir); | |
| ~~~~~~~~~~~~~~~~~~^~~~~~ | |
halloween_linux.cpp: In function ‘void MACStarter()’: | |
halloween_linux.cpp:690:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
690 | m_ConsPrint("Start game Halloween()\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
halloween_linux.cpp:708:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
708 | game_QuitMessage("m_InitConsole FAILED"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
halloween_linux.cpp:725:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
725 | m_ConsPrint("Failed to set the video mode\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
halloween_linux.cpp:732:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
732 | LoadingError("im_Init FAILED!!"); | |
| ^~~~~~~~~~~~~~~~~~ | |
halloween_linux.cpp: In function ‘int main_Alternate(int, char**)’: | |
halloween_linux.cpp:763:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
763 | m_ConsPrint("main()\n"); | |
| ^~~~~~~~~~ | |
halloween_linux.cpp:795:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
795 | game_QuitMessage("m_InitConsole FAILED"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
halloween_linux.cpp:817:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
817 | LoadingError("im_Init FAILED!!"); | |
| ^~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from player.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from physic.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
physic.cpp: In function ‘tag_entity* Gravity(pEntity, float)’: | |
physic.cpp:64:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
64 | g_DispString(14,"ground under client: %d",GroundType); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
physic.cpp: In function ‘tag_entity* phy_UpdateMoves(pEntity)’: | |
physic.cpp:439:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
439 | g_DispString(14,"(%f %f %f) - (%f %f %f)", gCamera.Pos.X, gCamera.Pos.Y, gCamera.Pos.Z, gCamera.Rot.X, gCamera.Rot.Y, gCamera.Rot.Z); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from collision.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from maths.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from ellipsoide.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
ellipsoide.cpp: In function ‘void col_Handle(vect_t*, vect_t, CTRACE*)’: | |
ellipsoide.cpp:49:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
49 | m_ConsPrint("Solid Leaf Error\n"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
ellipsoide.cpp: In function ‘void col_Unstuck(TCollisionPacket*, CTRACE*, vect_t*, vect_t)’: | |
ellipsoide.cpp:105:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
105 | m_ConsPrint("Stuck (%d)\n", rand()%1000); | |
| ^~~~~~~~~~~~~~ | |
ellipsoide.cpp:129:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
129 | m_ConsPrint("Unstuck\n"); | |
| ^~~~~~~~~~~ | |
ellipsoide.cpp: In function ‘vect_t collideWithWorld(TCollisionPacket*, vect_t, vect_t, CTRACE*)’: | |
ellipsoide.cpp:191:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
191 | m_ConsPrint("recusive error\n"); | |
| ^~~~~~~~~~~~~~~~~~ | |
ellipsoide.cpp:308:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
308 | m_ConsPrint("stuck (!)\n"); | |
| ^~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from console.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
console.cpp: In function ‘void Cvar_RegisterVariable(cvar_t*)’: | |
console.cpp:174:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
174 | m_ConsPrint("New Variable Added: %s %s %f\n", variable->name, variable->string, variable->value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘hBool m_InitConsole()’: | |
console.cpp:231:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
231 | m_ConsPrint("WELCOME TO (%s)\n",GAMEVERSION); | |
| ^~~~~~~~~~~~~~~~~~~ | |
console.cpp:254:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
254 | m_ConsPrint("Console initialization done.\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:255:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
255 | m_ConsPrint("Halloween game engine is ready..\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:116, | |
from alloween.cpp:8, | |
from console.cpp:2: | |
console.cpp: In function ‘void m_ConsoleProcess()’: | |
constantes.h:15:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
15 | #define GAMEVERSION_LITE "Halloween3D" | |
| ^~~~~~~~~~~~~ | |
console.cpp:362:31: note: in expansion of macro ‘GAMEVERSION_LITE’ | |
362 | g_Disp(CONSOLE_FONT, 16, 39, GAMEVERSION_LITE); | |
| ^~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_DispConsoleText()’: | |
console.cpp:403:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
403 | g_DispStringLine(CONSOLE_FONT,16,"]%s%s",ConsoleBufferLine,"_"); | |
| ^~~~~~~ | |
console.cpp:407:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
407 | g_DispStringLine(CONSOLE_FONT,16,"]%s%s",ConsoleBufferLine," "); | |
| ^~~~~~~ | |
console.cpp: In function ‘void m_ConsPrint(char*, ...)’: | |
console.cpp:471:9: warning: format not a string literal and no format arguments [-Wformat-security] | |
471 | printf(buffer); | |
| ^~~~~~ | |
console.cpp: In function ‘void m_ConsoleFindCommand(char*)’: | |
console.cpp:546:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
546 | m_ConsPrint("Pumpkin cheatmode ENABLED !!!\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:548:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
548 | m_ConsPrint("Pumpkin cheatmode DISABLED.\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:555:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
555 | m_ConsPrint("MonsterBomb cheatmode ENABLED !!!\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:557:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
557 | m_ConsPrint("MonsterBomb cheatmode DISABLED.\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:564:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
564 | m_ConsPrint("Msound cheatmode ENABLED !!!\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:566:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
566 | m_ConsPrint("Msound cheatmode DISABLED.\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:604:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
604 | m_ConsPrint(" >> "); | |
| ^~~~~~ | |
console.cpp:641:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
641 | m_ConsPrint(" : Default \"%s\" value %f",var->string,var->value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:669:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
669 | m_ConsPrint(" : Unknow Command"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_EnterConsoleString()’: | |
console.cpp:836:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
836 | m_ConsPrint("Available commands:\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:842:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
842 | m_ConsPrint("-> %s\n", cmd->name); | |
| ^~~~~~~~~ | |
console.cpp:854:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
854 | m_ConsPrint("-> %s\n", var->name); | |
| ^~~~~~~~~ | |
In file included from alloween.h:189, | |
from alloween.cpp:8, | |
from console.cpp:2: | |
console.cpp: In function ‘void m_RegisterConsoleCmd()’: | |
console.h:31:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
31 | #define VERSION "version" | |
| ^~~~~~~~~ | |
console.cpp:911:17: note: in expansion of macro ‘VERSION’ | |
911 | Cmd_AddCommand(VERSION,m_cons_Version); | |
| ^~~~~~~ | |
console.h:32:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
32 | #define MAP "map" | |
| ^~~~~ | |
console.cpp:912:17: note: in expansion of macro ‘MAP’ | |
912 | Cmd_AddCommand(MAP,m_cons_map); | |
| ^~~ | |
console.h:38:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
38 | #define DRAWFACE "drawface" | |
| ^~~~~~~~~~ | |
console.cpp:913:17: note: in expansion of macro ‘DRAWFACE’ | |
913 | Cmd_AddCommand(DRAWFACE,m_cons_DrawFace); | |
| ^~~~~~~~ | |
console.h:39:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
39 | #define DRAWTRIS "drawtris" | |
| ^~~~~~~~~~ | |
console.cpp:914:17: note: in expansion of macro ‘DRAWTRIS’ | |
914 | Cmd_AddCommand(DRAWTRIS,m_cons_DrawTris); | |
| ^~~~~~~~ | |
console.h:53:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
53 | #define DRAWGUN "drawgun" | |
| ^~~~~~~~~ | |
console.cpp:915:17: note: in expansion of macro ‘DRAWGUN’ | |
915 | Cmd_AddCommand(DRAWGUN,m_cons_DrawGun); | |
| ^~~~~~~ | |
console.h:40:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
40 | #define DRAWONE "drawone" | |
| ^~~~~~~~~ | |
console.cpp:916:17: note: in expansion of macro ‘DRAWONE’ | |
916 | Cmd_AddCommand(DRAWONE,m_cons_DrawOne); | |
| ^~~~~~~ | |
console.h:41:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
41 | #define DRAWPORTAL "drawportal" | |
| ^~~~~~~~~~~~ | |
console.cpp:917:17: note: in expansion of macro ‘DRAWPORTAL’ | |
917 | Cmd_AddCommand(DRAWPORTAL,m_cons_DrawPortal); | |
| ^~~~~~~~~~ | |
console.h:43:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
43 | #define DRAWNORMAL "drawnormal" | |
| ^~~~~~~~~~~~ | |
console.cpp:918:17: note: in expansion of macro ‘DRAWNORMAL’ | |
918 | Cmd_AddCommand(DRAWNORMAL,m_cons_DrawNormals); | |
| ^~~~~~~~~~ | |
console.h:44:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
44 | #define PLAYERVIEW "pview" | |
| ^~~~~~~ | |
console.cpp:919:17: note: in expansion of macro ‘PLAYERVIEW’ | |
919 | Cmd_AddCommand(PLAYERVIEW,m_cons_PlayerView); | |
| ^~~~~~~~~~ | |
console.h:45:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
45 | #define DRAWBOUND "drawbound" | |
| ^~~~~~~~~~~ | |
console.cpp:920:17: note: in expansion of macro ‘DRAWBOUND’ | |
920 | Cmd_AddCommand(DRAWBOUND,m_cons_DrawBound); | |
| ^~~~~~~~~ | |
console.h:46:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
46 | #define DRAWCELL "drawcell" | |
| ^~~~~~~~~~ | |
console.cpp:921:17: note: in expansion of macro ‘DRAWCELL’ | |
921 | Cmd_AddCommand(DRAWCELL,m_cons_DrawCell); | |
| ^~~~~~~~ | |
console.h:47:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
47 | #define NOCLIP "noclip" | |
| ^~~~~~~~ | |
console.cpp:922:17: note: in expansion of macro ‘NOCLIP’ | |
922 | Cmd_AddCommand(NOCLIP,m_cons_Noclip); | |
| ^~~~~~ | |
console.h:48:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
48 | #define FOV "fov" | |
| ^~~~~ | |
console.cpp:923:17: note: in expansion of macro ‘FOV’ | |
923 | Cmd_AddCommand(FOV,m_cons_ChangeFOV); | |
| ^~~ | |
console.h:54:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
54 | #define CREATURE_JUMPSTEP "jumpstep" | |
| ^~~~~~~~~~ | |
console.cpp:924:17: note: in expansion of macro ‘CREATURE_JUMPSTEP’ | |
924 | Cmd_AddCommand(CREATURE_JUMPSTEP,m_cons_JumpStep); | |
| ^~~~~~~~~~~~~~~~~ | |
console.h:55:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
55 | #define GROUND_ACCFACTOR "groundacc" | |
| ^~~~~~~~~~~ | |
console.cpp:925:17: note: in expansion of macro ‘GROUND_ACCFACTOR’ | |
925 | Cmd_AddCommand(GROUND_ACCFACTOR,m_cons_groundacc); | |
| ^~~~~~~~~~~~~~~~ | |
console.h:56:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
56 | #define GROUND_SLOWFACTOR "groundslow" | |
| ^~~~~~~~~~~~ | |
console.cpp:926:17: note: in expansion of macro ‘GROUND_SLOWFACTOR’ | |
926 | Cmd_AddCommand(GROUND_SLOWFACTOR,m_cons_groundslow); | |
| ^~~~~~~~~~~~~~~~~ | |
console.h:50:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
50 | #define GRAVITY "gravity" | |
| ^~~~~~~~~ | |
console.cpp:927:17: note: in expansion of macro ‘GRAVITY’ | |
927 | Cmd_AddCommand(GRAVITY,m_cons_ChangeGRAVITY); | |
| ^~~~~~~ | |
console.h:51:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
51 | #define QUIT "quit" | |
| ^~~~~~ | |
console.cpp:928:17: note: in expansion of macro ‘QUIT’ | |
928 | Cmd_AddCommand(QUIT,m_Cons_QuitGame); | |
| ^~~~ | |
console.h:57:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
57 | #define MAX_TRAVEL_VELOCITY "maxspeed" | |
| ^~~~~~~~~~ | |
console.cpp:929:17: note: in expansion of macro ‘MAX_TRAVEL_VELOCITY’ | |
929 | Cmd_AddCommand(MAX_TRAVEL_VELOCITY,m_cons_ChangeMaxSpeed); | |
| ^~~~~~~~~~~~~~~~~~~ | |
console.h:58:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
58 | #define AIR_ACCFACTOR "airacc" | |
| ^~~~~~~~ | |
console.cpp:930:17: note: in expansion of macro ‘AIR_ACCFACTOR’ | |
930 | Cmd_AddCommand(AIR_ACCFACTOR,m_cons_ChangeAirAcc); | |
| ^~~~~~~~~~~~~ | |
console.h:59:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
59 | #define AIR_SLOWFACTOR "airslow" | |
| ^~~~~~~~~ | |
console.cpp:931:17: note: in expansion of macro ‘AIR_SLOWFACTOR’ | |
931 | Cmd_AddCommand(AIR_SLOWFACTOR,m_cons_ChangeAirSlow); | |
| ^~~~~~~~~~~~~~ | |
console.h:60:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
60 | #define SOUNDSYSTEM "soundsys" | |
| ^~~~~~~~~~ | |
console.cpp:932:17: note: in expansion of macro ‘SOUNDSYSTEM’ | |
932 | Cmd_AddCommand(SOUNDSYSTEM,m_cons_ChangeSound); | |
| ^~~~~~~~~~~ | |
console.h:61:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
61 | #define RESPAWNVAR "respawn" | |
| ^~~~~~~~~ | |
console.cpp:933:17: note: in expansion of macro ‘RESPAWNVAR’ | |
933 | Cmd_AddCommand(RESPAWNVAR,m_cons_ChangeRespawn); | |
| ^~~~~~~~~~ | |
console.h:62:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
62 | #define GOD "god" | |
| ^~~~~ | |
console.cpp:934:17: note: in expansion of macro ‘GOD’ | |
934 | Cmd_AddCommand(GOD,m_cons_ChangeGod); | |
| ^~~ | |
console.h:63:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
63 | #define MONSTER "monster" | |
| ^~~~~~~~~ | |
console.cpp:935:17: note: in expansion of macro ‘MONSTER’ | |
935 | Cmd_AddCommand(MONSTER,m_cons_ChangeMonster); | |
| ^~~~~~~ | |
console.h:64:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
64 | #define BOMB_SLOWFACTOR "bombslow" | |
| ^~~~~~~~~~ | |
console.cpp:936:17: note: in expansion of macro ‘BOMB_SLOWFACTOR’ | |
936 | Cmd_AddCommand(BOMB_SLOWFACTOR,m_cons_ChangeBombslow); | |
| ^~~~~~~~~~~~~~~ | |
console.h:65:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
65 | #define MUSICVOL "musicvol" | |
| ^~~~~~~~~~ | |
console.cpp:937:17: note: in expansion of macro ‘MUSICVOL’ | |
937 | Cmd_AddCommand(MUSICVOL,m_cons_ChangeMusicVolume); | |
| ^~~~~~~~ | |
console.h:66:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
66 | #define SOUNDVOL "soundvol" | |
| ^~~~~~~~~~ | |
console.cpp:938:17: note: in expansion of macro ‘SOUNDVOL’ | |
938 | Cmd_AddCommand(SOUNDVOL,m_cons_ChangeSoundVolume); | |
| ^~~~~~~~ | |
console.h:67:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
67 | #define AUTOSWITCH "autoswitch" | |
| ^~~~~~~~~~~~ | |
console.cpp:939:17: note: in expansion of macro ‘AUTOSWITCH’ | |
939 | Cmd_AddCommand(AUTOSWITCH,m_cons_ChangeAutoswitch); | |
| ^~~~~~~~~~ | |
console.h:68:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
68 | #define FULLSCREEN "fullscreen" | |
| ^~~~~~~~~~~~ | |
console.cpp:940:17: note: in expansion of macro ‘FULLSCREEN’ | |
940 | Cmd_AddCommand(FULLSCREEN,m_cons_ChangeFullscreen); | |
| ^~~~~~~~~~ | |
console.h:69:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
69 | #define COLORDEPTH "colordepth" | |
| ^~~~~~~~~~~~ | |
console.cpp:941:17: note: in expansion of macro ‘COLORDEPTH’ | |
941 | Cmd_AddCommand(COLORDEPTH,m_cons_ChangeColordepth); | |
| ^~~~~~~~~~ | |
console.h:70:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
70 | #define VIDEOMODE "videomode" | |
| ^~~~~~~~~~~ | |
console.cpp:942:17: note: in expansion of macro ‘VIDEOMODE’ | |
942 | Cmd_AddCommand(VIDEOMODE,m_cons_ChangeVideoMode); | |
| ^~~~~~~~~ | |
console.h:71:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
71 | #define BLENDMODESRC "bms" | |
| ^~~~~ | |
console.cpp:943:17: note: in expansion of macro ‘BLENDMODESRC’ | |
943 | Cmd_AddCommand(BLENDMODESRC,m_cons_ChangeBlendSrc); | |
| ^~~~~~~~~~~~ | |
console.h:72:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
72 | #define BLENDMODEDST "bmd" | |
| ^~~~~ | |
console.cpp:944:17: note: in expansion of macro ‘BLENDMODEDST’ | |
944 | Cmd_AddCommand(BLENDMODEDST,m_cons_ChangeBlendDst); | |
| ^~~~~~~~~~~~ | |
console.h:73:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
73 | #define STATUTBAR "statutbar" | |
| ^~~~~~~~~~~ | |
console.cpp:945:17: note: in expansion of macro ‘STATUTBAR’ | |
945 | Cmd_AddCommand(STATUTBAR,m_cons_ChangeStatutbar); | |
| ^~~~~~~~~ | |
console.h:74:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
74 | #define ANIMSPEED "animspeed" | |
| ^~~~~~~~~~~ | |
console.cpp:946:17: note: in expansion of macro ‘ANIMSPEED’ | |
946 | Cmd_AddCommand(ANIMSPEED,m_cons_ChangeAnimspeed); | |
| ^~~~~~~~~ | |
console.h:75:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
75 | #define LIGHTMAP "lightmap" | |
| ^~~~~~~~~~ | |
console.cpp:947:17: note: in expansion of macro ‘LIGHTMAP’ | |
947 | Cmd_AddCommand(LIGHTMAP,m_cons_ChangeLightmap); | |
| ^~~~~~~~ | |
console.h:76:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
76 | #define CULLING "cullface" | |
| ^~~~~~~~~~ | |
console.cpp:948:17: note: in expansion of macro ‘CULLING’ | |
948 | Cmd_AddCommand(CULLING,m_cons_ChangeCulling); | |
| ^~~~~~~ | |
console.h:77:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
77 | #define RENDERENT "renderent" | |
| ^~~~~~~~~~~ | |
console.cpp:949:17: note: in expansion of macro ‘RENDERENT’ | |
949 | Cmd_AddCommand(RENDERENT,m_cons_ChangeRenderEnt); | |
| ^~~~~~~~~ | |
console.h:78:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
78 | #define DIRECTSTART "directstart" | |
| ^~~~~~~~~~~~~ | |
console.cpp:950:17: note: in expansion of macro ‘DIRECTSTART’ | |
950 | Cmd_AddCommand(DIRECTSTART,m_cons_ChangeDirectStart); | |
| ^~~~~~~~~~~ | |
console.h:79:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
79 | #define EPSILON "eps" | |
| ^~~~~ | |
console.cpp:951:17: note: in expansion of macro ‘EPSILON’ | |
951 | Cmd_AddCommand(EPSILON,m_cons_ChangeEpsilon); | |
| ^~~~~~~ | |
console.h:81:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
81 | #define DEVELOPER "developer" | |
| ^~~~~~~~~~~ | |
console.cpp:952:17: note: in expansion of macro ‘DEVELOPER’ | |
952 | Cmd_AddCommand(DEVELOPER,m_cons_ChangeDeveloper); | |
| ^~~~~~~~~ | |
console.h:82:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
82 | #define OFFSET "offset" | |
| ^~~~~~~~ | |
console.cpp:953:17: note: in expansion of macro ‘OFFSET’ | |
953 | Cmd_AddCommand(OFFSET,m_cons_ChangeOffset); | |
| ^~~~~~ | |
console.h:83:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
83 | #define LEAF "leaf" | |
| ^~~~~~ | |
console.cpp:954:17: note: in expansion of macro ‘LEAF’ | |
954 | Cmd_AddCommand(LEAF,m_cons_ChangeLeaf); | |
| ^~~~ | |
console.h:84:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
84 | #define RECORD "record" | |
| ^~~~~~~~ | |
console.cpp:955:17: note: in expansion of macro ‘RECORD’ | |
955 | Cmd_AddCommand(RECORD,m_cons_Record); | |
| ^~~~~~ | |
console.h:85:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
85 | #define STOPRECORD "stoprecord" | |
| ^~~~~~~~~~~~ | |
console.cpp:956:17: note: in expansion of macro ‘STOPRECORD’ | |
956 | Cmd_AddCommand(STOPRECORD,m_cons_StopRecord); | |
| ^~~~~~~~~~ | |
console.h:86:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
86 | #define PLAY "play" | |
| ^~~~~~ | |
console.cpp:957:17: note: in expansion of macro ‘PLAY’ | |
957 | Cmd_AddCommand(PLAY,m_cons_Play); | |
| ^~~~ | |
console.h:87:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
87 | #define STOPPLAY "stopplay" | |
| ^~~~~~~~~~ | |
console.cpp:958:17: note: in expansion of macro ‘STOPPLAY’ | |
958 | Cmd_AddCommand(STOPPLAY,m_cons_StopPlay); | |
| ^~~~~~~~ | |
console.h:88:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
88 | #define NOSCRIPT "noscript" | |
| ^~~~~~~~~~ | |
console.cpp:959:17: note: in expansion of macro ‘NOSCRIPT’ | |
959 | Cmd_AddCommand(NOSCRIPT,m_cons_Noscript); | |
| ^~~~~~~~ | |
console.h:102:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
102 | #define RESETGAME "resetgame" | |
| ^~~~~~~~~~~ | |
console.cpp:960:17: note: in expansion of macro ‘RESETGAME’ | |
960 | Cmd_AddCommand(RESETGAME,m_cons_ResetGame); | |
| ^~~~~~~~~ | |
console.h:103:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
103 | #define SAVECONFIG "saveconfig" | |
| ^~~~~~~~~~~~ | |
console.cpp:961:17: note: in expansion of macro ‘SAVECONFIG’ | |
961 | Cmd_AddCommand(SAVECONFIG,m_cons_SaveConfigToFile); | |
| ^~~~~~~~~~ | |
console.h:104:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
104 | #define LOADCONFIG "loadconfig" | |
| ^~~~~~~~~~~~ | |
console.cpp:962:17: note: in expansion of macro ‘LOADCONFIG’ | |
962 | Cmd_AddCommand(LOADCONFIG,m_cons_LoadConfigFromFile); | |
| ^~~~~~~~~~ | |
console.h:105:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
105 | #define PICMIP "picmip" | |
| ^~~~~~~~ | |
console.cpp:963:17: note: in expansion of macro ‘PICMIP’ | |
963 | Cmd_AddCommand(PICMIP,m_cons_ChangePicmip); | |
| ^~~~~~ | |
console.h:106:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
106 | #define GAMMA "gamma" | |
| ^~~~~~~ | |
console.cpp:964:17: note: in expansion of macro ‘GAMMA’ | |
964 | Cmd_AddCommand(GAMMA,m_cons_ChangeGamma); | |
| ^~~~~ | |
console.h:108:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
108 | #define GHOST "ghost" | |
| ^~~~~~~ | |
console.cpp:965:17: note: in expansion of macro ‘GHOST’ | |
965 | Cmd_AddCommand(GHOST,m_cons_ChangeGhost); | |
| ^~~~~ | |
console.h:109:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
109 | #define TERMINATOR "terminator" | |
| ^~~~~~~~~~~~ | |
console.cpp:966:17: note: in expansion of macro ‘TERMINATOR’ | |
966 | Cmd_AddCommand(TERMINATOR,m_cons_ChangeTerminator); | |
| ^~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeGhost()’: | |
console.cpp:1082:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1082 | m_ConsPrint("ghost OFF"); | |
| ^~~~~~~~~~~ | |
console.cpp:1084:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1084 | m_ConsPrint("ghost ON"); | |
| ^~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeTerminator()’: | |
console.cpp:1092:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1092 | m_ConsPrint("terminator OFF"); | |
| ^~~~~~~~~~~~~~~~ | |
console.cpp:1094:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1094 | m_ConsPrint("terminator ON"); | |
| ^~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeGamma()’: | |
console.cpp:1105:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1105 | m_ConsPrint("default: %s value: %f",gamma_.string, gamma_.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangePicmip()’: | |
console.cpp:1126:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1126 | m_ConsPrint("default: %s value: %d",picmip.string,(int)picmip.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ResetGame()’: | |
console.cpp:1142:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1142 | m_ConsPrint("*** game has been reseted ***\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_Noscript()’: | |
console.cpp:1155:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1155 | m_ConsPrint("script ON"); | |
| ^~~~~~~~~~~ | |
console.cpp:1157:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1157 | m_ConsPrint("script OFF"); | |
| ^~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_Record()’: | |
console.cpp:1166:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1166 | m_ConsPrint("can't record demo, a demo is being played!\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:1171:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1171 | m_ConsPrint(" recording demo1.dem\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_StopRecord()’: | |
console.cpp:1178:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1178 | m_ConsPrint(" stop recording demo\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_Play()’: | |
console.cpp:1185:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1185 | m_ConsPrint("can't play demo, a demo is being recorded!\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:1190:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1190 | m_ConsPrint(" playing demo1.dem\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_StopPlay()’: | |
console.cpp:1197:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1197 | m_ConsPrint(" stop playing demo\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeLeaf()’: | |
console.cpp:1229:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1229 | m_ConsPrint(" [default: %s value: %d]",leaf.string,(int)leaf.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:1234:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1234 | m_ConsPrint(" [default: %s New value: %d]",leaf.string,(int)leaf.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeOffset()’: | |
console.cpp:1243:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1243 | m_ConsPrint("default: %s value: %f",offset.string,offset.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeEpsilon()’: | |
console.cpp:1256:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1256 | m_ConsPrint("default: %s value: %f",epsilon.string,epsilon.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeDirectStart()’: | |
console.cpp:1266:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1266 | m_ConsPrint("directstart OFF"); | |
| ^~~~~~~~~~~~~~~~~ | |
console.cpp:1268:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1268 | m_ConsPrint("directstart ON"); | |
| ^~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeRenderEnt()’: | |
console.cpp:1276:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1276 | m_ConsPrint("render_ent OFF"); | |
| ^~~~~~~~~~~~~~~~ | |
console.cpp:1278:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1278 | m_ConsPrint("render_ent ON"); | |
| ^~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeDeveloper()’: | |
console.cpp:1286:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1286 | m_ConsPrint("developer mode OFF"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
console.cpp:1288:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1288 | m_ConsPrint("developer mode ON"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeCulling()’: | |
console.cpp:1296:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1296 | m_ConsPrint("culling OFF"); | |
| ^~~~~~~~~~~~~ | |
console.cpp:1298:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1298 | m_ConsPrint("culling ON"); | |
| ^~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeLightmap()’: | |
console.cpp:1306:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1306 | m_ConsPrint("lightmap OFF"); | |
| ^~~~~~~~~~~~~~ | |
console.cpp:1308:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1308 | m_ConsPrint("lightmap ON"); | |
| ^~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeAnimspeed()’: | |
console.cpp:1323:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1323 | m_ConsPrint("default: %s value: %f",animspeed.string,animspeed.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeStatutbar()’: | |
console.cpp:1333:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1333 | m_ConsPrint("StatutBar OFF"); | |
| ^~~~~~~~~~~~~~~ | |
console.cpp:1335:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1335 | m_ConsPrint("StatutBar ON"); | |
| ^~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeBlendSrc()’: | |
console.cpp:1346:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1346 | m_ConsPrint("default: %s value: %d",bms.string,(int)bms.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeBlendDst()’: | |
console.cpp:1360:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1360 | m_ConsPrint("default: %s value: %d",bmd.string,(int)bmd.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeVideoMode()’: | |
console.cpp:1375:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1375 | m_ConsPrint("default: %s value: %d",videomode.string,(int)videomode.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeColordepth()’: | |
console.cpp:1400:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1400 | m_ConsPrint("default: %s value: %d",colordepth.string,(int)colordepth.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeFullscreen()’: | |
console.cpp:1415:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1415 | m_ConsPrint("Fullscreen mode OFF"); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:1417:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1417 | m_ConsPrint("Fullscreen mode ON"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeAutoswitch()’: | |
console.cpp:1445:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1445 | m_ConsPrint("Autoswitch mode OFF"); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:1447:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1447 | m_ConsPrint("Autoswitch mode ON"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeSoundVolume()’: | |
console.cpp:1458:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1458 | m_ConsPrint("default: %s value: %d",soundvol.string,(int)soundvol.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeMusicVolume()’: | |
console.cpp:1472:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1472 | m_ConsPrint("default: %s value: %d",musicvol.string,(int)musicvol.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeBombslow()’: | |
console.cpp:1486:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1486 | m_ConsPrint("default: %s value: %f",bombslow.string,bombslow.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeMonster()’: | |
console.cpp:1496:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1496 | m_ConsPrint("Monster OFF"); | |
| ^~~~~~~~~~~~~ | |
console.cpp:1498:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1498 | m_ConsPrint("Monster ON"); | |
| ^~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeGod()’: | |
console.cpp:1506:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1506 | m_ConsPrint("God mode OFF"); | |
| ^~~~~~~~~~~~~~ | |
console.cpp:1508:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1508 | m_ConsPrint("God mode ON"); | |
| ^~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeRespawn()’: | |
console.cpp:1516:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1516 | m_ConsPrint("Respawn OFF"); | |
| ^~~~~~~~~~~~~ | |
console.cpp:1518:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1518 | m_ConsPrint("Respawn ON"); | |
| ^~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeAirAcc()’: | |
console.cpp:1549:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1549 | m_ConsPrint("default: %s value: %f",airacc.string,airacc.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeAirSlow()’: | |
console.cpp:1562:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1562 | m_ConsPrint("default: %s value: %f",airslow.string,airslow.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeMaxSpeed()’: | |
console.cpp:1575:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1575 | m_ConsPrint("default: %s value: %f",maxspeed.string,maxspeed.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_groundacc()’: | |
console.cpp:1588:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1588 | m_ConsPrint("default: %s value: %f",groundacc.string,groundacc.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_groundslow()’: | |
console.cpp:1601:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1601 | m_ConsPrint("default: %s value: %f",groundslow.string,groundslow.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_JumpStep()’: | |
console.cpp:1614:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1614 | m_ConsPrint("default: %s value: %f",jumpstep.string,jumpstep.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeFOV()’: | |
console.cpp:1627:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1627 | m_ConsPrint("default: %s value: %d",fov.string,(int)fov.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_ChangeGRAVITY()’: | |
console.cpp:1641:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1641 | m_ConsPrint("default: %s value: %f",gravity.string,(float)gravity.value); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:116, | |
from alloween.cpp:8, | |
from console.cpp:2: | |
console.cpp: In function ‘void m_cons_Version()’: | |
constantes.h:29:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
29 | #define GAMEVERSION "HALLOWEEN 1.999-Linux (C) Copyright 2003 Jadeware" | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
constantes.h:29:33: note: in definition of macro ‘GAMEVERSION’ | |
29 | #define GAMEVERSION "HALLOWEEN 1.999-Linux (C) Copyright 2003 Jadeware" | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_Noclip()’: | |
console.cpp:1656:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1656 | m_ConsPrint("NoClip OFF"); | |
| ^~~~~~~~~~~~ | |
console.cpp:1658:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1658 | m_ConsPrint("NoClip ON"); | |
| ^~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_DrawFace()’: | |
console.cpp:1666:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1666 | m_ConsPrint("DrawFace OFF"); | |
| ^~~~~~~~~~~~~~ | |
console.cpp:1668:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1668 | m_ConsPrint("DrawFace ON"); | |
| ^~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_DrawTris()’: | |
console.cpp:1676:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1676 | m_ConsPrint("DrawTris OFF"); | |
| ^~~~~~~~~~~~~~ | |
console.cpp:1678:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1678 | m_ConsPrint("DrawTris ON"); | |
| ^~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_DrawGun()’: | |
console.cpp:1686:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1686 | m_ConsPrint("drawgun OFF"); | |
| ^~~~~~~~~~~~~ | |
console.cpp:1688:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1688 | m_ConsPrint("drawgun ON"); | |
| ^~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_DrawOne()’: | |
console.cpp:1696:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1696 | m_ConsPrint("DrawOne OFF"); | |
| ^~~~~~~~~~~~~ | |
console.cpp:1698:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1698 | m_ConsPrint("DrawOne ON"); | |
| ^~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_DrawPortal()’: | |
console.cpp:1706:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1706 | m_ConsPrint("DrawPortal OFF"); | |
| ^~~~~~~~~~~~~~~~ | |
console.cpp:1708:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1708 | m_ConsPrint("DrawPortal ON"); | |
| ^~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_InvertMouse()’: | |
console.cpp:1715:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1715 | m_ConsPrint("InvertMouse"); | |
| ^~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_DrawNormals()’: | |
console.cpp:1725:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1725 | m_ConsPrint("DrawNormals OFF"); | |
| ^~~~~~~~~~~~~~~~~ | |
console.cpp:1727:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1727 | m_ConsPrint("DrawNormals ON"); | |
| ^~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_PlayerView()’: | |
console.cpp:1735:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1735 | m_ConsPrint("PlayerView OFF"); | |
| ^~~~~~~~~~~~~~~~ | |
console.cpp:1737:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1737 | m_ConsPrint("PlayerView ON"); | |
| ^~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_DrawBound()’: | |
console.cpp:1745:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1745 | m_ConsPrint("DrawBound OFF"); | |
| ^~~~~~~~~~~~~~~ | |
console.cpp:1747:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1747 | m_ConsPrint("DrawBound ON"); | |
| ^~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_DrawCell()’: | |
console.cpp:1755:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1755 | m_ConsPrint("DrawCell OFF"); | |
| ^~~~~~~~~~~~~~ | |
console.cpp:1757:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1757 | m_ConsPrint("DrawCell ON"); | |
| ^~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_map()’: | |
console.cpp:1772:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1772 | m_ConsPrint("Function need a map file name"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:1795:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1795 | fs_RenameFileExtension(path,"map"); | |
| ^~~~~ | |
console.cpp: In function ‘void m_cons_SaveConfigToFile()’: | |
console.cpp:1812:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1812 | m_ConsPrint("Function need a file name argument"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:1833:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1833 | fs_RenameFileExtension(path, "cfg"); | |
| ^~~~~ | |
console.cpp:1836:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1836 | m_ConsPrint("\n%s config file has been saved.",path); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_LoadConfigFromFile()’: | |
console.cpp:1864:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1864 | m_ConsPrint("Function need a file name argument"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:1910:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1910 | fs_RenameFileExtension(path,"cfg"); | |
| ^~~~~ | |
console.cpp:1915:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1915 | m_ConsPrint("File not found"); | |
| ^~~~~~~~~~~~~~~~ | |
console.cpp:1947:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1947 | m_ConsPrint("New video settings not applyied in dedicated server\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:1986:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1986 | m_ConsPrint("\n%s config file has been loaded.",path); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘hBool cons_SaveConfig(char*)’: | |
console.cpp:2015:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
2015 | m_ConsPrint("Saving config file: %s\n", path); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘hBool cons_LoadConfig(char*)’: | |
console.cpp:2192:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
2192 | m_ConsPrint("Loading config file: %s\n", path); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp:2218:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
2218 | m_ConsPrint("cons_LoadConfig error\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_EnterConsoleString()’: | |
console.cpp:830:34: warning: ‘%s’ directive writing up to 254 bytes into a region of size 80 [-Wformat-overflow=] | |
830 | sprintf(ConsoleBufferLine, "%s ", var->name); | |
| ^~ | |
console.cpp:830:13: note: ‘sprintf’ output between 2 and 256 bytes into a destination of size 80 | |
830 | sprintf(ConsoleBufferLine, "%s ", var->name); | |
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_SaveConfigToFile()’: | |
console.cpp:1834:22: warning: ‘%s’ directive writing up to 254 bytes into a region of size 248 [-Wformat-overflow=] | |
1834 | sprintf(fullpath,"%s%s",SYSDIR,path); | |
| ^~ ~~~~ | |
console.cpp:1834:9: note: ‘sprintf’ output between 8 and 262 bytes into a destination of size 255 | |
1834 | sprintf(fullpath,"%s%s",SYSDIR,path); | |
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
console.cpp: In function ‘void m_cons_LoadConfigFromFile()’: | |
console.cpp:1911:22: warning: ‘%s’ directive writing up to 254 bytes into a region of size 248 [-Wformat-overflow=] | |
1911 | sprintf(fullpath,"%s%s",SYSDIR,path); | |
| ^~ ~~~~ | |
console.cpp:1911:9: note: ‘sprintf’ output between 8 and 262 bytes into a destination of size 255 | |
1911 | sprintf(fullpath,"%s%s",SYSDIR,path); | |
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from bsptree.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
bsptree.cpp: In function ‘int bsp_FindCamera_rec(int, vect_t)’: | |
bsptree.cpp:24:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
24 | m_ConsPrint("Node error\n"); | |
| ^~~~~~~~~~~~~~ | |
bsptree.cpp: In function ‘vect_t bsp_CorrectSide_rec(int, CTRACE*, vect_t, vect_t)’: | |
bsptree.cpp:58:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
58 | m_ConsPrint("Node Error\n"); | |
| ^~~~~~~~~~~~~~ | |
bsptree.cpp:91:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
91 | m_ConsPrint("Solid Space : Corrected\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
bsptree.cpp:94:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
94 | m_ConsPrint("Can't Corret : no plan\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
bsptree.cpp: In function ‘void bsp_DrawMap(Camera_t*)’: | |
bsptree.cpp:129:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
129 | g_DispString(12,"portal_drawed: %d",portal_drawed); | |
| ^~~~~~~~~~~~~~~~~~~ | |
bsptree.cpp: In function ‘void bsp_GetNL_rec(int, NL_t*, int, vect_t, float)’: | |
bsptree.cpp:203:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
203 | m_ConsPrint("rec_depth overflow\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from opengl.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
opengl.cpp: In function ‘int gl_InitGL()’: | |
opengl.cpp:920:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
920 | m_ConsPrint("GL_VENDOR: %s\n", gl_vendor); | |
| ^~~~~~~~~~~~~~~~~ | |
opengl.cpp:922:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
922 | m_ConsPrint ("GL_RENDERER: %s\n", gl_renderer); | |
| ^~~~~~~~~~~~~~~~~~~ | |
opengl.cpp:924:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
924 | m_ConsPrint ("GL_VERSION: %s\n", gl_version); | |
| ^~~~~~~~~~~~~~~~~~ | |
opengl.cpp:926:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
926 | m_ConsPrint ("GL_EXTENSIONS: %s\n", gl_extensions); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from demo.cpp:1: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
demo.cpp: In function ‘char demo_PlayReadKey()’: | |
demo.cpp:57:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
57 | m_ConsPrint("fin de demo.\n"); | |
| ^~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from display.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
display.cpp: In function ‘void disp_World()’: | |
display.cpp:263:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
263 | g_DispString(14,"gFrameTime_msec: %f",gFrameTime_msec); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
display.cpp:264:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
264 | g_DispString(14,"gTotalTime_msec: %f",gTotalTime_msec); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
display.cpp:265:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
265 | g_DispString(14,"clock: %f",(float)disp_GetClock()); | |
| ^~~~~~~~~~~ | |
display.cpp:269:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
269 | g_DispString(14,"%d FPS",(int)gFPSshowed); | |
| ^~~~~~~~ | |
In file included from alloween.h:157, | |
from enveffect.cpp:1: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from filesys.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
filesys.cpp: In function ‘char* fs_RenameFileExtension(char*, char*)’: | |
filesys.cpp:134:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
134 | m_ConsPrint("%s\n", renamed); | |
| ^~~~~~ | |
filesys.cpp: In function ‘void s_free(void*)’: | |
filesys.cpp:325:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
325 | m_ConsPrint("warning : Free(NULL)\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from frustrum.cpp:1: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
frustrum.cpp: In function ‘void frustrum_DispMatrix()’: | |
frustrum.cpp:12:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
12 | g_DispString(14,"============================"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
frustrum.cpp:13:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
13 | g_DispString(14,"%f %f %f %f", | |
| ^~~~~~~~~~~~~ | |
frustrum.cpp:15:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
15 | g_DispString(14,"%f %f %f %f", | |
| ^~~~~~~~~~~~~ | |
frustrum.cpp:17:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
17 | g_DispString(14,"%f %f %f %f", | |
| ^~~~~~~~~~~~~ | |
frustrum.cpp:19:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
19 | g_DispString(14,"%f %f %f %f", | |
| ^~~~~~~~~~~~~ | |
frustrum.cpp:21:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
21 | g_DispString(14,"============================"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
frustrum.cpp: In function ‘void frustrum_Disp(Plan_t*)’: | |
frustrum.cpp:28:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
28 | g_DispString(14,"============================"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
frustrum.cpp:32:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
32 | g_DispString(14,"%f %f %f : %f", | |
| ^~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from game.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
game.cpp: In function ‘void game_Load2D_game_icons()’: | |
game.cpp:122:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
122 | txid_0=game_Load2D("0.tga"); | |
| ^~~~~~~ | |
game.cpp:123:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
123 | txid_1=game_Load2D("1.tga"); | |
| ^~~~~~~ | |
game.cpp:124:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
124 | txid_2=game_Load2D("2.tga"); | |
| ^~~~~~~ | |
game.cpp:125:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
125 | txid_3=game_Load2D("3.tga"); | |
| ^~~~~~~ | |
game.cpp:126:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
126 | txid_4=game_Load2D("4.tga"); | |
| ^~~~~~~ | |
game.cpp:127:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
127 | txid_5=game_Load2D("5.tga"); | |
| ^~~~~~~ | |
game.cpp:128:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
128 | txid_6=game_Load2D("6.tga"); | |
| ^~~~~~~ | |
game.cpp:129:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
129 | txid_7=game_Load2D("7.tga"); | |
| ^~~~~~~ | |
game.cpp:130:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
130 | txid_8=game_Load2D("8.tga"); | |
| ^~~~~~~ | |
game.cpp:131:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
131 | txid_9=game_Load2D("9.tga"); | |
| ^~~~~~~ | |
game.cpp:132:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
132 | txid_HEART=game_Load2D("heart.tga"); | |
| ^~~~~~~~~~~ | |
game.cpp:133:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
133 | txid_CLOCK=game_Load2D("clock.tga"); | |
| ^~~~~~~~~~~ | |
game.cpp:134:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
134 | txid_BOMBE=game_Load2D("bombe.tga"); | |
| ^~~~~~~~~~~ | |
game.cpp:135:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
135 | txid_FIOLE1_ICONE=game_Load2D("fiole1_icone.tga"); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:136:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
136 | txid_FIOLE2_ICONE=game_Load2D("fiole2_icone.tga"); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:137:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
137 | txid_FIOLE3_ICONE=game_Load2D("fiole3_icone.tga"); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:138:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
138 | txid_FLECHE=game_Load2D("arme_fleche.tga"); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp: In function ‘void game_Load2Dicons()’: | |
game.cpp:146:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
146 | m_ConsPrint("game_Load2Dicons\n"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
game.cpp:148:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
148 | txid_RESUME=game_Load2D("resume_icon.tga"); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp:149:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
149 | txid_RESUME2=game_Load2D("resume2_icon.tga"); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:150:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
150 | txid_LEAVE=game_Load2D("leave_icon.tga"); | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:151:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
151 | txid_LEAVE2=game_Load2D("leave2_icon.tga"); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp:152:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
152 | txid_EXIT=game_Load2D("exit_icon.tga"); | |
| ^~~~~~~~~~~~~~~ | |
game.cpp:153:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
153 | txid_EXIT2=game_Load2D("exit2_icon.tga"); | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:155:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
155 | txid_FLAME[0] = im_Load("flame/flame1.tga",-1,(int)picmip.value,false); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:156:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
156 | txid_FLAME[1] = im_Load("flame/flame2.tga",-1,(int)picmip.value,false); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:157:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
157 | txid_FLAME[2] = im_Load("flame/flame3.tga",-1,(int)picmip.value,false); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:158:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
158 | txid_FLAME[3] = im_Load("flame/flame4.tga",-1,(int)picmip.value,false); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:159:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
159 | txid_FLAME[4] = im_Load("flame/flame5.tga",-1,(int)picmip.value,false); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:160:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
160 | txid_FLAME[5] = im_Load("flame/flame6.tga",-1,(int)picmip.value,false); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:161:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
161 | txid_FLAME[6] = im_Load("flame/flame7.tga",-1,(int)picmip.value,false); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:162:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
162 | txid_FLAME[7] = im_Load("flame/flame8.tga",-1,(int)picmip.value,false); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:164:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
164 | txid_FONT = game_Load2D("font.tga"); | |
| ^~~~~~~~~~ | |
game.cpp:165:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
165 | txid_NICEFONT = tga_Load("fonte/fonte.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp:166:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
166 | txid_TARGET = game_Load2D("target.tga"); | |
| ^~~~~~~~~~~~ | |
game.cpp:167:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
167 | txid_DEFAULTMAP = game_Load2D("defaultmap.tga"); | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:168:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
168 | txid_OMBRAGE = tga_Load("ombrage.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~ | |
game.cpp:169:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
169 | txid_RAYURE=game_Load2D("rayure.tga"); | |
| ^~~~~~~~~~~~ | |
game.cpp:170:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
170 | txid_COPY=game_Load2D("copyright.tga"); | |
| ^~~~~~~~~~~~~~~ | |
game.cpp:171:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
171 | txid_CURSOR=game_Load2D("cursor.tga"); | |
| ^~~~~~~~~~~~ | |
game.cpp:172:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
172 | txid_GAMEOPTIONCONFIG=game_Load2D("gameoption_icon.tga"); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:173:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
173 | txid_INPUTCONFIG=game_Load2D("control_icon.tga"); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:174:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
174 | txid_VIDEOCONFIG=game_Load2D("video_icon.tga"); | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:175:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
175 | txid_SOUNDCONFIG=game_Load2D("sound_icon.tga"); | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:176:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
176 | txid_INPUTCONFIG2=game_Load2D("control2_icon.tga"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
game.cpp:177:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
177 | txid_VIDEOCONFIG2=game_Load2D("video2_icon.tga"); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp:178:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
178 | txid_SOUNDCONFIG2=game_Load2D("sound2_icon.tga"); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp:179:37: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
179 | txid_GAMEOPTIONCONFIG2=game_Load2D("gameoption2_icon.tga"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:180:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
180 | txid_BULLET=game_Load2D("bullet.tga"); | |
| ^~~~~~~~~~~~ | |
game.cpp:181:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
181 | txid_BUTTON=game_Load2D("button.tga"); | |
| ^~~~~~~~~~~~ | |
game.cpp:182:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
182 | txid_BUTTON_P=game_Load2D("button_p.tga"); | |
| ^~~~~~~~~~~~~~ | |
game.cpp:183:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
183 | txid_BUTTON_M=game_Load2D("button_m.tga"); | |
| ^~~~~~~~~~~~~~ | |
game.cpp:184:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
184 | txid_BUTTON_P_SEL=game_Load2D("button_p_sel.tga"); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:185:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
185 | txid_BUTTON_M_SEL=game_Load2D("button_m_sel.tga"); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:186:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
186 | txid_BUTTON_DEL=game_Load2D("button_del.tga"); | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:187:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
187 | txid_BUTTON2_DEL=game_Load2D("button2_del.tga"); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp:188:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
188 | txid_BUTTONGO=game_Load2D("button_play.tga"); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp:189:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
189 | txid_BUTTONGO2=game_Load2D("button2_play.tga"); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:190:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
190 | txid_BUTTONNEXT=game_Load2D("button_next.tga"); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp:191:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
191 | txid_BUTTONNEXT2=game_Load2D("button2_next.tga"); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:192:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
192 | txid_BUTTONBACK=game_Load2D("button_back.tga"); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp:193:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
193 | txid_BUTTONBACK2=game_Load2D("button2_back.tga"); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:194:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
194 | txid_CONSOLE=game_Load2D("console.tga"); | |
| ^~~~~~~~~~~~~ | |
game.cpp:195:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
195 | txid_CITROUILLE=game_Load2D("citrouille.tga"); | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:196:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
196 | txid_GRIS=game_Load2D("gris.tga"); | |
| ^~~~~~~~~~ | |
game.cpp:197:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
197 | txid_ORDER=game_Load2D("order.tga"); | |
| ^~~~~~~~~~~ | |
game.cpp:198:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
198 | txid_HELPORDER = tga_Load("interface/tombz/help.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:199:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
199 | txid_HELPORDER2 = tga_Load("interface/tombz/help_sel.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:200:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
200 | txid_HELP=game_Load2D("help.tga"); | |
| ^~~~~~~~~~ | |
game.cpp:201:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
201 | txid_BONUS1=game_Load2D("bonus1_logo.tga"); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp:202:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
202 | txid_CREDIT=game_Load2D("credit.tga"); | |
| ^~~~~~~~~~~~ | |
game.cpp:203:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
203 | txid_BG1 = tga_Load("interface/bg_part1.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:204:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
204 | txid_BG2 = tga_Load("interface/bg_part2.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:205:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
205 | txid_BG2_G = tga_Load("interface/bg_part2_gris.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:206:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
206 | txid_TNN[0] = tga_Load("interface/title/tnn_1.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:207:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
207 | txid_TNN[1] = tga_Load("interface/title/tnn_2.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:208:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
208 | txid_STARTGAME = tga_Load("interface/tombz/game.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:209:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
209 | txid_STARTGAME2 = tga_Load("interface/tombz/game_sel.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:210:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
210 | txid_CONFIG = tga_Load("interface/tombz/option.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:211:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
211 | txid_CONFIG2 = tga_Load("interface/tombz/option_sel.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:212:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
212 | txid_CONFIG3 = game_Load2D("config.tga"); | |
| ^~~~~~~~~~~~ | |
game.cpp:213:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
213 | txid_CONFIG4 = game_Load2D("config2.tga"); | |
| ^~~~~~~~~~~~~ | |
game.cpp:214:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
214 | txid_ORDERGAME = tga_Load("interface/tombz/order.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:215:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
215 | txid_ORDERGAME2 = tga_Load("interface/tombz/order_sel.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:216:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
216 | txid_QUITGAME = tga_Load("interface/tombz/quit.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:217:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
217 | txid_QUITGAME2 = tga_Load("interface/tombz/quit_sel.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:218:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
218 | txid_STARTGAME_G = tga_Load("interface/tombz/game_gris.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:219:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
219 | txid_HELPORDER_G = tga_Load("interface/tombz/help_gris.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:220:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
220 | txid_ORDERGAME_G = tga_Load("interface/tombz/order_gris.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:221:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
221 | txid_QUITGAME_G = tga_Load("interface/tombz/quit_gris.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:222:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
222 | txid_OPTION_G = tga_Load("interface/tombz/option_gris.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:224:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
224 | txid_SELECTGAMESLOT = tga_Load("interface/game/selectgameslot.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:225:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
225 | txid_EASY = tga_Load("interface/game/easy.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:226:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
226 | txid_NORMAL = tga_Load("interface/game/normal.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:227:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
227 | txid_HARD = tga_Load("interface/game/hard.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:228:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
228 | txid_EMPTY = tga_Load("interface/game/empty.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:229:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
229 | txid_EASY_G = tga_Load("interface/game/easy_b.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:230:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
230 | txid_NORMAL_G = tga_Load("interface/game/normal_b.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:231:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
231 | txid_HARD_G = tga_Load("interface/game/hard_b.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:232:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
232 | txid_EMPTY_G = tga_Load("interface/game/empty_b.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:233:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
233 | txid_TDM = tga_Load("interface/game/tdm.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:234:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
234 | txid_TDM_G = tga_Load("interface/game/tdm_b.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:235:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
235 | txid_YES = tga_Load("interface/game/yes.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:236:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
236 | txid_YES_G = tga_Load("interface/game/yes_b.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:237:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
237 | txid_NO = tga_Load("interface/game/no.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:238:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
238 | txid_NO_G = tga_Load("interface/game/no_b.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:273:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
273 | txid_DEPLA_ICON[0] = tga_Load("goals/depla_ok.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
game.cpp:274:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
274 | txid_DEPLA_ICON[1] = tga_Load("goals/depla_no.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
game.cpp:275:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
275 | txid_MORBAK_ICON[0] = tga_Load("goals/morbak_ok.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:276:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
276 | txid_MORBAK_ICON[1] = tga_Load("goals/morbak_no.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:277:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
277 | txid_SUB_ICON[0] = tga_Load("goals/subzerat_ok.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:278:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
278 | txid_SUB_ICON[1] = tga_Load("goals/subzerat_no.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:279:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
279 | txid_BAT_ICON[0] = tga_Load("goals/zebat_ok.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
game.cpp:280:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
280 | txid_BAT_ICON[1] = tga_Load("goals/zebat_no.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
game.cpp:281:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
281 | txid_MOMY_ICON[0] = tga_Load("goals/zemomy_ok.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:282:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
282 | txid_MOMY_ICON[1] = tga_Load("goals/zemomy_no.tga",-1,-1,false); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:283:24: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
283 | txid_TOILE = tga_Load("toile.tga",-1,-1,false); | |
| ^~~~~~~~~~~ | |
game.cpp: In function ‘void game_LoadEntities()’: | |
game.cpp:288:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
288 | o_LoadEntityToStruct("perso.ent",PERSO); | |
| ^~~~~~~~~~~ | |
game.cpp:289:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
289 | o_LoadEntityToStruct("gun1.ent",GUN1); | |
| ^~~~~~~~~~ | |
game.cpp:290:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
290 | o_LoadEntityToStruct("gun1b.ent",GUN1B); | |
| ^~~~~~~~~~~ | |
game.cpp:291:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
291 | o_LoadEntityToStruct("gun2.ent",GUN2); | |
| ^~~~~~~~~~ | |
game.cpp:292:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
292 | o_LoadEntityToStruct("gun3.ent",GUN3); | |
| ^~~~~~~~~~ | |
game.cpp:293:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
293 | o_LoadEntityToStruct("gun3b.ent",GUN3B); | |
| ^~~~~~~~~~~ | |
game.cpp:294:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
294 | o_LoadEntityToStruct("spike.ent",SPIKE); | |
| ^~~~~~~~~~~ | |
game.cpp:295:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
295 | o_LoadEntityToStruct("fleche.ent",FLECHE); | |
| ^~~~~~~~~~~~ | |
game.cpp:296:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
296 | o_LoadEntityToStruct("spine.ent",SPINE); | |
| ^~~~~~~~~~~ | |
game.cpp:297:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
297 | o_LoadEntityToStruct("masse.ent",SABRE); | |
| ^~~~~~~~~~~ | |
game.cpp:298:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
298 | o_LoadEntityToStruct("bombe.ent",BOMBE); | |
| ^~~~~~~~~~~ | |
game.cpp:299:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
299 | o_LoadEntityToStruct("monstre.ent",DEPLA); | |
| ^~~~~~~~~~~~~ | |
game.cpp:300:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
300 | o_LoadEntityToStruct("monstre.ent",MORBAK); | |
| ^~~~~~~~~~~~~ | |
game.cpp:301:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
301 | o_LoadEntityToStruct("skydome.ent",SKYDOME); | |
| ^~~~~~~~~~~~~ | |
game.cpp:302:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
302 | o_LoadEntityToStruct("skydome2.ent",SKYDOME2); | |
| ^~~~~~~~~~~~~~ | |
game.cpp:307:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
307 | o_LoadEntityToStruct("amo1.ent",AMO1); | |
| ^~~~~~~~~~ | |
game.cpp:308:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
308 | o_LoadEntityToStruct("amo2.ent",AMO2); | |
| ^~~~~~~~~~ | |
game.cpp:309:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
309 | o_LoadEntityToStruct("amo3.ent",AMO3); | |
| ^~~~~~~~~~ | |
game.cpp:310:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
310 | o_LoadEntityToStruct("explosion.ent",EXPLOSION); | |
| ^~~~~~~~~~~~~~~ | |
game.cpp:311:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
311 | o_LoadEntityToStruct("jade.ent",JADE); | |
| ^~~~~~~~~~ | |
game.cpp:312:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
312 | o_LoadEntityToStruct("lift.ent",LIFT); | |
| ^~~~~~~~~~ | |
game.cpp:313:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
313 | o_LoadEntityToStruct("pang.ent",PANG); | |
| ^~~~~~~~~~ | |
game.cpp:314:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
314 | o_LoadEntityToStruct("fiole1.ent",FIOLE1); | |
| ^~~~~~~~~~~~ | |
game.cpp:315:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
315 | o_LoadEntityToStruct("fiole2.ent",FIOLE2); | |
| ^~~~~~~~~~~~ | |
game.cpp:316:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
316 | o_LoadEntityToStruct("fiole3.ent",FIOLE3); | |
| ^~~~~~~~~~~~ | |
game.cpp:317:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
317 | o_LoadEntityToStruct("smoke.ent",SMOKE); | |
| ^~~~~~~~~~~ | |
game.cpp:318:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
318 | o_LoadEntityToStruct("lampe.ent",LAMPE); | |
| ^~~~~~~~~~~ | |
game.cpp:319:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
319 | o_LoadEntityToStruct("lampemur.ent",MLAMPE); | |
| ^~~~~~~~~~~~~~ | |
game.cpp:320:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
320 | o_LoadEntityToStruct("pumpkin.ent",PUMPKIN); | |
| ^~~~~~~~~~~~~ | |
game.cpp:321:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
321 | o_LoadEntityToStruct("H.ent",H); | |
| ^~~~~~~ | |
game.cpp:322:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
322 | o_LoadEntityToStruct("A.ent",A); | |
| ^~~~~~~ | |
game.cpp:323:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
323 | o_LoadEntityToStruct("L.ent",L); | |
| ^~~~~~~ | |
game.cpp:324:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
324 | o_LoadEntityToStruct("O.ent",O); | |
| ^~~~~~~ | |
game.cpp:325:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
325 | o_LoadEntityToStruct("W.ent",W); | |
| ^~~~~~~ | |
game.cpp:326:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
326 | o_LoadEntityToStruct("E.ent",E); | |
| ^~~~~~~ | |
game.cpp:327:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
327 | o_LoadEntityToStruct("N.ent",N); | |
| ^~~~~~~ | |
game.cpp:328:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
328 | o_LoadEntityToStruct("toile.ent",TOILE); | |
| ^~~~~~~~~~~ | |
game.cpp:329:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
329 | o_LoadEntityToStruct("deplaspike.ent",DEPLASPIKE); | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:330:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
330 | o_LoadEntityToStruct("depla_head.ent",DEPLAHEAD); | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:331:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
331 | o_LoadEntityToStruct("blood.ent",BLOOD); | |
| ^~~~~~~~~~~ | |
game.cpp:332:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
332 | o_LoadEntityToStruct("morbak_body.ent",MORBAKBODY); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp: In function ‘hBool game_Load2Dstuff()’: | |
game.cpp:444:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
444 | txid_LOGO = game_Load2D("logo.tga"); | |
| ^~~~~~~~~~ | |
game.cpp:445:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
445 | txid_LOGO2 = game_Load2D("logo2.tga"); | |
| ^~~~~~~~~~~ | |
game.cpp:446:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
446 | DispText("",txid_LOGO); | |
| ^~ | |
game.cpp: In function ‘hBool game_LoadModels()’: | |
game.cpp:625:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
625 | if(!msk_LoadData(&gModel_depla,"depla")) | |
| ^~~~~~~ | |
game.cpp:627:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
627 | game_QuitMessage("loadModelData: depla.ms3d FAILED!"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:630:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
630 | if(!msk_LoadData(&gModel_morbak,"morbak")) | |
| ^~~~~~~~ | |
game.cpp:632:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
632 | game_QuitMessage("loadModelData: morbak.ms3d FAILED!"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:636:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
636 | if(!msk_LoadData(&gModel_zebat,"zebat")) | |
| ^~~~~~~ | |
game.cpp:638:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
638 | game_QuitMessage("loadModelData: zebat.ms3d FAILED!"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:641:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
641 | if(!msk_LoadData(&gModel_subzerat,"subzerat")) | |
| ^~~~~~~~~~ | |
game.cpp:643:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
643 | game_QuitMessage("loadModelData: subzerat.ms3d FAILED!"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:646:35: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
646 | if(!msk_LoadData(&gModel_zemummy,"zemummy")) | |
| ^~~~~~~~~ | |
game.cpp:648:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
648 | game_QuitMessage("loadModelData: zemummy.ms3d FAILED!"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp: In function ‘void game_catchedinit(int)’: | |
game.cpp:916:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
916 | char *texts[17] = { "arf", | |
| ^~~~~ | |
game.cpp:917:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
917 | "You picked up the arbalett", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:918:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
918 | "You picked up the bombgun", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:919:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
919 | "You picked up the tromblon", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:920:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
920 | "You picked up arbalett ammo", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:921:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
921 | "You picked up bombgun ammo", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:922:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
922 | "You picked up tromblon ammo", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:923:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
923 | "You picked up some life", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:924:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
924 | "You picked up the red flask", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:925:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
925 | "You picked up the green flask", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:926:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
926 | "You picked up the blue flask", | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:927:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
927 | "You klegged depla", | |
| ^~~~~~~~~~~~~~~~~~~ | |
game.cpp:928:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
928 | "You klegged morbak", | |
| ^~~~~~~~~~~~~~~~~~~~ | |
game.cpp:929:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
929 | "You klegged zebat", | |
| ^~~~~~~~~~~~~~~~~~~ | |
game.cpp:930:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
930 | "You klegged subzerat", | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:931:8: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
931 | "You klegged zemummy" | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
game.cpp: In function ‘void game_EngineProcess()’: | |
game.cpp:1009:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1009 | g_DispCenterString(24, 6, "PAUNDEP : Congratulations!"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1010:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1010 | g_DispCenterString(24, 7, "Your Score: %d", gScore); | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:1011:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1011 | g_Disp(12, 37, 3, "Hit ESC key"); | |
| ^~~~~~~~~~~~~ | |
game.cpp:1034:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1034 | g_DispString(16,"Score: %d", gScore); | |
| ^~~~~~~~~~~ | |
game.cpp: In function ‘hBool GameProcess()’: | |
game.cpp:1155:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1155 | m_ConsPrint("client is ready, let's start the multiplayer game\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1168:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1168 | m_ConsPrint("Le client a re�u les entitees dans la map en cours du serveur\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1169:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1169 | m_ConsPrint("client envoi une demande de point d'apparition\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1190:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1190 | m_ConsPrint("client envoi une demande des entitees au serveur\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1209:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1209 | game_QuitMessage("LoadGame FAILED"); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp:1243:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1243 | g_DispCenterString(28, 3, "Connecting to.. %s", net_ip.string); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1322:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1322 | g_DispCenterString(17,21,"Congratulations"); | |
| ^~~~~~~~~~~~~~~~~ | |
game.cpp:1323:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1323 | g_DispCenterString(17,22,"You have reached the end of the easy game"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1324:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1324 | g_DispCenterString(17,23,"Try a highter level mode"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1328:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1328 | g_DispCenterString(17,21,"Yeah"); | |
| ^~~~~~ | |
game.cpp:1329:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1329 | g_DispCenterString(17,22,"You have reached the end of the normal game"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1330:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1330 | g_DispCenterString(17,23,"Try the hard mode"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
game.cpp:1334:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1334 | g_DispCenterString(17,21,"Oh my god"); | |
| ^~~~~~~~~~~ | |
game.cpp:1335:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1335 | g_DispCenterString(17,22,"You have reached the end of the hard game"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1336:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1336 | g_DispCenterString(17,24,"Coming Soon Halloween2"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp: In function ‘void game_DrawAuthorNames()’: | |
game.cpp:1535:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1535 | g_DispCenterString(fnt,line++,"coding"); | |
| ^~~~~~~~ | |
game.cpp:1536:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1536 | g_DispCenterString(fnt,line++,"JULIEN MEYER"); | |
| ^~~~~~~~~~~~~~ | |
game.cpp:1538:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1538 | g_DispCenterString(fnt,line++,"map conception"); | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:1539:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1539 | g_DispCenterString(fnt,line++,"GWENAEL BEGO, ALEXIS MAURICE"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1541:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1541 | g_DispCenterString(fnt,line++,"game design"); | |
| ^~~~~~~~~~~~~ | |
game.cpp:1542:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1542 | g_DispCenterString(fnt,line++,"VIANNEY DEVOIZE, THOMAS BERNOS, JULIEN CHABROLLES"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1544:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1544 | g_DispCenterString(fnt,line++,"music"); | |
| ^~~~~~~ | |
game.cpp:1545:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1545 | g_DispCenterString(fnt,line++,"OLIVIER SOUBIELE, SEBASTIEN CHOQUENE"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1547:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1547 | g_DispCenterString(fnt,line++,"sound"); | |
| ^~~~~~~ | |
game.cpp:1548:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1548 | g_DispCenterString(fnt,line++,"THIERRY DUTRUC-ROSSET"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp:1550:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1550 | g_DispCenterString(fnt,line++,"model"); | |
| ^~~~~~~ | |
game.cpp:1551:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1551 | g_DispCenterString(fnt,line++,"SYLVAIN THIEBAUT"); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp:1553:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1553 | g_DispCenterString(fnt,line++,"storyboard"); | |
| ^~~~~~~~~~~~ | |
game.cpp:1554:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1554 | g_DispCenterString(fnt,line++,"BENJAMIN DETROYE"); | |
| ^~~~~~~~~~~~~~~~~~ | |
game.cpp: In function ‘void game_CheckMapCompleted()’: | |
game.cpp:1939:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1939 | m_ConsPrint("Map Complete!\n"); | |
| ^~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:116, | |
from alloween.cpp:8, | |
from game.cpp:2: | |
game.cpp: In function ‘char* game_GetMusicString(int)’: | |
constantes.h:95:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
95 | #define TRACK_PB "partyboy.mp3" | |
| ^~~~~~~~~~~~~~ | |
game.cpp:1969:10: note: in expansion of macro ‘TRACK_PB’ | |
1969 | return TRACK_PB; | |
| ^~~~~~~~ | |
constantes.h:86:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
86 | #define TRACK_0 "Halloween0.mp3" | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:1972:10: note: in expansion of macro ‘TRACK_0’ | |
1972 | return TRACK_0; | |
| ^~~~~~~ | |
constantes.h:87:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
87 | #define TRACK_1 "Halloween1.mp3" | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:1975:10: note: in expansion of macro ‘TRACK_1’ | |
1975 | return TRACK_1; | |
| ^~~~~~~ | |
constantes.h:88:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
88 | #define TRACK_2 "Halloween2.mp3" | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:1978:10: note: in expansion of macro ‘TRACK_2’ | |
1978 | return TRACK_2; | |
| ^~~~~~~ | |
constantes.h:89:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
89 | #define TRACK_3 "Halloween3.mp3" | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:1981:10: note: in expansion of macro ‘TRACK_3’ | |
1981 | return TRACK_3; | |
| ^~~~~~~ | |
constantes.h:90:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
90 | #define TRACK_4 "Halloween4.mp3" | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:1984:10: note: in expansion of macro ‘TRACK_4’ | |
1984 | return TRACK_4; | |
| ^~~~~~~ | |
constantes.h:91:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
91 | #define TRACK_5 "Halloween5.mp3" | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:1987:10: note: in expansion of macro ‘TRACK_5’ | |
1987 | return TRACK_5; | |
| ^~~~~~~ | |
constantes.h:92:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
92 | #define TRACK_6 "Halloween6.mp3" | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:1990:10: note: in expansion of macro ‘TRACK_6’ | |
1990 | return TRACK_6; | |
| ^~~~~~~ | |
constantes.h:93:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
93 | #define TRACK_7 "Halloween7.mp3" | |
| ^~~~~~~~~~~~~~~~ | |
game.cpp:1993:10: note: in expansion of macro ‘TRACK_7’ | |
1993 | return TRACK_7; | |
| ^~~~~~~ | |
constantes.h:82:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
82 | #define TRACK_PRES1 "pres_1.mp3" | |
| ^~~~~~~~~~~~ | |
game.cpp:1996:10: note: in expansion of macro ‘TRACK_PRES1’ | |
1996 | return TRACK_PRES1; | |
| ^~~~~~~~~~~ | |
constantes.h:83:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
83 | #define TRACK_PRES2 "pres_2.mp3" | |
| ^~~~~~~~~~~~ | |
game.cpp:1999:10: note: in expansion of macro ‘TRACK_PRES2’ | |
1999 | return TRACK_PRES2; | |
| ^~~~~~~~~~~ | |
constantes.h:84:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
84 | #define TRACK_PRES3 "pres_3.mp3" | |
| ^~~~~~~~~~~~ | |
game.cpp:2002:10: note: in expansion of macro ‘TRACK_PRES3’ | |
2002 | return TRACK_PRES3; | |
| ^~~~~~~~~~~ | |
constantes.h:85:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
85 | #define TRACK_PRES4 "pres_4.mp3" | |
| ^~~~~~~~~~~~ | |
game.cpp:2005:10: note: in expansion of macro ‘TRACK_PRES4’ | |
2005 | return TRACK_PRES4; | |
| ^~~~~~~~~~~ | |
game.cpp: In function ‘void game_WinProcess()’: | |
game.cpp:2063:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
2063 | g_DispCenterString(24, 2, "You Lose"); | |
| ^~~~~~~~~~ | |
game.cpp:2067:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
2067 | g_DispCenterString(24, 2, "You Win"); | |
| ^~~~~~~~~ | |
game.cpp: In function ‘void game_UpdateSlot_all()’: | |
game.cpp:2118:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
2118 | m_ConsPrint("error : can't save into game slot. %s\n",fullpath); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:116, | |
from alloween.cpp:8, | |
from game.cpp:2: | |
game.cpp: In function ‘void game_LaunchBonusMapMusic()’: | |
constantes.h:95:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
95 | #define TRACK_PB "partyboy.mp3" | |
| ^~~~~~~~~~~~~~ | |
game.cpp:2589:23: note: in expansion of macro ‘TRACK_PB’ | |
2589 | ds_LoadStreamWAVE(TRACK_PB); | |
| ^~~~~~~~ | |
game.cpp: In function ‘void game_LaunchPresMusic()’: | |
constantes.h:82:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
82 | #define TRACK_PRES1 "pres_1.mp3" | |
| ^~~~~~~~~~~~ | |
game.cpp:2594:23: note: in expansion of macro ‘TRACK_PRES1’ | |
2594 | ds_LoadStreamWAVE(TRACK_PRES1); | |
| ^~~~~~~~~~~ | |
game.cpp: In function ‘hBool game_ReadBit(int, int)’: | |
game.cpp:2605:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
2605 | m_ConsPrint("game_ReadBit with outbound values warning\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
game.cpp: In function ‘void game_SetBit(int*, int)’: | |
game.cpp:2625:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
2625 | m_ConsPrint("game_SetBit with outbound values warning\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from gameover.cpp:3: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from image.cpp:1: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
image.cpp: In function ‘int im_Load(char*, int, int, hBool)’: | |
image.cpp:41:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
41 | m_ConsPrint("%s\n",name); | |
| ^~~~~~ | |
image.cpp:51:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
51 | if(fs_IsFileExtension(name,"jpg")) | |
| ^~~~~ | |
image.cpp:55:45: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
55 | tmpnametga = fs_RenameFileExtension(name,"tga"); | |
| ^~~~~ | |
image.cpp:61:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
61 | else if(fs_IsFileExtension(name,"tga")) | |
| ^~~~~ | |
image.cpp:65:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
65 | tmpname = fs_RenameFileExtension(name,"jpg"); | |
| ^~~~~ | |
image.cpp: In function ‘void im_ReloadTextures()’: | |
image.cpp:100:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
100 | tmpTextureId = game_Load2D("logo_restartsys.tga"); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
image.cpp:101:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
101 | DispText("",tmpTextureId); | |
| ^~ | |
image.cpp: In function ‘void im_ScreenShotTGA()’: | |
image.cpp:186:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
186 | m_ConsPrint("Too much screenshots!\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
image.cpp:226:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
226 | m_ConsPrint("%s\n",path); | |
| ^~~~~~ | |
image.cpp:170:23: warning: ‘shot’ directive writing 4 bytes into a region of size between 1 and 255 [-Wformat-overflow=] | |
170 | sprintf(filename,"%sshot%.4d.tga",path,idshot); | |
| ^~~~ | |
image.cpp:170:10: note: ‘sprintf’ output between 13 and 274 bytes into a destination of size 255 | |
170 | sprintf(filename,"%sshot%.4d.tga",path,idshot); | |
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
image.cpp:225:29: warning: ‘%s’ directive writing up to 254 bytes into a region of size 243 [-Wformat-overflow=] | |
225 | sprintf(path, "Screenshot: %s\n", filename); | |
| ^~ ~~~~~~~~ | |
image.cpp:225:9: note: ‘sprintf’ output between 14 and 268 bytes into a destination of size 255 | |
225 | sprintf(path, "Screenshot: %s\n", filename); | |
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from input.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
input.cpp: In function ‘void IN_ReadKeyboard()’: | |
input.cpp:340:6: error: ‘KInput’ has not been declared | |
340 | if(KInput::isPressed( (EKeyboardLayout)i)) | |
| ^~~~~~ | |
input.cpp:340:26: error: ‘EKeyboardLayout’ was not declared in this scope | |
340 | if(KInput::isPressed( (EKeyboardLayout)i)) | |
| ^~~~~~~~~~~~~~~ | |
input.cpp: In function ‘void IN_SetKeyboard(int, hBool)’: | |
input.cpp:359:15: error: request for member ‘scancode’ in ‘keysym’, which is of non-class type ‘int’ | |
359 | key = keysym.scancode; | |
| ^~~~~~~~ | |
input.cpp:367:58: error: request for member ‘sym’ in ‘keysym’, which is of non-class type ‘int’ | |
367 | rncpy(KeysInput[key].keyname, SDL_GetKeyName(keysym.sym), 32); // | |
| ^~~ | |
input.cpp: In function ‘long int IN_ReadMouse()’: | |
input.cpp:440:24: error: ‘KInput’ has not been declared | |
440 | float msx = (float)(KInput::getMouseX()); | |
| ^~~~~~ | |
input.cpp:441:24: error: ‘KInput’ has not been declared | |
441 | float msy = (float)(KInput::getMouseY()); | |
| ^~~~~~ | |
input.cpp:517:6: error: ‘KInput’ has not been declared | |
517 | if( KInput::getLeftButtonState() == ISDOWN ) | |
| ^~~~~~ | |
input.cpp:517:38: error: ‘ISDOWN’ was not declared in this scope; did you mean ‘DIK_DOWN’? | |
517 | if( KInput::getLeftButtonState() == ISDOWN ) | |
| ^~~~~~ | |
| DIK_DOWN | |
input.cpp:526:6: error: ‘KInput’ has not been declared | |
526 | if( KInput::getRightButtonState() == ISDOWN ) | |
| ^~~~~~ | |
input.cpp:526:39: error: ‘ISDOWN’ was not declared in this scope; did you mean ‘DIK_DOWN’? | |
526 | if( KInput::getRightButtonState() == ISDOWN ) | |
| ^~~~~~ | |
| DIK_DOWN | |
input.cpp: In function ‘char* IN_GetKeyChar(int)’: | |
input.cpp:803:43: error: request for member ‘unicode’ in ‘KeysInput[IdScannedKey].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
803 | unicode = KeysInput[IdScannedKey].keysym.unicode; | |
| ^~~~~~~ | |
input.cpp: In function ‘char* IN_GetKeyStringName(int)’: | |
input.cpp:814:10: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
814 | return "LEFTMOUSE"; | |
| ^~~~~~~~~~~ | |
input.cpp:817:10: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
817 | return "RIGHTMOUSE"; | |
| ^~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from interface.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from jpeg.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
jpeg.cpp: In function ‘int jpeg_VidLoad(byte*, int, int, int, char*, hBool)’: | |
jpeg.cpp:18:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
18 | m_ConsPrint("Already loaded ! (id:%d)\n",TextureList[k].id); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
jpeg.cpp:33:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
33 | m_ConsPrint("too much loaded texture. max : %d", TEXTURELOADED); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
jpeg.cpp: In function ‘int jpeg_Load(char*, int, int, hBool)’: | |
jpeg.cpp:77:38: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
77 | Name = fs_RenameFileExtension(Name, "tga"); | |
| ^~~~~ | |
libsound_linux.cpp:3:10: fatal error: KSound.h: No such file or directory | |
3 | #include "KSound.h" | |
| ^~~~~~~~~~ | |
compilation terminated. | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from liste.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from menu.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
menu.cpp: In function ‘void menu_ClickedA_PRES()’: | |
menu.cpp:256:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
256 | fs_launchURL("http://store.esellerate.net/jadeware/lnx"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu.cpp: In function ‘void DrawGameConfig_VIDEO()’: | |
menu.cpp:392:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
392 | g_Disp(16,24,26,"Apply"); | |
| ^~~~~~~ | |
menu.cpp:395:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
395 | g_Disp(16,17,23,"Full screen ON"); | |
| ^~~~~~~~~~~~~~~~ | |
menu.cpp:397:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
397 | g_Disp(16,17,23,"Full screen OFF"); | |
| ^~~~~~~~~~~~~~~~~ | |
menu.cpp:399:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
399 | g_Disp(16,18,23,"Video mode %dx%d",(int)ScreenX[new_videomode],(int)ScreenY[new_videomode]); | |
| ^~~~~~~~~~~~~~~~~~ | |
menu.cpp:400:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
400 | g_Disp(16,19,23,"Color depth %d",new_colordepth); | |
| ^~~~~~~~~~~~~~~~ | |
menu.cpp:403:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
403 | g_Disp(16,20,23,"Lightmap"); | |
| ^~~~~~~~~~ | |
menu.cpp:405:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
405 | g_Disp(16,20,23,"Vertex"); | |
| ^~~~~~~~ | |
menu.cpp:407:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
407 | g_Disp(16,21,23,"Texture quality %d", 100-(((int)picmip.value-1)*20)); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
menu.cpp:411:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
411 | g_Disp(16,22,23,"Display Brigthness"); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
menu.cpp: In function ‘void DrawGameConfig_SOUND()’: | |
menu.cpp:524:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
524 | g_Disp(16,18,20,"Music volume: %d",(int)musicvol.value); | |
| ^~~~~~~~~~~~~~~~~~ | |
menu.cpp:525:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
525 | g_Disp(16,19,20,"Sound volume: %d",(int)soundvol.value); | |
| ^~~~~~~~~~~~~~~~~~ | |
menu.cpp: In function ‘void DrawGameConfig_INPUT()’: | |
menu.cpp:586:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
586 | g_DispCenterString(16,11,"Invert Mouse: OFF"); | |
| ^~~~~~~~~~~~~~~~~~~ | |
menu.cpp:588:28: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
588 | g_DispCenterString(16,11,"Invert Mouse: ON"); | |
| ^~~~~~~~~~~~~~~~~~ | |
menu.cpp:589:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
589 | g_DispCenterString(16,12,"Mouse Sensibility: %d",(int)(player_rvel.value*100)); // %1.2f | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
menu.cpp:624:88: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[0]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
624 | %s]", SDL_GetKeyName( KeysInput[gGameIdKeys[0]].keysym.sym ) ); | |
| ^~~ | |
menu.cpp:625:89: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[1]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
625 | [%s]", SDL_GetKeyName( KeysInput[gGameIdKeys[1]].keysym.sym )); | |
| ^~~ | |
menu.cpp:626:85: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[2]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
626 | [%s]", SDL_GetKeyName( KeysInput[gGameIdKeys[2]].keysym.sym )); | |
| ^~~ | |
menu.cpp:627:86: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[3]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
627 | [%s]", SDL_GetKeyName( KeysInput[gGameIdKeys[3]].keysym.sym )); | |
| ^~~ | |
menu.cpp:628:80: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[4]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
628 | [%s]", SDL_GetKeyName( KeysInput[gGameIdKeys[4]].keysym.sym )); | |
| ^~~ | |
menu.cpp:629:82: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[5]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
629 | [%s]", SDL_GetKeyName( KeysInput[gGameIdKeys[5]].keysym.sym )); | |
| ^~~ | |
menu.cpp:630:82: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[6]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
630 | [%s]", SDL_GetKeyName( KeysInput[gGameIdKeys[6]].keysym.sym )); | |
| ^~~ | |
menu.cpp:631:79: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[7]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
631 | [%s]", SDL_GetKeyName( KeysInput[gGameIdKeys[7]].keysym.sym )); | |
| ^~~ | |
menu.cpp:632:84: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[8]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
632 | [%s]", SDL_GetKeyName( KeysInput[gGameIdKeys[8]].keysym.sym )); | |
| ^~~ | |
menu.cpp:633:83: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[9]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
633 | [%s]", SDL_GetKeyName( KeysInput[gGameIdKeys[9]].keysym.sym )); | |
| ^~~ | |
menu.cpp:634:85: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[10]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
634 | %s]", SDL_GetKeyName( KeysInput[gGameIdKeys[10]].keysym.sym )); | |
| ^~~ | |
menu.cpp:635:83: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[11]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
635 | %s]", SDL_GetKeyName( KeysInput[gGameIdKeys[11]].keysym.sym )); | |
| ^~~ | |
menu.cpp:636:80: error: request for member ‘sym’ in ‘KeysInput[gGameIdKeys[12]].KeysInputTag::keysym’, which is of non-class type ‘int’ | |
636 | %s]", SDL_GetKeyName( KeysInput[gGameIdKeys[12]].keysym.sym )); | |
| ^~~ | |
menu.cpp:640:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
640 | g_Disp(16,28,25,"+ Screenshot [NUMPAD_5]"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu.cpp: In function ‘void DrawGameConfig_GAMEOPTION()’: | |
menu.cpp:704:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
704 | g_Disp(16,18,23,"Autoswitch weapon: OFF"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu.cpp:706:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
706 | g_Disp(16,18,23,"Autoswitch weapon: ON"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
menu.cpp:709:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
709 | g_Disp(16,19,23,"Draw weapon: OFF"); | |
| ^~~~~~~~~~~~~~~~~~ | |
menu.cpp:711:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
711 | g_Disp(16,19,23,"Draw weapon: ON"); | |
| ^~~~~~~~~~~~~~~~~ | |
menu.cpp:714:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
714 | g_Disp(16,20,23,"Draw FPS: OFF"); | |
| ^~~~~~~~~~~~~~~ | |
menu.cpp:716:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
716 | g_Disp(16,20,23,"Draw FPS: ON"); | |
| ^~~~~~~~~~~~~~ | |
menu.cpp: In function ‘void DrawGameConfig_StartMAP_goals()’: | |
menu.cpp:826:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
826 | text_Disp(30,"TOURNAMENT",2,342,0,0,0,true); | |
| ^~~~~~~~~~~~ | |
menu.cpp:827:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
827 | text_Disp(30,"TOURNAMENT",0,340,255,255,255,true); | |
| ^~~~~~~~~~~~ | |
menu.cpp:831:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
831 | g_DispCenterString(28, 3, "Connecting to.. %s", net_ip.string); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
menu.cpp:837:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
837 | text_Disp(30,"YOU HAVE TO KILL",2,342,0,0,0,true); | |
| ^~~~~~~~~~~~~~~~~~ | |
menu.cpp:838:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
838 | text_Disp(30,"YOU HAVE TO KILL",0,340,255,255,255,true); | |
| ^~~~~~~~~~~~~~~~~~ | |
menu.cpp: In function ‘void DrawGameConfig_StartMAP()’: | |
menu.cpp:1053:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1053 | g_DispString(16,"Error : map id greater than max alloweed : 9"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from menu_init.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from menu_sel.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
menu_sel.cpp: In function ‘void menu_SelectProcess_CONFIG_SOUND()’: | |
menu_sel.cpp:211:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
211 | menu_SlotProcess(0,txid_BUTTON_M,txid_BUTTON_M_SEL,"Decrease music volume",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:212:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
212 | menu_SlotProcess(1,txid_BUTTON_P,txid_BUTTON_P_SEL,"Increase music volume",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:213:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
213 | menu_SlotProcess(2,txid_BUTTON_M,txid_BUTTON_M_SEL,"Decrease sound volume",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:214:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
214 | menu_SlotProcess(3,txid_BUTTON_P,txid_BUTTON_P_SEL,"Increase sound volume",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp: In function ‘void menu_SelectProcess_CONFIG_INPUT()’: | |
menu_sel.cpp:230:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
230 | menu_SlotProcess(0,txid_BUTTON,txid_BUTTON_P_SEL,"Toggle Mouse Invert/Regular",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:231:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
231 | menu_SlotProcess(1,txid_BUTTON_M,txid_BUTTON_M_SEL,"Decrease Mouse sensibility",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:232:53: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
232 | menu_SlotProcess(2,txid_BUTTON_P,txid_BUTTON_P_SEL,"Increase Mouse sensibility",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:234:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
234 | menu_SlotProcess(4,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:235:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
235 | menu_SlotProcess(5,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:236:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
236 | menu_SlotProcess(6,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:237:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
237 | menu_SlotProcess(7,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:238:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
238 | menu_SlotProcess(8,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:239:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
239 | menu_SlotProcess(9,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:240:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
240 | menu_SlotProcess(10,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:241:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
241 | menu_SlotProcess(11,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:242:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
242 | menu_SlotProcess(12,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:243:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
243 | menu_SlotProcess(13,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:244:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
244 | menu_SlotProcess(14,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:245:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
245 | menu_SlotProcess(15,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:246:52: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
246 | menu_SlotProcess(16,txid_BUTTON,txid_BUTTON_P_SEL,"CLICK THEN PRESS A KEY",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp: In function ‘void menu_SelectProcess_CONFIG_VIDEO()’: | |
menu_sel.cpp:277:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
277 | _SlotProcess(slotId++,txid_BUTTON,txid_BUTTON_P_SEL,"Toggle Fullscreen/windowed video mode",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:278:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
278 | lotProcess(slotId++,txid_BUTTON_M,txid_BUTTON_M_SEL,"Change video mode",39,12); | |
| ^~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:279:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
279 | lotProcess(slotId++,txid_BUTTON_P,txid_BUTTON_P_SEL,"Change video mode",39,12); | |
| ^~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:280:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
280 | _SlotProcess(slotId++,txid_BUTTON,txid_BUTTON_P_SEL,"Change color depth",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:283:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
283 | _SlotProcess(slotId++,txid_BUTTON,txid_BUTTON_P_SEL,"Change lightning mode",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:284:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
284 | lotProcess(slotId++,txid_BUTTON_M,txid_BUTTON_M_SEL,"Decrease texture quality",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:285:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
285 | lotProcess(slotId++,txid_BUTTON_P,txid_BUTTON_P_SEL,"Increase texture quality",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:286:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
286 | lotProcess(slotId++,txid_BUTTON_M,txid_BUTTON_M_SEL,"Decrease brightness",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:287:60: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
287 | lotProcess(slotId++,txid_BUTTON_P,txid_BUTTON_P_SEL,"Increase brightness",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:297:58: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
297 | _SlotProcess(slotId++,txid_BUTTON,txid_BUTTON_P_SEL,"Apply new settings (be patient)",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp: In function ‘void menu_SelectProcess_CONFIG_GAMEOPTION()’: | |
menu_sel.cpp:307:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
307 | menu_SlotProcess(0,txid_BUTTON,txid_BUTTON_P_SEL,"Toggle autoswitch weapon mode",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:308:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
308 | menu_SlotProcess(1,txid_BUTTON,txid_BUTTON_P_SEL,"Toggle Draw/NotDraw weapon",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:309:51: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
309 | menu_SlotProcess(2,txid_BUTTON,txid_BUTTON_P_SEL,"Toggle Draw/NotDraw FPS",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp: In function ‘void menu_SelectProcess_SelectMAP()’: | |
menu_sel.cpp:321:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
321 | menu_SlotProcess(0,txid_BUTTONBACK,txid_BUTTONBACK2,"",28,16); | |
| ^~ | |
menu_sel.cpp:322:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
322 | menu_SlotProcess(1,txid_BUTTONGO,txid_BUTTONGO2,"",28,16); | |
| ^~ | |
menu_sel.cpp: In function ‘void menu_SelectProcess_StartMAP()’: | |
menu_sel.cpp:327:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
327 | menu_SlotProcess(0,txid_BUTTONBACK,txid_BUTTONBACK2,"",28,16); | |
| ^~ | |
menu_sel.cpp:328:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
328 | menu_SlotProcess(1,txid_BUTTONGO,txid_BUTTONGO2,"",28,16); | |
| ^~ | |
menu_sel.cpp: In function ‘void menu_SelectProcess_HELP()’: | |
menu_sel.cpp:336:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
336 | menu_SlotProcess(0,txid_BUTTONBACK,txid_BUTTONBACK2,"",28,16); | |
| ^~ | |
menu_sel.cpp: In function ‘void menu_SelectProcess_ORDER()’: | |
menu_sel.cpp:350:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
350 | menu_SlotProcess(0,txid_BUTTONBACK,txid_BUTTONBACK2,"",28,16); | |
| ^~ | |
menu_sel.cpp: In function ‘void menu_SelectProcess_BEGINGAME()’: | |
menu_sel.cpp:361:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
361 | menu_SlotProcess(0,txid_EASY,txid_EASY_G,"Easy Mode : Rookies start here",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:362:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
362 | menu_SlotProcess(1,txid_NORMAL,txid_NORMAL_G,"Medium Mode : Now we are talking",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:363:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
363 | menu_SlotProcess(2,txid_HARD,txid_HARD_G,"Hard Mode : Experts only",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp: In function ‘void menu_SelectProcess_YESNO()’: | |
menu_sel.cpp:369:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
369 | menu_SlotProcess(0,txid_YES,txid_YES_G,"Yes, I'm sure!",39,12); | |
| ^~~~~~~~~~~~~~~~ | |
menu_sel.cpp:370:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
370 | menu_SlotProcess(1,txid_NO,txid_NO_G,"No, I don't know..",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp: In function ‘void menu_SelectProcess_SETSLOTGAME()’: | |
menu_sel.cpp:402:47: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
402 | menu_SlotProcess(i,txid_EMPTY,txid_EMPTY_G,"Create/Load a game in this slot",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:411:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
411 | menu_SlotProcess(i,txid_EASY,txid_EASY_G,"Create/Load a game in this slot",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:415:46: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
415 | menu_SlotProcess(i,txid_HARD,txid_HARD_G,"Create/Load a game in this slot",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:419:50: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
419 | menu_SlotProcess(i,txid_NORMAL,txid_NORMAL_G,"Create/Load a game in this slot",39,12); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
menu_sel.cpp:430:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
430 | menu_SlotProcess(4,txid_TDM,txid_TDM_G,"Delete slot1",39,12); | |
| ^~~~~~~~~~~~~~ | |
menu_sel.cpp:431:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
431 | menu_SlotProcess(5,txid_TDM,txid_TDM_G,"Delete slot2",39,12); | |
| ^~~~~~~~~~~~~~ | |
menu_sel.cpp:432:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
432 | menu_SlotProcess(6,txid_TDM,txid_TDM_G,"Delete slot3",39,12); | |
| ^~~~~~~~~~~~~~ | |
menu_sel.cpp:433:41: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
433 | menu_SlotProcess(7,txid_TDM,txid_TDM_G,"Delete slot4",39,12); | |
| ^~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from monster.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from mskmodel.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
mskmodel.cpp: In function ‘hBool msk_LoadModel(Model*, char*, hBool)’: | |
mskmodel.cpp:142:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
142 | m_ConsPrint("Load ModelData: %s\n",filename); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
mskmodel.cpp:169:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
169 | m_ConsPrint("Not a valid Milkshape3D model file.\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
mskmodel.cpp:180:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
180 | m_ConsPrint("warning: MilkShape version: %d\n",pHeader->m_version); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
mskmodel.cpp:374:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
374 | m_ConsPrint("%s\n",TextureName); | |
| ^~~~~~ | |
mskmodel.cpp:392:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
392 | m_ConsPrint("You are trying to load too much BoneAnims to the structure.\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
mskmodel.cpp:485:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
485 | m_ConsPrint("msk_LoadModel : Unable to find parent bone in MS3D file"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
mskmodel.cpp:516:93: warning: taking address of packed member of ‘MS3DKeyframeTAG’ may result in an unaligned pointer value [-Waddress-of-packed-member] | |
516 | ,j,AnimINDEX,pKeyframe1->m_time*1000.0f,pKeyframe1->m_parameter, true ); | |
| ~~~~~~~~~~~~^~~~~~~~~~~ | |
mskmodel.cpp:536:93: warning: taking address of packed member of ‘MS3DKeyframeTAG’ may result in an unaligned pointer value [-Waddress-of-packed-member] | |
536 | ,j,AnimINDEX,pKeyframe2->m_time*1000.0f,pKeyframe2->m_parameter, false ); | |
| ~~~~~~~~~~~~^~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from objet_proc.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
objet_proc.cpp: In function ‘tag_entity* BombProcess(pEntity, pEntity)’: | |
objet_proc.cpp:237:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
237 | m_ConsPrint("bomb entity in solid space error\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
objet_proc.cpp: In function ‘tag_entity* GibProcess(pEntity, pEntity)’: | |
objet_proc.cpp:371:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
371 | m_ConsPrint("gib entity in solid space error\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
objet_proc.cpp: In function ‘tag_entity* FlecheProcess(pEntity, pEntity)’: | |
objet_proc.cpp:676:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
676 | m_ConsPrint("entity in solid space error\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from script.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
script.cpp:26:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
26 | char *Lexemes[MAX_LEXEMES] = { "move", "scale", "rotate", "reset", "actionbrush", | |
| ^~~~~~ | |
script.cpp:26:40: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
26 | char *Lexemes[MAX_LEXEMES] = { "move", "scale", "rotate", "reset", "actionbrush", | |
| ^~~~~~~ | |
script.cpp:26:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
26 | char *Lexemes[MAX_LEXEMES] = { "move", "scale", "rotate", "reset", "actionbrush", | |
| ^~~~~~~~ | |
script.cpp:26:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
26 | Lexemes[MAX_LEXEMES] = { "move", "scale", "rotate", "reset", "actionbrush", | |
| ^~~~~~~ | |
script.cpp:26:68: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
26 | AX_LEXEMES] = { "move", "scale", "rotate", "reset", "actionbrush", | |
| ^~~~~~~~~~~~~ | |
script.cpp:27:10: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
27 | "ifAction", "Launchactionbrush", "ACTIONKEY", | |
| ^~~~~~~~~~ | |
script.cpp:27:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
27 | "ifAction", "Launchactionbrush", "ACTIONKEY", | |
| ^~~~~~~~~~~~~~~~~~~ | |
script.cpp:27:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
27 | "ifAction", "Launchactionbrush", "ACTIONKEY", | |
| ^~~~~~~~~~~ | |
script.cpp:28:10: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
28 | "FLECHE", "PERSO", "WAITACTION", "ActivationDist", | |
| ^~~~~~~~ | |
script.cpp:28:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
28 | "FLECHE", "PERSO", "WAITACTION", "ActivationDist", | |
| ^~~~~~~ | |
script.cpp:28:29: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
28 | "FLECHE", "PERSO", "WAITACTION", "ActivationDist", | |
| ^~~~~~~~~~~~ | |
script.cpp:28:43: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
28 | "FLECHE", "PERSO", "WAITACTION", "ActivationDist", | |
| ^~~~~~~~~~~~~~~~ | |
script.cpp:29:10: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
29 | "DispText", "PlaySound" }; | |
| ^~~~~~~~~~ | |
script.cpp:29:22: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
29 | "DispText", "PlaySound" }; | |
| ^~~~~~~~~~~ | |
script.cpp:30:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
30 | char *Symboles[MAX_SYMBOLES] = { "(", ")", "[", "]", ",", "{", "}", ";" }; | |
| ^~~ | |
script.cpp:30:39: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
30 | char *Symboles[MAX_SYMBOLES] = { "(", ")", "[", "]", ",", "{", "}", ";" }; | |
| ^~~ | |
script.cpp:30:44: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
30 | char *Symboles[MAX_SYMBOLES] = { "(", ")", "[", "]", ",", "{", "}", ";" }; | |
| ^~~ | |
script.cpp:30:49: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
30 | char *Symboles[MAX_SYMBOLES] = { "(", ")", "[", "]", ",", "{", "}", ";" }; | |
| ^~~ | |
script.cpp:30:54: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
30 | har *Symboles[MAX_SYMBOLES] = { "(", ")", "[", "]", ",", "{", "}", ";" }; | |
| ^~~ | |
script.cpp:30:59: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
30 | Symboles[MAX_SYMBOLES] = { "(", ")", "[", "]", ",", "{", "}", ";" }; | |
| ^~~ | |
script.cpp:30:64: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
30 | les[MAX_SYMBOLES] = { "(", ")", "[", "]", ",", "{", "}", ";" }; | |
| ^~~ | |
script.cpp:30:69: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
30 | les[MAX_SYMBOLES] = { "(", ")", "[", "]", ",", "{", "}", ";" }; | |
| ^~~ | |
script.cpp: In function ‘hBool ab_Load(FILE*)’: | |
script.cpp:100:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
100 | m_ConsPrint("Nb_ActionBrush: %d\n",Nb_ActionBrush); // | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp: In function ‘void script_Load()’: | |
script.cpp:612:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
612 | m_ConsPrint("Move error : too much instruction (max:%d)\n",MAX_MVTPERAB); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:630:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
630 | m_ConsPrint("Scale error : too much instruction (max:%d)\n",MAX_MVTPERAB); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp: In function ‘void script_Run()’: | |
script.cpp:806:36: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
806 | g_DispCenterString(16,TextLine,"%s",ActionBrushTab[i].script.text[k].TextString); | |
| ^~~~ | |
script.cpp: In function ‘hBool ProcessScriptFile(char*)’: | |
script.cpp:1063:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1063 | m_ConsPrint("### Load script: %s\n", path); | |
| ^~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1088:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1088 | m_ConsPrint("%d Error(s).\n",gNbErrors); | |
| ^~~~~~~~~~~~~~~~ | |
script.cpp: In function ‘int AnalyseLexeme()’: | |
script.cpp:1100:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1100 | m_ConsPrint("Line %d : %s : lexeme error\n",gNumLigne,instruction); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1112:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1112 | m_ConsPrint("Line %d : lexeme with no integer argument error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1121:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1121 | m_ConsPrint("Line %d : { block missing error 1\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1128:17: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1128 | m_ConsPrint("Line %d : { block missing error 2\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1135:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1135 | m_ConsPrint("Line %d : } block missing error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1153:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1153 | m_ConsPrint("Line %d : lexeme with ?,,) syntax error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1160:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1160 | m_ConsPrint("Line %d : lexeme with bad (?,,) argument error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1168:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1168 | m_ConsPrint("Line %d : lexeme with (?,) syntax error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1175:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1175 | m_ConsPrint("Line %d : lexeme with bad (,?,) argument error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1183:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1183 | m_ConsPrint("Line %d : lexeme with (,?) syntax error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1190:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1190 | m_ConsPrint("Line %d : lexeme with bad (,,?) argument error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1198:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1198 | m_ConsPrint("Line %d : lexeme with (,,? syntax error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1206:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1206 | m_ConsPrint("Line %d : lexeme with [ syntax error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1213:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1213 | m_ConsPrint("Line %d : lexeme with bad [?.] argument error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1221:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1221 | m_ConsPrint("Line %d : lexeme with bad [.?] argument error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1229:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1229 | m_ConsPrint("Line %d : lexeme with ] syntax error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1244:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1244 | m_ConsPrint("Line %d : lexeme with [ syntax error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1252:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1252 | m_ConsPrint("Line %d : lexeme with bad [?] argument error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1262:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1262 | m_ConsPrint("Line %d : lexeme with ] syntax error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1274:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1274 | m_ConsPrint("Line %d : lexeme with ? ) syntax error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1285:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1285 | m_ConsPrint("Line %d : lexeme error (?) error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1303:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1303 | m_ConsPrint("Line %d : lexeme with ( ? syntax error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1316:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1316 | m_ConsPrint("Line %d : lexeme with no integer argument error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1331:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1331 | m_ConsPrint("Line %d : lexeme ActivationDist argument error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1343:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1343 | m_ConsPrint("Line %d : lexeme << DispText >> with no text argument error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1356:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1356 | m_ConsPrint("Line %d : lexeme << DispText >> with no text argument error\n",gNumLigne); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp: In function ‘int CheckSyntax()’: | |
script.cpp:1474:18: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1474 | m_ConsPrint("Erreur du compilateur #1"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1495:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1495 | m_ConsPrint("Erreur du compilateur #2"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
script.cpp:1501:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1501 | m_ConsPrint("Erreur du compilateur #3"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from shader.cpp:1: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from sorting.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from textdraw.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
textdraw.cpp: In function ‘void g_InitFont()’: | |
textdraw.cpp:55:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
55 | m_ConsPrint("Font Init: i max: %d\n", i); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
textdraw.cpp: In function ‘void g_UnloadTextureStruct()’: | |
textdraw.cpp:170:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
170 | m_ConsPrint("g_UnloadTextureStruct\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~ | |
textdraw.cpp:182:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
182 | m_ConsPrint("g_UnloadTextureStruct done.\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
textdraw.cpp: In function ‘void g_ResetTextureStruct()’: | |
textdraw.cpp:189:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
189 | m_ConsPrint("g_ResetTextureStruct\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~ | |
textdraw.cpp:198:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
198 | m_ConsPrint("g_ResetTextureStruct done.\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from tga.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
tga.cpp: In function ‘int tga_Load(char*, int, int, hBool)’: | |
tga.cpp:235:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
235 | m_ConsPrint("TGA_FILE_NOT_FOUND( %s )\n", fullname); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
tga.cpp:246:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
246 | m_ConsPrint("TGA_BAD_IMAGE_TYPE\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
tga.cpp:259:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
259 | m_ConsPrint("TGA_BAD_DIMENSION( %d %d)\n", imageWidth, imageHeight); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
tga.cpp:266:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
266 | m_ConsPrint("TGA_BAD_BITS\n"); | |
| ^~~~~~~~~~~~~~~~ | |
tga.cpp:292:25: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
292 | m_ConsPrint("TGA_BAD_DATA\n"); | |
| ^~~~~~~~~~~~~~~~ | |
tga.cpp:320:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
320 | m_ConsPrint("too much loaded texture. max : %d", TEXTURELOADED); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from timer.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
timer.cpp: In function ‘void UpdateTimers()’: | |
timer.cpp:234:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
234 | g_DispCenterString(24, 12, "You got %s", HalloLetters); | |
| ^~~~~~~~~~~~ | |
timer.cpp:262:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
262 | g_Disp(10,10,58,"PowerJump"); | |
| ^~~~~~~~~~~ | |
timer.cpp:266:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
266 | g_Disp(10,10,58,"MatrixMode"); | |
| ^~~~~~~~~~~~ | |
timer.cpp:270:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
270 | g_Disp(10,10,58,"FalconView"); | |
| ^~~~~~~~~~~~ | |
timer.cpp:308:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
308 | g_Disp(10,monster_txt_h,60,"%d/%d",gKilledDeplas,MapGoals[1][diff][game_MapID]); | |
| ^~~~~~~ | |
timer.cpp:332:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
332 | g_Disp(10,monster_txt_h,60,"%d/%d",gKilledMorbaks,MapGoals[2][diff][game_MapID]); | |
| ^~~~~~~ | |
timer.cpp:356:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
356 | g_Disp(10,monster_txt_h,60,"%d/%d",gKilledZeubat,MapGoals[3][diff][game_MapID]); | |
| ^~~~~~~ | |
timer.cpp:380:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
380 | g_Disp(10,monster_txt_h,60,"%d/%d",gKilledSubzerat,MapGoals[4][diff][game_MapID]); | |
| ^~~~~~~ | |
timer.cpp:404:30: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
404 | g_Disp(10,monster_txt_h,60,"%d/%d",gKilledZemummy,MapGoals[5][diff][game_MapID]); | |
| ^~~~~~~ | |
timer.cpp:412:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
412 | m_ConsPrint("end of score game\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from alloween.cpp:8, | |
from objet.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
objet.cpp: In function ‘void o_UnloadEntStruct()’: | |
objet.cpp:36:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
36 | m_ConsPrint("o_UnloadEntStruct\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
objet.cpp:58:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
58 | m_ConsPrint("o_UnloadEntStruct done.\n"); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
objet.cpp: In function ‘hBool o_IsVisible(pEntity)’: | |
objet.cpp:246:20: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
246 | m_ConsPrint("Outmap entity removed id: %d\n", Ent->entity_id); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
objet.cpp: In function ‘void o_RenderEntitiesList()’: | |
objet.cpp:656:19: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
656 | g_DispString(14,"Blend objets overflow: %d",gNbSort); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
objet.cpp: In function ‘hBool o_LoadEntityToStruct(char*, int)’: | |
objet.cpp:1170:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1170 | m_ConsPrint("Loading: %s\n",fullpath); | |
| ^~~~~~~~~~~~~~~ | |
objet.cpp:1212:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] | |
1212 | m_ConsPrint("Inavlide vertex with %d points\n",Poly->NumberOfVertices); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from alloween.h:157, | |
from net_temp_linux.cpp:2: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from loadjpeg_linux.h:4: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from input.h:5, | |
from alloween.h:126, | |
from bspfile.h:6: | |
objet.h:65:2: error: ‘vect_t’ does not name a type | |
65 | vect_t Pos; | |
| ^~~~~~ | |
objet.h:66:2: error: ‘vect_t’ does not name a type | |
66 | vect_t Pos_Vel; | |
| ^~~~~~ | |
objet.h:67:2: error: ‘vect_t’ does not name a type | |
67 | vect_t Pos_Acc; | |
| ^~~~~~ | |
objet.h:69:2: error: ‘vect_t’ does not name a type | |
69 | vect_t Rot; | |
| ^~~~~~ | |
objet.h:70:2: error: ‘vect_t’ does not name a type | |
70 | vect_t Rot_Vel; | |
| ^~~~~~ | |
objet.h:72:2: error: ‘vect_t’ does not name a type | |
72 | vect_t Siz; | |
| ^~~~~~ | |
objet.h:73:2: error: ‘vect_t’ does not name a type | |
73 | vect_t Siz_Vel; | |
| ^~~~~~ | |
objet.h:80:2: error: ‘vect_t’ does not name a type | |
80 | vect_t net_OldPos; | |
| ^~~~~~ | |
objet.h:81:2: error: ‘vect_t’ does not name a type | |
81 | vect_t net_OldVel; | |
| ^~~~~~ | |
objet.h:82:2: error: ‘vect_t’ does not name a type | |
82 | vect_t net_OldAcc; | |
| ^~~~~~ | |
objet.h:84:2: error: ‘vect_t’ does not name a type | |
84 | vect_t net_OldRot; | |
| ^~~~~~ | |
objet.h:119:2: error: ‘vect_t’ does not name a type | |
119 | vect_t Radius; | |
| ^~~~~~ | |
objet.h:120:2: error: ‘Face_t’ does not name a type | |
120 | Face_t *FaceList; | |
| ^~~~~~ | |
objet.h:121:2: error: ‘Face_t’ does not name a type | |
121 | Face_t *Boundaries; | |
| ^~~~~~ | |
objet.h:122:2: error: ‘BOUNDINGBOX’ does not name a type | |
122 | BOUNDINGBOX ent_bbox; | |
| ^~~~~~~~~~~ | |
objet.h:135:2: error: ‘vect_t’ does not name a type | |
135 | vect_t entity_pos; | |
| ^~~~~~ | |
objet.h:150:7: error: variable or field ‘o_RemoveEntityFromList_Pos’ declared void | |
150 | void o_RemoveEntityFromList_Pos(vect_t pos); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
objet.h:150:34: error: ‘vect_t’ was not declared in this scope | |
150 | void o_RemoveEntityFromList_Pos(vect_t pos); | |
| ^~~~~~ | |
objet.h:165:35: error: ‘pFace’ has not been declared | |
165 | void o_CenterAndGetBound(int ID, pFace List); | |
| ^~~~~ | |
objet.h:166:7: error: variable or field ‘o_UpdateBound’ declared void | |
166 | void o_UpdateBound(BOUNDINGBOX bbox, int ID, pFace List); | |
| ^~~~~~~~~~~~~ | |
objet.h:166:21: error: ‘BOUNDINGBOX’ was not declared in this scope | |
166 | void o_UpdateBound(BOUNDINGBOX bbox, int ID, pFace List); | |
| ^~~~~~~~~~~ | |
objet.h:166:39: error: expected primary-expression before ‘int’ | |
166 | void o_UpdateBound(BOUNDINGBOX bbox, int ID, pFace List); | |
| ^~~ | |
objet.h:166:47: error: ‘pFace’ was not declared in this scope | |
166 | void o_UpdateBound(BOUNDINGBOX bbox, int ID, pFace List); | |
| ^~~~~ | |
objet.h:167:7: error: variable or field ‘o_Center’ declared void | |
167 | void o_Center(pFace List); | |
| ^~~~~~~~ | |
objet.h:167:16: error: ‘pFace’ was not declared in this scope | |
167 | void o_Center(pFace List); | |
| ^~~~~ | |
objet.h:168:23: error: ‘vect_t’ was not declared in this scope | |
168 | float o_GetMaxRadius(vect_t radius); | |
| ^~~~~~ | |
objet.h:170:43: error: ‘vect_t’ has not been declared | |
170 | void o_GetLightningIntensity(int obj_id, vect_t ObjPos, float *R, float *G, float *B); | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from bspfile.h:6: | |
libsound_linux.h:21:5: error: ‘vect_t’ does not name a type | |
21 | vect_t pos[MAX_CLONESAMPLE]; | |
| ^~~~~~ | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
libsound_linux.h:38:36: error: ‘vect_t’ has not been declared | |
38 | hBool ds_PlaySound3D(int SoundID, vect_t pos, vect_t vel); | |
| ^~~~~~ | |
libsound_linux.h:38:48: error: ‘vect_t’ has not been declared | |
38 | hBool ds_PlaySound3D(int SoundID, vect_t pos, vect_t vel); | |
| ^~~~~~ | |
libsound_linux.h:46:1: error: ‘vect_t’ does not name a type | |
46 | vect_t lb_Set3Dpos(vect_t pos); | |
| ^~~~~~ | |
libsound_linux.h:47:35: error: ‘vect_t’ has not been declared | |
47 | void lb_PlaySound3D(int SoundID, vect_t pos, int volume); | |
| ^~~~~~ | |
In file included from alloween.h:159, | |
from bspfile.h:6: | |
net_temp_linux.h:8:53: error: ‘vect_t’ has not been declared | |
8 | void net_NetLaunchEnt(int entid, int launcherid, vect_t startpos, vect_t rot, vect_t vel, short IsServer); | |
| ^~~~~~ | |
net_temp_linux.h:8:70: error: ‘vect_t’ has not been declared | |
8 | unchEnt(int entid, int launcherid, vect_t startpos, vect_t rot, vect_t vel, short IsServer); | |
| ^~~~~~ | |
net_temp_linux.h:8:82: error: ‘vect_t’ has not been declared | |
8 | entid, int launcherid, vect_t startpos, vect_t rot, vect_t vel, short IsServer); | |
| ^~~~~~ | |
In file included from alloween.h:171, | |
from bspfile.h:6: | |
enveffect.h:12:2: error: ‘vect_t’ does not name a type | |
12 | vect_t pos[MAX_PART]; | |
| ^~~~~~ | |
enveffect.h:13:2: error: ‘vect_t’ does not name a type | |
13 | vect_t dir[MAX_PART]; | |
| ^~~~~~ | |
enveffect.h:21:6: error: variable or field ‘fx_Particule’ declared void | |
21 | void fx_Particule(vect_t pos, int n, int color); | |
| ^~~~~~~~~~~~ | |
enveffect.h:21:19: error: ‘vect_t’ was not declared in this scope | |
21 | void fx_Particule(vect_t pos, int n, int color); | |
| ^~~~~~ | |
enveffect.h:21:31: error: expected primary-expression before ‘int’ | |
21 | void fx_Particule(vect_t pos, int n, int color); | |
| ^~~ | |
enveffect.h:21:38: error: expected primary-expression before ‘int’ | |
21 | void fx_Particule(vect_t pos, int n, int color); | |
| ^~~ | |
enveffect.h:23:6: error: variable or field ‘fx_DrawParticule’ declared void | |
23 | void fx_DrawParticule(vect_t campos); | |
| ^~~~~~~~~~~~~~~~ | |
enveffect.h:23:23: error: ‘vect_t’ was not declared in this scope | |
23 | void fx_DrawParticule(vect_t campos); | |
| ^~~~~~ | |
In file included from alloween.h:172, | |
from bspfile.h:6: | |
sorting.h:31:6: error: variable or field ‘sort2_do’ declared void | |
31 | void sort2_do(Facetab_t *tabsort, int size); | |
| ^~~~~~~~ | |
sorting.h:31:15: error: ‘Facetab_t’ was not declared in this scope | |
31 | void sort2_do(Facetab_t *tabsort, int size); | |
| ^~~~~~~~~ | |
sorting.h:31:33: error: expected primary-expression before ‘,’ token | |
31 | void sort2_do(Facetab_t *tabsort, int size); | |
| ^ | |
sorting.h:31:35: error: expected primary-expression before ‘int’ | |
31 | void sort2_do(Facetab_t *tabsort, int size); | |
| ^~~ | |
In file included from alloween.h:173, | |
from bspfile.h:6: | |
collision.h:12:2: error: ‘vect_t’ does not name a type | |
12 | vect_t ellipsoid; | |
| ^~~~~~ | |
collision.h:19:2: error: ‘vect_t’ does not name a type | |
19 | vect_t impact; | |
| ^~~~~~ | |
collision.h:24:2: error: ‘plan_t’ does not name a type | |
24 | plan_t Plan; | |
| ^~~~~~ | |
collision.h:31:6: error: variable or field ‘HMove’ declared void | |
31 | void HMove(vect_t *start, vect_t *end, CTRACE *ctrace); | |
| ^~~~~ | |
collision.h:31:12: error: ‘vect_t’ was not declared in this scope | |
31 | void HMove(vect_t *start, vect_t *end, CTRACE *ctrace); | |
| ^~~~~~ | |
collision.h:31:20: error: ‘start’ was not declared in this scope | |
31 | void HMove(vect_t *start, vect_t *end, CTRACE *ctrace); | |
| ^~~~~ | |
collision.h:31:27: error: ‘vect_t’ was not declared in this scope | |
31 | void HMove(vect_t *start, vect_t *end, CTRACE *ctrace); | |
| ^~~~~~ | |
collision.h:31:35: error: ‘end’ was not declared in this scope | |
31 | void HMove(vect_t *start, vect_t *end, CTRACE *ctrace); | |
| ^~~ | |
collision.h:31:47: error: expected primary-expression before ‘*’ token | |
31 | void HMove(vect_t *start, vect_t *end, CTRACE *ctrace); | |
| ^ | |
collision.h:31:48: error: ‘ctrace’ was not declared in this scope | |
31 | void HMove(vect_t *start, vect_t *end, CTRACE *ctrace); | |
| ^~~~~~ | |
collision.h:32:6: error: variable or field ‘CorrectSide’ declared void | |
32 | void CorrectSide(Face_t *ListFace, Face_t *Face, vect_t *Pos, vect_t *NewPos); | |
| ^~~~~~~~~~~ | |
collision.h:32:18: error: ‘Face_t’ was not declared in this scope | |
32 | void CorrectSide(Face_t *ListFace, Face_t *Face, vect_t *Pos, vect_t *NewPos); | |
| ^~~~~~ | |
collision.h:32:26: error: ‘ListFace’ was not declared in this scope | |
32 | void CorrectSide(Face_t *ListFace, Face_t *Face, vect_t *Pos, vect_t *NewPos); | |
| ^~~~~~~~ | |
collision.h:32:36: error: ‘Face_t’ was not declared in this scope | |
32 | void CorrectSide(Face_t *ListFace, Face_t *Face, vect_t *Pos, vect_t *NewPos); | |
| ^~~~~~ | |
collision.h:32:44: error: ‘Face’ was not declared in this scope | |
32 | void CorrectSide(Face_t *ListFace, Face_t *Face, vect_t *Pos, vect_t *NewPos); | |
| ^~~~ | |
collision.h:32:50: error: ‘vect_t’ was not declared in this scope | |
32 | void CorrectSide(Face_t *ListFace, Face_t *Face, vect_t *Pos, vect_t *NewPos); | |
| ^~~~~~ | |
collision.h:32:58: error: ‘Pos’ was not declared in this scope | |
32 | CorrectSide(Face_t *ListFace, Face_t *Face, vect_t *Pos, vect_t *NewPos); | |
| ^~~ | |
collision.h:32:63: error: ‘vect_t’ was not declared in this scope | |
32 | ctSide(Face_t *ListFace, Face_t *Face, vect_t *Pos, vect_t *NewPos); | |
| ^~~~~~ | |
collision.h:32:71: error: ‘NewPos’ was not declared in this scope | |
32 | e(Face_t *ListFace, Face_t *Face, vect_t *Pos, vect_t *NewPos); | |
| ^~~~~~ | |
collision.h:33:6: error: variable or field ‘TraceMove’ declared void | |
33 | void TraceMove(vect_t origine, vect_t *pDest, Face_t *ListFace, CTRACE *ctrace); | |
| ^~~~~~~~~ | |
collision.h:33:16: error: ‘vect_t’ was not declared in this scope | |
33 | void TraceMove(vect_t origine, vect_t *pDest, Face_t *ListFace, CTRACE *ctrace); | |
| ^~~~~~ | |
collision.h:33:32: error: ‘vect_t’ was not declared in this scope | |
33 | void TraceMove(vect_t origine, vect_t *pDest, Face_t *ListFace, CTRACE *ctrace); | |
| ^~~~~~ | |
collision.h:33:40: error: ‘pDest’ was not declared in this scope | |
33 | void TraceMove(vect_t origine, vect_t *pDest, Face_t *ListFace, CTRACE *ctrace); | |
| ^~~~~ | |
collision.h:33:47: error: ‘Face_t’ was not declared in this scope | |
33 | void TraceMove(vect_t origine, vect_t *pDest, Face_t *ListFace, CTRACE *ctrace); | |
| ^~~~~~ | |
collision.h:33:55: error: ‘ListFace’ was not declared in this scope | |
33 | id TraceMove(vect_t origine, vect_t *pDest, Face_t *ListFace, CTRACE *ctrace); | |
| ^~~~~~~~ | |
collision.h:33:72: error: expected primary-expression before ‘*’ token | |
33 | ct_t origine, vect_t *pDest, Face_t *ListFace, CTRACE *ctrace); | |
| ^ | |
collision.h:33:73: error: ‘ctrace’ was not declared in this scope | |
33 | ct_t origine, vect_t *pDest, Face_t *ListFace, CTRACE *ctrace); | |
| ^~~~~~ | |
collision.h:34:25: error: ‘vect_t’ was not declared in this scope | |
34 | hBool TriangleIntersect(vect_t O, vect_t Dir, vect_t *cp, Face_t *face, float *Dist); | |
| ^~~~~~ | |
collision.h:34:35: error: ‘vect_t’ was not declared in this scope | |
34 | hBool TriangleIntersect(vect_t O, vect_t Dir, vect_t *cp, Face_t *face, float *Dist); | |
| ^~~~~~ | |
collision.h:34:47: error: ‘vect_t’ was not declared in this scope | |
34 | hBool TriangleIntersect(vect_t O, vect_t Dir, vect_t *cp, Face_t *face, float *Dist); | |
| ^~~~~~ | |
collision.h:34:55: error: ‘cp’ was not declared in this scope | |
34 | ool TriangleIntersect(vect_t O, vect_t Dir, vect_t *cp, Face_t *face, float *Dist); | |
| ^~ | |
collision.h:34:59: error: ‘Face_t’ was not declared in this scope | |
34 | TriangleIntersect(vect_t O, vect_t Dir, vect_t *cp, Face_t *face, float *Dist); | |
| ^~~~~~ | |
collision.h:34:67: error: ‘face’ was not declared in this scope | |
34 | Intersect(vect_t O, vect_t Dir, vect_t *cp, Face_t *face, float *Dist); | |
| ^~~~ | |
collision.h:34:73: error: expected primary-expression before ‘float’ | |
34 | ect(vect_t O, vect_t Dir, vect_t *cp, Face_t *face, float *Dist); | |
| ^~~~~ | |
collision.h:34:84: error: expression list treated as compound expression in initializer [-fpermissive] | |
34 | t(vect_t O, vect_t Dir, vect_t *cp, Face_t *face, float *Dist); | |
| ^ | |
collision.h:35:18: error: ‘Face_t’ was not declared in this scope | |
35 | hBool pointInTri(Face_t *Face, vect_t CP); | |
| ^~~~~~ | |
collision.h:35:26: error: ‘Face’ was not declared in this scope | |
35 | hBool pointInTri(Face_t *Face, vect_t CP); | |
| ^~~~ | |
collision.h:35:32: error: ‘vect_t’ was not declared in this scope | |
35 | hBool pointInTri(Face_t *Face, vect_t CP); | |
| ^~~~~~ | |
collision.h:35:41: error: expression list treated as compound expression in initializer [-fpermissive] | |
35 | hBool pointInTri(Face_t *Face, vect_t CP); | |
| ^ | |
collision.h:36:19: error: ‘Face_t’ was not declared in this scope | |
36 | hBool pointInPoly(Face_t *Face, vect_t CP); | |
| ^~~~~~ | |
collision.h:36:27: error: ‘Face’ was not declared in this scope | |
36 | hBool pointInPoly(Face_t *Face, vect_t CP); | |
| ^~~~ | |
collision.h:36:33: error: ‘vect_t’ was not declared in this scope | |
36 | hBool pointInPoly(Face_t *Face, vect_t CP); | |
| ^~~~~~ | |
collision.h:36:42: error: expression list treated as compound expression in initializer [-fpermissive] | |
36 | hBool pointInPoly(Face_t *Face, vect_t CP); | |
| ^ | |
collision.h:38:22: error: ‘vect_t’ was not declared in this scope | |
38 | hBool IsVertexOnFace(vect_t *V, Face_t *Face); | |
| ^~~~~~ | |
collision.h:38:30: error: ‘V’ was not declared in this scope | |
38 | hBool IsVertexOnFace(vect_t *V, Face_t *Face); | |
| ^ | |
collision.h:38:33: error: ‘Face_t’ was not declared in this scope | |
38 | hBool IsVertexOnFace(vect_t *V, Face_t *Face); | |
| ^~~~~~ | |
collision.h:38:41: error: ‘Face’ was not declared in this scope | |
38 | hBool IsVertexOnFace(vect_t *V, Face_t *Face); | |
| ^~~~ | |
collision.h:38:45: error: expression list treated as compound expression in initializer [-fpermissive] | |
38 | hBool IsVertexOnFace(vect_t *V, Face_t *Face); | |
| ^ | |
collision.h:39:22: error: ‘vect_t’ was not declared in this scope | |
39 | hBool Intersect_Plan(vect_t *start, vect_t *end, Plan_t *Plan, vect_t *cut, float *dist); | |
| ^~~~~~ | |
collision.h:39:30: error: ‘start’ was not declared in this scope | |
39 | hBool Intersect_Plan(vect_t *start, vect_t *end, Plan_t *Plan, vect_t *cut, float *dist); | |
| ^~~~~ | |
collision.h:39:37: error: ‘vect_t’ was not declared in this scope | |
39 | hBool Intersect_Plan(vect_t *start, vect_t *end, Plan_t *Plan, vect_t *cut, float *dist); | |
| ^~~~~~ | |
collision.h:39:45: error: ‘end’ was not declared in this scope | |
39 | hBool Intersect_Plan(vect_t *start, vect_t *end, Plan_t *Plan, vect_t *cut, float *dist); | |
| ^~~ | |
collision.h:39:50: error: ‘Plan_t’ was not declared in this scope | |
39 | hBool Intersect_Plan(vect_t *start, vect_t *end, Plan_t *Plan, vect_t *cut, float *dist); | |
| ^~~~~~ | |
collision.h:39:58: error: ‘Plan’ was not declared in this scope | |
39 | Intersect_Plan(vect_t *start, vect_t *end, Plan_t *Plan, vect_t *cut, float *dist); | |
| ^~~~ | |
collision.h:39:64: error: ‘vect_t’ was not declared in this scope | |
39 | sect_Plan(vect_t *start, vect_t *end, Plan_t *Plan, vect_t *cut, float *dist); | |
| ^~~~~~ | |
collision.h:39:72: error: ‘cut’ was not declared in this scope | |
39 | n(vect_t *start, vect_t *end, Plan_t *Plan, vect_t *cut, float *dist); | |
| ^~~ | |
collision.h:39:77: error: expected primary-expression before ‘float’ | |
39 | t_t *start, vect_t *end, Plan_t *Plan, vect_t *cut, float *dist); | |
| ^~~~~ | |
collision.h:39:88: error: expression list treated as compound expression in initializer [-fpermissive] | |
39 | t *start, vect_t *end, Plan_t *Plan, vect_t *cut, float *dist); | |
| ^ | |
collision.h:40:22: error: ‘vect_t’ was not declared in this scope | |
40 | hBool Intersect_Poly(vect_t *start, vect_t *end, Face_t *Face, vect_t *cut, float *dist); | |
| ^~~~~~ | |
collision.h:40:30: error: ‘start’ was not declared in this scope | |
40 | hBool Intersect_Poly(vect_t *start, vect_t *end, Face_t *Face, vect_t *cut, float *dist); | |
| ^~~~~ | |
collision.h:40:37: error: ‘vect_t’ was not declared in this scope | |
40 | hBool Intersect_Poly(vect_t *start, vect_t *end, Face_t *Face, vect_t *cut, float *dist); | |
| ^~~~~~ | |
collision.h:40:45: error: ‘end’ was not declared in this scope | |
40 | hBool Intersect_Poly(vect_t *start, vect_t *end, Face_t *Face, vect_t *cut, float *dist); | |
| ^~~ | |
collision.h:40:50: error: ‘Face_t’ was not declared in this scope | |
40 | hBool Intersect_Poly(vect_t *start, vect_t *end, Face_t *Face, vect_t *cut, float *dist); | |
| ^~~~~~ | |
collision.h:40:58: error: ‘Face’ was not declared in this scope | |
40 | Intersect_Poly(vect_t *start, vect_t *end, Face_t *Face, vect_t *cut, float *dist); | |
| ^~~~ | |
collision.h:40:64: error: ‘vect_t’ was not declared in this scope | |
40 | sect_Poly(vect_t *start, vect_t *end, Face_t *Face, vect_t *cut, float *dist); | |
| ^~~~~~ | |
collision.h:40:72: error: ‘cut’ was not declared in this scope | |
40 | y(vect_t *start, vect_t *end, Face_t *Face, vect_t *cut, float *dist); | |
| ^~~ | |
collision.h:40:77: error: expected primary-expression before ‘float’ | |
40 | t_t *start, vect_t *end, Face_t *Face, vect_t *cut, float *dist); | |
| ^~~~~ | |
collision.h:40:88: error: expression list treated as compound expression in initializer [-fpermissive] | |
40 | t *start, vect_t *end, Face_t *Face, vect_t *cut, float *dist); | |
| ^ | |
collision.h:42:22: error: ‘pFace’ was not declared in this scope | |
42 | hBool Intersect_Face(pFace Face, vect_t start, vect_t end); | |
| ^~~~~ | |
collision.h:42:34: error: ‘vect_t’ was not declared in this scope | |
42 | hBool Intersect_Face(pFace Face, vect_t start, vect_t end); | |
| ^~~~~~ | |
collision.h:42:48: error: ‘vect_t’ was not declared in this scope | |
42 | hBool Intersect_Face(pFace Face, vect_t start, vect_t end); | |
| ^~~~~~ | |
collision.h:42:58: error: expression list treated as compound expression in initializer [-fpermissive] | |
42 | hBool Intersect_Face(pFace Face, vect_t start, vect_t end); | |
| ^ | |
In file included from bsptree.h:6, | |
from alloween.h:175, | |
from bspfile.h:6: | |
camera.h:14:2: error: ‘vect_t’ does not name a type | |
14 | vect_t Pos; | |
| ^~~~~~ | |
camera.h:15:2: error: ‘vect_t’ does not name a type | |
15 | vect_t Rot; | |
| ^~~~~~ | |
camera.h:16:2: error: ‘vect_t’ does not name a type | |
16 | vect_t Siz; | |
| ^~~~~~ | |
In file included from alloween.h:175, | |
from bspfile.h:6: | |
bsptree.h:8:21: error: ‘vect_t’ was not declared in this scope | |
8 | int bsp_FindCamera(vect_t Pos); | |
| ^~~~~~ | |
bsptree.h:9:35: error: ‘vect_t’ has not been declared | |
9 | int bsp_FindCamera_rec(int Node, vect_t Pos); | |
| ^~~~~~ | |
bsptree.h:12:6: error: variable or field ‘bsp_GetNL’ declared void | |
12 | void bsp_GetNL(NL_t *pNL, int leaf, float radius, vect_t pos); | |
| ^~~~~~~~~ | |
bsptree.h:12:16: error: ‘NL_t’ was not declared in this scope | |
12 | void bsp_GetNL(NL_t *pNL, int leaf, float radius, vect_t pos); | |
| ^~~~ | |
bsptree.h:12:22: error: ‘pNL’ was not declared in this scope | |
12 | void bsp_GetNL(NL_t *pNL, int leaf, float radius, vect_t pos); | |
| ^~~ | |
bsptree.h:12:27: error: expected primary-expression before ‘int’ | |
12 | void bsp_GetNL(NL_t *pNL, int leaf, float radius, vect_t pos); | |
| ^~~ | |
bsptree.h:12:37: error: expected primary-expression before ‘float’ | |
12 | void bsp_GetNL(NL_t *pNL, int leaf, float radius, vect_t pos); | |
| ^~~~~ | |
bsptree.h:12:51: error: ‘vect_t’ was not declared in this scope | |
12 | void bsp_GetNL(NL_t *pNL, int leaf, float radius, vect_t pos); | |
| ^~~~~~ | |
bsptree.h:13:34: error: ‘NL_t’ has not been declared | |
13 | void bsp_GetNL_rec(int recdepth, NL_t *pNL, int centerLeaf, vect_t pos, float radius); | |
| ^~~~ | |
bsptree.h:13:61: error: ‘vect_t’ has not been declared | |
13 | _GetNL_rec(int recdepth, NL_t *pNL, int centerLeaf, vect_t pos, float radius); | |
| ^~~~~~ | |
bsptree.h:14:1: error: ‘vect_t’ does not name a type | |
14 | vect_t bsp_CorrectSide_rec(int Node, CTRACE *trace, vect_t Pos, vect_t Dest); | |
| ^~~~~~ | |
bsptree.h:15:1: error: ‘vect_t’ does not name a type | |
15 | vect_t bsp_CorrectSide(vect_t Pos, vect_t Dest, CTRACE ctrace); | |
| ^~~~~~ | |
bsptree.h:17:6: error: variable or field ‘bsp_DrawLeaves’ declared void | |
17 | void bsp_DrawLeaves(Face_t *FaceList, vect_t pos); | |
| ^~~~~~~~~~~~~~ | |
bsptree.h:17:21: error: ‘Face_t’ was not declared in this scope | |
17 | void bsp_DrawLeaves(Face_t *FaceList, vect_t pos); | |
| ^~~~~~ | |
bsptree.h:17:29: error: ‘FaceList’ was not declared in this scope | |
17 | void bsp_DrawLeaves(Face_t *FaceList, vect_t pos); | |
| ^~~~~~~~ | |
bsptree.h:17:39: error: ‘vect_t’ was not declared in this scope | |
17 | void bsp_DrawLeaves(Face_t *FaceList, vect_t pos); | |
| ^~~~~~ | |
bsptree.h:18:36: error: ‘vect_t’ has not been declared | |
18 | void bsp_DrawLeaves_2(int id_face, vect_t pos); | |
| ^~~~~~ | |
In file included from alloween.h:176, | |
from bspfile.h:6: | |
script.h:13:2: error: ‘vect_t’ does not name a type | |
13 | vect_t MvtOffset; | |
| ^~~~~~ | |
script.h:41:2: error: ‘vect_t’ does not name a type | |
41 | vect_t FirstPos; | |
| ^~~~~~ | |
script.h:43:2: error: ‘vect_t’ does not name a type | |
43 | vect_t StartPos; | |
| ^~~~~~ | |
script.h:44:2: error: ‘vect_t’ does not name a type | |
44 | vect_t StartScale; | |
| ^~~~~~ | |
script.h:45:2: error: ‘vect_t’ does not name a type | |
45 | vect_t Pos; | |
| ^~~~~~ | |
script.h:46:2: error: ‘vect_t’ does not name a type | |
46 | vect_t Scale; | |
| ^~~~~~ | |
script.h:60:2: error: ‘BOUNDINGBOX’ does not name a type | |
60 | BOUNDINGBOX bbox; | |
| ^~~~~~~~~~~ | |
script.h:61:2: error: ‘vect_t’ does not name a type | |
61 | vect_t Radius; | |
| ^~~~~~ | |
script.h:76:2: error: ‘pFace’ does not name a type | |
76 | pFace FaceList; | |
| ^~~~~ | |
script.h:84:22: error: ‘vect_t’ was not declared in this scope | |
84 | hBool ab_IsVisibleAB(vect_t campos, int ab_id); | |
| ^~~~~~ | |
script.h:84:37: error: expected primary-expression before ‘int’ | |
84 | hBool ab_IsVisibleAB(vect_t campos, int ab_id); | |
| ^~~ | |
script.h:84:46: error: expression list treated as compound expression in initializer [-fpermissive] | |
84 | hBool ab_IsVisibleAB(vect_t campos, int ab_id); | |
| ^ | |
script.h:85:20: error: ‘vect_t’ was not declared in this scope | |
85 | hBool ab_IsVisible(vect_t campos, vect_t pos); | |
| ^~~~~~ | |
script.h:85:35: error: ‘vect_t’ was not declared in this scope | |
85 | hBool ab_IsVisible(vect_t campos, vect_t pos); | |
| ^~~~~~ | |
script.h:85:45: error: expression list treated as compound expression in initializer [-fpermissive] | |
85 | hBool ab_IsVisible(vect_t campos, vect_t pos); | |
| ^ | |
script.h:86:6: error: variable or field ‘ab_Draw’ declared void | |
86 | void ab_Draw(vect_t pos); | |
| ^~~~~~~ | |
script.h:86:14: error: ‘vect_t’ was not declared in this scope | |
86 | void ab_Draw(vect_t pos); | |
| ^~~~~~ | |
script.h:88:6: error: variable or field ‘ab_OnEventActivate’ declared void | |
88 | void ab_OnEventActivate(vect_t pos, int event); | |
| ^~~~~~~~~~~~~~~~~~ | |
script.h:88:25: error: ‘vect_t’ was not declared in this scope | |
88 | void ab_OnEventActivate(vect_t pos, int event); | |
| ^~~~~~ | |
script.h:88:37: error: expected primary-expression before ‘int’ | |
88 | void ab_OnEventActivate(vect_t pos, int event); | |
| ^~~ | |
script.h:89:6: error: variable or field ‘ab_PersoActivate’ declared void | |
89 | void ab_PersoActivate(vect_t pos); | |
| ^~~~~~~~~~~~~~~~ | |
script.h:89:23: error: ‘vect_t’ was not declared in this scope | |
89 | void ab_PersoActivate(vect_t pos); | |
| ^~~~~~ | |
script.h:90:6: error: variable or field ‘ab_FlecheActivate’ declared void | |
90 | void ab_FlecheActivate(vect_t pos); | |
| ^~~~~~~~~~~~~~~~~ | |
script.h:90:24: error: ‘vect_t’ was not declared in this scope | |
90 | void ab_FlecheActivate(vect_t pos); | |
| ^~~~~~ | |
script.h:91:6: error: variable or field ‘ab_Activate’ declared void | |
91 | void ab_Activate(vect_t pos); | |
| ^~~~~~~~~~~ | |
script.h:91:18: error: ‘vect_t’ was not declared in this scope | |
91 | void ab_Activate(vect_t pos); | |
| ^~~~~~ | |
In file included from alloween.h:178, | |
from bspfile.h:6: | |
maths.h:41:6: error: variable or field ‘m_Vector_Scale’ declared void | |
41 | void m_Vector_Scale(vect_t *v, float scale); | |
| ^~~~~~~~~~~~~~ | |
maths.h:41:21: error: ‘vect_t’ was not declared in this scope | |
41 | void m_Vector_Scale(vect_t *v, float scale); | |
| ^~~~~~ | |
maths.h:41:29: error: ‘v’ was not declared in this scope | |
41 | void m_Vector_Scale(vect_t *v, float scale); | |
| ^ | |
maths.h:41:32: error: expected primary-expression before ‘float’ | |
41 | void m_Vector_Scale(vect_t *v, float scale); | |
| ^~~~~ | |
maths.h:42:1: error: ‘vect_t’ does not name a type | |
42 | vect_t m_Vector_Add(vect_t v1, vect_t v2); | |
| ^~~~~~ | |
maths.h:43:1: error: ‘vect_t’ does not name a type | |
43 | vect_t m_Vector_Sub(vect_t v1, vect_t v2); | |
| ^~~~~~ | |
maths.h:62:1: error: ‘vect_t’ does not name a type | |
62 | vect_t m_RotateX(vect_t v, float angle); | |
| ^~~~~~ | |
maths.h:63:1: error: ‘vect_t’ does not name a type | |
63 | vect_t m_RotateY(vect_t v, float angle); | |
| ^~~~~~ | |
maths.h:64:1: error: ‘vect_t’ does not name a type | |
64 | vect_t m_RotateZ(vect_t v, float angle); | |
| ^~~~~~ | |
maths.h:66:18: error: ‘vect_t’ was not declared in this scope | |
66 | float m_Distance(vect_t M, vect_t P); | |
| ^~~~~~ | |
maths.h:66:28: error: ‘vect_t’ was not declared in this scope | |
66 | float m_Distance(vect_t M, vect_t P); | |
| ^~~~~~ | |
maths.h:66:36: error: expression list treated as compound expression in initializer [-fpermissive] | |
66 | float m_Distance(vect_t M, vect_t P); | |
| ^ | |
maths.h:67:20: error: ‘vect_t’ was not declared in this scope | |
67 | hBool m_pointInTri(vect_t pNormal, vect_t fp1, vect_t fp2, vect_t fp3, vect_t CP); | |
| ^~~~~~ | |
maths.h:67:36: error: ‘vect_t’ was not declared in this scope | |
67 | hBool m_pointInTri(vect_t pNormal, vect_t fp1, vect_t fp2, vect_t fp3, vect_t CP); | |
| ^~~~~~ | |
maths.h:67:48: error: ‘vect_t’ was not declared in this scope | |
67 | hBool m_pointInTri(vect_t pNormal, vect_t fp1, vect_t fp2, vect_t fp3, vect_t CP); | |
| ^~~~~~ | |
maths.h:67:60: error: ‘vect_t’ was not declared in this scope | |
67 | _pointInTri(vect_t pNormal, vect_t fp1, vect_t fp2, vect_t fp3, vect_t CP); | |
| ^~~~~~ | |
maths.h:67:72: error: ‘vect_t’ was not declared in this scope | |
67 | vect_t pNormal, vect_t fp1, vect_t fp2, vect_t fp3, vect_t CP); | |
| ^~~~~~ | |
maths.h:67:81: error: expression list treated as compound expression in initializer [-fpermissive] | |
67 | vect_t pNormal, vect_t fp1, vect_t fp2, vect_t fp3, vect_t CP); | |
| ^ | |
maths.h:69:1: error: ‘vect_t’ does not name a type | |
69 | vect_t m_GetFaceNormal_vect(vect_t Vec0, vect_t Vec1, vect_t Vec2); | |
| ^~~~~~ | |
maths.h:70:22: error: ‘plan_t’ was not declared in this scope | |
70 | float m_DistancePlan(plan_t Plan, vect_t pos); | |
| ^~~~~~ | |
maths.h:70:35: error: ‘vect_t’ was not declared in this scope | |
70 | float m_DistancePlan(plan_t Plan, vect_t pos); | |
| ^~~~~~ | |
maths.h:70:45: error: expression list treated as compound expression in initializer [-fpermissive] | |
70 | float m_DistancePlan(plan_t Plan, vect_t pos); | |
| ^ | |
maths.h:79:26: error: ‘vect_t’ was not declared in this scope | |
79 | int ClassifyVect_offset(vect_t pos, Plan_t plan, float offset); | |
| ^~~~~~ | |
maths.h:79:38: error: ‘Plan_t’ was not declared in this scope | |
79 | int ClassifyVect_offset(vect_t pos, Plan_t plan, float offset); | |
| ^~~~~~ | |
maths.h:79:51: error: expected primary-expression before ‘float’ | |
79 | int ClassifyVect_offset(vect_t pos, Plan_t plan, float offset); | |
| ^~~~~ | |
maths.h:79:63: error: expression list treated as compound expression in initializer [-fpermissive] | |
79 | nt ClassifyVect_offset(vect_t pos, Plan_t plan, float offset); | |
| ^ | |
maths.h:80:19: error: ‘vect_t’ was not declared in this scope | |
80 | int ClassifyVect(vect_t *pos, Plan_t *Plan); | |
| ^~~~~~ | |
maths.h:80:27: error: ‘pos’ was not declared in this scope; did you mean ‘Cos’? | |
80 | int ClassifyVect(vect_t *pos, Plan_t *Plan); | |
| ^~~ | |
| Cos | |
maths.h:80:32: error: ‘Plan_t’ was not declared in this scope | |
80 | int ClassifyVect(vect_t *pos, Plan_t *Plan); | |
| ^~~~~~ | |
maths.h:80:40: error: ‘Plan’ was not declared in this scope | |
80 | int ClassifyVect(vect_t *pos, Plan_t *Plan); | |
| ^~~~ | |
maths.h:80:44: error: expression list treated as compound expression in initializer [-fpermissive] | |
80 | int ClassifyVect(vect_t *pos, Plan_t *Plan); | |
| ^ | |
maths.h:81:6: error: variable or field ‘ClearBound’ declared void | |
81 | void ClearBound(BOUNDINGBOX *bbox); | |
| ^~~~~~~~~~ | |
maths.h:81:17: error: ‘BOUNDINGBOX’ was not declared in this scope | |
81 | void ClearBound(BOUNDINGBOX *bbox); | |
| ^~~~~~~~~~~ | |
maths.h:81:30: error: ‘bbox’ was not declared in this scope | |
81 | void ClearBound(BOUNDINGBOX *bbox); | |
| ^~~~ | |
maths.h:82:20: error: ‘BOUNDINGBOX’ was not declared in this scope | |
82 | hBool IsValidBound(BOUNDINGBOX *bbox); | |
| ^~~~~~~~~~~ | |
maths.h:82:33: error: ‘bbox’ was not declared in this scope | |
82 | hBool IsValidBound(BOUNDINGBOX *bbox); | |
| ^~~~ | |
maths.h:83:15: error: ‘vect_t’ was not declared in this scope | |
83 | hBool IsInBox(vect_t pos, BOUNDINGBOX box); | |
| ^~~~~~ | |
maths.h:83:27: error: ‘BOUNDINGBOX’ was not declared in this scope | |
83 | hBool IsInBox(vect_t pos, BOUNDINGBOX box); | |
| ^~~~~~~~~~~ | |
maths.h:83:42: error: expression list treated as compound expression in initializer [-fpermissive] | |
83 | hBool IsInBox(vect_t pos, BOUNDINGBOX box); | |
| ^ | |
maths.h:84:6: error: variable or field ‘CalculateBox’ declared void | |
84 | void CalculateBox(BOUNDINGBOX *Box, Face_t *Polylist); | |
| ^~~~~~~~~~~~ | |
maths.h:84:19: error: ‘BOUNDINGBOX’ was not declared in this scope | |
84 | void CalculateBox(BOUNDINGBOX *Box, Face_t *Polylist); | |
| ^~~~~~~~~~~ | |
maths.h:84:32: error: ‘Box’ was not declared in this scope | |
84 | void CalculateBox(BOUNDINGBOX *Box, Face_t *Polylist); | |
| ^~~ | |
maths.h:84:37: error: ‘Face_t’ was not declared in this scope | |
84 | void CalculateBox(BOUNDINGBOX *Box, Face_t *Polylist); | |
| ^~~~~~ | |
maths.h:84:45: error: ‘Polylist’ was not declared in this scope | |
84 | void CalculateBox(BOUNDINGBOX *Box, Face_t *Polylist); | |
| ^~~~~~~~ | |
maths.h:85:1: error: ‘vect_t’ does not name a type | |
85 | vect_t VectorBounce(vect_t *in, vect_t normal, float step); | |
| ^~~~~~ | |
maths.h:86:1: error: ‘vect_t’ does not name a type | |
86 | vect_t GetFaceNormal(Point_t Vec0, Point_t Vec1, Point_t Vec2); | |
| ^~~~~~ | |
maths.h:87:19: error: ‘vect_t’ was not declared in this scope | |
87 | float SquareNorme(vect_t v); | |
| ^~~~~~ | |
maths.h:88:14: error: ‘vect_t’ was not declared in this scope | |
88 | double Norme(vect_t v); | |
| ^~~~~~ | |
maths.h:89:20: error: ‘vect_t’ was not declared in this scope | |
89 | float PdtScalaire (vect_t *pVect1, vect_t *pVect2); | |
| ^~~~~~ | |
maths.h:89:28: error: ‘pVect1’ was not declared in this scope | |
89 | float PdtScalaire (vect_t *pVect1, vect_t *pVect2); | |
| ^~~~~~ | |
maths.h:89:36: error: ‘vect_t’ was not declared in this scope | |
89 | float PdtScalaire (vect_t *pVect1, vect_t *pVect2); | |
| ^~~~~~ | |
maths.h:89:44: error: ‘pVect2’ was not declared in this scope | |
89 | float PdtScalaire (vect_t *pVect1, vect_t *pVect2); | |
| ^~~~~~ | |
maths.h:89:50: error: expression list treated as compound expression in initializer [-fpermissive] | |
89 | float PdtScalaire (vect_t *pVect1, vect_t *pVect2); | |
| ^ | |
maths.h:90:6: error: variable or field ‘PdVectoriel’ declared void | |
90 | void PdVectoriel(vect_t *Vres, vect_t *v1, vect_t *v2); | |
| ^~~~~~~~~~~ | |
maths.h:90:18: error: ‘vect_t’ was not declared in this scope | |
90 | void PdVectoriel(vect_t *Vres, vect_t *v1, vect_t *v2); | |
| ^~~~~~ | |
maths.h:90:26: error: ‘Vres’ was not declared in this scope | |
90 | void PdVectoriel(vect_t *Vres, vect_t *v1, vect_t *v2); | |
| ^~~~ | |
maths.h:90:32: error: ‘vect_t’ was not declared in this scope | |
90 | void PdVectoriel(vect_t *Vres, vect_t *v1, vect_t *v2); | |
| ^~~~~~ | |
maths.h:90:40: error: ‘v1’ was not declared in this scope; did you mean ‘y1’? | |
90 | void PdVectoriel(vect_t *Vres, vect_t *v1, vect_t *v2); | |
| ^~ | |
| y1 | |
maths.h:90:44: error: ‘vect_t’ was not declared in this scope | |
90 | void PdVectoriel(vect_t *Vres, vect_t *v1, vect_t *v2); | |
| ^~~~~~ | |
maths.h:90:52: error: ‘v2’ was not declared in this scope | |
90 | void PdVectoriel(vect_t *Vres, vect_t *v1, vect_t *v2); | |
| ^~ | |
maths.h:91:16: error: ‘Face_t’ was not declared in this scope | |
91 | hBool FastCull(Face_t *pFace, vect_t EyePos); | |
| ^~~~~~ | |
maths.h:91:24: error: ‘pFace’ was not declared in this scope | |
91 | hBool FastCull(Face_t *pFace, vect_t EyePos); | |
| ^~~~~ | |
maths.h:91:31: error: ‘vect_t’ was not declared in this scope | |
91 | hBool FastCull(Face_t *pFace, vect_t EyePos); | |
| ^~~~~~ | |
maths.h:91:44: error: expression list treated as compound expression in initializer [-fpermissive] | |
91 | hBool FastCull(Face_t *pFace, vect_t EyePos); | |
| ^ | |
maths.h:93:20: error: ‘Plan_t’ was not declared in this scope | |
93 | float DistancePlan(Plan_t *pPlan, Point_t *pPoint); | |
| ^~~~~~ | |
maths.h:93:28: error: ‘pPlan’ was not declared in this scope | |
93 | float DistancePlan(Plan_t *pPlan, Point_t *pPoint); | |
| ^~~~~ | |
maths.h:93:35: error: ‘Point_t’ was not declared in this scope | |
93 | float DistancePlan(Plan_t *pPlan, Point_t *pPoint); | |
| ^~~~~~~ | |
maths.h:93:44: error: ‘pPoint’ was not declared in this scope | |
93 | float DistancePlan(Plan_t *pPlan, Point_t *pPoint); | |
| ^~~~~~ | |
maths.h:93:50: error: expression list treated as compound expression in initializer [-fpermissive] | |
93 | float DistancePlan(Plan_t *pPlan, Point_t *pPoint); | |
| ^ | |
maths.h:94:6: error: variable or field ‘Normalize’ declared void | |
94 | void Normalize(vect_t *pVect); | |
| ^~~~~~~~~ | |
maths.h:94:16: error: ‘vect_t’ was not declared in this scope | |
94 | void Normalize(vect_t *pVect); | |
| ^~~~~~ | |
maths.h:94:24: error: ‘pVect’ was not declared in this scope | |
94 | void Normalize(vect_t *pVect); | |
| ^~~~~ | |
In file included from alloween.h:179, | |
from bspfile.h:6: | |
physic.h:12:1: error: ‘vect_t’ does not name a type | |
12 | vect_t phy_Friction(hBool JumpPossible, vect_t speedvel); | |
| ^~~~~~ | |
physic.h:13:20: error: ‘vect_t’ was not declared in this scope | |
13 | hBool phy_BoundPos(vect_t *Pos); | |
| ^~~~~~ | |
physic.h:13:28: error: ‘Pos’ was not declared in this scope; did you mean ‘Cos’? | |
13 | hBool phy_BoundPos(vect_t *Pos); | |
| ^~~ | |
| Cos | |
physic.h:15:6: error: variable or field ‘phy_BoundVelocity’ declared void | |
15 | void phy_BoundVelocity(vect_t *Vel, float MaxVel); | |
| ^~~~~~~~~~~~~~~~~ | |
physic.h:15:24: error: ‘vect_t’ was not declared in this scope | |
15 | void phy_BoundVelocity(vect_t *Vel, float MaxVel); | |
| ^~~~~~ | |
physic.h:15:32: error: ‘Vel’ was not declared in this scope | |
15 | void phy_BoundVelocity(vect_t *Vel, float MaxVel); | |
| ^~~ | |
physic.h:15:37: error: expected primary-expression before ‘float’ | |
15 | void phy_BoundVelocity(vect_t *Vel, float MaxVel); | |
| ^~~~~ | |
physic.h:16:1: error: ‘vect_t’ does not name a type | |
16 | vect_t phy_AdjustVelocity(int entity_id, hBool JumpPossible, vect_t speedvel); | |
| ^~~~~~ | |
physic.h:18:1: error: ‘vect_t’ does not name a type | |
18 | vect_t phy_MoveVelocity(int entity_id, hBool JumpPossible, vect_t SpeedVel); | |
| ^~~~~~ | |
physic.h:23:6: error: variable or field ‘phy_SlowMove’ declared void | |
23 | void phy_SlowMove(vect_t *Vel, float factor); | |
| ^~~~~~~~~~~~ | |
physic.h:23:19: error: ‘vect_t’ was not declared in this scope | |
23 | void phy_SlowMove(vect_t *Vel, float factor); | |
| ^~~~~~ | |
physic.h:23:27: error: ‘Vel’ was not declared in this scope | |
23 | void phy_SlowMove(vect_t *Vel, float factor); | |
| ^~~ | |
physic.h:23:32: error: expected primary-expression before ‘float’ | |
23 | void phy_SlowMove(vect_t *Vel, float factor); | |
| ^~~~~ | |
physic.h:24:6: error: variable or field ‘phy_SlowMove_2’ declared void | |
24 | void phy_SlowMove_2(vect_t *Vel, float factor); | |
| ^~~~~~~~~~~~~~ | |
physic.h:24:21: error: ‘vect_t’ was not declared in this scope | |
24 | void phy_SlowMove_2(vect_t *Vel, float factor); | |
| ^~~~~~ | |
physic.h:24:29: error: ‘Vel’ was not declared in this scope | |
24 | void phy_SlowMove_2(vect_t *Vel, float factor); | |
| ^~~ | |
physic.h:24:34: error: expected primary-expression before ‘float’ | |
24 | void phy_SlowMove_2(vect_t *Vel, float factor); | |
| ^~~~~ | |
physic.h:33:40: error: ‘vect_t’ has not been declared | |
33 | void MoveCreature(pEntity CreatureEnt, vect_t MoveStep); | |
| ^~~~~~ | |
In file included from opengl.h:8, | |
from alloween.h:184, | |
from bspfile.h:6: | |
display.h:80:7: error: variable or field ‘disp_Line2D’ declared void | |
80 | void disp_Line2D(vect_t ortho, vect_t v1, vect_t v2, Color_t color, float size); | |
| ^~~~~~~~~~~ | |
display.h:80:19: error: ‘vect_t’ was not declared in this scope | |
80 | void disp_Line2D(vect_t ortho, vect_t v1, vect_t v2, Color_t color, float size); | |
| ^~~~~~ | |
display.h:80:33: error: ‘vect_t’ was not declared in this scope | |
80 | void disp_Line2D(vect_t ortho, vect_t v1, vect_t v2, Color_t color, float size); | |
| ^~~~~~ | |
display.h:80:44: error: ‘vect_t’ was not declared in this scope | |
80 | void disp_Line2D(vect_t ortho, vect_t v1, vect_t v2, Color_t color, float size); | |
| ^~~~~~ | |
display.h:80:63: error: expected primary-expression before ‘color’ | |
80 | _Line2D(vect_t ortho, vect_t v1, vect_t v2, Color_t color, float size); | |
| ^~~~~ | |
display.h:80:70: error: expected primary-expression before ‘float’ | |
80 | (vect_t ortho, vect_t v1, vect_t v2, Color_t color, float size); | |
| ^~~~~ | |
display.h:81:39: error: ‘vect_t’ has not been declared | |
81 | void disp_Sprite2D(int SpriteTextID, vect_t ortho, vect_t pos, vect_t siz, hBool IsColor, Color_t color, hBool transparent); | |
| ^~~~~~ | |
display.h:81:53: error: ‘vect_t’ has not been declared | |
81 | void disp_Sprite2D(int SpriteTextID, vect_t ortho, vect_t pos, vect_t siz, hBool IsColor, Color_t color, hBool transparent); | |
| ^~~~~~ | |
display.h:81:65: error: ‘vect_t’ has not been declared | |
81 | prite2D(int SpriteTextID, vect_t ortho, vect_t pos, vect_t siz, hBool IsColor, Color_t color, hBool transparent); | |
| ^~~~~~ | |
display.h:82:7: error: variable or field ‘disp_Particule’ declared void | |
82 | void disp_Particule(vect_t pos, int color, float size); | |
| ^~~~~~~~~~~~~~ | |
display.h:82:22: error: ‘vect_t’ was not declared in this scope | |
82 | void disp_Particule(vect_t pos, int color, float size); | |
| ^~~~~~ | |
display.h:82:34: error: expected primary-expression before ‘int’ | |
82 | void disp_Particule(vect_t pos, int color, float size); | |
| ^~~ | |
display.h:82:45: error: expected primary-expression before ‘float’ | |
82 | void disp_Particule(vect_t pos, int color, float size); | |
| ^~~~~ | |
display.h:83:7: error: variable or field ‘disp_FaceList’ declared void | |
83 | void disp_FaceList(pFace List); | |
| ^~~~~~~~~~~~~ | |
display.h:83:21: error: ‘pFace’ was not declared in this scope | |
83 | void disp_FaceList(pFace List); | |
| ^~~~~ | |
display.h:84:7: error: variable or field ‘disp_Face’ declared void | |
84 | void disp_Face(pFace face); | |
| ^~~~~~~~~ | |
display.h:84:17: error: ‘pFace’ was not declared in this scope | |
84 | void disp_Face(pFace face); | |
| ^~~~~ | |
In file included from alloween.h:184, | |
from bspfile.h:6: | |
opengl.h:26:6: error: variable or field ‘gl_DrawFaces’ declared void | |
26 | void gl_DrawFaces(Face_t *FaceList, vect_t pos); | |
| ^~~~~~~~~~~~ | |
opengl.h:26:19: error: ‘Face_t’ was not declared in this scope | |
26 | void gl_DrawFaces(Face_t *FaceList, vect_t pos); | |
| ^~~~~~ | |
opengl.h:26:27: error: ‘FaceList’ was not declared in this scope | |
26 | void gl_DrawFaces(Face_t *FaceList, vect_t pos); | |
| ^~~~~~~~ | |
opengl.h:26:37: error: ‘vect_t’ was not declared in this scope | |
26 | void gl_DrawFaces(Face_t *FaceList, vect_t pos); | |
| ^~~~~~ | |
opengl.h:27:6: error: variable or field ‘gl_DrawVectors’ declared void | |
27 | void gl_DrawVectors(Face_t *ListFace); | |
| ^~~~~~~~~~~~~~ | |
opengl.h:27:21: error: ‘Face_t’ was not declared in this scope | |
27 | void gl_DrawVectors(Face_t *ListFace); | |
| ^~~~~~ | |
opengl.h:27:29: error: ‘ListFace’ was not declared in this scope | |
27 | void gl_DrawVectors(Face_t *ListFace); | |
| ^~~~~~~~ | |
opengl.h:28:6: error: variable or field ‘gl_DrawVector’ declared void | |
28 | void gl_DrawVector(vect_t *pos, vect_t *v, float scale); | |
| ^~~~~~~~~~~~~ | |
opengl.h:28:20: error: ‘vect_t’ was not declared in this scope | |
28 | void gl_DrawVector(vect_t *pos, vect_t *v, float scale); | |
| ^~~~~~ | |
opengl.h:28:28: error: ‘pos’ was not declared in this scope; did you mean ‘Cos’? | |
28 | void gl_DrawVector(vect_t *pos, vect_t *v, float scale); | |
| ^~~ | |
| Cos | |
opengl.h:28:33: error: ‘vect_t’ was not declared in this scope | |
28 | void gl_DrawVector(vect_t *pos, vect_t *v, float scale); | |
| ^~~~~~ | |
opengl.h:28:41: error: ‘v’ was not declared in this scope | |
28 | void gl_DrawVector(vect_t *pos, vect_t *v, float scale); | |
| ^ | |
opengl.h:28:44: error: expected primary-expression before ‘float’ | |
28 | void gl_DrawVector(vect_t *pos, vect_t *v, float scale); | |
| ^~~~~ | |
opengl.h:30:6: error: variable or field ‘gl_RenderFace_ENV’ declared void | |
30 | void gl_RenderFace_ENV(Face_t *pFace, int angleY); | |
| ^~~~~~~~~~~~~~~~~ | |
opengl.h:30:24: error: ‘Face_t’ was not declared in this scope | |
30 | void gl_RenderFace_ENV(Face_t *pFace, int angleY); | |
| ^~~~~~ | |
opengl.h:30:32: error: ‘pFace’ was not declared in this scope | |
30 | void gl_RenderFace_ENV(Face_t *pFace, int angleY); | |
| ^~~~~ | |
opengl.h:30:39: error: expected primary-expression before ‘int’ | |
30 | void gl_RenderFace_ENV(Face_t *pFace, int angleY); | |
| ^~~ | |
opengl.h:31:6: error: variable or field ‘gl_RenderFace’ declared void | |
31 | void gl_RenderFace(Face_t *pFace, pEntity PlayerEnt, hBool isBlend, float R, float G, float B, float A); | |
| ^~~~~~~~~~~~~ | |
opengl.h:31:20: error: ‘Face_t’ was not declared in this scope | |
31 | void gl_RenderFace(Face_t *pFace, pEntity PlayerEnt, hBool isBlend, float R, float G, float B, float A); | |
| ^~~~~~ | |
opengl.h:31:28: error: ‘pFace’ was not declared in this scope | |
31 | void gl_RenderFace(Face_t *pFace, pEntity PlayerEnt, hBool isBlend, float R, float G, float B, float A); | |
| ^~~~~ | |
opengl.h:31:43: error: expected primary-expression before ‘PlayerEnt’ | |
31 | void gl_RenderFace(Face_t *pFace, pEntity PlayerEnt, hBool isBlend, float R, float G, float B, float A); | |
| ^~~~~~~~~ | |
opengl.h:31:60: error: expected primary-expression before ‘isBlend’ | |
31 | _RenderFace(Face_t *pFace, pEntity PlayerEnt, hBool isBlend, float R, float G, float B, float A); | |
| ^~~~~~~ | |
opengl.h:31:69: error: expected primary-expression before ‘float’ | |
31 | ce(Face_t *pFace, pEntity PlayerEnt, hBool isBlend, float R, float G, float B, float A); | |
| ^~~~~ | |
opengl.h:31:78: error: expected primary-expression before ‘float’ | |
31 | *pFace, pEntity PlayerEnt, hBool isBlend, float R, float G, float B, float A); | |
| ^~~~~ | |
opengl.h:31:87: error: expected primary-expression before ‘float’ | |
31 | pEntity PlayerEnt, hBool isBlend, float R, float G, float B, float A); | |
| ^~~~~ | |
opengl.h:31:96: error: expected primary-expression before ‘float’ | |
31 | PlayerEnt, hBool isBlend, float R, float G, float B, float A); | |
| ^~~~~ | |
opengl.h:33:6: error: variable or field ‘gl_DrawActionBrush’ declared void | |
33 | void gl_DrawActionBrush(pFace FaceList, vect_t campos, vect_t Mov, vect_t Rot, vect_t Siz); | |
| ^~~~~~~~~~~~~~~~~~ | |
opengl.h:33:25: error: ‘pFace’ was not declared in this scope | |
33 | void gl_DrawActionBrush(pFace FaceList, vect_t campos, vect_t Mov, vect_t Rot, vect_t Siz); | |
| ^~~~~ | |
opengl.h:33:41: error: ‘vect_t’ was not declared in this scope | |
33 | void gl_DrawActionBrush(pFace FaceList, vect_t campos, vect_t Mov, vect_t Rot, vect_t Siz); | |
| ^~~~~~ | |
opengl.h:33:56: error: ‘vect_t’ was not declared in this scope | |
33 | d gl_DrawActionBrush(pFace FaceList, vect_t campos, vect_t Mov, vect_t Rot, vect_t Siz); | |
| ^~~~~~ | |
opengl.h:33:68: error: ‘vect_t’ was not declared in this scope | |
33 | ionBrush(pFace FaceList, vect_t campos, vect_t Mov, vect_t Rot, vect_t Siz); | |
| ^~~~~~ | |
opengl.h:33:80: error: ‘vect_t’ was not declared in this scope | |
33 | ce FaceList, vect_t campos, vect_t Mov, vect_t Rot, vect_t Siz); | |
| ^~~~~~ | |
opengl.h:35:6: error: variable or field ‘gl_DrawNormal’ declared void | |
35 | void gl_DrawNormal(Face_t *pCurr); | |
| ^~~~~~~~~~~~~ | |
opengl.h:35:20: error: ‘Face_t’ was not declared in this scope | |
35 | void gl_DrawNormal(Face_t *pCurr); | |
| ^~~~~~ | |
opengl.h:35:28: error: ‘pCurr’ was not declared in this scope | |
35 | void gl_DrawNormal(Face_t *pCurr); | |
| ^~~~~ | |
opengl.h:36:6: error: variable or field ‘gl_DrawBoundaries’ declared void | |
36 | void gl_DrawBoundaries(vect_t *Cube); | |
| ^~~~~~~~~~~~~~~~~ | |
opengl.h:36:24: error: ‘vect_t’ was not declared in this scope | |
36 | void gl_DrawBoundaries(vect_t *Cube); | |
| ^~~~~~ | |
opengl.h:36:32: error: ‘Cube’ was not declared in this scope | |
36 | void gl_DrawBoundaries(vect_t *Cube); | |
| ^~~~ | |
opengl.h:55:6: error: variable or field ‘gl_TranslateMatrix’ declared void | |
55 | void gl_TranslateMatrix(vect_t trans); | |
| ^~~~~~~~~~~~~~~~~~ | |
opengl.h:55:25: error: ‘vect_t’ was not declared in this scope | |
55 | void gl_TranslateMatrix(vect_t trans); | |
| ^~~~~~ | |
opengl.h:56:6: error: variable or field ‘gl_RotateMatrix’ declared void | |
56 | void gl_RotateMatrix(vect_t rot); | |
| ^~~~~~~~~~~~~~~ | |
opengl.h:56:22: error: ‘vect_t’ was not declared in this scope | |
56 | void gl_RotateMatrix(vect_t rot); | |
| ^~~~~~ | |
opengl.h:57:6: error: variable or field ‘gl_ScaleMatrix’ declared void | |
57 | void gl_ScaleMatrix(vect_t scale); | |
| ^~~~~~~~~~~~~~ | |
opengl.h:57:21: error: ‘vect_t’ was not declared in this scope | |
57 | void gl_ScaleMatrix(vect_t scale); | |
| ^~~~~~ | |
In file included from alloween.h:191, | |
from bspfile.h:6: | |
ellipsoide.h:21:2: error: ‘vect_t’ does not name a type | |
21 | vect_t velocity; | |
| ^~~~~~ | |
ellipsoide.h:22:2: error: ‘vect_t’ does not name a type | |
22 | vect_t sourcePoint; | |
| ^~~~~~ | |
ellipsoide.h:25:2: error: ‘vect_t’ does not name a type | |
25 | vect_t eRadius; | |
| ^~~~~~ | |
ellipsoide.h:28:2: error: ‘vect_t’ does not name a type | |
28 | vect_t lastSafePosition; | |
| ^~~~~~ | |
ellipsoide.h:29:2: error: ‘vect_t’ does not name a type | |
29 | vect_t lastSafeVelocity; | |
| ^~~~~~ | |
ellipsoide.h:37:2: error: ‘vect_t’ does not name a type | |
37 | vect_t nearestIntersectionPoint; // on sphere | |
| ^~~~~~ | |
ellipsoide.h:38:2: error: ‘vect_t’ does not name a type | |
38 | vect_t nearestPolygonIntersectionPoint; // on polygon | |
| ^~~~~~ | |
ellipsoide.h:40:2: error: ‘plan_t’ does not name a type | |
40 | plan_t Plan; | |
| ^~~~~~ | |
ellipsoide.h:46:62: error: ‘vect_t’ has not been declared | |
46 | Unstuck(TCollisionPacket *collision, CTRACE *trace, vect_t *pos, vect_t nextpos); | |
| ^~~~~~ | |
ellipsoide.h:46:75: error: ‘vect_t’ has not been declared | |
46 | isionPacket *collision, CTRACE *trace, vect_t *pos, vect_t nextpos); | |
| ^~~~~~ | |
ellipsoide.h:48:6: error: variable or field ‘col_Handle’ declared void | |
48 | void col_Handle(vect_t *pos, vect_t nextpos, CTRACE *trace); | |
| ^~~~~~~~~~ | |
ellipsoide.h:48:17: error: ‘vect_t’ was not declared in this scope | |
48 | void col_Handle(vect_t *pos, vect_t nextpos, CTRACE *trace); | |
| ^~~~~~ | |
ellipsoide.h:48:25: error: ‘pos’ was not declared in this scope; did you mean ‘Cos’? | |
48 | void col_Handle(vect_t *pos, vect_t nextpos, CTRACE *trace); | |
| ^~~ | |
| Cos | |
ellipsoide.h:48:30: error: ‘vect_t’ was not declared in this scope | |
48 | void col_Handle(vect_t *pos, vect_t nextpos, CTRACE *trace); | |
| ^~~~~~ | |
ellipsoide.h:48:53: error: expected primary-expression before ‘*’ token | |
48 | void col_Handle(vect_t *pos, vect_t nextpos, CTRACE *trace); | |
| ^ | |
ellipsoide.h:48:54: error: ‘trace’ was not declared in this scope | |
48 | void col_Handle(vect_t *pos, vect_t nextpos, CTRACE *trace); | |
| ^~~~~ | |
ellipsoide.h:49:51: error: ‘pFace’ has not been declared | |
49 | void CheckCollision(TCollisionPacket* colPackage, pFace FaceList, vect_t *pos_offset, vect_t *siz_offset); | |
| ^~~~~ | |
ellipsoide.h:49:67: error: ‘vect_t’ has not been declared | |
49 | ision(TCollisionPacket* colPackage, pFace FaceList, vect_t *pos_offset, vect_t *siz_offset); | |
| ^~~~~~ | |
ellipsoide.h:49:87: error: ‘vect_t’ has not been declared | |
49 | et* colPackage, pFace FaceList, vect_t *pos_offset, vect_t *siz_offset); | |
| ^~~~~~ | |
ellipsoide.h:50:1: error: ‘vect_t’ does not name a type | |
50 | vect_t GetPosition(TCollisionPacket *collision, vect_t position, vect_t velocity, CTRACE *trace); | |
| ^~~~~~ | |
ellipsoide.h:51:1: error: ‘vect_t’ does not name a type | |
51 | vect_t collideWithWorld(TCollisionPacket *collision, vect_t position, vect_t velocity, CTRACE *trace); | |
| ^~~~~~ | |
ellipsoide.h:52:26: error: ‘vect_t’ was not declared in this scope | |
52 | double intersectRayPlane(vect_t rOrigin, vect_t rVector, vect_t pOrigin, vect_t pNormal); | |
| ^~~~~~ | |
ellipsoide.h:52:42: error: ‘vect_t’ was not declared in this scope | |
52 | double intersectRayPlane(vect_t rOrigin, vect_t rVector, vect_t pOrigin, vect_t pNormal); | |
| ^~~~~~ | |
ellipsoide.h:52:58: error: ‘vect_t’ was not declared in this scope | |
52 | e intersectRayPlane(vect_t rOrigin, vect_t rVector, vect_t pOrigin, vect_t pNormal); | |
| ^~~~~~ | |
ellipsoide.h:52:74: error: ‘vect_t’ was not declared in this scope | |
52 | ane(vect_t rOrigin, vect_t rVector, vect_t pOrigin, vect_t pNormal); | |
| ^~~~~~ | |
ellipsoide.h:52:88: error: expression list treated as compound expression in initializer [-fpermissive] | |
52 | ect_t rOrigin, vect_t rVector, vect_t pOrigin, vect_t pNormal); | |
| ^ | |
ellipsoide.h:53:27: error: ‘vect_t’ was not declared in this scope | |
53 | double intersectRaySphere(vect_t rO, vect_t rV, vect_t sO, double sR); | |
| ^~~~~~ | |
ellipsoide.h:53:38: error: ‘vect_t’ was not declared in this scope | |
53 | double intersectRaySphere(vect_t rO, vect_t rV, vect_t sO, double sR); | |
| ^~~~~~ | |
ellipsoide.h:53:49: error: ‘vect_t’ was not declared in this scope | |
53 | double intersectRaySphere(vect_t rO, vect_t rV, vect_t sO, double sR); | |
| ^~~~~~ | |
ellipsoide.h:53:60: error: expected primary-expression before ‘double’ | |
53 | intersectRaySphere(vect_t rO, vect_t rV, vect_t sO, double sR); | |
| ^~~~~~ | |
ellipsoide.h:53:69: error: expression list treated as compound expression in initializer [-fpermissive] | |
53 | intersectRaySphere(vect_t rO, vect_t rV, vect_t sO, double sR); | |
| ^ | |
ellipsoide.h:54:1: error: ‘vect_t’ does not name a type | |
54 | vect_t closestPointOnLine(vect_t a, vect_t b, vect_t p); | |
| ^~~~~~ | |
ellipsoide.h:55:1: error: ‘vect_t’ does not name a type | |
55 | vect_t closestPointOnTriangle(vect_t a, vect_t b, vect_t c, vect_t p); | |
| ^~~~~~ | |
ellipsoide.h:56:26: error: ‘vect_t’ was not declared in this scope | |
56 | hBool CheckPointInSphere(vect_t point, vect_t sO, double sR); | |
| ^~~~~~ | |
ellipsoide.h:56:40: error: ‘vect_t’ was not declared in this scope | |
56 | hBool CheckPointInSphere(vect_t point, vect_t sO, double sR); | |
| ^~~~~~ | |
ellipsoide.h:56:51: error: expected primary-expression before ‘double’ | |
56 | hBool CheckPointInSphere(vect_t point, vect_t sO, double sR); | |
| ^~~~~~ | |
ellipsoide.h:56:60: error: expression list treated as compound expression in initializer [-fpermissive] | |
56 | hBool CheckPointInSphere(vect_t point, vect_t sO, double sR); | |
| ^ | |
ellipsoide.h:57:6: error: variable or field ‘UnstuckPointInSphere’ declared void | |
57 | void UnstuckPointInSphere(vect_t *point, vect_t sO, double sR); | |
| ^~~~~~~~~~~~~~~~~~~~ | |
ellipsoide.h:57:27: error: ‘vect_t’ was not declared in this scope | |
57 | void UnstuckPointInSphere(vect_t *point, vect_t sO, double sR); | |
| ^~~~~~ | |
ellipsoide.h:57:35: error: ‘point’ was not declared in this scope; did you mean ‘Joint’? | |
57 | void UnstuckPointInSphere(vect_t *point, vect_t sO, double sR); | |
| ^~~~~ | |
| Joint | |
ellipsoide.h:57:42: error: ‘vect_t’ was not declared in this scope | |
57 | void UnstuckPointInSphere(vect_t *point, vect_t sO, double sR); | |
| ^~~~~~ | |
ellipsoide.h:57:53: error: expected primary-expression before ‘double’ | |
57 | void UnstuckPointInSphere(vect_t *point, vect_t sO, double sR); | |
| ^~~~~~ | |
ellipsoide.h:58:1: error: ‘vect_t’ does not name a type | |
58 | vect_t tangentPlaneNormalOfEllipsoid(vect_t point, vect_t eO, vect_t eR); | |
| ^~~~~~ | |
ellipsoide.h:59:21: error: ‘vect_t’ was not declared in this scope | |
59 | dword classifyPoint(vect_t point, vect_t pO, vect_t pN); | |
| ^~~~~~ | |
ellipsoide.h:59:35: error: ‘vect_t’ was not declared in this scope | |
59 | dword classifyPoint(vect_t point, vect_t pO, vect_t pN); | |
| ^~~~~~ | |
ellipsoide.h:59:46: error: ‘vect_t’ was not declared in this scope | |
59 | dword classifyPoint(vect_t point, vect_t pO, vect_t pN); | |
| ^~~~~~ | |
ellipsoide.h:59:55: error: expression list treated as compound expression in initializer [-fpermissive] | |
59 | dword classifyPoint(vect_t point, vect_t pO, vect_t pN); | |
| ^ | |
ellipsoide.h:60:11: error: ‘vect_t’ was not declared in this scope | |
60 | float dot(vect_t v1, vect_t v2); | |
| ^~~~~~ | |
ellipsoide.h:60:22: error: ‘vect_t’ was not declared in this scope | |
60 | float dot(vect_t v1, vect_t v2); | |
| ^~~~~~ | |
ellipsoide.h:60:31: error: expression list treated as compound expression in initializer [-fpermissive] | |
60 | float dot(vect_t v1, vect_t v2); | |
| ^ | |
ellipsoide.h:61:6: error: variable or field ‘normalizeVector’ declared void | |
61 | void normalizeVector(vect_t *v); | |
| ^~~~~~~~~~~~~~~ | |
ellipsoide.h:61:22: error: ‘vect_t’ was not declared in this scope | |
61 | void normalizeVector(vect_t *v); | |
| ^~~~~~ | |
ellipsoide.h:61:30: error: ‘v’ was not declared in this scope | |
61 | void normalizeVector(vect_t *v); | |
| ^ | |
ellipsoide.h:62:23: error: ‘vect_t’ was not declared in this scope | |
62 | double lengthOfVector(vect_t v); | |
| ^~~~~~ | |
ellipsoide.h:63:6: error: variable or field ‘setLength’ declared void | |
63 | void setLength(vect_t *v, float l); | |
| ^~~~~~~~~ | |
ellipsoide.h:63:16: error: ‘vect_t’ was not declared in this scope | |
63 | void setLength(vect_t *v, float l); | |
| ^~~~~~ | |
ellipsoide.h:63:24: error: ‘v’ was not declared in this scope | |
63 | void setLength(vect_t *v, float l); | |
| ^ | |
ellipsoide.h:63:27: error: expected primary-expression before ‘float’ | |
63 | void setLength(vect_t *v, float l); | |
| ^~~~~ | |
In file included from alloween.h:192, | |
from bspfile.h:6: | |
liste.h:9:1: error: ‘pFace’ does not name a type | |
9 | pFace liste_Delete(pFace List); | |
| ^~~~~ | |
In file included from alloween.h:193, | |
from bspfile.h:6: | |
frustrum.h:8:6: error: variable or field ‘frustrum_Disp’ declared void | |
8 | void frustrum_Disp(Plan_t Planes[]); | |
| ^~~~~~~~~~~~~ | |
frustrum.h:8:20: error: ‘Plan_t’ was not declared in this scope | |
8 | void frustrum_Disp(Plan_t Planes[]); | |
| ^~~~~~ | |
frustrum.h:9:6: error: variable or field ‘frustrum_ExtractPlanes’ declared void | |
9 | void frustrum_ExtractPlanes(Plan_t Planes[]); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
frustrum.h:9:29: error: ‘Plan_t’ was not declared in this scope | |
9 | void frustrum_ExtractPlanes(Plan_t Planes[]); | |
| ^~~~~~ | |
frustrum.h:10:23: error: ‘Plan_t’ was not declared in this scope | |
10 | hBool frustrum_LeafIn(Plan_t Plane[], int Leaf); | |
| ^~~~~~ | |
frustrum.h:10:39: error: expected primary-expression before ‘int’ | |
10 | hBool frustrum_LeafIn(Plan_t Plane[], int Leaf); | |
| ^~~ | |
frustrum.h:10:47: error: expression list treated as compound expression in initializer [-fpermissive] | |
10 | hBool frustrum_LeafIn(Plan_t Plane[], int Leaf); | |
| ^ | |
frustrum.h:11:22: error: ‘Plan_t’ was not declared in this scope | |
11 | hBool frustrum_BoxIn(Plan_t Plane[], BOUNDINGBOX bbox); | |
| ^~~~~~ | |
frustrum.h:11:38: error: ‘BOUNDINGBOX’ was not declared in this scope | |
11 | hBool frustrum_BoxIn(Plan_t Plane[], BOUNDINGBOX bbox); | |
| ^~~~~~~~~~~ | |
frustrum.h:11:54: error: expression list treated as compound expression in initializer [-fpermissive] | |
11 | hBool frustrum_BoxIn(Plan_t Plane[], BOUNDINGBOX bbox); | |
| ^ | |
In file included from alloween.h:198, | |
from bspfile.h:6: | |
shader.h:3:6: error: variable or field ‘shader_Skydome’ declared void | |
3 | void shader_Skydome(pFace Face); | |
| ^~~~~~~~~~~~~~ | |
shader.h:3:21: error: ‘pFace’ was not declared in this scope | |
3 | void shader_Skydome(pFace Face); | |
| ^~~~~ | |
shader.h:4:6: error: variable or field ‘shader_Sky’ declared void | |
4 | void shader_Sky(pFace Face); | |
| ^~~~~~~~~~ | |
shader.h:4:17: error: ‘pFace’ was not declared in this scope | |
4 | void shader_Sky(pFace Face); | |
| ^~~~~ | |
shader.h:5:6: error: variable or field ‘shader_Gun’ declared void | |
5 | void shader_Gun(pFace Face); | |
| ^~~~~~~~~~ | |
shader.h:5:17: error: ‘pFace’ was not declared in this scope | |
5 | void shader_Gun(pFace Face); | |
| ^~~~~ | |
shader.h:6:6: error: variable or field ‘shader_Lave’ declared void | |
6 | void shader_Lave(pFace Face); | |
| ^~~~~~~~~~~ | |
shader.h:6:18: error: ‘pFace’ was not declared in this scope | |
6 | void shader_Lave(pFace Face); | |
| ^~~~~ | |
shader.h:7:6: error: variable or field ‘shader_Lightmap’ declared void | |
7 | void shader_Lightmap(pFace pCurr); | |
| ^~~~~~~~~~~~~~~ | |
shader.h:7:22: error: ‘pFace’ was not declared in this scope | |
7 | void shader_Lightmap(pFace pCurr); | |
| ^~~~~ | |
In file included from bspfile.h:6: | |
alloween.h:330:8: error: ‘vect_t’ does not name a type | |
330 | extern vect_t gStart; | |
| ^~~~~~ | |
alloween.h:342:8: error: ‘Face_t’ does not name a type | |
342 | extern Face_t *PortalList; | |
| ^~~~~~ | |
alloween.h:344:8: error: ‘NL_t’ does not name a type | |
344 | extern NL_t NLlist; | |
| ^~~~ | |
alloween.h:345:8: error: ‘Face_t’ does not name a type | |
345 | extern Face_t *PolyList; | |
| ^~~~~~ | |
alloween.h:500:8: error: ‘pFace’ does not name a type | |
500 | extern pFace Gun1LaunchedFaceList; | |
| ^~~~~ | |
alloween.h:501:8: error: ‘pFace’ does not name a type | |
501 | extern pFace Gun3FaceList; | |
| ^~~~~ | |
alloween.h:535:8: error: ‘leafs_t’ does not name a type; did you mean ‘leaf’? | |
535 | extern leafs_t *LeafArray; | |
| ^~~~~~~ | |
| leaf | |
alloween.h:536:8: error: ‘Face_t’ does not name a type | |
536 | extern Face_t *FaceArray; | |
| ^~~~~~ | |
alloween.h:537:8: error: ‘noeud_t’ does not name a type | |
537 | extern noeud_t *NodeArray; | |
| ^~~~~~~ | |
alloween.h:538:8: error: ‘portal_t’ does not name a type | |
538 | extern portal_t *PortalArray; | |
| ^~~~~~~~ | |
alloween.h:540:8: error: ‘Plan_t’ does not name a type | |
540 | extern Plan_t gFrustrumPlanes[6]; | |
| ^~~~~~ | |
alloween.h:614:8: error: ‘vect_t’ does not name a type | |
614 | extern vect_t gStopPos; | |
| ^~~~~~ | |
alloween.h:635:8: error: ‘pTabFace’ does not name a type; did you mean ‘nbTabFaces’? | |
635 | extern pTabFace gTabFaces; | |
| ^~~~~~~~ | |
| nbTabFaces | |
alloween.h:659:8: error: ‘vect_t’ does not name a type | |
659 | extern vect_t gMultiSV_clentstartpos; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from camera.h:6: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:175, | |
from camera.h:6: | |
bsptree.h:10:6: error: variable or field ‘bsp_DrawMap’ declared void | |
10 | void bsp_DrawMap(Camera_t *pCam); | |
| ^~~~~~~~~~~ | |
bsptree.h:10:18: error: ‘Camera_t’ was not declared in this scope | |
10 | void bsp_DrawMap(Camera_t *pCam); | |
| ^~~~~~~~ | |
bsptree.h:10:28: error: ‘pCam’ was not declared in this scope | |
10 | void bsp_DrawMap(Camera_t *pCam); | |
| ^~~~ | |
bsptree.h:11:34: error: ‘Camera_t’ does not name a type | |
11 | int bsp_DrawPVS(int leaf, const Camera_t *pHero); | |
| ^~~~~~~~ | |
In file included from camera.h:6: | |
alloween.h:329:8: error: ‘Camera_t’ does not name a type | |
329 | extern Camera_t gCamera; | |
| ^~~~~~~~ | |
In file included from alloween.h:157, | |
from player.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from physic.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from collision.h:6: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:175, | |
from collision.h:6: | |
bsptree.h:14:38: error: ‘CTRACE’ has not been declared | |
14 | vect_t bsp_CorrectSide_rec(int Node, CTRACE *trace, vect_t Pos, vect_t Dest); | |
| ^~~~~~ | |
bsptree.h:15:49: error: ‘CTRACE’ has not been declared | |
15 | vect_t bsp_CorrectSide(vect_t Pos, vect_t Dest, CTRACE ctrace); | |
| ^~~~~~ | |
In file included from alloween.h:191, | |
from collision.h:6: | |
ellipsoide.h:46:47: error: ‘CTRACE’ has not been declared | |
46 | void col_Unstuck(TCollisionPacket *collision, CTRACE *trace, vect_t *pos, vect_t nextpos); | |
| ^~~~~~ | |
ellipsoide.h:48:46: error: ‘CTRACE’ has not been declared | |
48 | void col_Handle(vect_t *pos, vect_t nextpos, CTRACE *trace); | |
| ^~~~~~ | |
ellipsoide.h:50:83: error: ‘CTRACE’ has not been declared | |
50 | acket *collision, vect_t position, vect_t velocity, CTRACE *trace); | |
| ^~~~~~ | |
ellipsoide.h:51:88: error: ‘CTRACE’ has not been declared | |
51 | acket *collision, vect_t position, vect_t velocity, CTRACE *trace); | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from maths.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from opengl.h:7, | |
from alloween.h:184, | |
from maths.h:5: | |
mskmodel.h:70:2: error: ‘Matrix’ does not name a type; did you mean ‘Material’? | |
70 | Matrix m_absolute, m_relative; | |
| ^~~~~~ | |
| Material | |
mskmodel.h:75:2: error: ‘Matrix’ does not name a type; did you mean ‘Material’? | |
75 | Matrix m_final; | |
| ^~~~~~ | |
| Material | |
In file included from alloween.h:157, | |
from ellipsoide.h:6: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from console.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from console.h:5: | |
alloween.h:206:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
206 | extern cvar_t visent; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:207:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
207 | extern cvar_t epsilon; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:208:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
208 | extern cvar_t draw_fps; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:209:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
209 | extern cvar_t player_vel; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:210:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
210 | extern cvar_t camera_vel; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:211:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
211 | extern cvar_t player_look_ud; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:212:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
212 | extern cvar_t player_rvel; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:213:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
213 | extern cvar_t draw_face; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:214:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
214 | extern cvar_t draw_tris; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:215:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
215 | extern cvar_t draw_one; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:216:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
216 | extern cvar_t draw_portal; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:217:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
217 | extern cvar_t invert_mouse; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:218:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
218 | extern cvar_t draw_normal; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:219:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
219 | extern cvar_t draw_bound; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:220:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
220 | extern cvar_t player_view; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:221:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
221 | extern cvar_t draw_cell; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:222:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
222 | extern cvar_t noclip_wall; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:223:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
223 | extern cvar_t fov; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:224:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
224 | extern cvar_t mapfile; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:225:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
225 | extern cvar_t gravity; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:226:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
226 | extern cvar_t drawgun; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:227:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
227 | extern cvar_t jumpstep; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:228:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
228 | extern cvar_t groundacc; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:229:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
229 | extern cvar_t groundslow; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:230:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
230 | extern cvar_t maxspeed; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:231:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
231 | extern cvar_t airacc; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:232:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
232 | extern cvar_t airslow; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:233:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
233 | extern cvar_t soundsys; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:234:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
234 | extern cvar_t respawn; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:235:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
235 | extern cvar_t god; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:236:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
236 | extern cvar_t monster; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:237:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
237 | extern cvar_t bombslow; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:238:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
238 | extern cvar_t musicvol; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:239:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
239 | extern cvar_t soundvol; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:240:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
240 | extern cvar_t autoswitch; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:241:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
241 | extern cvar_t fullscreen; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:242:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
242 | extern cvar_t colordepth; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:243:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
243 | extern cvar_t videomode; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:244:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
244 | extern cvar_t bms; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:245:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
245 | extern cvar_t bmd; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:246:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
246 | extern cvar_t statutbar; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:247:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
247 | extern cvar_t animspeed; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:248:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
248 | extern cvar_t lightmap; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:249:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
249 | extern cvar_t culling; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:250:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
250 | extern cvar_t render_ent; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:251:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
251 | extern cvar_t directstart; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:252:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
252 | extern cvar_t developer; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:253:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
253 | extern cvar_t offset; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:254:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
254 | extern cvar_t leaf; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:255:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
255 | extern cvar_t record; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:256:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
256 | extern cvar_t stoprecord; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:257:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
257 | extern cvar_t play; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:258:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
258 | extern cvar_t stopplay; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:259:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
259 | extern cvar_t noscript; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:260:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
260 | extern cvar_t gamekey_up; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:261:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
261 | extern cvar_t gamekey_down; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:262:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
262 | extern cvar_t gamekey_left; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:263:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
263 | extern cvar_t gamekey_right; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:264:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
264 | extern cvar_t gamekey_jump; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:265:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
265 | extern cvar_t gamekey_attack; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:266:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
266 | extern cvar_t gamekey_axe; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:267:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
267 | extern cvar_t gamekey_arbalet; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:268:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
268 | extern cvar_t gamekey_bombgun; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:269:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
269 | extern cvar_t gamekey_tromblon; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:270:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
270 | extern cvar_t gamekey_crouch; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:271:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
271 | extern cvar_t gamekey_action; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:272:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
272 | extern cvar_t gamekey_run; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:273:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
273 | extern cvar_t map_letter; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:274:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
274 | extern cvar_t kill_depla; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:275:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
275 | extern cvar_t kill_morbak; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:276:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
276 | extern cvar_t kill_zeubat; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:277:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
277 | extern cvar_t kill_subzerat; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:278:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
278 | extern cvar_t kill_zemummy; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:279:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
279 | extern cvar_t map_complete; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:280:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
280 | extern cvar_t music_track; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:281:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
281 | extern cvar_t pres_track; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:282:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
282 | extern cvar_t resetgame; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:283:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
283 | extern cvar_t picmip; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:284:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
284 | extern cvar_t difficulty; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:285:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
285 | extern cvar_t gameslot; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:286:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
286 | extern cvar_t gamma_; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:287:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
287 | extern cvar_t tflame; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:288:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
288 | extern cvar_t ghost; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:289:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
289 | extern cvar_t terminator; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:290:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
290 | extern cvar_t net_port; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:291:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
291 | extern cvar_t net_ip; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:292:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
292 | extern cvar_t net_mapid; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:293:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
293 | extern cvar_t net_clname; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:294:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
294 | extern cvar_t net_svname; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:295:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
295 | extern cvar_t net_password; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:296:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
296 | extern cvar_t net_gametype; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:297:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
297 | extern cvar_t net_dedicated; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:298:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
298 | extern cvar_t notextures; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:299:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
299 | extern cvar_t bestscore1; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:300:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
300 | extern cvar_t bestscore2; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:301:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
301 | extern cvar_t bestscore3; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:302:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
302 | extern cvar_t bestscore4; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:303:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
303 | extern cvar_t bestscore5; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:304:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
304 | extern cvar_t bestscore6; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:305:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
305 | extern cvar_t bestscore7; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:306:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
306 | extern cvar_t bestscore8; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:307:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
307 | extern cvar_t bestscore9; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:308:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
308 | extern cvar_t fogmode; | |
| ^~~~~~ | |
| wchar_t | |
alloween.h:309:8: error: ‘cvar_t’ does not name a type; did you mean ‘wchar_t’? | |
309 | extern cvar_t fogdensity; | |
| ^~~~~~ | |
| wchar_t | |
In file included from alloween.h:157, | |
from bsptree.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from opengl.h:6: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:195, | |
from opengl.h:6: | |
story.h:13:6: error: variable or field ‘Story_DispN’ declared void | |
13 | void Story_DispN(Color_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~~~~~~~~~ | |
story.h:13:18: error: ‘Color_t’ was not declared in this scope | |
13 | void Story_DispN(Color_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~~~~~ | |
story.h:13:33: error: expected primary-expression before ‘int’ | |
13 | void Story_DispN(Color_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~ | |
story.h:13:43: error: expected primary-expression before ‘int’ | |
13 | void Story_DispN(Color_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~ | |
story.h:13:53: error: expected primary-expression before ‘int’ | |
13 | void Story_DispN(Color_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~ | |
story.h:13:63: error: expected primary-expression before ‘int’ | |
13 | _DispN(Color_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~ | |
story.h:13:73: error: expected primary-expression before ‘char’ | |
13 | or_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~~ | |
story.h:13:82: error: expected primary-expression before ‘int’ | |
13 | color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~ | |
In file included from opengl.h:6: | |
alloween.h:335:8: error: ‘Fnt_t’ does not name a type; did you mean ‘int8_t’? | |
335 | extern Fnt_t NormalFont; | |
| ^~~~~ | |
| int8_t | |
alloween.h:336:8: error: ‘Fnt_t’ does not name a type; did you mean ‘int8_t’? | |
336 | extern Fnt_t NiceFont; | |
| ^~~~~ | |
| int8_t | |
In file included from alloween.h:157, | |
from demo.h:4: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from display.h:6: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:184, | |
from display.h:6: | |
opengl.h:50:6: error: variable or field ‘gl_SetClearColor’ declared void | |
50 | void gl_SetClearColor(Color_t color); | |
| ^~~~~~~~~~~~~~~~ | |
opengl.h:50:23: error: ‘Color_t’ was not declared in this scope | |
50 | void gl_SetClearColor(Color_t color); | |
| ^~~~~~~ | |
opengl.h:51:6: error: variable or field ‘gl_SetGlobalColor’ declared void | |
51 | void gl_SetGlobalColor(Color_t color); | |
| ^~~~~~~~~~~~~~~~~ | |
opengl.h:51:24: error: ‘Color_t’ was not declared in this scope | |
51 | void gl_SetGlobalColor(Color_t color); | |
| ^~~~~~~ | |
opengl.h:52:6: error: variable or field ‘gl_SetGlobalColorA’ declared void | |
52 | void gl_SetGlobalColorA(Color_t color); | |
| ^~~~~~~~~~~~~~~~~~ | |
opengl.h:52:25: error: ‘Color_t’ was not declared in this scope | |
52 | void gl_SetGlobalColorA(Color_t color); | |
| ^~~~~~~ | |
opengl.h:61:6: error: variable or field ‘gl_RenderPoly’ declared void | |
61 | void gl_RenderPoly(Render_t render); | |
| ^~~~~~~~~~~~~ | |
opengl.h:61:20: error: ‘Render_t’ was not declared in this scope | |
61 | void gl_RenderPoly(Render_t render); | |
| ^~~~~~~~ | |
In file included from alloween.h:195, | |
from display.h:6: | |
story.h:13:6: error: variable or field ‘Story_DispN’ declared void | |
13 | void Story_DispN(Color_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~~~~~~~~~ | |
story.h:13:18: error: ‘Color_t’ was not declared in this scope | |
13 | void Story_DispN(Color_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~~~~~ | |
story.h:13:33: error: expected primary-expression before ‘int’ | |
13 | void Story_DispN(Color_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~ | |
story.h:13:43: error: expected primary-expression before ‘int’ | |
13 | void Story_DispN(Color_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~ | |
story.h:13:53: error: expected primary-expression before ‘int’ | |
13 | void Story_DispN(Color_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~ | |
story.h:13:63: error: expected primary-expression before ‘int’ | |
13 | _DispN(Color_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~ | |
story.h:13:73: error: expected primary-expression before ‘char’ | |
13 | or_t color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~~ | |
story.h:13:82: error: expected primary-expression before ‘int’ | |
13 | color, int xpos, int ypos, int xoff, int yoff, char *s, int N); | |
| ^~~ | |
In file included from display.h:6: | |
alloween.h:335:8: error: ‘Fnt_t’ does not name a type; did you mean ‘int8_t’? | |
335 | extern Fnt_t NormalFont; | |
| ^~~~~ | |
| int8_t | |
alloween.h:336:8: error: ‘Fnt_t’ does not name a type; did you mean ‘int8_t’? | |
336 | extern Fnt_t NiceFont; | |
| ^~~~~ | |
| int8_t | |
In file included from alloween.h:157, | |
from enveffect.h:4: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from filesys.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from frustrum.h:4: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from game.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from gameover.h:4: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from image.h:4: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from input.h:4: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from input.h:4: | |
alloween.h:312:8: error: ‘KEYSINPUT’ does not name a type | |
312 | extern KEYSINPUT KeysInput[K_MAXKEYS+4]; | |
| ^~~~~~~~~ | |
alloween.h:315:22: error: ‘KEY_BUFFER_MAX’ was not declared in this scope | |
315 | extern int KeyBuffer[KEY_BUFFER_MAX]; | |
| ^~~~~~~~~~~~~~ | |
alloween.h:315:22: note: the macro ‘KEY_BUFFER_MAX’ had not yet been defined | |
input.h:14: note: it was later defined here | |
14 | #define KEY_BUFFER_MAX 8 | |
| | |
In file included from input.h:4: | |
alloween.h:506:8: error: ‘hMOUSEINPUT’ does not name a type | |
506 | extern hMOUSEINPUT MouseInput; | |
| ^~~~~~~~~~~ | |
alloween.h:594:22: error: ‘KEYMASK_SIZE’ was not declared in this scope | |
594 | extern short kbstate[KEYMASK_SIZE]; | |
| ^~~~~~~~~~~~ | |
alloween.h:594:22: note: the macro ‘KEYMASK_SIZE’ had not yet been defined | |
input.h:12: note: it was later defined here | |
12 | #define KEYMASK_SIZE K_MAXKEYS | |
| | |
In file included from alloween.h:157, | |
from interface.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from jpeg.h:6: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from libsound_linux.h:5: | |
alloween.h:617:8: error: ‘SNDOBJ’ does not name a type | |
617 | extern SNDOBJ gSoundObjet[MAX_SAMPLE]; | |
| ^~~~~~ | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type; did you mean ‘round’? | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
| round | |
In file included from alloween.h:157, | |
from liste.h:6: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from menu.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from menu.h:5: | |
alloween.h:629:8: error: ‘MENU’ does not name a type | |
629 | extern MENU MenuType[MAX_SLOT]; | |
| ^~~~ | |
In file included from alloween.h:157, | |
from menu_init.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from menu_sel.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from monster.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from mskmodel.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:186, | |
from mskmodel.h:5: | |
monster.h:7:41: error: ‘Model’ has not been declared | |
7 | pEntity monster_Die(pEntity MonsterEnt, Model *model, hBool OkGoreF); | |
| ^~~~~ | |
monster.h:12:43: error: ‘Model’ has not been declared | |
12 | pEntity MonsterDamage(pEntity MonsterEnt, Model *model); | |
| ^~~~~ | |
In file included from mskmodel.h:5: | |
alloween.h:529:8: error: ‘Model’ does not name a type | |
529 | extern Model gModel_depla; | |
| ^~~~~ | |
alloween.h:530:8: error: ‘Model’ does not name a type | |
530 | extern Model gModel_morbak; | |
| ^~~~~ | |
alloween.h:531:8: error: ‘Model’ does not name a type | |
531 | extern Model gModel_zebat; | |
| ^~~~~ | |
alloween.h:532:8: error: ‘Model’ does not name a type | |
532 | extern Model gModel_subzerat; | |
| ^~~~~ | |
alloween.h:533:8: error: ‘Model’ does not name a type | |
533 | extern Model gModel_zemummy; | |
| ^~~~~ | |
In file included from alloween.h:157, | |
from objet_proc.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from script.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from script.h:5: | |
alloween.h:543:8: error: ‘ABRUSH’ does not name a type | |
543 | extern ABRUSH ActionBrushTab[MAX_SCRIPTSLOT]; | |
| ^~~~~~ | |
shader.h:3:6: error: variable or field ‘shader_Skydome’ declared void | |
3 | void shader_Skydome(pFace Face); | |
| ^~~~~~~~~~~~~~ | |
shader.h:3:21: error: ‘pFace’ was not declared in this scope | |
3 | void shader_Skydome(pFace Face); | |
| ^~~~~ | |
shader.h:4:6: error: variable or field ‘shader_Sky’ declared void | |
4 | void shader_Sky(pFace Face); | |
| ^~~~~~~~~~ | |
shader.h:4:17: error: ‘pFace’ was not declared in this scope | |
4 | void shader_Sky(pFace Face); | |
| ^~~~~ | |
shader.h:5:6: error: variable or field ‘shader_Gun’ declared void | |
5 | void shader_Gun(pFace Face); | |
| ^~~~~~~~~~ | |
shader.h:5:17: error: ‘pFace’ was not declared in this scope | |
5 | void shader_Gun(pFace Face); | |
| ^~~~~ | |
shader.h:6:6: error: variable or field ‘shader_Lave’ declared void | |
6 | void shader_Lave(pFace Face); | |
| ^~~~~~~~~~~ | |
shader.h:6:18: error: ‘pFace’ was not declared in this scope | |
6 | void shader_Lave(pFace Face); | |
| ^~~~~ | |
shader.h:7:6: error: variable or field ‘shader_Lightmap’ declared void | |
7 | void shader_Lightmap(pFace pCurr); | |
| ^~~~~~~~~~~~~~~ | |
shader.h:7:22: error: ‘pFace’ was not declared in this scope | |
7 | void shader_Lightmap(pFace pCurr); | |
| ^~~~~ | |
In file included from alloween.h:157, | |
from sorting.h:4: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from sorting.h:4: | |
alloween.h:567:8: error: ‘TABSORT’ does not name a type | |
567 | extern TABSORT TabSort; | |
| ^~~~~~~ | |
In file included from alloween.h:157, | |
from textdraw.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from tga.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:157, | |
from timer.h:6: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:126, | |
from objet.h:5: | |
input.h:184:45: error: ‘pEntity’ has not been declared | |
184 | void IN_PlayerInputMove(hMOUSEINPUT *Mouse, pEntity PlayerEnt); | |
| ^~~~~~~ | |
input.h:188:36: error: ‘pEntity’ has not been declared | |
188 | void IN_Process(hMOUSEINPUT Mouse, pEntity PlayerEnt); | |
| ^~~~~~~ | |
In file included from alloween.h:138, | |
from objet.h:5: | |
objet_proc.h:7:7: error: variable or field ‘FioleProcess’ declared void | |
7 | void FioleProcess(pEntity FioleEnt, pEntity PlayerEnt); | |
| ^~~~~~~~~~~~ | |
objet_proc.h:7:20: error: ‘pEntity’ was not declared in this scope | |
7 | void FioleProcess(pEntity FioleEnt, pEntity PlayerEnt); | |
| ^~~~~~~ | |
objet_proc.h:7:38: error: ‘pEntity’ was not declared in this scope | |
7 | void FioleProcess(pEntity FioleEnt, pEntity PlayerEnt); | |
| ^~~~~~~ | |
objet_proc.h:8:7: error: variable or field ‘JadeProcess’ declared void | |
8 | void JadeProcess(pEntity JadeEnt); | |
| ^~~~~~~~~~~ | |
objet_proc.h:8:19: error: ‘pEntity’ was not declared in this scope | |
8 | void JadeProcess(pEntity JadeEnt); | |
| ^~~~~~~ | |
objet_proc.h:10:1: error: ‘pEntity’ does not name a type | |
10 | pEntity ExplosionProcess(pEntity ExplosionEnt); | |
| ^~~~~~~ | |
objet_proc.h:11:1: error: ‘pEntity’ does not name a type | |
11 | pEntity BombProcess(pEntity BombEnt, pEntity PlayerEnt); | |
| ^~~~~~~ | |
objet_proc.h:12:1: error: ‘pEntity’ does not name a type | |
12 | pEntity GibProcess(pEntity GibEnt, pEntity PlayerEnt); | |
| ^~~~~~~ | |
objet_proc.h:13:1: error: ‘pEntity’ does not name a type | |
13 | pEntity SabreProcess(pEntity SabreEnt); | |
| ^~~~~~~ | |
objet_proc.h:14:1: error: ‘pEntity’ does not name a type | |
14 | pEntity AmmoProcess(pEntity AmmoEnt); | |
| ^~~~~~~ | |
objet_proc.h:15:1: error: ‘pEntity’ does not name a type | |
15 | pEntity PumpkinProcess(pEntity PumpkinEnt); | |
| ^~~~~~~ | |
objet_proc.h:16:1: error: ‘pEntity’ does not name a type | |
16 | pEntity GunProcess(pEntity GunEnt); | |
| ^~~~~~~ | |
objet_proc.h:17:1: error: ‘pEntity’ does not name a type | |
17 | pEntity FlecheProcess(pEntity PlayerEnt, pEntity FlecheEnt); | |
| ^~~~~~~ | |
objet_proc.h:18:1: error: ‘pEntity’ does not name a type | |
18 | pEntity MonstreProcess(pEntity MonstreEnt); | |
| ^~~~~~~ | |
objet_proc.h:19:1: error: ‘pEntity’ does not name a type | |
19 | pEntity LampeProcess(pEntity LampeEnt, int *isanim); | |
| ^~~~~~~ | |
objet_proc.h:20:1: error: ‘pEntity’ does not name a type | |
20 | pEntity LettreProcess(pEntity LettreEnt); | |
| ^~~~~~~ | |
objet_proc.h:21:1: error: ‘pEntity’ does not name a type | |
21 | pEntity PangProcess(pEntity PangEnt, pEntity PlayerEnt); | |
| ^~~~~~~ | |
In file included from alloween.h:157, | |
from objet.h:5: | |
libsound_linux.h:23:2: error: ‘KSound’ does not name a type | |
23 | KSound *snd_chunk; | |
| ^~~~~~ | |
In file included from alloween.h:159, | |
from objet.h:5: | |
net_temp_linux.h:14:9: error: variable or field ‘net_SendVectorState’ declared void | |
14 | void net_SendVectorState(pEntity Ent, int vstate); | |
| ^~~~~~~~~~~~~~~~~~~ | |
net_temp_linux.h:14:29: error: ‘pEntity’ was not declared in this scope | |
14 | void net_SendVectorState(pEntity Ent, int vstate); | |
| ^~~~~~~ | |
net_temp_linux.h:14:42: error: expected primary-expression before ‘int’ | |
14 | void net_SendVectorState(pEntity Ent, int vstate); | |
| ^~~ | |
net_temp_linux.h:15:9: error: variable or field ‘net_RemoveClientEnt’ declared void | |
15 | void net_RemoveClientEnt(pEntity Ent); | |
| ^~~~~~~~~~~~~~~~~~~ | |
net_temp_linux.h:15:29: error: ‘pEntity’ was not declared in this scope | |
15 | void net_RemoveClientEnt(pEntity Ent); | |
| ^~~~~~~ | |
In file included from alloween.h:172, | |
from objet.h:5: | |
sorting.h:20:2: error: ‘pEntity’ does not name a type | |
20 | pEntity Ent[MAX_TABSORT]; | |
| ^~~~~~~ | |
In file included from alloween.h:173, | |
from objet.h:5: | |
collision.h:15:2: error: ‘pEntity’ does not name a type | |
15 | pEntity Ent; | |
| ^~~~~~~ | |
In file included from bsptree.h:6, | |
from alloween.h:175, | |
from objet.h:5: | |
camera.h:28:46: error: ‘pEntity’ has not been declared | |
28 | void r_TourneX(Camera_t *Hero, float Angle, pEntity PlayerEnt); | |
| ^~~~~~~ | |
camera.h:29:46: error: ‘pEntity’ has not been declared | |
29 | void r_TourneY(Camera_t *Hero, float Angle, pEntity PlayerEnt); | |
| ^~~~~~~ | |
In file included from alloween.h:176, | |
from objet.h:5: | |
script.h:93:6: error: variable or field ‘ab_Push_Ent’ declared void | |
93 | void ab_Push_Ent(pEntity Ent, int index, float dir, char axis); | |
| ^~~~~~~~~~~ | |
script.h:93:18: error: ‘pEntity’ was not declared in this scope | |
93 | void ab_Push_Ent(pEntity Ent, int index, float dir, char axis); | |
| ^~~~~~~ | |
script.h:93:31: error: expected primary-expression before ‘int’ | |
93 | void ab_Push_Ent(pEntity Ent, int index, float dir, char axis); | |
| ^~~ | |
script.h:93:42: error: expected primary-expression before ‘float’ | |
93 | void ab_Push_Ent(pEntity Ent, int index, float dir, char axis); | |
| ^~~~~ | |
script.h:93:53: error: expected primary-expression before ‘char’ | |
93 | void ab_Push_Ent(pEntity Ent, int index, float dir, char axis); | |
| ^~~~ | |
In file included from alloween.h:177, | |
from objet.h:5: | |
player.h:19:6: error: variable or field ‘PlayerHurt’ declared void | |
19 | void PlayerHurt(pEntity Entity, int dammage); | |
| ^~~~~~~~~~ | |
player.h:19:17: error: ‘pEntity’ was not declared in this scope | |
19 | void PlayerHurt(pEntity Entity, int dammage); | |
| ^~~~~~~ | |
player.h:19:33: error: expected primary-expression before ‘int’ | |
19 | void PlayerHurt(pEntity Entity, int dammage); | |
| ^~~ | |
player.h:20:6: error: variable or field ‘EnnemyDammage’ declared void | |
20 | void EnnemyDammage(pEntity PlayerEnt); | |
| ^~~~~~~~~~~~~ | |
player.h:20:20: error: ‘pEntity’ was not declared in this scope | |
20 | void EnnemyDammage(pEntity PlayerEnt); | |
| ^~~~~~~ | |
player.h:21:6: error: variable or field ‘PickupItems’ declared void | |
21 | void PickupItems(pEntity PlayerEnt); | |
| ^~~~~~~~~~~ | |
player.h:21:18: error: ‘pEntity’ was not declared in this scope | |
21 | void PickupItems(pEntity PlayerEnt); | |
| ^~~~~~~ | |
In file included from alloween.h:178, | |
from objet.h:5: | |
maths.h:92:20: error: ‘pEntity’ was not declared in this scope | |
92 | hBool FastCull_Ent(pEntity Entity, pEntity PlayerEnt); | |
| ^~~~~~~ | |
maths.h:92:36: error: ‘pEntity’ was not declared in this scope | |
92 | hBool FastCull_Ent(pEntity Entity, pEntity PlayerEnt); | |
| ^~~~~~~ | |
maths.h:92:53: error: expression list treated as compound expression in initializer [-fpermissive] | |
92 | hBool FastCull_Ent(pEntity Entity, pEntity PlayerEnt); | |
| ^ | |
In file included from alloween.h:179, | |
from objet.h:5: | |
physic.h:17:1: error: ‘pEntity’ does not name a type | |
17 | pEntity phy_AdjustGravity(pEntity Ent); | |
| ^~~~~~~ | |
physic.h:21:6: error: variable or field ‘phy_UpdateVelocity’ declared void | |
21 | void phy_UpdateVelocity(pEntity CreatureEnt); | |
| ^~~~~~~~~~~~~~~~~~ | |
physic.h:21:25: error: ‘pEntity’ was not declared in this scope | |
21 | void phy_UpdateVelocity(pEntity CreatureEnt); | |
| ^~~~~~~ | |
physic.h:22:1: error: ‘pEntity’ does not name a type | |
22 | pEntity phy_UpdateMoves(pEntity CreatureEnt); | |
| ^~~~~~~ | |
physic.h:26:1: error: ‘pEntity’ does not name a type | |
26 | pEntity Gravity(pEntity CreatureEnt, float factor); | |
| ^~~~~~~ | |
physic.h:27:21: error: ‘pEntity’ was not declared in this scope | |
27 | hBool CollideEntity(pEntity EntA, pEntity EntB, float factor); | |
| ^~~~~~~ | |
physic.h:27:35: error: ‘pEntity’ was not declared in this scope | |
27 | hBool CollideEntity(pEntity EntA, pEntity EntB, float factor); | |
| ^~~~~~~ | |
physic.h:27:49: error: expected primary-expression before ‘float’ | |
27 | hBool CollideEntity(pEntity EntA, pEntity EntB, float factor); | |
| ^~~~~ | |
physic.h:27:61: error: expression list treated as compound expression in initializer [-fpermissive] | |
27 | hBool CollideEntity(pEntity EntA, pEntity EntB, float factor); | |
| ^ | |
physic.h:28:28: error: ‘pEntity’ was not declared in this scope | |
28 | hBool CollideEntity_Better(pEntity EntA, pEntity EntB); | |
| ^~~~~~~ | |
physic.h:28:42: error: ‘pEntity’ was not declared in this scope | |
28 | hBool CollideEntity_Better(pEntity EntA, pEntity EntB); | |
| ^~~~~~~ | |
physic.h:28:54: error: expression list treated as compound expression in initializer [-fpermissive] | |
28 | hBool CollideEntity_Better(pEntity EntA, pEntity EntB); | |
| ^ | |
physic.h:29:6: error: variable or field ‘Launch’ declared void | |
29 | void Launch(pEntity CreatureEnt, int id, float Speed); | |
| ^~~~~~ | |
physic.h:29:13: error: ‘pEntity’ was not declared in this scope | |
29 | void Launch(pEntity CreatureEnt, int id, float Speed); | |
| ^~~~~~~ | |
physic.h:29:34: error: expected primary-expression before ‘int’ | |
29 | void Launch(pEntity CreatureEnt, int id, float Speed); | |
| ^~~ | |
physic.h:29:42: error: expected primary-expression before ‘float’ | |
29 | void Launch(pEntity CreatureEnt, int id, float Speed); | |
| ^~~~~ | |
physic.h:30:6: error: variable or field ‘JumpEntity’ declared void | |
30 | void JumpEntity(pEntity Entity); | |
| ^~~~~~~~~~ | |
physic.h:30:17: error: ‘pEntity’ was not declared in this scope | |
30 | void JumpEntity(pEntity Entity); | |
| ^~~~~~~ | |
physic.h:32:6: error: variable or field ‘MoveEntity_Forward’ declared void | |
32 | void MoveEntity_Forward(pEntity Entity); | |
| ^~~~~~~~~~~~~~~~~~ | |
physic.h:32:25: error: ‘pEntity’ was not declared in this scope | |
32 | void MoveEntity_Forward(pEntity Entity); | |
| ^~~~~~~ | |
physic.h:33:6: error: variable or field ‘MoveCreature’ declared void | |
33 | void MoveCreature(pEntity CreatureEnt, vect_t MoveStep); | |
| ^~~~~~~~~~~~ | |
physic.h:33:19: error: ‘pEntity’ was not declared in this scope | |
33 | void MoveCreature(pEntity CreatureEnt, vect_t MoveStep); | |
| ^~~~~~~ | |
physic.h:33:47: error: expected primary-expression before ‘MoveStep’ | |
33 | void MoveCreature(pEntity CreatureEnt, vect_t MoveStep); | |
| ^~~~~~~~ | |
physic.h:34:27: error: ‘pEntity’ was not declared in this scope | |
34 | hBool IsGround_UpCreature(pEntity CreatureEnt); | |
| ^~~~~~~ | |
physic.h:35:29: error: ‘pEntity’ was not declared in this scope | |
35 | int IsGround_UnderCreature(pEntity CreatureEnt, float factor); | |
| ^~~~~~~ | |
physic.h:35:50: error: expected primary-expression before ‘float’ | |
35 | int IsGround_UnderCreature(pEntity CreatureEnt, float factor); | |
| ^~~~~ | |
physic.h:35:62: error: expression list treated as compound expression in initializer [-fpermissive] | |
35 | int IsGround_UnderCreature(pEntity CreatureEnt, float factor); | |
| ^ | |
physic.h:36:28: error: ‘pEntity’ was not declared in this scope | |
36 | hBool IsGround2_UpCreature(pEntity CreatureEnt); | |
| ^~~~~~~ | |
physic.h:37:30: error: ‘pEntity’ was not declared in this scope | |
37 | hBool IsEntity_UnderCreature(pEntity CreatureEnt, pEntity Ent); | |
| ^~~~~~~ | |
physic.h:37:51: error: ‘pEntity’ was not declared in this scope | |
37 | hBool IsEntity_UnderCreature(pEntity CreatureEnt, pEntity Ent); | |
| ^~~~~~~ | |
physic.h:37:62: error: expression list treated as compound expression in initializer [-fpermissive] | |
37 | hBool IsEntity_UnderCreature(pEntity CreatureEnt, pEntity Ent); | |
| ^ | |
physic.h:38:30: error: ‘pEntity’ was not declared in this scope | |
38 | hBool IsEntity_UpperCreature(pEntity CreatureEnt, pEntity Ent); | |
| ^~~~~~~ | |
physic.h:38:51: error: ‘pEntity’ was not declared in this scope | |
38 | hBool IsEntity_UpperCreature(pEntity CreatureEnt, pEntity Ent); | |
| ^~~~~~~ | |
physic.h:38:62: error: expression list treated as compound expression in initializer [-fpermissive] | |
38 | hBool IsEntity_UpperCreature(pEntity CreatureEnt, pEntity Ent); | |
| ^ | |
In file included from opengl.h:7, | |
from alloween.h:184, | |
from objet.h:5: | |
mskmodel.h:219:29: error: ‘pEntity’ has not been declared | |
219 | void msk_draw(Model *model, pEntity Ent, float timing, float R, float G, float B); | |
| ^~~~~~~ | |
mskmodel.h:220:6: error: variable or field ‘msk_ChangeAnim’ declared void | |
220 | void msk_ChangeAnim(pEntity MonsterEnt, Model *model, int newAnim); | |
| ^~~~~~~~~~~~~~ | |
mskmodel.h:220:21: error: ‘pEntity’ was not declared in this scope | |
220 | void msk_ChangeAnim(pEntity MonsterEnt, Model *model, int newAnim); | |
| ^~~~~~~ | |
mskmodel.h:220:47: error: expected primary-expression before ‘*’ token | |
220 | void msk_ChangeAnim(pEntity MonsterEnt, Model *model, int newAnim); | |
| ^ | |
mskmodel.h:220:48: error: ‘model’ was not declared in this scope; did you mean ‘Model’? | |
220 | void msk_ChangeAnim(pEntity MonsterEnt, Model *model, int newAnim); | |
| ^~~~~ | |
| Model | |
mskmodel.h:220:55: error: expected primary-expression before ‘int’ | |
220 | id msk_ChangeAnim(pEntity MonsterEnt, Model *model, int newAnim); | |
| ^~~ | |
mskmodel.h:223:6: error: variable or field ‘Model_restart’ declared void | |
223 | void Model_restart(pEntity MonsterEnt, Model *model); | |
| ^~~~~~~~~~~~~ | |
mskmodel.h:223:20: error: ‘pEntity’ was not declared in this scope | |
223 | void Model_restart(pEntity MonsterEnt, Model *model); | |
| ^~~~~~~ | |
mskmodel.h:223:46: error: expected primary-expression before ‘*’ token | |
223 | void Model_restart(pEntity MonsterEnt, Model *model); | |
| ^ | |
mskmodel.h:223:47: error: ‘model’ was not declared in this scope; did you mean ‘Model’? | |
223 | void Model_restart(pEntity MonsterEnt, Model *model); | |
| ^~~~~ | |
| Model | |
mskmodel.h:224:6: error: variable or field ‘Model_advanceAnimation’ declared void | |
224 | void Model_advanceAnimation(pEntity MonsterEnt, Model *model); | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
mskmodel.h:224:29: error: ‘pEntity’ was not declared in this scope | |
224 | void Model_advanceAnimation(pEntity MonsterEnt, Model *model); | |
| ^~~~~~~ | |
mskmodel.h:224:55: error: expected primary-expression before ‘*’ token | |
224 | void Model_advanceAnimation(pEntity MonsterEnt, Model *model); | |
| ^ | |
mskmodel.h:224:56: error: ‘model’ was not declared in this scope; did you mean ‘Model’? | |
224 | void Model_advanceAnimation(pEntity MonsterEnt, Model *model); | |
| ^~~~~ | |
| Model | |
In file included from alloween.h:184, | |
from objet.h:5: | |
opengl.h:29:6: error: variable or field ‘gl_RenderEntity’ declared void | |
29 | void gl_RenderEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~~~~~~~~~~~ | |
opengl.h:29:22: error: ‘pEntity’ was not declared in this scope | |
29 | void gl_RenderEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~~~ | |
opengl.h:29:38: error: ‘pEntity’ was not declared in this scope | |
29 | void gl_RenderEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~~~ | |
opengl.h:29:57: error: expected primary-expression before ‘float’ | |
29 | gl_RenderEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~ | |
opengl.h:29:66: error: expected primary-expression before ‘float’ | |
29 | rEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~ | |
opengl.h:29:75: error: expected primary-expression before ‘float’ | |
29 | (pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~ | |
opengl.h:31:35: error: ‘pEntity’ has not been declared | |
31 | void gl_RenderFace(Face_t *pFace, pEntity PlayerEnt, hBool isBlend, float R, float G, float B, float A); | |
| ^~~~~~~ | |
opengl.h:32:6: error: variable or field ‘gl_DrawHoldedEntity’ declared void | |
32 | void gl_DrawHoldedEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~~~~~~~~~~~~~~~ | |
opengl.h:32:26: error: ‘pEntity’ was not declared in this scope | |
32 | void gl_DrawHoldedEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~~~ | |
opengl.h:32:42: error: ‘pEntity’ was not declared in this scope | |
32 | void gl_DrawHoldedEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~~~ | |
opengl.h:32:61: error: expected primary-expression before ‘float’ | |
32 | DrawHoldedEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~ | |
opengl.h:32:70: error: expected primary-expression before ‘float’ | |
32 | dEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~ | |
opengl.h:32:79: error: expected primary-expression before ‘float’ | |
32 | (pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~ | |
opengl.h:34:6: error: variable or field ‘gl_DrawEntity’ declared void | |
34 | void gl_DrawEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~~~~~~~~~ | |
opengl.h:34:20: error: ‘pEntity’ was not declared in this scope | |
34 | void gl_DrawEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~~~ | |
opengl.h:34:36: error: ‘pEntity’ was not declared in this scope | |
34 | void gl_DrawEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~~~ | |
opengl.h:34:55: error: expected primary-expression before ‘float’ | |
34 | id gl_DrawEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~ | |
opengl.h:34:64: error: expected primary-expression before ‘float’ | |
34 | wEntity(pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~ | |
opengl.h:34:73: error: expected primary-expression before ‘float’ | |
34 | (pEntity Entity, pEntity PlayerEnt, float R, float G, float B); | |
| ^~~~~ | |
opengl.h:38:6: error: variable or field ‘gl_DrawBoundingBox’ declared void | |
38 | void gl_DrawBoundingBox(pEntity Entity); | |
| ^~~~~~~~~~~~~~~~~~ | |
opengl.h:38:25: error: ‘pEntity’ was not declared in this scope | |
38 | void gl_DrawBoundingBox(pEntity Entity); | |
| ^~~~~~~ | |
In file included from alloween.h:186, | |
from objet.h:5: | |
monster.h:7:1: error: ‘pEntity’ does not name a type | |
7 | pEntity monster_Die(pEntity MonsterEnt, Model *model, hBool OkGoreF); | |
| ^~~~~~~ | |
monster.h:8:6: error: variable or field ‘monster_DieSound’ declared void | |
8 | void monster_DieSound(pEntity MonsterEnt); | |
| ^~~~~~~~~~~~~~~~ | |
monster.h:8:23: error: ‘pEntity’ was not declared in this scope | |
8 | void monster_DieSound(pEntity MonsterEnt); | |
| ^~~~~~~ | |
monster.h:9:6: error: variable or field ‘monster_AttackSound’ declared void | |
9 | void monster_AttackSound(pEntity MonsterEnt); | |
| ^~~~~~~~~~~~~~~~~~~ | |
monster.h:9:26: error: ‘pEntity’ was not declared in this scope | |
9 | void monster_AttackSound(pEntity MonsterEnt); | |
| ^~~~~~~ | |
monster.h:10:6: error: variable or field ‘monster_NormalSound’ declared void | |
10 | void monster_NormalSound(pEntity MonsterEnt); | |
| ^~~~~~~~~~~~~~~~~~~ | |
monster.h:10:26: error: ‘pEntity’ was not declared in this scope | |
10 | void monster_NormalSound(pEntity MonsterEnt); | |
| ^~~~~~~ | |
monster.h:11:6: error: variable or field ‘monster_UpdateCounter’ declared void | |
11 | void monster_UpdateCounter(pEntity MonsterEnt); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
monster.h:11:28: error: ‘pEntity’ was not declared in this scope | |
11 | void monster_UpdateCounter(pEntity MonsterEnt); | |
| ^~~~~~~ | |
monster.h:12:1: error: ‘pEntity’ does not name a type | |
12 | pEntity MonsterDamage(pEntity MonsterEnt, Model *model); | |
| ^~~~~~~ | |
monster.h:13:1: error: ‘pEntity’ does not name a type | |
13 | pEntity UpdateMonster(pEntity PlayerEnt, pEntity MonsterEnt); | |
| ^~~~~~~ | |
monster.h:14:6: error: variable or field ‘TurnLeft_Monster’ declared void | |
14 | void TurnLeft_Monster(pEntity MonsterEnt); | |
| ^~~~~~~~~~~~~~~~ | |
monster.h:14:23: error: ‘pEntity’ was not declared in this scope | |
14 | void TurnLeft_Monster(pEntity MonsterEnt); | |
| ^~~~~~~ | |
monster.h:15:6: error: variable or field ‘TurnRight_Monster’ declared void | |
15 | void TurnRight_Monster(pEntity MonsterEnt); | |
| ^~~~~~~~~~~~~~~~~ | |
monster.h:15:24: error: ‘pEntity’ was not declared in this scope | |
15 | void TurnRight_Monster(pEntity MonsterEnt); | |
| ^~~~~~~ | |
In file included from alloween.h:191, | |
from objet.h:5: | |
ellipsoide.h:20:2: error: ‘pEntity’ does not name a type | |
20 | pEntity Ent; | |
| ^~~~~~~ | |
In file included from objet.h:5: | |
alloween.h:346:8: error: ‘ENTITY’ does not name a type | |
346 | extern ENTITY *gEntitiesLoadedList; | |
| ^~~~~~ | |
alloween.h:347:8: error: ‘pEntity’ does not name a type | |
347 | extern pEntity gEntitiesList; | |
| ^~~~~~~ | |
alloween.h:486:8: error: ‘RESPAWN’ does not name a type; did you mean ‘RESPAWNVAR’? | |
486 | extern RESPAWN RespawnTab[MAX_RESPAWN_OBJ]; | |
| ^~~~~~~ | |
| RESPAWNVAR | |
net_temp_linux.h:8:53: error: ‘vect_t’ has not been declared | |
8 | void net_NetLaunchEnt(int entid, int launcherid, vect_t startpos, vect_t rot, vect_t vel, short IsServer); | |
| ^~~~~~ | |
net_temp_linux.h:8:70: error: ‘vect_t’ has not been declared | |
8 | unchEnt(int entid, int launcherid, vect_t startpos, vect_t rot, vect_t vel, short IsServer); | |
| ^~~~~~ | |
net_temp_linux.h:8:82: error: ‘vect_t’ has not been declared | |
8 | entid, int launcherid, vect_t startpos, vect_t rot, vect_t vel, short IsServer); | |
| ^~~~~~ | |
net_temp_linux.h:14:9: error: variable or field ‘net_SendVectorState’ declared void | |
14 | void net_SendVectorState(pEntity Ent, int vstate); | |
| ^~~~~~~~~~~~~~~~~~~ | |
net_temp_linux.h:14:29: error: ‘pEntity’ was not declared in this scope | |
14 | void net_SendVectorState(pEntity Ent, int vstate); | |
| ^~~~~~~ | |
net_temp_linux.h:14:42: error: expected primary-expression before ‘int’ | |
14 | void net_SendVectorState(pEntity Ent, int vstate); | |
| ^~~ | |
net_temp_linux.h:15:9: error: variable or field ‘net_RemoveClientEnt’ declared void | |
15 | void net_RemoveClientEnt(pEntity Ent); | |
| ^~~~~~~~~~~~~~~~~~~ | |
net_temp_linux.h:15:29: error: ‘pEntity’ was not declared in this scope | |
15 | void net_RemoveClientEnt(pEntity Ent); | |
| ^~~~~~~ | |
net_temp_linux.h:17:1: error: ‘hBool’ does not name a type | |
17 | hBool cl_Create(); | |
| ^~~~~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I guess ingore warnngs and fix errors by rewritting the KSound class.