Commit Graph

2162 Commits (620620fa615fba839c809d89e3e3ac5efb5f9976)

Author SHA1 Message Date
Tomasz Kapuściński 32d1994c98 Added VSync setting and corrected default framebuffer MSAA setting 2016-03-29 13:38:53 +02:00
krzys-h 427bbfa630 Changed CParticle::CheckChannel log message 2016-03-28 23:04:24 +02:00
krzys-h e24d77bde8 goto() bitmap debugger 2016-03-28 21:42:25 +02:00
krzys-h d38ddcbc41 goto() path debugger 2016-03-28 20:25:07 +02:00
krzys-h e4f9360e63 Resources debug mode 2016-03-28 17:58:31 +02:00
krzys-h 4af02c86f8 Debug menu 2016-03-28 17:58:31 +02:00
krzys-h 45c93f58ec Fixed Houston lights when object is rotated 2016-03-27 18:54:56 +02:00
krzys-h 7fe65067ee Fixed exit after single mission mode 2016-03-27 13:46:48 +02:00
krzys-h d2ac1afcf0 Changed reference colors using when recoloring textures to constants 2016-03-27 13:34:26 +02:00
krzys-h adf20f58d4 Removed unused members of CNullDevice 2016-03-26 19:50:53 +01:00
krzys-h 5de577400b Refactor CRobotMain::ExecuteCmd() to std::string 2016-03-26 19:06:07 +01:00
krzys-h 6585ee9ae8 Refactor some references to CRobotMain from CEngine 2016-03-26 18:55:39 +01:00
krzys-h 640c0297ef Replaced CConfigFile::GetInstancePointer() with GetConfigFile() 2016-03-26 18:34:26 +01:00
krzys-h 16c1f34a07 Removed unnecessary LoadAllTextures call 2016-03-25 17:14:20 +01:00
krzys-h 17bcbddef1 Destroy white texture in GL14 device on exit 2016-03-25 17:10:21 +01:00
krzys-h d812db19f8 Fixed ground spots not working after changing texture params; use UpdateTexture instead of destroy and recreate 2016-03-25 17:06:01 +01:00
krzys-h bfdce26721 Fixed issues with CBotDebug::DumpCompiledProgram on certain compilers
See https://colobot.info/forum/showthread.php?tid=721
2016-03-25 16:05:13 +01:00
krzys-h c831cd8637 Updated Polish translations 2016-03-25 11:31:04 +01:00
Piotr Dziwinski 4e331f1f54 Possible workaround for #738
Align text rendering to character, not tile size
2016-03-25 15:50:13 +13:00
krzys-h b84e24d662 Fixed VBOs never being used even if available 2016-03-24 18:45:51 +01:00
Tomasz Kapuściński a84b5c28b7 Optimizations of primitive rendering in OpenGL 3.3 device 2016-03-22 15:16:08 +01:00
Tomasz Kapuściński d3ef04428b Added DeviceCapabilities 2016-03-22 14:27:00 +01:00
Piotr Dziwinski 926f7cf115 Possible fix for #738
Explicitly set byte alignment in pixel transfer operations
2016-03-22 23:31:08 +13:00
krzys-h 08f3a03547 Fixed choppy part rotation animations, closes #742
While most visible on the astronaut model, this fix actually applies to all objects
2016-03-21 20:52:21 +01:00
melex750 02133d0bd4 Fix method overloading 2016-03-21 07:56:52 -04:00
melex750 8b7410f803 Fix class.arrays using size of one before comma 2016-03-21 06:11:55 -04:00
melex750 6be1f56288 Add error code no expression, remove some bad code 2016-03-20 20:55:22 -04:00
Tomasz Kapuściński b31353cf75 Optimized crash sphere rendering 2016-03-20 19:17:15 +01:00
melex750 5b3da83715 Fix inline declaration of an array of string 2016-03-20 13:27:02 -04:00
melex750 707ef97626 Fix syntax+type checking, base types+CBotDefArray 2016-03-20 07:54:41 -04:00
melex750 accfc93573 Add syntax and type checking for class member vars 2016-03-20 07:50:42 -04:00
melex750 4a29e8406d Fix syntax and type checking for CBotListArray 2016-03-20 07:48:20 -04:00
Piotr Dziwinski 720705bd6b Some colobot-lint fixes 2016-03-19 12:33:54 +13:00
Piotr Dziwinski 8baccb08a7 Optimize use of textures in text rendering, closes #215 2016-03-19 12:00:56 +13:00
Piotr Dziwinski 4b770adf46 API for updating texture data 2016-03-19 12:00:50 +13:00
Piotr Dziwinski 15c9cbd228 Debug mode for displaying crash spheres, closes #400 2016-03-19 11:54:58 +13:00
krzys-h effd349449 Fixed cutscene camera animation, closes #731 2016-03-15 21:09:21 +01:00
krzys-h 6e89d097e8 Cleaned up (now unnecessary) .c_str() converstions to CList::SetItemName 2016-03-15 20:47:06 +01:00
krzys-h bce99308c6 Fixed compilation error 2016-03-15 20:42:06 +01:00
krzys-h fef8a8e355 Fixes to variable list in CBot debugger
* fixed stack overflow with circular references (closes #434)
* fixed displaying boolean variables
* fixed buffer overflows with entries longer than 100 characters
* removed hard-limit to 100 entries with at most 100 characters in CList (this also allows you to have more than 100 programs in a robot, up to 999)
2016-03-15 20:39:31 +01:00
krzys-h 4479a196f9 Fix colobot-lint warnings 2016-03-15 17:39:00 +01:00
Tomasz Kapuściński 4c6f8239fa Renamed and moved GL33 shader files to separate directory 2016-03-14 21:44:25 +01:00
Tomasz Kapuściński cec942b4fd Renamed and moved GL21 shader files to separate directory 2016-03-14 21:24:27 +01:00
Tomasz Kapuściński 3eadb0c6f7 Added experimental MSAA for default framebuffer
To enable, add MSAA=4 to [Experimental] in colobot.ini and disable standard MSAA
2016-03-14 20:14:16 +01:00
Tomasz Kapuściński 2774fcd8a2 Small changes in the GL21 shader 2016-03-14 20:02:31 +01:00
Tomasz Kapuściński 169aa63822 Potential fix for #726 2016-03-14 19:23:21 +01:00
krzys-h 967aa22330 Allow assigning to array in initialization from function (#624, #728) 2016-03-13 20:27:10 +01:00
krzys-h 4d99a62d37 Fixed crash with array initialization syntax going out of range (#698) 2016-03-13 19:26:11 +01:00
krzys-h cbdda57288 Merge branch 'dev-right-click-camera' into dev 2016-03-13 14:52:17 +01:00
krzys-h 438bc477d1 Removed low CPU mode 2016-03-13 14:52:07 +01:00
Tomasz Kapuściński 8deeddffe0 Corrected OpenGL 2.1 engine's error spam and added experimental terrain shadowing 2016-03-10 10:50:54 +01:00
krzys-h 9ceaa0055d Updated quality shadows option 2016-03-07 18:49:24 +01:00
Tomasz Kapuściński e6a2fc9671 Rewritten shadow mapping implementation 2016-03-07 18:33:19 +01:00
MrSimbax 9679546988 Fix crash on pasting from clipboard
I don't know why it didn't happen for anyone else, but according to https://wiki.libsdl.org/SDL_GetClipboardText : "Use this function to get UTF-8 text from the clipboard, which must be freed with SDL_free().". MSVC detected some heap corruption because of free(text);
2016-03-06 23:21:04 +01:00
Tomasz Kapuściński 9effa308ce Small change in enabling/disabling shadow mapping 2016-03-06 20:25:50 +01:00
Tomasz Kapuściński d3ccdebd9f Added names to graphics devices 2016-03-06 19:32:37 +01:00
krzys-h f67d76fed4 Merge branch 'dev' into dev-right-click-camera 2016-03-05 21:09:00 +01:00
krzys-h 4e50f36214 Merge branch 'dev' into dev-right-click-camera 2016-03-02 20:00:57 +01:00
Tomasz Kapuściński 5fa3ed63b1 Compilation fix 2016-02-29 16:51:18 +01:00
Tomasz Kapuściński 78e877d9a8 Changes in framebuffer creation, framebuffer error detection and small other graphical things 2016-02-29 16:42:01 +01:00
Tomasz Kapuściński 0bb5f96d7a Changed depth of shadow map texture to 32 2016-02-28 23:17:25 +01:00
krzys-h b97070bbad stupid whitespace 2016-02-28 20:57:39 +01:00
krzys-h 282cd65a2d Fix reloading changed ground spot textures (closes #404) 2016-02-28 20:22:05 +01:00
krzys-h 643c40e778 Revert "Get rid of "blacklisting shadowXX.png" logs"
This disabled loading of those textures completly

This reverts commit 60f0a7b45c.

 #BlamePiotrdzAgain
2016-02-28 20:17:35 +01:00
Tomasz Kapuściński 14d6ee74a3 Removed dirt from water surface 2016-02-27 15:29:41 +01:00
Tomasz Kapuściński d39604cb0e Small change in context profile selection and more info about graphics devices in help switch 2016-02-27 15:25:23 +01:00
krzys-h 9c32f705b6 FIXED ALL GOLD EDITION LIGHTING PROBLEMS!! Yay! 2016-02-21 15:35:52 +01:00
krzys-h dba944740f Removed unused members of COldObject 2016-02-21 15:16:30 +01:00
krzys-h 63c7b83d82 Removed unused object effect lights 2016-02-21 14:51:09 +01:00
Mateusz Przybył 7b286d77b5 Fix "std::max" errors in MSVC 2016-02-21 14:29:09 +01:00
Cezary Parkowski 5542b7deb7 Another fixes to sound samples in-code documentation 2016-02-19 17:43:55 +01:00
krzys-h 3de6794835 Allow both right and middle mouse button for camera movement 2016-02-19 17:27:55 +01:00
krzys-h 700f3ad448 Edge camera speed fix 2016-02-19 17:22:20 +01:00
krzys-h b15666f48e Restored old camera scroll as a config option 2016-02-19 17:14:08 +01:00
krzys-h 1efa4b132c Fixed mouse invert settings; removed camera scroll setting 2016-02-19 17:14:08 +01:00
krzys-h 47d39e5b22 Right click camera; minor CCamera cleanups 2016-02-19 17:14:08 +01:00
krzys-h d9ccd6edf3 Camera smoothness adjustment 2016-02-19 17:14:08 +01:00
krzys-h f3820bc81a Fixed using SOUND_CLICK instead of SOUND_NONE, some sound documentation fixes 2016-02-19 17:12:27 +01:00
Cezary Parkowski 42db13ee9e Updated sound samples doCOMMENTation 2016-02-19 16:33:22 +01:00
Tomasz Kapuściński 739f90e38e Reverted changes to OpenGL version detection 2016-02-18 20:51:02 +01:00
krzys-h 0256b1aa39 Add logging in font loading 2016-02-18 18:07:29 +01:00
krzys-h 1b21c387bb Fixed colobot-lint warnings 2016-02-18 12:20:40 +01:00
Tomasz Kapuściński 0ad53cc0d8 Fix compilation error 2016-02-18 01:36:37 +01:00
Tomasz Kapuściński 0eaf3a9ac4 Added rendering modes and shaders to OpenGL 3.3 engine and fixed problem with detecting extensions in core profile 2016-02-18 00:57:37 +01:00
Tomasz Kapuściński 8414ae794d Corrected a mistake in -glprofile argument parsing 2016-02-17 23:04:34 +01:00
krzys-h 5c9bdde587 Fixed lag on saving programs 2016-02-16 12:54:08 +01:00
krzys-h 999b2b85a4 Prevent possible crashes related to not releasing pause 2016-02-16 12:26:52 +01:00
krzys-h a583b5ed1d Fixed another crash with focus pause 2016-02-16 12:26:52 +01:00
Tomasz Kapuściński cc973dab6f Added settings and command line switches to request OpenGL context version and profile 2016-02-15 23:08:56 +01:00
Tomasz Kapuściński 0154af39aa Corrected compilation problem (GL_MAX_FRAMEBUFFER_SAMPLES) 2016-02-15 20:59:09 +01:00
Tomasz Kapuściński 517d6f069a Reimplemented drawing primitives in OpenGL 3.3 engine 2016-02-15 20:31:32 +01:00
Tomasz Kapuściński 79c21f6676 Moved LightLocations to outside of UniformLocations 2016-02-15 20:05:25 +01:00
krzys-h 2b94de44a8 Incresed editor double click time, closes #688 2016-02-15 19:08:09 +01:00
krzys-h 831eca921b Fixed possible crash with background pause 2016-02-15 19:05:32 +01:00
krzys-h 84e0220ea6 Fix code copy start range, closes #720 2016-02-14 19:07:16 +01:00
krzys-h 5e19f598b9 Fix newline at end of file... 2016-02-13 21:37:31 +01:00
krzys-h a3477edc8e Pause game when in background, closes #609 2016-02-13 21:35:01 +01:00
krzys-h c93fa12552 Fixed TitaniumOre and UraniumOre not being destroyable, closes #635 2016-02-13 21:15:15 +01:00
krzys-h 9b5d9ed893 Fixed some manual control being allowed in code battles, closes #644 2016-02-13 21:05:07 +01:00
krzys-h 8ce5c3ab4c Fixed level scale unit not being reset, closes #666 2016-02-13 20:46:03 +01:00