Commit Graph

2329 Commits (37a69e57377aa33d196f94930b54d2713f490263)

Author SHA1 Message Date
krzys-h bd9a56fe7b Indentation! :/ 2015-08-29 16:29:45 +02:00
krzys-h 21b9d5b8cc Fixed saving object activity state (#610) 2015-08-29 16:28:10 +02:00
Piotr Dziwinski a8eb7499ac Fix #607 2015-08-29 10:49:04 +02:00
krzys-h 934d97a801 Fixed #581 for aliens 2015-08-25 17:25:53 +02:00
krzys-h 43901aa62a Fixed objects being able to move while executing tasks, closes #603 2015-08-25 17:21:25 +02:00
krzys-h 5eae234b83 Fixed EndMissionDelay win=-1 not working, closes #592 2015-08-25 17:17:11 +02:00
krzys-h 48481718e6 Restored astronaut damage multiplier, closes #578 2015-08-25 17:03:18 +02:00
krzys-h fe44e617a8 Fixed selection markers not disappearing when moving gun away 2015-08-25 16:57:10 +02:00
krzys-h 8b7bd663b9 Fixed shooters detecting all objects as friendly, closes #581 2015-08-25 16:29:26 +02:00
krzys-h d4b431adaa Recalculate camera projection matrix after aspect ratio change 2015-08-25 16:18:01 +02:00
krzys-h 1519145c4c Added information when no exception object is returned from std::current_exception 2015-08-25 14:01:10 +02:00
krzys-h 551710646b Revert "Fix reporting unhandled exceptions in MSVC"
This reverts commit 4d3a0b6602.

Conflicts:
	src/app/main.cpp
2015-08-25 13:32:58 +02:00
krzys-h 65d26733fa Fixed Derrick output direction, closes #605
I won't even ask who designed it like that, okay?
2015-08-25 12:37:55 +02:00
krzys-h d9c8a7ed9b Fixed MXE builds, 2nd try 2015-08-25 12:18:15 +02:00
krzys-h f206b49106 Fixed MXE builds 2015-08-25 12:01:22 +02:00
krzys-h d287af159d Support for #rrggbbaa syntax for colors (mentioned in #591) 2015-08-25 11:53:56 +02:00
krzys-h db099bade4 Legacy 0-255 color support in level files, closes #591
Thanks @attila123
2015-08-25 11:41:01 +02:00
krzys-h 00ae6c32f1 Fixed CBot scripts in SatCom not being sometimes colorized
This is because in some places \c; and \s; are reversed
2015-08-25 11:32:15 +02:00
krzys-h 06e10a515e Fixed crash when loading SatCom files with both images and code, closes #587 2015-08-25 11:22:35 +02:00
krzys-h d8372510b8 Don't allow buildings to work before they are built, closes #582 2015-08-25 10:57:36 +02:00
krzys-h 270c77da5b Fixed memory corruption in produce(), closes #600 2015-08-25 10:49:59 +02:00
krzys-h b9e7143734 Fixed PowerCaptor not recharging transported objects, closes #594 2015-08-25 10:32:50 +02:00
krzys-h 5a29bee3b4 Fixed RepairCenter repairing itself, closes #579 and #589 2015-08-25 10:27:14 +02:00
krzys-h 844e7343e0 Possible fix to #601 2015-08-24 23:19:02 +02:00
krzys-h 07141f6d90 Fixed wrong energy level in CBot (mentioned in #601) 2015-08-24 21:14:19 +02:00
krzys-h 6ed83bb63f Fixed Shielder not being destructible by OrgaMatter even when the shield is not active, closes #597 2015-08-24 21:12:06 +02:00
krzys-h 79d796754a Fixed Shielder shutdown animation, closes #595 2015-08-24 20:55:21 +02:00
krzys-h 2722e72afb Fixed Destroyer destroying itself, closes #599 2015-08-24 20:27:57 +02:00
krzys-h f78f4854b4 Fixed failing assertion when turning objects into ruins, closes #598 2015-08-24 20:22:08 +02:00
krzys-h 39d2236be6 Fixed %lvl% in saved games, closes #586 2015-08-24 20:08:08 +02:00
krzys-h 8ff6fadb75 Unlocked free window resolution change 2015-08-24 19:56:50 +02:00
krzys-h d9b680bdcf Removed Windows restart on resolution change workaround 2015-08-24 19:47:48 +02:00
krzys-h b5bd1b2d74 Destroy static buffers after resolution change
Under windows, changing the video mode causes SDL to destroy and recreate the OpenGL context, which invalidates all current static buffers.
It works on Linux because the actual SDL implementation here differs.

See http://sdl.beuc.net/sdl.wiki/SDL_SetVideoMode for details:
> Also note that, in Windows, setting the video mode resets the current OpenGL context. You must execute again the OpenGL initialization code (set the clear color or the shade model, or reload textures, for example) after calling SDL_SetVideoMode. In Linux, however, it works fine, and the initialization code only needs to be executed after the first call to SDL_SetVideoMode (although there is no harm in executing the initialization code after each call to SDL_SetVideoMode, for example for a multiplatform application).
2015-08-24 19:43:06 +02:00
Piotr Dziwinski 805f5b54d8 Add script for running colobot-lint on changed files 2015-08-23 00:55:55 +02:00
Piotr Dziwinski 60f0a7b45c Get rid of "blacklisting shadowXX.png" logs 2015-08-22 18:17:57 +02:00
Piotr Dziwinski c3d4d46583 Fix missing empty line after license header 2015-08-22 17:52:07 +02:00
Piotr Dziwinski b93f610930 Fix license header in all files 2015-08-22 16:40:02 +02:00
Piotr Dziwinski a4b791e298 Update LICENSE-HEADER.txt 2015-08-22 15:19:30 +02:00
krzys-h e1f0c0f91f Fixed #585 2015-08-19 20:56:04 +02:00
krzys-h 14396847d6 Added missing license headers again 2015-08-19 20:27:29 +02:00
krzys-h d723295aad Revert "Backported some thread classes cleanup from dev-threads (1ad8ff6e47fb9e249e6bcbc2f4a3a94933a1168a)"
This reverts commit 7cf73c94c4.

I wanted to make this better but failed so badly ;) The memory holding the thread function pointer may be freed before the thread is started, so the whole resource passing thing is needed anyway.

This probably fixes #584
2015-08-19 20:25:17 +02:00
krzys-h 27bbc27948 Fixed object creation after loading save file
Looks like @piotrdz broke it when creating the ObjectCreateParams struct. I'm kinda suprised this remained unnoticed for so long ;)
Reported in issue #570
2015-08-19 20:06:55 +02:00
krzys-h 9d6543a947 Close game window on error (mentioned in #570)
Otherwise, the error doesn't show up and the game appears to freeze in fullscreen mode
2015-08-19 11:14:25 +02:00
krzys-h 8421189716 Merge branch 'dev-cbot-syntax-highlighting' into dev (#575) 2015-08-18 23:01:02 +02:00
krzys-h e91ecbbb01 Removed unused references to effect03.png from the code 2015-08-18 22:59:31 +02:00
krzys-h d6a946618e Syntax highlighting in SatCom 2015-08-18 22:35:38 +02:00
krzys-h 1c0fc21e2b Made all colors a bit darker 2015-08-18 22:12:00 +02:00
krzys-h 3fe44be5d5 Fixed no monospace font in the editor 2015-08-18 22:12:00 +02:00
krzys-h c5da68d516 New CBot syntax highlighting 2015-08-18 22:12:00 +02:00
krzys-h 371621ced4 Render trace colors in the code instead of using texture 2015-08-18 22:11:04 +02:00