54 TRACE(
"%p increasing refcount to %u.\n", iface, refcount);
64 TRACE(
"%p decreasing refcount to %u.\n", iface, refcount);
89 TRACE(
"iface %p, cb %p, ctx %p.\n", iface,
cb,
ctx);
99 TRACE(
"iface %p, cb %p, ctx %p.\n", iface,
cb,
ctx);
108 TRACE(
"iface %p, data %#x.\n", iface,
data);
119 TRACE(
"iface %p.\n", iface);
121 return light->obj.appdata;
155 TRACE(
"iface %p, type %#x.\n", iface,
type);
166 TRACE(
"iface %p, color 0x%08x.\n", iface,
color);
189 TRACE(
"iface %p, range %.8e.\n", iface,
range);
200 TRACE(
"iface %p, umbra %.8e.\n", iface,
umbra);
222 TRACE(
"iface %p, attenuation %.8e.\n", iface, attenuation);
224 light->cattenuation = attenuation;
233 TRACE(
"iface %p, attenuation %.8e.\n", iface, attenuation);
235 light->lattenuation = attenuation;
244 TRACE(
"iface %p, attenuation %.8e.\n", iface, attenuation);
246 light->qattenuation = attenuation;
255 TRACE(
"iface %p.\n", iface);
273 TRACE(
"iface %p.\n", iface);
275 return light->penumbra;
282 TRACE(
"iface %p.\n", iface);
284 return light->cattenuation;
291 TRACE(
"iface %p.\n", iface);
293 return light->lattenuation;
300 TRACE(
"iface %p.\n", iface);
302 return light->qattenuation;
309 TRACE(
"iface %p.\n", iface);
318 TRACE(
"iface %p.\n", iface);
325 FIXME(
"iface %p, frame %p stub!\n", iface, frame);
332 FIXME(
"iface %p, frame %p stub!\n", iface, frame);
378 if (!(
object = heap_alloc_zero(
sizeof(*
object))))
383 object->d3drm =
d3drm;
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define IDirect3DRM_Release(p)
#define IDirect3DRM_AddRef(p)
void d3drm_object_cleanup(IDirect3DRMObject *iface, struct d3drm_object *object)
void d3drm_object_init(struct d3drm_object *object, const char *classname)
HRESULT d3drm_object_get_name(struct d3drm_object *object, DWORD *size, char *name)
HRESULT d3drm_object_delete_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx)
HRESULT d3drm_object_add_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx)
HRESULT d3drm_object_set_name(struct d3drm_object *object, const char *name)
HRESULT d3drm_object_get_class_name(struct d3drm_object *object, DWORD *size, char *name)
static void d3drm_set_color(D3DCOLOR *color, float r, float g, float b, float a)
enum _D3DRMLIGHTTYPE D3DRMLIGHTTYPE
#define IDirect3DRMLight_AddRef(p)
void(__cdecl * D3DRMOBJECTCALLBACK)(struct IDirect3DRMObject *obj, void *arg)
static HRESULT WINAPI d3drm_light_SetQuadraticAttenuation(IDirect3DRMLight *iface, D3DVALUE attenuation)
static HRESULT WINAPI d3drm_light_Clone(IDirect3DRMLight *iface, IUnknown *outer, REFIID iid, void **out)
static D3DVALUE WINAPI d3drm_light_GetRange(IDirect3DRMLight *iface)
static HRESULT WINAPI d3drm_light_SetAppData(IDirect3DRMLight *iface, DWORD data)
static HRESULT WINAPI d3drm_light_SetPenumbra(IDirect3DRMLight *iface, D3DVALUE penumbra)
static struct d3drm_light * impl_from_IDirect3DRMLight(IDirect3DRMLight *iface)
static HRESULT WINAPI d3drm_light_GetClassName(IDirect3DRMLight *iface, DWORD *size, char *name)
static const struct IDirect3DRMLightVtbl d3drm_light_vtbl
HRESULT d3drm_light_create(struct d3drm_light **light, IDirect3DRM *d3drm)
static D3DVALUE WINAPI d3drm_light_GetQuadraticAttenuation(IDirect3DRMLight *iface)
static HRESULT WINAPI d3drm_light_SetName(IDirect3DRMLight *iface, const char *name)
static ULONG WINAPI d3drm_light_Release(IDirect3DRMLight *iface)
static HRESULT WINAPI d3drm_light_QueryInterface(IDirect3DRMLight *iface, REFIID riid, void **out)
static ULONG WINAPI d3drm_light_AddRef(IDirect3DRMLight *iface)
static D3DVALUE WINAPI d3drm_light_GetPenumbra(IDirect3DRMLight *iface)
static HRESULT WINAPI d3drm_light_SetColor(IDirect3DRMLight *iface, D3DCOLOR color)
static HRESULT WINAPI d3drm_light_SetUmbra(IDirect3DRMLight *iface, D3DVALUE umbra)
static HRESULT WINAPI d3drm_light_GetName(IDirect3DRMLight *iface, DWORD *size, char *name)
static HRESULT WINAPI d3drm_light_SetLinearAttenuation(IDirect3DRMLight *iface, D3DVALUE attenuation)
static HRESULT WINAPI d3drm_light_SetType(IDirect3DRMLight *iface, D3DRMLIGHTTYPE type)
static D3DVALUE WINAPI d3drm_light_GetUmbra(IDirect3DRMLight *iface)
static D3DRMLIGHTTYPE WINAPI d3drm_light_GetType(IDirect3DRMLight *iface)
static DWORD WINAPI d3drm_light_GetAppData(IDirect3DRMLight *iface)
static D3DVALUE WINAPI d3drm_light_GetConstantAttenuation(IDirect3DRMLight *iface)
static HRESULT WINAPI d3drm_light_GetEnableFrame(IDirect3DRMLight *iface, IDirect3DRMFrame **frame)
static D3DCOLOR WINAPI d3drm_light_GetColor(IDirect3DRMLight *iface)
static HRESULT WINAPI d3drm_light_SetColorRGB(IDirect3DRMLight *iface, D3DVALUE red, D3DVALUE green, D3DVALUE blue)
static HRESULT WINAPI d3drm_light_SetEnableFrame(IDirect3DRMLight *iface, IDirect3DRMFrame *frame)
static HRESULT WINAPI d3drm_light_SetConstantAttenuation(IDirect3DRMLight *iface, D3DVALUE attenuation)
static D3DVALUE WINAPI d3drm_light_GetLinearAttenuation(IDirect3DRMLight *iface)
static HRESULT WINAPI d3drm_light_DeleteDestroyCallback(IDirect3DRMLight *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
static HRESULT WINAPI d3drm_light_AddDestroyCallback(IDirect3DRMLight *iface, D3DRMOBJECTCALLBACK cb, void *ctx)
static HRESULT WINAPI d3drm_light_SetRange(IDirect3DRMLight *iface, D3DVALUE range)
GLuint GLuint GLsizei GLenum type
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum light
static HMODULE MODULEINFO DWORD cb
#define IsEqualGUID(rguid1, rguid2)
IDirect3DRMLight IDirect3DRMLight_iface
#define CONTAINING_RECORD(address, type, field)