Commit Graph

2438 Commits (1d73421eff1d59efcd7b9c6ebdc2b3800bc29315)

Author SHA1 Message Date
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
krzys-h b086c52b14 Render some things in code instead of using effect03.png texture (in CEdit) 2015-08-18 21:04:00 +02:00
krzys-h eef76a9b29 Fixed not working Converter, closes #574 2015-08-18 19:38:58 +02:00
krzys-h 118ceaa099 Fixed music stopping during apperance phase, closes #573 2015-08-18 19:33:01 +02:00
krzys-h 28925106e4 Cleaned up some long lists of ifs 2015-08-18 12:29:41 +02:00
krzys-h a5c84b9a1e Removed unused OBJECT_FIX and OBJECT_FRET 2015-08-18 11:43:41 +02:00
Piotr Dziwinski a63a959dbe Apply clang-modernize -use-nullptr 2015-08-17 22:40:52 +02:00
Piotr Dziwinski ba3284b8b8 Apply clang-modernize -add-override 2015-08-17 22:12:09 +02:00
krzys-h 2dbacc28b5 Fixed too small AlienAnt damage 2015-08-17 22:05:26 +02:00
krzys-h 63b4849275 Fixed #561 2015-08-17 21:57:53 +02:00
krzys-h 1717fe071e Removed unused variables 2015-08-17 21:42:18 +02:00
Piotr Dziwinski 6534978dea Refactor Character::posPower 2015-08-17 21:28:30 +02:00
krzys-h 98748d757f Fixed paths to RemoveDirectory 2015-08-17 21:03:40 +02:00
krzys-h 7e028977bd Implemented emergency save on crash, closes #572 2015-08-17 20:56:42 +02:00
krzys-h ee9457f156 Fixed failing assert in CMotionHuman with Tech 2015-08-17 19:32:17 +02:00
krzys-h d5a468df46 Fixed regex in checking object.factory parameter 2015-08-17 19:30:27 +02:00
krzys-h 1185bd4c36 Fixed OrgaMatter destroying itself and the wasp 2015-08-17 19:12:58 +02:00
krzys-h 0bff05f095 Fixed problems with motor() + fire() in CBot while the robot was selected 2015-08-17 18:26:09 +02:00
krzys-h 1059ae37c1 Shielder subclass 2015-08-17 14:06:31 +02:00
krzys-h 63bee182d2 Moved SetFixed/GetFixed to CBaseAlien 2015-08-17 13:19:21 +02:00
krzys-h 304b0b20d8 Created base classes for aliens, robots and buildings 2015-08-17 12:49:54 +02:00
krzys-h 75de19f10e COldObjectInterface::SetViewFromHere -> CControllableObject::AdjustCamera 2015-08-17 11:53:34 +02:00
krzys-h 9f19ee2263 Fixed ExchangePost interface not updating 2015-08-17 11:47:56 +02:00
krzys-h ad84478c71 Removed Get/SetInfoReturn 2015-08-17 11:44:05 +02:00
krzys-h 303dd17d58 Improved documentation of new object interface; removed unused Get/SetSoluceName 2015-08-17 00:43:32 +02:00
krzys-h 0d9b3b907a Moved GetActive and GetDetectable to CObject 2015-08-17 00:02:38 +02:00
krzys-h e11d2ec33e Refactor object dying status and GetActive 2015-08-16 20:24:48 +02:00
krzys-h b2e7815001 Fixed AlienSpider explosion
#fail
2015-08-16 18:12:34 +02:00
krzys-h 92e2c217af Fixed aliens not becoming controllable after "selectinsect" 2015-08-16 18:03:04 +02:00
krzys-h b5cca39cc2 Prevent big simulation step after loading 2015-08-16 17:08:38 +02:00
krzys-h 3f303ea824 Removed some unneccessary includes 2015-08-16 16:35:39 +02:00
krzys-h 8c617badae Fixed all portable objects being usable as energy cells 2015-08-16 16:06:51 +02:00
krzys-h 0986a200d7 Fixed CBot editor being inaccessible while running program 2015-08-16 16:03:36 +02:00
krzys-h 4182be3216 Never save copy of programs from level files when saving scene
Prevents some possible bugs related to changing level files. This might also slightly improve saving time (which is kinda important with one-threaded autosaves ;))
2015-08-16 15:27:41 +02:00
Piotr Dziwinski 2289d69735 Replace NULL -> nullptr 2015-08-16 12:43:42 +02:00
Piotr Dziwiński 435e2ae32c Merge pull request #567 from colobot/dev-user-friendly-abort
User friendly abort error messages
2015-08-16 00:57:07 +02:00
Piotr Dziwinski 4d3a0b6602 Fix reporting unhandled exceptions in MSVC
For some reason set_terminate() doesn't work with MSVC2013
2015-08-16 00:48:15 +02:00
krzys-h 0c670e7699 Don't demangle the exception class name on MSVC 2015-08-16 00:44:36 +02:00
krzys-h f21025b526 User-friendly abort error messages 2015-08-16 00:44:36 +02:00
Piotr Dziwinski d703eb7165 Compile fixes for MSVC2013 2015-08-16 00:39:08 +02:00
krzys-h db3596ace1 Removed Get/SetDefRank 2015-08-15 23:49:51 +02:00
krzys-h ceae617949 Fixed user programs disappearing after swapping them with level programs 2015-08-15 23:47:51 +02:00