Home
last modified time | relevance | path

Searched refs:IDF_WORLD (Results 1 – 25 of 64) sorted by relevance

123

/dports/games/redeclipse/base-2.0.0/src/engine/
H A Drendersky.cpp40 CVAR1(IDF_WORLD, ambient##name, 0x191919); \
42 CVAR1(IDF_WORLD, skylight##name, 0); \
44 VAR(IDF_WORLD, fog##name, 16, 4000, 1000024); \
45 CVAR0(IDF_WORLD, fogcolour##name, 0x8099B3); \
48 CVAR(IDF_WORLD, skycolour##name, 0xFFFFFF); \
49 FVAR(IDF_WORLD, skyblend##name, 0, 1.0f, 1); \
54 VAR(IDF_WORLD, yawsky##name, 0, 0, 360); \
59 VAR(IDF_WORLD, yawclouds##name, 0, 0, 360); \
87 VAR(IDF_WORLD, atmo##name, 0, 0, 2); \
91 CVAR1(IDF_WORLD, atmolight##name, 0); \
[all …]
H A Dwater.cpp28 FVAR(IDF_WORLD, causticcontrast, 0, 0.6f, 2);
29 FVAR(IDF_WORLD, causticoffset, 0, 0.7f, 1);
146 VAR(IDF_WORLD, watersubdiv, 0, 2, 3);
147 VAR(IDF_WORLD, waterlod, 0, 1, 3);
334 VARF(IDF_WORLD, vertwater, 0, 1, 1, if(!(identflags&IDF_WORLD)) allchanged());
344 CVAR0(IDF_WORLD, name##colour##type, 0x01212C); \
348 VAR(IDF_WORLD, name##fog##type, 0, 30, 10000); \
350 VAR(IDF_WORLD, name##spec##type, 0, 150, 200); \
352 CVAR(IDF_WORLD, name##fallcolour##type, 0); \
387 VAR(IDF_WORLD, name##fog##type, 0, 50, 10000); \
[all …]
H A Dwind.cpp17 VAR(IDF_WORLD, windyaw, 0, 45, 360);
18 VAR(IDF_WORLD, windyawalt, 0, 45, 360);
19 FVAR(IDF_WORLD, windspeed, 0, 1, 10);
20 FVAR(IDF_WORLD, windspeedalt, 0, 1, 10);
21 VAR(IDF_WORLD, windinterval, 0, 50000, VAR_MAX);
22 VAR(IDF_WORLD, windintervalalt, 0, 50000, VAR_MAX);
H A Dgrass.cpp8 VAR(IDF_WORLD, grassheight, 1, 4, 64);
69 VAR(IDF_WORLD, grassanimmillis, 0, 3000, 60000);
70 FVAR(IDF_WORLD, grassanimscale, 0, 0.03f, 1);
78 VAR(IDF_WORLD, grassscale, 1, 2, 64);
79 CVAR0(IDF_WORLD, grasscolour, 0xFFFFFF);
80 FVAR(IDF_WORLD, grassblend, 0, 1, 1);
81 FVAR(IDF_WORLD, grasstest, 0, 0.6f, 1);
H A Dworldio.cpp65 SVARF(IDF_WORLD, maptitle, "", fixmaptitle());
66 SVARF(IDF_WORLD, mapauthor, "", { string s; if(filterstring(s, mapauthor)) setsvar("mapauthor", s, …
67 SVARF(IDF_WORLD, mapdesc, "", { string s; if(filterstring(s, mapdesc)) setsvar("mapdesc", s, false)…
610 if(id.type == ID_ALIAS && id.flags&IDF_WORLD && !(id.flags&IDF_SERVER) && strlen(id.name)) in save_config()
884 ICOMMAND(0, savemap, "s", (char *mname), if(!(identflags&IDF_WORLD)) save_world(*mname ? mname : ma…
1025 identflags |= IDF_WORLD; in load_world()
1055 if(!id || type != id->type || !(id->flags&IDF_WORLD) || id->flags&IDF_SERVER) in load_world()
1113 identflags &= ~IDF_WORLD; in load_world()
1298 identflags |= IDF_WORLD; in load_world()
1308 identflags &= ~IDF_WORLD; in load_world()
[all …]
H A Dmain.cpp186 ICOMMAND(0, screenshot, "s", (char *s), if(!(identflags&IDF_WORLD)) screenshot(s));
187 ICOMMAND(0, quit, "", (void), if(!(identflags&IDF_WORLD)) quit());
249 VARF(IDF_INIT, fullscreen, 0, 1, 1, if(!(identflags&IDF_WORLD)) setfullscreen(fullscreen!=0));
257 VARF(IDF_INIT, fullscreendesktop, 0, 1, 1, if(!(identflags&IDF_WORLD) && fullscreen) resetfullscree…
433 ICOMMAND(0, resetgl, "", (void), if(!(identflags&IDF_WORLD)) resetgl());
862 identflags &= ~IDF_WORLD;
H A Dnormal.cpp41 VAR(IDF_WORLD, lerpangle, 0, 44, 180);
144 VAR(IDF_WORLD, lerpsubdiv, 0, 2, 4);
145 VAR(IDF_WORLD, lerpsubdivsize, 4, 4, 128);
H A Dtextedit.h760 if(!textfocus || identflags&IDF_WORLD) return;\
781 if(identflags&IDF_WORLD) return;
791 if(identflags&IDF_WORLD) return;
796 if(identflags&IDF_WORLD) return;
806 if(identflags&IDF_WORLD) return;
H A Dcommand.cpp506 …if(!(identflags&IDF_WORLD) && !editmode && (world || (id.flags&IDF_WORLD && !(id.flags&IDF_REWRITE… in setalias()
515 … id.flags = (world || id.flags&IDF_WORLD ? IDF_WORLD : 0)|(id.flags&IDF_PERSIST ? IDF_PERSIST : 0); in setalias()
517 client::editvar(&id, !(identflags&IDF_WORLD)); in setalias()
563 client::editvar(id, !(identflags&IDF_WORLD)); in setalias()
582 setalias(name, *v, (identflags&IDF_WORLD)!=0);
1030 … if(!(identflags&IDF_WORLD) && !editmode && id->flags&IDF_WORLD && !(id->flags&IDF_REWRITE)) \
1037 if((identflags&IDF_WORLD) && !(id->flags&IDF_WORLD)) \
1064 client::editvar(id, !(identflags&IDF_WORLD)); in setvarchecked()
2045 … if(!id || (id->flags&IDF_REWRITE && (!(identflags&IDF_WORLD) || !(id->flags&IDF_WORLD)))) in compilestatements()
3123 … idrewrite = !id || (id->flags&IDF_REWRITE && (!(identflags&IDF_WORLD) || !(id->flags&IDF_WORLD))); in runcode()
[all …]
H A Dlight.cpp12 CVAR1F(IDF_WORLD, sunlight##name, 0, \
19 …FVARF(IDF_WORLD, sunlightscale##name, 0, 1, 16, if(checkmapvariant(type)) clearradiancehintscache(…
22 …FVARF(IDF_WORLD, sunlightyaw##name, 0, 0, 360, setlightdir(sunlightdir##name, sunlightyaw##name, s…
23 …FVARF(IDF_WORLD, sunlightpitch##name, -90, 90, 90, setlightdir(sunlightdir##name, sunlightyaw##nam…
/dports/games/redeclipse16/base-1.6.0/src/engine/
H A Drendersky.cpp40 VAR(IDF_WORLD, skybgglare, 0, 0, 1);
43 FVAR(IDF_WORLD, skyblend, 0, 1.0f, 1);
44 VAR(IDF_WORLD, skyglare, 0, 0, 1);
47 VAR(IDF_WORLD, yawsky, 0, 0, 360);
51 VAR(IDF_WORLD, cloudglare, 0, 0, 1);
54 VAR(IDF_WORLD, yawclouds, 0, 0, 360);
75 FVAR(IDF_WORLD, envoffsetx, 0, 0, 1);
76 FVAR(IDF_WORLD, envoffsety, 0, 0, 1);
79 FVAR(IDF_WORLD, envscale, 0, 1, 64);
83 FVAR(IDF_WORLD, envfade, 0, 0.2f, 1);
[all …]
H A Dgrass.cpp9 VAR(IDF_WORLD, grassheight, 1, 4, 64);
75 VAR(IDF_WORLD, grassanimmillis, 0, 3000, 60000);
76 FVAR(IDF_WORLD, grassanimscale, 0, 0.03f, 1);
84 VAR(IDF_WORLD, grassscale, 1, 2, 64);
86 VARF(IDF_HEX|IDF_WORLD, grasscolour, 0, 0xFFFFFF, 0xFFFFFF,
91 FVAR(IDF_WORLD, grassblend, 0, 1, 1);
H A Dwater.cpp8 VAR(IDF_WORLD, watersubdiv, 0, 2, 3);
9 VAR(IDF_WORLD, waterlod, 0, 2, 3);
196 VARF(IDF_WORLD, vertwater, 0, 1, 1, if(!(identflags&IDF_WORLD)) allchanged());
233 VAR(IDF_WORLD, name##fog, 0, 150, 10000); \
235 VARF(IDF_HEX|IDF_WORLD, name##colour, 0, 0x103060, 0xFFFFFF, \
239 VARF(IDF_HEX|IDF_WORLD, name##fallcolour, 0, 0, 0xFFFFFF, \
243 VAR(IDF_WORLD, name##spec, 0, 150, 1000);
258 VAR(IDF_WORLD, name##fog, 0, 50, 10000); \ in WATERVARS()
260 VARF(IDF_HEX|IDF_WORLD, name##colour, 0, 0xFF4400, 0xFFFFFF, \
899 VAR(IDF_WORLD, refractclear, 0, 0, 1);
H A Dmenus.cpp28 if(world && !builtin) identflags |= IDF_WORLD; in gui()
64 …schedule(const char *s) { type = ACTION; val.s = newstring(s); world = (identflags&IDF_WORLD)!=0; } in schedule()
65 …schedule(ident *var, int i) { type = INT; id = var; val.i = i; world = (identflags&IDF_WORLD)!=0; } in schedule()
66 …dule(ident *var, float f) { type = FLOAT; id = var; val.f = f; world = (identflags&IDF_WORLD)!=0; } in schedule()
67 …var, char *s) { type = STRING; id = var; val.s = newstring(s); world = (identflags&IDF_WORLD)!=0; } in schedule()
105 if(world) identflags |= IDF_WORLD; in run()
158 m->world = (identflags&IDF_WORLD)!=0; in pushgui()
178 m->world = (identflags&IDF_WORLD)!=0; in restoregui()
H A Dworldio.cpp48 SVARF(IDF_WORLD, maptitle, "", fixmaptitle());
49 SVARF(IDF_WORLD, mapauthor, "", { string s; if(filterstring(s, mapauthor)) setsvar("mapauthor", s, …
850 if(id.flags&IDF_WORLD && !(id.flags&IDF_SERVER)) switch(id.type) in save_config()
865 if(id.type == ID_ALIAS && id.flags&IDF_WORLD && !(id.flags&IDF_SERVER) && strlen(id.name)) in save_config()
1290 identflags |= IDF_WORLD; in load_world()
1322 if(!id || !(id->flags&IDF_WORLD) || id->flags&IDF_SERVER) proceed = false; in load_world()
1378 identflags &= ~IDF_WORLD; in load_world()
1505 … bool exists = id && id->type == type && id->flags&IDF_WORLD && !(id->flags&IDF_SERVER); in load_world()
1791 identflags |= IDF_WORLD; in load_world()
1799 identflags &= ~IDF_WORLD; in load_world()
[all …]
H A Dcommand.cpp433 client::editvar(&id, interactive && !(identflags&IDF_WORLD)); in setalias()
461 client::editvar(id, interactive && !(identflags&IDF_WORLD)); in setalias()
747 … if(!(identflags&IDF_WORLD) && !editmode && id->flags&IDF_WORLD && !(id->flags&IDF_REWRITE)) \
754 if((identflags&IDF_WORLD) && !(id->flags&IDF_WORLD)) \
789 client::editvar(id, interactive && !(identflags&IDF_WORLD)); in setvarchecked()
1524 … if(!id || (id->flags&IDF_REWRITE && (!(identflags&IDF_WORLD) || !(id->flags&IDF_WORLD)))) in compilestatements()
2201 … if(!id || (id->flags&IDF_REWRITE && (!(identflags&IDF_WORLD) || !(id->flags&IDF_WORLD)))) in runcode()
2205 … if(!id || (id->flags&IDF_REWRITE && (!(identflags&IDF_WORLD) || !(id->flags&IDF_WORLD)))) in runcode()
2322 if(nonworld) identflags &= ~IDF_WORLD; in execute()
2398 if(flags&EXEC_NOWORLD) identflags &= ~IDF_WORLD; in execfile()
[all …]
H A Dmain.cpp215 ICOMMAND(0, screenshot, "s", (char *s), if(!(identflags&IDF_WORLD)) screenshot(s));
216 ICOMMAND(0, quit, "", (void), if(!(identflags&IDF_WORLD)) quit());
238 VARF(0, fullscreen, 0, 1, 1, if(!(identflags&IDF_WORLD)) setfullscreen(fullscreen!=0));
246 VARF(0, fullscreendesktop, 0, 0, 1, if(!(identflags&IDF_WORLD) && fullscreen) resetfullscreen());
466 ICOMMAND(0, resetgl, "", (void), if(!(identflags&IDF_WORLD)) resetgl());
H A Dnormal.cpp32 VAR(IDF_WORLD, lerpangle, 0, 44, 180);
126 VAR(IDF_WORLD, lerpsubdiv, 0, 2, 4);
127 VAR(IDF_WORLD, lerpsubdivsize, 4, 4, 128);
H A Dlightmap.cpp79 VAR(IDF_WORLD, lightprecision, 1, 32, 2048);
82 VAR(IDF_WORLD, lighterror, 1, 8, 16);
83 VAR(IDF_WORLD, bumperror, 1, 3, 16);
84 VAR(IDF_WORLD, lightlod, 0, 0, 10);
193 VARN(IDF_WORLD, lmaa, lmaa_, 0, 3, 3);
408 VAR(IDF_WORLD, lightcompress, 0, 3, 6);
582 VAR(IDF_WORLD, skytexturelight, 0, 1, 1);
674 VAR(IDF_WORLD, blurlms, 0, 0, 2);
675 VAR(IDF_WORLD, blurskylight, 0, 0, 2);
706 VAR(IDF_WORLD, edgetolerance, 1, 4, 64);
[all …]
H A Dtextedit.h770 if(!top || identflags&IDF_WORLD) return;\
800 if(identflags&IDF_WORLD) return;
805 if(identflags&IDF_WORLD) return;
815 char *f = identflags&IDF_WORLD ? NULL : file;
H A Dshadowmap.cpp14 VARF(IDF_HEX|IDF_WORLD, shadowmapambient, 0, 0, 0xFFFFFF,
81 VARF(IDF_WORLD, shadowmapangle, 0, 0, 360, setshadowdir(shadowmapangle));
/dports/games/redeclipse/base-2.0.0/src/game/
H A Dvars.h5 GVAR(IDF_WORLD, 0, hurtdelay, 0, 1000, VAR_MAX);
6 GVAR(IDF_WORLD, 0, hurtdamage, 0, 30, VAR_MAX);
7 GVAR(IDF_WORLD, 0, hurtresidual, 0, 0, W_R_ALL);
9 GVAR(IDF_WORLD, 0, hurtburntime, 0, 5500, VAR_MAX);
10 GVAR(IDF_WORLD, 0, hurtburndelay, 1, 1000, VAR_MAX);
11 GVAR(IDF_WORLD, 0, hurtburndamage, 0, 30, VAR_MAX);
35 GFVAR(IDF_WORLD, 0, floorcoast, 0, 5.f, 1000);
37 GFVAR(IDF_WORLD, 0, aircoast, 0, 25.f, 1000);
39 GFVAR(IDF_WORLD, 0, slidecoast, 0, 40.f, 1000);
42 GFVAR(IDF_WORLD, 0, liquidspeed, 0, 0.85f, 1);
[all …]
/dports/games/bloodfrontier/bloodfrontier/src/shared/
H A Dcommand.h153 #define VARW(name, min, cur, max) _VAR(name, name, min, cur, max, IDF_WORLD|IDF_COMPLETE)
172 #define HVARW(name, min, cur, max) _HVAR(name, name, min, cur, max, IDF_WORLD|IDF_COMPLETE)
190 #define FVARW(name, min, cur, max) _FVAR(name, name, min, cur, max, IDF_WORLD|IDF_COMPLETE)
202 #define SVARNW(name, global, cur) _SVAR(name, global, cur, IDF_WORLD|IDF_COMPLETE)
206 #define SVARW(name, cur) _SVAR(name, name, cur, IDF_WORLD|IDF_COMPLETE)
212 #define SVARFW(name, cur, body) _SVARF(name, name, cur, body, IDF_WORLD|IDF_COMPLETE)
243 #define IVARW(n, m, c, x) _IVAR(n, m, c, x, , IDF_WORLD|IDF_COMPLETE)
247 #define IVARFW(n, m, c, x, b) _IVAR(n, m, c, x, void changed() { b; }, IDF_WORLD|IDF_COMPLETE)
264 #define IFVARW(n, m, c, x) _IFVAR(n, m, c, x, , IDF_WORLD|IDF_COMPLETE)
283 #define ISVARW(n, c) _ISVAR(n, c, , IDF_WORLD|IDF_COMPLETE)
[all …]
/dports/games/redeclipse16/base-1.6.0/src/game/
H A Dvars.h5 GVAR(IDF_WORLD, hurtdelay, 0, 1000, VAR_MAX);
6 GVAR(IDF_WORLD, hurtdamage, 0, 3, VAR_MAX);
7 GVAR(IDF_WORLD, hurtresidual, 0, 0, WR_ALL);
9 GFVAR(IDF_WORLD, gravity, 0, 50.f, 1000); // gravity
11 GFVAR(IDF_WORLD, floorcoast, 0, 5.f, 1000);
13 GFVAR(IDF_WORLD, aircoast, 0, 25.f, 1000);
15 GFVAR(IDF_WORLD, slidecoast, 0, 40.f, 1000);
18 GFVAR(IDF_WORLD, liquidspeed, 0, 0.85f, 1);
20 GFVAR(IDF_WORLD, liquidcoast, 0, 10.f, 1000);
22 GFVAR(IDF_WORLD, liquidsubmerge, 0, 0.75f, 1);
[all …]
/dports/games/bloodfrontier/bloodfrontier/src/engine/
H A Dcommand.cpp90 if(worldidents) flags |= IDF_WORLD; in newident()
133 if(worldidents) flags |= IDF_WORLD; in aliasa()
161 if(b->type == ID_ALIAS && worldidents && !(b->flags & IDF_WORLD)) in aliasa()
162 b->flags |= IDF_WORLD; in aliasa()
639 if (!worldidents && !editmode && id->flags&IDF_WORLD) \ in executeret()
1160 …s.flags = (overrideidents ? IDF_OVERRIDE : 0)|(worldidents ? IDF_WORLD : 0)|(persistidents ? IDF_P… in addsleep()
1177 worldidents = (s.flags&IDF_WORLD)!=0; in checksleep()
1196 (clearworlds && sleepcmds[i].flags&IDF_WORLD)) in clearsleep()

123