Commit Graph

2282 Commits (2048ecb14816989d7bbfb63ad0912b6d46538b5e)

Author SHA1 Message Date
Piotr Dziwinski 7fe8199c96 Compile fix 2015-08-15 19:54:06 +02:00
Piotr Dziwinski bd10f424ec Better parsing of bool properties 2015-08-15 19:45:49 +02:00
Piotr Dziwinski f773d5714d Fix implicit bool casts in CSettings 2015-08-15 19:17:15 +02:00
Piotr Dziwinski a082d21f95 Fix possibly incorrect code in OpenAL Buffer class
OpenAL doesn't specify 0 as invalid buffer, so we should use alGetError()
2015-08-15 19:17:15 +02:00
Piotr Dziwinski dd227f5fba Fix some stupid mistakes connected with implicit bool casts 2015-08-15 19:17:15 +02:00
krzys-h 9a15db1bea Split global.h 2015-08-15 14:02:07 +02:00
Piotr Dziwinski d5ddf3ac76 Addressed comments on commit efedb44 2015-08-15 00:16:50 +02:00
Piotr Dziwinski efedb44cce Add proper initializations and remove manual memory management in remaining classes
Except CBot-related stuff of course
2015-08-14 23:44:00 +02:00
Piotr Dziwinski 736f90955d Remove travis config 2015-08-14 20:30:05 +02:00
Piotr Dziwinski bd8ab7e645 Remove old CModelFile test 2015-08-14 20:24:58 +02:00
krzys-h 0ec3f29e68 Fixed win/lost scene music cached at startup not being ever used 2015-08-14 19:44:44 +02:00
Piotr Dziwinski 870f89ac4a Further fixes for GCC 4.7 build 2015-08-14 19:34:17 +02:00
krzys-h f9abeb21ec Fixed a bug in CTaskShield 2015-08-14 19:08:34 +02:00
Piotr Dziwinski 9ad513550b Add other missing #include <stdexcept> 2015-08-14 19:05:24 +02:00
Piotr Dziwinski 5e929b2474 Add missing include 2015-08-14 18:52:11 +02:00
krzys-h d92d9799d6 Changed amount of damage done by shooters, fixes #560 2015-08-14 18:36:02 +02:00
krzys-h 57646c0c7b Refactored object creation 2015-08-14 18:20:44 +02:00
Piotr Dziwinski a0f0a53d59 Fix for gtest build with Clang libc++ 2015-08-14 14:24:55 +02:00
krzys-h bde0261fe7 Fixed broken Damageable hack in COldObject, closes #559 2015-08-14 13:50:05 +02:00
krzys-h 9d8bef877d Renamed old-style shadows to shadow spots in the code 2015-08-14 13:37:40 +02:00
krzys-h 78a279b479 Better shadow type selection UI 2015-08-14 13:37:27 +02:00
krzys-h 009b3abc03 Moved some interface controls 2015-08-14 13:14:57 +02:00
krzys-h eda7435eb6 Removed a lot of useless settings (#556) 2015-08-14 13:04:05 +02:00
krzys-h add93cb778 Fixed proxyActivate not working, closes #557 2015-08-14 12:10:27 +02:00
krzys-h 1d6c3cc748 Fixed CEngine trying to use unsupported values as defaults, closes #552
Also fixed the settings buttons not being disabled properly
2015-08-14 12:03:53 +02:00
krzys-h 222517a5e7 Don't assert a powered object unless asked to take a cell from youself in CTaskManip 2015-08-14 00:30:23 +02:00
krzys-h 5bef62f01a Removed incorrect assert in CTaskTake 2015-08-14 00:24:08 +02:00
krzys-h 41c0ec0940 Fixed game save being always blocked
Also, prevent autosave if saving is blocked
2015-08-14 00:21:18 +02:00
krzys-h 02b76e5aba Workaround for too fast calling of m_app->Render 2015-08-14 00:10:07 +02:00
krzys-h 92591c23b6 When flushing texture cache, also remove device textures 2015-08-13 23:49:01 +02:00
krzys-h 1c461ce1c8 Prevent reloading background if not needed 2015-08-13 23:44:08 +02:00
Piotr Dziwinski 0258b63d39 Fix memory leak in creating textures 2015-08-13 23:42:27 +02:00
Piotr Dziwinski 26e4ec0ae2 Add more missing includes and forward declarations 2015-08-13 22:49:05 +02:00
krzys-h 3f57aab406 Fixed Thumper crash 2015-08-13 22:41:24 +02:00
krzys-h 868dec4488 Fixed flying checkpoints activating multile times 2015-08-13 22:32:49 +02:00
krzys-h 74609d9bea Fixed astronaut death bug
introduced in f7d2f501bb
2015-08-13 22:27:39 +02:00
Piotr Dziwinski b832200798 Add missing include 2015-08-13 21:46:19 +02:00
krzys-h 8bff64ae3e Fixed OrgaShooter bug 2015-08-13 21:27:18 +02:00
krzys-h c399e5e246 Somehow missed some more Scraps :/ 2015-08-13 19:53:03 +02:00
krzys-h a644fc107d Use +infinity instead of -1 for immediate object destruction 2015-08-13 19:46:30 +02:00
krzys-h 275e792a81 Removed old Scrap objects; cleaned up some more if()'s 2015-08-13 19:41:21 +02:00
krzys-h 28d88347eb Added some notes in function documentation 2015-08-13 19:06:18 +02:00
krzys-h 08afa4b134 Fixed falling OrgaMatter object destruction 2015-08-13 19:04:15 +02:00
krzys-h bfd3a5b23c Refactored ExplodeObject 2015-08-13 18:54:44 +02:00
krzys-h bc05cda0e7 Removed image, link and marker limits in SatCom, closes #554 2015-08-13 14:14:11 +02:00
krzys-h e5e1d4973f CDestroyableObject, CFragileObject, CShieldedObject and CShieldedAutoRegenObject 2015-08-13 13:41:25 +02:00
krzys-h 8a0a7b45ea Updated data submodule 2015-08-13 11:51:39 +02:00
krzys-h ff957afefc Moved files not directly related to CObject into src/level/ directory 2015-08-13 11:47:32 +02:00
krzys-h e937db94c8 Moved GetPhysics() and GetMotion() to CMovableObject; moved trace drawing to CTraceDrawingObject 2015-08-13 10:49:45 +02:00
Piotr Dziwinski 93a06c0c23 Remove manual memory management from graphics classes 2015-08-12 21:07:16 +02:00