Home
last modified time | relevance | path

Searched refs:DynLight (Results 1 – 25 of 26) sorted by relevance

12

/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/graphics/spells/
H A DSpells02.cpp90 DynLight[id].exist = 1; in Create()
94 DynLight[id].rgb.r = 0.4f; in Create()
95 DynLight[id].rgb.g = 0.4f; in Create()
96 DynLight[id].rgb.b = 1.0f; in Create()
97 DynLight[id].pos.x = eSrc.x; in Create()
101 DynLight[id].extras = 0; in Create()
178 DynLight[id].exist = 1; in Update()
182 DynLight[id].rgb.r = 0.4f; in Update()
183 DynLight[id].rgb.g = 0.4f; in Update()
184 DynLight[id].rgb.b = 1.0f; in Update()
[all …]
H A DSpells05.cpp174 DynLight[id].exist = 1; in Create()
178 DynLight[id].rgb.r = 0.f; in Create()
179 DynLight[id].rgb.g = 1.f; in Create()
180 DynLight[id].rgb.b = 0.0f; in Create()
186 DynLight[id].extras = 0; in Create()
249 DynLight[id].exist = 1; in Update()
254 DynLight[id].rgb.g = 1.f; in Update()
261 DynLight[id].extras = 0; in Update()
347 DynLight[id].exist = 1; in Create()
369 DynLight[id].exist = 1; in Update()
[all …]
H A DSpells01.cpp157 DynLight[id].exist = 1; in LaunchMagicMissileExplosion()
158 DynLight[id].intensity = 2.3f; in LaunchMagicMissileExplosion()
164 DynLight[id].rgb.r = 1.f; in LaunchMagicMissileExplosion()
165 DynLight[id].rgb.g = 0.3f; in LaunchMagicMissileExplosion()
166 DynLight[id].rgb.b = .8f; in LaunchMagicMissileExplosion()
170 DynLight[id].rgb.r = 0.f; in LaunchMagicMissileExplosion()
171 DynLight[id].rgb.g = 0.f; in LaunchMagicMissileExplosion()
172 DynLight[id].rgb.b = .8f; in LaunchMagicMissileExplosion()
175 DynLight[id].pos = eP; in LaunchMagicMissileExplosion()
176 DynLight[id].duration = 1500; in LaunchMagicMissileExplosion()
[all …]
H A DSpells06.cpp302 DynLight[lLightId].exist = 1; in Render()
306 DynLight[lLightId].rgb.r = 0.8f; in Render()
307 DynLight[lLightId].rgb.g = 0.0f; in Render()
308 DynLight[lLightId].rgb.b = 1.0f; in Render()
309 DynLight[lLightId].pos.x = eSrc.x; in Render()
311 DynLight[lLightId].pos.z = eSrc.z; in Render()
1130 DynLight[lLightId].exist = 0; in Kill()
1298 DynLight[id].exist = 1; in Create()
1300 DynLight[id].fallend = r * 3.f; in Create()
1305 DynLight[id].pos.x = pos.x; in Create()
[all …]
H A DSpells07.cpp711 DynLight[id].exist = 1; in Render()
712 DynLight[id].intensity = 1.3f; in Render()
713 DynLight[id].fallstart = 180.f; in Render()
714 DynLight[id].fallend = 420.f; in Render()
715 DynLight[id].rgb.r = 0.3f + rnd() * ( 1.0f / 5 ); in Render()
716 DynLight[id].rgb.g = 0.3f; in Render()
717 DynLight[id].rgb.b = 0.5f + rnd() * ( 1.0f / 5 ); in Render()
718 DynLight[id].pos = stitepos; in Render()
719 DynLight[id].duration = 200; in Render()
720 DynLight[id].extras = 0; in Render()
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/scene/
H A DLight.cpp61 EERIE_LIGHT DynLight[MAX_DYNLIGHTS]; variable
75 && DynLight[num].exist) in ValidDynLight()
175 DynLight[GLight[i]->tl].exist = 0; in EERIE_LIGHT_TranslateSelected()
232 DynLight[GLight[i]->tl].exist = 0; in EERIE_LIGHT_GlobalInit()
560 DynLight[n].exist = 1; in TreatBackgroundDynlights()
573 DynLight[n].rgb = componentwise_max(DynLight[n].rgb, Color3f::black); in TreatBackgroundDynlights()
574 DynLight[n].rgb255 = DynLight[n].rgb * 255.f; in TreatBackgroundDynlights()
575 DynLight[n].falldiff = DynLight[n].fallend - DynLight[n].fallstart; in TreatBackgroundDynlights()
576 DynLight[n].falldiffmul = 1.f / DynLight[n].falldiff; in TreatBackgroundDynlights()
577 DynLight[n].precalc = DynLight[n].intensity * GLOBAL_LIGHT_FACTOR; in TreatBackgroundDynlights()
[all …]
H A DLight.h63 extern EERIE_LIGHT DynLight[MAX_DYNLIGHTS];
H A DLoadLevel.cpp1189 DynLight[i].exist = 0; in DanaeClearLevel()
1283 …if (modd) RecalcLightZone(actions[i].pos.x, actions[i].pos.z, (long)((float)(DynLight[actions[i].d… in RestoreLastLoadedLightning()
H A DInteractive.cpp284 DynLight[io->dynlight].exist = 0; in ARX_INTERACTIVE_DestroyDynamicInfo()
1085 DynLight[io->dynlight].exist = 0; in ARX_INTERACTIVE_ClearIODynData()
1090 DynLight[io->halo.dynlight].exist = 0; in ARX_INTERACTIVE_ClearIODynData()
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/game/
H A DMissile.cpp109 DynLight[missiles[i].longinfo].duration = 150; in ARX_MISSILES_Kill()
156 DynLight[missiles[i].longinfo].intensity = 1.3f; in ARX_MISSILES_Spawn()
157 DynLight[missiles[i].longinfo].exist = 1; in ARX_MISSILES_Spawn()
158 DynLight[missiles[i].longinfo].fallend = 420.f; in ARX_MISSILES_Spawn()
159 DynLight[missiles[i].longinfo].fallstart = 250.f; in ARX_MISSILES_Spawn()
160 DynLight[missiles[i].longinfo].rgb = Color3f(1.f, .8f, .6f); in ARX_MISSILES_Spawn()
161 DynLight[missiles[i].longinfo].pos = *startpos; in ARX_MISSILES_Spawn()
204 DynLight[missiles[i].longinfo].pos = pos; in ARX_MISSILES_Update()
H A DSpells.cpp3740 DynLight[id].exist = 1; in ARX_SPELLS_Launch()
4397 DynLight[id].exist = 1; in ARX_SPELLS_Launch()
4903 DynLight[id].exist = 1; in ARX_SPELLS_Launch()
4949 DynLight[id].exist = 1; in ARX_SPELLS_Launch()
5033 DynLight[id].exist = 1; in ARX_SPELLS_Launch()
5096 DynLight[id].exist = 1; in ARX_SPELLS_Launch()
5141 DynLight[id].exist = 1; in ARX_SPELLS_Launch()
5271 DynLight[id].exist = 1; in ARX_SPELLS_Launch()
5592 DynLight[id].exist = 0; in ARX_SPELLS_Kill()
5629 DynLight[id].exist = 0; in ARX_SPELLS_Kill()
[all …]
H A DEntity.cpp207 DynLight[ignit_light].exist = 0, ignit_light = -1; in ~Entity()
259 DynLight[dynlight].exist = 0, dynlight = -1; in ~Entity()
263 DynLight[halo.dynlight].exist = 0, halo.dynlight = -1; in ~Entity()
H A DNPC.cpp1011 DynLight[io->ignit_light].exist = 0; in CheckUnderWaterIO()
3962 DynLight[io->ignit_light].exist = 0; in ManageIgnition()
4035 DynLight[io->ignit_light].exist = 0; in ManageIgnition()
4176 DynLight[id].exist = 1; in ManageIgnition_2()
4183 DynLight[id].rgb.r = (1.f - rnd() * 0.2f) * v; in ManageIgnition_2()
4186 DynLight[id].pos.x = position.x; in ManageIgnition_2()
4187 DynLight[id].pos.y = position.y - 30.f; in ManageIgnition_2()
4188 DynLight[id].pos.z = position.z; in ManageIgnition_2()
4189 DynLight[id].ex_flaresize = 40.f; //16.f; in ManageIgnition_2()
4190 DynLight[id].extras |= EXTRAS_FLARE; in ManageIgnition_2()
[all …]
H A DPlayer.cpp291 DynLight[0].exist = 0; in ARX_PLAYER_KillTorch()
309 DynLight[io->ignit_light].exist = 0; in ARX_PLAYER_ClickedOnTorch()
350 DynLight[io->ignit_light].exist = 0; in ARX_PLAYER_ClickedOnTorch()
399 DynLight[0].exist = 0; in ARX_PLAYER_ManageTorch()
2013 EERIE_LIGHT * el = &DynLight[special[pouet]]; in ARX_PLAYER_Manage_Visual()
2187 DynLight[special[2]].exist = 0; in ARX_PLAYER_Manage_Visual()
2193 DynLight[special[1]].exist = 0; in ARX_PLAYER_Manage_Visual()
H A DDamage.cpp503 DynLight[io_dead->dynlight].exist = 0; in ARX_DAMAGES_ForceDeath()
508 DynLight[io_dead->halo.dynlight].exist = 0; in ARX_DAMAGES_ForceDeath()
1439 DynLight[io->ignit_light].exist = 0; in CheckForIgnition()
H A DInventory.cpp135 DynLight[io->ignit_light].exist = 0; in ARX_INVENTORY_Declare_InventoryIn()
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/ai/
H A DPaths.cpp887 DynLight[id].exist = 1; in CheckExp()
888 DynLight[id].intensity = 3.9f; in CheckExp()
889 DynLight[id].fallstart = 400.f; in CheckExp()
890 DynLight[id].fallend = 440.f; in CheckExp()
893 DynLight[id].ex_flaresize = 40.f; in CheckExp()
894 DynLight[id].duration = 1500; in CheckExp()
953 DynLight[id].exist = 1; in ARX_THROWN_OBJECT_Manage()
954 DynLight[id].intensity = 1.f; in ARX_THROWN_OBJECT_Manage()
955 DynLight[id].fallstart = 100.f; in ARX_THROWN_OBJECT_Manage()
956 DynLight[id].fallend = 240.f; in ARX_THROWN_OBJECT_Manage()
[all …]
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/graphics/particle/
H A DParticleEffects.cpp705 EERIE_LIGHT * el = &DynLight[0]; in ManageTorch()
821 DynLight[flare[i].dynlight].exist = 0; in ARX_MAGICAL_FLARES_Draw()
839 DynLight[0].rgb = componentwise_max(DynLight[0].rgb, c); in ARX_MAGICAL_FLARES_Draw()
842 EERIE_LIGHT * el = &DynLight[flare[i].dynlight]; in ARX_MAGICAL_FLARES_Draw()
865 DynLight[0].rgb = componentwise_min(DynLight[0].rgb, Color3f::white); in ARX_MAGICAL_FLARES_Draw()
1034 DynLight[objfx[i].dynlight].exist = 0; in UpdateObjFx()
1056 DynLight[objfx[i].dynlight].fallend = 250.f + 450.f * val; in UpdateObjFx()
1059 DynLight[objfx[i].dynlight].rgb = c; in UpdateObjFx()
1060 DynLight[objfx[i].dynlight].pos = pos; in UpdateObjFx()
1732 DynLight[GLight[i]->tl].exist = 0; in RestoreAllLightsInitialStatus()
[all …]
H A DParticleSystem.cpp153 DynLight[lLightId].pos = p3Pos; in SetPos()
159 DynLight[lLightId].rgb = Color3f(_fR, _fG, _fB); in SetColor()
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/animation/
H A DAnimationRender.cpp680 DynLight[nn].exist = 1; in Cedric_ApplyLighting()
681 DynLight[nn].intensity = 0.7f + 2.f * rnd(); in Cedric_ApplyLighting()
682 DynLight[nn].fallend = 600.f; in Cedric_ApplyLighting()
683 DynLight[nn].fallstart = 400.f; in Cedric_ApplyLighting()
684 DynLight[nn].rgb.r = 1.0f; in Cedric_ApplyLighting()
685 DynLight[nn].rgb.g = 0.8f; in Cedric_ApplyLighting()
686 DynLight[nn].rgb.b = .0f; in Cedric_ApplyLighting()
687 DynLight[nn].pos.x = io->pos.x; in Cedric_ApplyLighting()
688 DynLight[nn].pos.y = io->pos.y - 80.f; in Cedric_ApplyLighting()
689 DynLight[nn].pos.z = io->pos.z; in Cedric_ApplyLighting()
[all …]
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/gui/
H A DMenu.cpp709 DynLight[0].pos.x = 0.f + GInput->getMousePosAbs().x - (DANAESIZX >> 1); in ARX_Menu_Render()
710 DynLight[0].pos.y = 0.f + GInput->getMousePosAbs().y - (DANAESIZY >> 1); in ARX_Menu_Render()
H A DInterface.cpp1509 DynLight[0].exist=0; in ManageEditorControls()
4496 DynLight[0].exist = 1; in ARX_INTERFACE_ManageOpenedBook_Finish()
4499 DynLight[0].fallstart=4520.f; in ARX_INTERFACE_ManageOpenedBook_Finish()
4500 DynLight[0].fallend = DynLight[0].fallstart + 600.f; in ARX_INTERFACE_ManageOpenedBook_Finish()
4501 DynLight[0].rgb255 = DynLight[0].rgb * 255.f; in ARX_INTERFACE_ManageOpenedBook_Finish()
4502 DynLight[0].falldiff = DynLight[0].fallend-DynLight[0].fallstart; in ARX_INTERFACE_ManageOpenedBook_Finish()
4503 DynLight[0].falldiffmul = 1.f / DynLight[0].falldiff; in ARX_INTERFACE_ManageOpenedBook_Finish()
4504 DynLight[0].precalc = DynLight[0].intensity * GLOBAL_LIGHT_FACTOR; in ARX_INTERFACE_ManageOpenedBook_Finish()
4514 PDL[0]=&DynLight[0]; in ARX_INTERFACE_ManageOpenedBook_Finish()
4551 DynLight[0].exist=0; in ARX_INTERFACE_ManageOpenedBook_Finish()
[all …]
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/graphics/data/
H A DMesh.cpp2202 if(DynLight[i].exist) { in ClearDynLights()
2203 DynLight[i].exist = 0; in ClearDynLights()
2220 if(!(DynLight[i].exist)) { in GetFreeDynLight()
2221 DynLight[i].type = 0; in GetFreeDynLight()
2222 DynLight[i].intensity = 1.3f; in GetFreeDynLight()
2223 DynLight[i].treat = 1; in GetFreeDynLight()
2224 DynLight[i].time_creation = (unsigned long)(arxtime); in GetFreeDynLight()
2225 DynLight[i].duration = 0; in GetFreeDynLight()
2226 DynLight[i].extras = 0; in GetFreeDynLight()
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/script/
H A DScriptedIOProperties.cpp475 DynLight[io->halo_native.dynlight].exist = 0; in execute()
/dports/games/arx-libertatis/arx-libertatis-1.1.2/src/core/
H A DCore.cpp1711 DynLight[i].exist = 0; in FirstTimeThings()

12