- ssggraph.h/cpp and grmain.cpp : still some "sound" strings and code in the comments (removed).
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4995 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 29f9a8288ae328401a0bbd42c481190d453f2fb3
Former-commit-id: d7f64f749eb0572366ca48a9d3c066b42db74da8
I've made a couple of small improvements:
Prevent static background render when dynamic enabled (and vice versa)
Prevent extra qsort of cars
Rolled in Re-589-fixed-board-rendering-bug.patch
Rolled in Re-589-moved-mirror-position-calculation-to-cGrCarCa.patch
Changed FoV to narrow view slightly (now 50)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4980 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: f100a18a45f63dbaa7e50090a7e608ca157f1c43
Former-commit-id: 41dcb4c916979fc6a8e0f7d582779815a0b09990
The mirror will not 'span splits' so this is not required
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4979 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 2e029e799f6f373961d03c8c636a94d2c64315e7
Former-commit-id: 12b394dbb50b3cf933be5dfc52d605cc6666aa87
The mirror is now rendered through an own viewport instead of to texture.
o replaced with code from cGrCarCamBehindReverse
o adapted new code to mirror viewport instead of fullscreen rendering
o renamed cGrCarCamMirror::setPos() to setScreenPos()
o put new functions before/afterDraw() to use to initialize mirror specialities
o cGrScreen::update(): removed unnecessary code
o cGrScreen::update(): moved mirror rendering after rendering of scene
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4962 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 00f6f93c0de7f74fdab77d37af2ea35b0cfc2e04
Former-commit-id: a0ff2de1efeb2cb061bb9bfc6dd0cd03805e399c
o added callbacks
o put them to use in cGrScreen::camDraw()
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4961 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: b13bb983c12c945c618bae1b60f7c104c21bbb7b
Former-commit-id: 97ec443745f99c673d9c47aae850a11e81ec39e3
Detailed debug info (key 5) overlapped track map in some cases.
Split info into 2 lines fo it occupies only first 2 "rows" in the
top right corner.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4952 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: fb699b6cc5678004ad250b32bfd7c8524cca0b50
Former-commit-id: b21a3a583211134430e20a766daef42ad89f09b4
Applied exactly the same colours as posted in the ticket description.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4942 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: a6d375c3a94a282c5530f98e0cd04e31415c7d29
Former-commit-id: 23834c7f01bb76cebfcf1c9a8be61a6fa4eb1b0f
Added multitexture channels to methods used by terrainSplitOb().
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4938 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: ebacd2d34692fc9875f910fb229740d49512cffb
Former-commit-id: 878d10f60c27f035dc1a8341bfbe9c786fad4e52
o moved found_a_tri to it's local scope
o renamed numtri to numSurf and removed usage of it, where it is not the
number of surfaces
o moved bare creation of ob_t to own method
o up to now inits mem to zero and max,min values appropriately
o refactored a for-loop
o added comments
o moved init of textarray and calculation for spacial extend to own methods
o reordered init of temporary object
o moved texture name copying to own method
o added ob's min/max default init to obInitSpacialExtend()
o renamed triIndex to oldSurftoNewObjMap
o renamed numNewSurf to numNewObjs: false name before
o removed numob: covered by for-loop variable already
o gave temporary point/normal arrays variable size instead of fixed to some
number
o renamed some variables
o put all multitexture setting stuff to own methods.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4937 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: e0d5a524d351a481902483b14d2137e584c66ece
Former-commit-id: d6c9fe12c245f7baedb6400f3aaa0ae7b3f80d3d
o terrainSplitOb(): too much space allocated for vertex, norm and snorm arrays in new object.
o in createSingleTexChannelArrays() too much space for texture array is allocated
o assumption was that it contains 3 * num surfaces entries
o but it's actually only numvertice * 2 entries
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4936 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 11d5639f3783e89acaab31237ccb061c491d04b3
Former-commit-id: 9e158c8ea04cb9107b6000c8f56c880e8b87dd73
o renamed variables k, fi, fj and moved to more local scope
o renamed i to curNewObj
o renamed triIndice to numNewObjs
o renamed j and moved to more local scopes
o renamed oldva to storedPtIdxArr: holds the indices of stored points
in the new object
o renamed n to curNewPtIdx: is the current index in the temporal point
storage
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4934 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 7f3fb3a15e7fddee66ef8935a7abe20a9939c6b9
Former-commit-id: 26f78dc8bb288f08bb79ecc4bf4f23280e979dcd
o loadAC() and loadACo(): ret set, but didn't check it and abort apropriately
o mergeSplitted(): numtri used only if specific define set
o main(): fake_argv not used, seems like debugging: commented out
o others: simply not used in any senseful way
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4933 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 0f947ac886893049904834b10c910e62eda93a11
Former-commit-id: d958f00e97f2c63edbfe6ca99f144bac8aa51b27
IMPORTANT: started putting variables to their local scope
o i.e. the code is not compatible to C99 anymore
o but has extension .cpp and is compiled with C++ compiler anyway
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4932 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 50b42a23f22d7000fd1cf909b9b7dfcbe83ae6aa
Former-commit-id: ac2a1297c6a7c0ed43459dc62d1255f220f583f7