Commit Graph

2744 Commits (eb2a1857dc9db7ded613027045c4e78781ec1bca)

Author SHA1 Message Date
krzys-h 6f38ec1911 Clear player name text field on delete 2015-09-01 16:25:09 +02:00
krzys-h ec9a38a681 Don't show level completion marks in free games 2015-09-01 16:22:57 +02:00
krzys-h d97042e252 Fixed possible problems if another crash occurs while saving crash state 2015-09-01 16:17:23 +02:00
krzys-h e015d9f1c3 Don't allow saving if crashed during loading 2015-09-01 16:15:59 +02:00
krzys-h 89c93c15cd Fixed crash after removing last program from a robot 2015-09-01 16:10:12 +02:00
krzys-h c3d7876a5c Made CPauseManager not a singleton 2015-08-31 22:05:21 +02:00
krzys-h 75d18ced05 Fixed #596 2015-08-31 21:57:46 +02:00
krzys-h ff17961584 Refactored CPauseManager 2015-08-31 21:47:55 +02:00
krzys-h cc7e36968f Fixed new text in editor not being monospace 2015-08-31 12:21:28 +02:00
krzys-h 2ec5e07080 Possible fix to #608 2015-08-31 12:06:14 +02:00
krzys-h 82e06bfd8e Fixed wrong program being highlighted after loading (closes #616) 2015-08-31 11:37:02 +02:00
Piotr Dziwinski a47da3fd3f Whitespace fixes 2015-08-30 22:18:49 +02:00
Piotr Dziwinski a1d2ca50a8 Fix #619
This fixes handling of status codes from PHYSFS functions and seems to
solve crashes like in #619
2015-08-30 22:14:14 +02:00
Piotr Dziwinski 3335be42de Fix MSVC compilation
Forgot to push this the last time
2015-08-30 22:11:30 +02:00
krzys-h 6711154762 Fixed produce() and NewScript not marking programs as loaded from level files (closes #613); refactored NewScript to std::vector and std::string 2015-08-29 16:52:07 +02:00
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