beaglejoe
1489a8858e
Some CMake fixes for SDL2
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6025 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 5fb2dcaf512a02c27397d1018a532e7a89b4eb25
Former-commit-id: 4f5ff5c1ae1872c4209c510f6f6823890e9326bf
2015-06-13 18:03:47 +00:00
beaglejoe
b1b5f33417
Correct display order of Screen resolutions for SDL 2
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6023 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 7f62f3b2704a751dc1ff6651871a3767290c3486
Former-commit-id: d1ff509e6d082494259a331854c038714b9975d0
2015-06-09 23:31:12 +00:00
beaglejoe
0374609f67
Fix from Fabian: The offered window sizes in the display options are not as expected when using SDL2 in windowed mode.
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6022 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: e3710cbd8a012ed458a297bf8d6789717f7371ba
Former-commit-id: cb03574e040c23b235329176ba63001fe900c6a4
2015-06-08 23:48:40 +00:00
beaglejoe
61bcf43906
Fix for building with SDL_JOYSTICK:off
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6012 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 8751ec3b2ae8adc29595f19c9bd244398143db07
Former-commit-id: ca27580dac1d8893ff19bd5edff0ba04392a1055
2015-05-19 21:13:38 +00:00
beaglejoe
433a869f1c
SDL2 joystick code cleanup
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6011 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 5b5dc4a854c28a7204c4de15bee398231b84bd73
Former-commit-id: 3f81dc2295055e8c9caa1e186215495e6c737b96
2015-05-19 18:28:37 +00:00
torcs-ng
9fa7803b41
- removed SDL_INIT in guiscreen.cpp
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6003 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 331042f7ba1cc9b4b5a91e2b57ee1673df046f3a
Former-commit-id: 3a87162d79ba47d133b5fe5d6a3ae99399cd0bd3
2015-05-04 19:30:58 +00:00
torcs-ng
865244de56
- try to fix better detection in glFeature for SDL2
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6000 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: f2cf719e2b8a1beade7890ba4affd5a5e6f3af62
Former-commit-id: 9ddfa16e0bf5b28f5d9226c67e26de4bd9573088
2015-04-27 00:50:49 +00:00
torcs-ng
7a8d701368
- try to fix bug with menu and OsgGraph
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5994 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 87b99d4520a3222e4f951f31eb8de78d545fbd39
Former-commit-id: 515b83b6c18f11995e2e73efe894e62af6639834
2015-04-25 20:10:48 +00:00
beaglejoe
c4abb4a6c9
Fix for 917 joystick calibration not working SDL2
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5976 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 6692a8044fae93700c157012e8c3660fdcd31cea
Former-commit-id: 0f8e86c1f0bfd5cfb387faea5caace9f98fad80e
2015-04-16 03:06:36 +00:00
beaglejoe
5d6117cbb5
Added OPTION_SDL_JOYSTICK to allow using SDL instead of PLIB for joysticks
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5973 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: cbb7b735b8d9f60cee2234207792736b213f27d3
Former-commit-id: aead01f6200d471879e19163e52999214aa63ad0
2015-04-15 17:53:48 +00:00
beaglejoe
d8a17aafb6
Allow SDL2 to try auto-detection
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5949 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: f6b8833b94dec815c88abf4f98ebabc0024df27e
Former-commit-id: 26011ec6689891447d2a95a08efd35d00f2c277f
2015-04-05 18:47:02 +00:00
beaglejoe
a277b33296
Added missing Audio flag to SDL_QuitSubSystem()
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5947 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 9e6f8e9bd645994d5869bb4f30c8133ceb9fe94c
Former-commit-id: 1d27cdd7f38f87b1d1505ca2f06e0f08ad6f0855
2015-04-05 14:07:08 +00:00
torcs-ng
dedd473bf0
- fix warning in param.cpp (parseXML function)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5945 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 0dc1c5b6584faa382a896e09a1fad04500e43ee7
Former-commit-id: 7a896022cc4fae49396aff880c2f1cafe5b47821
2015-04-02 22:30:23 +00:00
beaglejoe
51ad9345ad
Fix for blank screen with SDL2 on Linux
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5941 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 7d56be6e271b3ecc5dcb682df6a36de2c87dda16
Former-commit-id: e9df71fa7ff19a16435bac34171df8d3a8bafc34
2015-04-02 00:33:04 +00:00
beaglejoe
ff3a9ade65
Source code changes for Ticket 711 (SDL2 option)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5940 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 498e904ecc82917dd36ef11918d615062901140e
Former-commit-id: 007aaa2b4498449993718af411e6f2775eadd6f6
2015-04-01 21:58:51 +00:00
beaglejoe
acf61b5558
CMake changes for Ticket 711 (SDL2 option)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5937 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: cd6252bb58a99a6aba21d68a7d794ffec640aa82
Former-commit-id: 40b19de4d07e2f4a52846fa7404f414035272309
2015-04-01 19:29:12 +00:00
beaglejoe
db94816ec3
Exported two functions for Madbad's web work
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5934 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 325a593898cb97f824e9590fe94baeb7d789fc56
Former-commit-id: 92900e8b42246114b8894e497f0f40847f3003c2
2015-03-26 18:51:43 +00:00
torcs-ng
78f7d75ebc
- update ssggraph for new wings (short/long) speedway
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5917 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 5637080fe436942a9988055b4880b58cfdd3de3c
Former-commit-id: 84d89ca3f5c2f07d2d7bf1bc0826eba4d5d3d723
2015-03-22 18:47:51 +00:00
wdbee
545bbfc0a9
Bugfix simplix_srw
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5899 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 2a80ef4c34779434cf9fb199cdbf4c7abdbb2071
Former-commit-id: ab0657ef758536c3a0f59004aef37700101410c9
2014-12-17 21:00:23 +00:00
wdbee
0452837f6e
GfParmWriteBuf: Clean buffer for output
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5894 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 8acf0caf30c2f244cd3c4ec214d700684d7c0c72
Former-commit-id: 90ab74081b779fd91e5d96994e96bde2d83da638
2014-12-15 13:10:15 +00:00
wdbee
18c71d167b
NEW ROBOT dandroid (Carset GP36 as first set)
...
This robot was developed with linux and tested with windows (VC++).
It will replace the usr robot step by step.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5882 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: a8c17821f15be938c3d94e4179e0d10b0c5ee243
Former-commit-id: 68dc770818f18615feeadecc3f404ea7ba1b4b2d
2014-12-06 12:24:40 +00:00
wdbee
a72e54aa1f
Bugfix simplix
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5880 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 825ad14684e57f7478092d3b40452c83614558a3
Former-commit-id: a47cd1e6dd3d240081b1e9afbe39fb6e9039751d
2014-12-01 16:22:22 +00:00
wdbee
6c09d99719
Deleted cross link not needed anymore
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5858 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 919574cf99852174d5148b66af2d5b789e7c25cc
Former-commit-id: b41841d98daaeda69758c9a602c25a9c0a60c070
2014-11-25 19:58:53 +00:00
wdbee
5600a2091b
Update genparoptV1 including data display screen
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5856 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: a83a7ba20f9db2121903d369de3254c01839735c
Former-commit-id: 52a2cbfad96223790c955e1fe51d089bbda1b6e4
2014-11-25 17:05:47 +00:00
wdbee
360dc09258
Fixed memory leaks in genparoptV1
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5854 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 06369824b7374e4833a5da4c816b299de941f7ba
Former-commit-id: 66b93c0fee117e0d2d43327a3407d7d4c5fc6a23
2014-11-23 17:55:52 +00:00
wdbee
97aa0ef624
Cleanup
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5844 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 4b1b47c77827e96798681df5ad4176327b4127d0
Former-commit-id: 0f3350f30161e79dadd14a6ca389c92c95d759b8
2014-11-17 12:04:43 +00:00
wdbee
2c337a5042
Update simplix simplix_srw (Supercars with rear wing)
...
Reduced overhead for Memory Manager
Code cleanup
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5841 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 889cce4d6063d01c8df1c25ad1e008e9d3220297
Former-commit-id: e870639b8f8bc536c755a9219ec5d0577320b463
2014-11-16 21:05:57 +00:00
wdbee
ac34765515
Unregister screens created as hooks and released by an owner
...
Get peak values for requested/allocated blocks
Calculate overhead for Memory Manager
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5840 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 08e62ff4e0cbd96a178da1d1cf26189210ba89d2
Former-commit-id: 1774254e5a58da3c1907b87a7824169afb960cb4
2014-11-15 17:36:38 +00:00
wdbee
27a2db6688
Implemented restart of Memory Manager while restart()
...
DisplayMenu allocates data but had no destructor to free it
GButtons did not free userDataOnFocus
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5839 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: ca943f98b94e089d277b533d709d601fb0ff39fd
Former-commit-id: 50b1f006e658b859c9f30d1200fd4610612bf330
2014-11-15 15:05:25 +00:00
wdbee
e3bbf8396c
Block size histogram added
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5836 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 3dab4a92eae3f6651888ea01400e84d22b85251c
Former-commit-id: ac461f1a73ff51191503504c24c4dd7212d44778
2014-11-14 21:58:42 +00:00
wdbee
8a18586843
Code cleanup Memory Manager
...
Increased readability
Dump formated to be usable as csv for spreadsheets (sorting by IDs and adresses)
Found the reason for the corrupted blocks -> freed twice
Extended registration for screens to avoid the issues
Prepared port for MinGW
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5835 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: b192f6c2c2af9da070a8f64bf5f0dc6013e55cb2
Former-commit-id: 5c364044e8d0292787f5951804115f16b8d695be
2014-11-14 17:29:58 +00:00
wdbee
3d99d4edf3
Code cleanup, started to add definitions for MinGW/VC++
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5834 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 2632e23089655b7d321d40034a0aa3827318d431
Former-commit-id: 8e0999dd31d96a3e4d99d8d1cdafa8d66f922745
2014-11-13 20:48:45 +00:00
wdbee
c3a8169944
Added block address to output of memory manager
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5833 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 77b11fddd387f0662f33c16cbd40c7e1f54c0706
Former-commit-id: e1fa40da46c1b0b727d98f7954a0d24ce9eea35f
2014-11-13 17:32:48 +00:00
wdbee
15b129c2e4
No leaks in start-stop-cycle remaining
...
A race causes memory blocks be corrupted independent from the robot used
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5832 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: a51684b5586db6acc0578cfe2e2c45845b617449
Former-commit-id: 32852ebe6691ab816241f5b0d21a15f38f90c24b
2014-11-13 16:11:59 +00:00
wdbee
22fb895434
Added FreeScreens
...
(Only 5 leaks remaining in the start-stop-sequence)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5831 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 082499ea85483268bac7d78272ebb3a0df658178
Former-commit-id: d6a51b0cd82a0438db80e5cfcf029fe6a4b15881
2014-11-13 14:59:10 +00:00
wdbee
47b20ed0a9
Added a way to get return address with gcc
...
But WIN32 should be replaced by a definition of the compiler!!! not the OS
(Windows with mingw!).
#if defined(WIN32) // Has to be replaced by a definition of VC++ versus gcc
void* RetAddr = _ReturnAddress(); // VC++
#else
void* RetAddr = __builtin_return_address (0); // gcc
#endif
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5830 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: a7946fbc9317a21de01819886634a836fbe7f400
Former-commit-id: eb5d67dbcea2d07eb0d4ba94e0895715e6e45b9a
2014-11-12 22:51:45 +00:00
wdbee
5c7340a953
Changes as described in the "How to" mail:
...
Free the allocated fonts
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5829 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 0adc028139e733281440d56885e03be1b8154e55
Former-commit-id: a8c05479af35b37426067c32fb7edfea472e0915
2014-11-12 22:38:12 +00:00
wdbee
f32daa06a0
Added return address of allocation to list of leaks
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5828 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 64d3754cca9b0841fd75a6648a206b97ede1e2bc
Former-commit-id: 1010882ea23ec1f4ae476a803562af5ecc05cb9b
2014-11-12 22:36:13 +00:00
wdbee
5eae2f5a57
New Memory Manager for hunting memory leaks
...
To enable it see lines 219-220 in tgf.h
The malloc/free part is defined for windows only at the moment.
Someone has to check/define it for linux to complete it.
Someone knowing CMake could define an build option for it.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5827 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 4c81a4907189b06b5b33c0028f3c5ecbc8a9e20a
Former-commit-id: 9b382b2c7905fc736e63d114acc7cee0ae2d5ae2
2014-11-12 17:05:02 +00:00
beaglejoe
fcfe8c65ed
Implementation of [ #356 ] Manual race start and end
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5812 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: aaa95e5ffcd8dc5e50030953bbe06c3f436c54d2
Former-commit-id: ebaf89478d0c33e6ea0dae4d6d9d0fbffde40db0
2014-10-27 23:16:06 +00:00
beaglejoe
26f19997d1
Fix for Ticket #854 as provided by Ocirne94
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5811 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 5110a25b4d6de9b1fab0ff92de38a83ebd0f88e2
Former-commit-id: a775d6c3c643d26d2963ac1006c9f52adcd09d39
2014-10-25 02:22:28 +00:00
beaglejoe
a2020f4a19
Fixed typos (in logs) as reported by Christoph
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5807 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 5d0bbf08bc12379eabb34b552f4d69a62e934ded
Former-commit-id: b13f96451dc602818f59b7c9ecf11edeb0fda79b
2014-08-21 02:56:49 +00:00
mungewell
878cacd3ad
Limit the glance left/right to 90 degrees if triggered from button/key.
...
This makes it more usable in game as it does not over look. Using an axis is unafffected
and will allow full 360 degree glance.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5745 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 6dfd06afbbcdab5b5e9563e73298ab5933f35805
Former-commit-id: 796915876207cd72dd4f7f668f5e87793fda02dd
2013-12-05 07:19:16 +00:00
torcs-ng
5badbb52f6
- update mpa1-murasama-src.ac
...
- remove cloud real
- remove real weather
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5696 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: b91cc7cf05c860a52950cfd9f94b697f2be84578
Former-commit-id: f86fb699efe2dacd38541d4c2da9334274abbd6f
2013-10-01 22:15:36 +00:00
pouillot
4648086117
Re #809 Reverted r5347 as too complicated
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5684 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: a708e72d1d5f4b634d3181ba55f03451948950d2
Former-commit-id: 6f292408cfd69eccf0af5aa95654734569f89dbd
2013-08-17 09:22:08 +00:00
beaglejoe
b0298d7621
727-Make Help screen Back button work the same as the <Esc> key
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5528 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 67733de4a502f3da4d95ab7be0c8965e2d68103a
Former-commit-id: 70b0002c8c35327ff239ad65ab56bdf9150af361
2013-06-22 16:15:55 +00:00
torcs-ng
c315669f6a
applied Tom patch for human & networkhuman
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5522 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: cf54bec6e59e608a807f1137b34f61823beaa640
Former-commit-id: 8ad71088a773de6e15b49b858509da37a5cfd53d
2013-06-17 21:03:25 +00:00
beaglejoe
b24d454a21
Remove Menu Music CMake option
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5485 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 29e0a9e657c2bc447328b06c3dd92478c6f7cf41
Former-commit-id: ef7c09760fb0fb9ae6743810c4fcd634bc343eab
2013-05-28 15:50:38 +00:00
beaglejoe
b3f7948ca5
Changed :printUsage function to cout instead of cerr to allow help output to be redirected
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5428 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 12d7f9455b5033ff66a5474c68f5775f4cd52bc9
Former-commit-id: c1955154b4f2e6a7b548278e71cc5302a152bcc0
2013-05-07 19:42:07 +00:00
wdbee
d86c66357e
Simplix-sc lynx allondaz (incl. rain setups)
...
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5424 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 9dc2a93bd2b2cbe4087552c3e7b893a488160875
Former-commit-id: 564f4aa52256d64772c7ccd476ec6dca392ba828
2013-05-02 05:08:55 +00:00