![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include "quakedef.h"
Go to the source code of this file.
Macros | |
#define | n(x, y) |
#define | n(x, y) |
#define | NOISE_MASK 255 |
#define | NOISE_SIZE 256 |
Functions | |
void | fractalnoise (unsigned char *noise, int size, int startgrid) |
void | fractalnoisequick (unsigned char *noise, int size, int startgrid) |
float | noise4f (float x, float y, float z, float w) |
Referenced by _Thread_CondBroadcast(), _Thread_CondSignal(), applytransform_inverted(), buf2file(), Cbuf_Execute_Deferred(), CD_f(), CL_Beam_AddQuad(), CL_Beams_SetupBuiltinTexture(), CL_PQRcon_f(), CL_Rcon_f(), CL_SelectTraceLine(), Collision_NewBrushFromPlanes(), Com_HexDumpToConsole(), COM_Init_Commands(), COM_ToLowerString(), COM_ToUpperString(), Con_CompleteCommandLine(), convex_builder_get_planes4f(), convex_builder_get_points3f(), Crypto_BuildChallengeAppend(), Crypto_LoadFile(), EntityFrame4_CL_ReadFrame(), EntityFrame4_WriteFrame(), EntityFrame5_CL_ReadFrame(), EntityFrame5_WriteFrame(), EntityFrame_AddFrame_Client(), EntityFrame_AddFrame_Server(), EntityFrame_FetchFrame(), EntityFrameCSQC_LostAllFrames(), EntityFrameCSQC_WriteFrame(), EntityState5_DeltaBits(), EntityState_DeltaBits(), file2buf(), file2lumps(), fractalnoise(), fractalnoisequick(), FS_SysCheckGameDir(), GetUntilNul(), hmac(), hz_bitstream_read_blocks_free(), Image_CopyAlphaFromBlueBGRA(), Image_FixTransparentPixels_f(), Image_HeightmapToNormalmap_BGRA(), IN_BestWeapon_f(), loadimagepixelsbgra(), Log_Start(), lumps2file(), M_DrawTextBox(), M_Menu_Quit_f(), M_ModList_Draw(), M_ServerList_Draw(), Math_crandomf(), Math_randomf(), Math_randomrangei(), mdfour(), mdfour_tail(), mdfour_update(), Mod_BuildTextureVectorsFromNormals(), Mod_Q2BSP_LoadBrushSides(), Mod_Q3BSP_LoadBrushes(), Mod_Q3BSP_LoadBrushSides(), Mod_Q3BSP_LoadBrushSides_IG(), Mod_Q3BSP_LoadEffects(), Mod_Q3BSP_LoadFaces(), Mod_Q3BSP_LoadLeafBrushes(), Mod_Q3BSP_LoadLeafFaces(), Mod_Q3BSP_LoadLeafs(), Mod_Q3BSP_LoadModels(), Mod_Q3BSP_LoadNodes(), Mod_Skeletal_AnimateVertices_Generic(), MR_Init(), NetConn_ClientParsePacket(), PolygonD_Clip(), PolygonD_Divide(), PolygonF_Clip(), PolygonF_Divide(), Protocol_EnumForNumber(), PRVM_ED_ParseEdict(), PRVM_EDICT_NUM_ERROR(), PRVM_ValueString(), PRVM_Watchpoint(), QW_CL_ParseModelList(), QW_CL_ParseSoundList(), R_BuildLightMap(), R_Mod_DrawAddWaterPlanes(), R_NewExplosion(), R_Shadow_CullFrustumSides(), R_Shadow_LoadLightsFile(), R_Shadow_LoadWorldLights(), R_Shadow_LoadWorldLightsFromMap_LightArghliteTyrlite(), R_Stain(), R_Water_AddWaterPlane(), RSurf_PrepareVerticesForBatch(), SCR_CaptureVideo_Avi_BeginVideo(), SCR_CaptureVideo_RIFF_Write16(), SCR_CaptureVideo_RIFF_Write32(), sha256(), SV_MaxPlayers_f(), Sys_FindExecutableName(), u8_bytelen(), u8_bytelen_colorcodes(), u8_strnlen(), u8_strnlen_colorcodes(), VID_BuildGammaTables(), VM_buf_cvarlist(), VM_CL_pointparticles(), and VM_SV_droptofloor().
#define NOISE_MASK 255 |
Definition at line 127 of file fractalnoise.c.
Referenced by noise4f().
#define NOISE_SIZE 256 |
Definition at line 126 of file fractalnoise.c.
Referenced by noise4f().
Definition at line 4 of file fractalnoise.c.
References bound, Con_Printf(), g, max, Mem_Alloc, Mem_Free, min, n, noise, size, tempmempool, x, and y.
Referenced by r_explosion_start(), and R_InitParticleTexture().
Definition at line 74 of file fractalnoise.c.
References bound, Con_Printf(), g, n, noise, size, x, and y.
Referenced by R_NewExplosion().
Definition at line 128 of file fractalnoise.c.
References floor(), i, index, int(), NOISE_MASK, NOISE_SIZE, r, v, w, x, y, and z.
Referenced by RSurf_PrepareVerticesForBatch().