tiny cleanup

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@543 14438d79-0ffd-4333-8ae7-ea2bdd901387
implement customizable light sources to get rid of the old 2-directionallight-fixed-vector-limitation of VP

for now, two controllable lightsources with point/spot/directional setting

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@544 14438d79-0ffd-4333-8ae7-ea2bdd901387
tiny cleanup and fix one buggy image check

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@545 14438d79-0ffd-4333-8ae7-ea2bdd901387
delete/combine code

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@546 14438d79-0ffd-4333-8ae7-ea2bdd901387
add writeonly/systemmemory flag to vertex buffers

might help others with performance problems, too

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@547 14438d79-0ffd-4333-8ae7-ea2bdd901387
optimized usage of RenderSetup() for trigger

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@548 14438d79-0ffd-4333-8ae7-ea2bdd901387
only set lights that have actual contribution

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@549 14438d79-0ffd-4333-8ae7-ea2bdd901387
reduce amount of drawcalls

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@550 14438d79-0ffd-4333-8ae7-ea2bdd901387
tiny opts to drawcalls

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@551 14438d79-0ffd-4333-8ae7-ea2bdd901387
code restructuring/cleaning

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@552 14438d79-0ffd-4333-8ae7-ea2bdd901387
render state NORMALIZENORMALS switched off to increase performance again

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@553 14438d79-0ffd-4333-8ae7-ea2bdd901387
fix typo

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@554 14438d79-0ffd-4333-8ae7-ea2bdd901387
add exact lighting option to lightsource panel to be able to avoid artifacts on dynamic objects (all static objects have the option set automatically)

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@555 14438d79-0ffd-4333-8ae7-ea2bdd901387
only regenerate alpha ramps if the script changed something

..hope i got all relevant cases

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@556 14438d79-0ffd-4333-8ae7-ea2bdd901387
only regenerate primitives if the script changed something
and kick out 2 unused variables and put/sets to avoid user confusion

..hope i got all relevant cases

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@557 14438d79-0ffd-4333-8ae7-ea2bdd901387
Optional disabling of lighting calcs for VP lights with On Image enabled

..makes texturing the lights behave the same as only having a color

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@558 14438d79-0ffd-4333-8ae7-ea2bdd901387
code cleanup

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@559 14438d79-0ffd-4333-8ae7-ea2bdd901387
revert some primitive drawing changes which behaves strangely on some tables.
DrawPrimitive() is only faster than DrawIndexedPrimitive() if there are a lot 
vertices to draw in one go.

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@560 14438d79-0ffd-4333-8ae7-ea2bdd901387
rendering the balls with vertex buffers

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@561 14438d79-0ffd-4333-8ae7-ea2bdd901387
Add controller definition and handling for the 'VirtuaPin Controller'

git-svn-id: svn://svn.code.sf.net/p/vpinball/code/trunk@562 14438d79-0ffd-4333-8ae7-ea2bdd901387