License: gpl
Other License:
Package: Open Source Engine
System name: ose
Type: non-GNU
Description:
The Open Source Engine is based on Bitstudio's Blue Fire Engine, it is
powered by SDL, and has more features than listed below. Currently the
source is being rewritten to include the latest in graphical needs,
shadow volumes, bump mapping, per pixel lighting, etc.
Engine (OpenGL)
- Initialize(Width, Height, BitsPerPixel, FullScreen)
- InitializeFromConsole()
- UnInitialize()
- BeginScene()/EndScene()
- DrawText(X, Y, Text, R, G, B)
- TakeScreenShot(File, RelativeNumber)
- SetPath(Path)
- UseMipmapping(Enabled)
- UseWireframe(Enabled)
- SetGamma(R, G, B)
- AddToLog(Text, NewLine)
Controls
- GetControl()
- GetButton(Button)
- GetAbsMouse(X, Y)
- GetRelMouse(X, Y)
- SetMousePosition(X, Y)
Camera
- Move(X, Y, Z)
- Rotate(X, Y, Z)
- GetPosition(X, Y, Z)
- SetPosition(X, Y, Z)
- GetRotation(X, Y, Z)
- SetRotation(X, Y, Z)
Effects
- SetDecalTexture(Texture)
- CreateDecal(X, Y, Z, R, G, B)
- RenderDecals()
- SetFogTexture(Texture)
- CreateVolumetricFog(Y, X1, X2, Z1, Z2)
- RenderVolumetricFog(Animated)
- SetupFog(R, G, B, Density, StartPosition, EndPosition)
- NoFog()
BSP
- UseLightmaps(Enabled)
- LoadBSP(File)
- Render()
Lights
- SetLight(LightNum, X, Y, Z, R, G, B)
- ClearLights()
Particles
- SetSize(Size)
- SetHeight(Height)
- SetPosition(X, Y, Z)
- CreateFire(ParticleCount)
- CreateRain(ParticleCount)
- Render()
Sky
- CreateSkySphere(Radius, Texture)
- SetRotation(X, Y, Z)
- SetColor(R, G, B)
Sound
- LoadSound(File)
- PlaySound(SoundNumber, Looping)
- StopSound(SoundNumber)
Textures
- ImportTexture(File)
Water
- SetPosition(X, Y, Z)
- SetMultiplier(Multiplier)
- SetDampness(Dampness)
- CreateWater(Width, Depth, Texture)
- ApplyWaveForce(X, Y, Radius)
- Render(Animate)