krzys-h
d06516507a
Fixed game not being unpaused if you leave code battle without starting, closes #679
2016-02-13 20:40:23 +01:00
krzys-h
977607a934
Updated license headers
2016-02-13 14:11:30 +01:00
Krzysztof Dermont
8a0cda1c2a
Fix issue #648
...
Should be proper fix
2016-02-10 17:06:02 +01:00
Krzysztof Dermont
12e3724319
Implement issue #606
...
Add button to open SatCom in main menu
2016-02-10 17:04:26 +01:00
tomangelo2
1fc9186aaf
Fixes for issue #648 and #631
2016-02-09 20:05:04 +01:00
krzys-h
bdf99f3de5
Fixed SatCom music not starting with immediat SatCom enabled
2016-02-05 20:38:03 +01:00
Tomasz Kapuściński
91f897057e
Another fix for visibility distance
2016-01-31 01:07:34 +01:00
krzys-h
9749419b87
Fixed LevelController
2016-01-30 17:24:47 +01:00
krzys-h
f3094312b2
Fix startup crash with disabled autosave, closes #705
2016-01-28 20:36:55 +01:00
krzys-h
223d17843e
Fixed NuclearPlant being available without research, closes #662
2016-01-24 22:18:04 +01:00
krzys-h
40352be5cc
Add language switcher to the settings UI, closes #506
2016-01-24 16:03:24 +01:00
krzys-h
b96305060b
Fix colobot-lint warnings
2016-01-23 21:59:02 +01:00
krzys-h
04e9e8768d
Removed unused CRobotMain members
2016-01-15 16:55:56 +01:00
krzys-h
07a4d6a16b
CBot namespace
2015-12-26 14:29:10 +01:00
krzys-h
51644369cb
Moved standard math and file functions into CBot library
2015-12-20 18:36:20 +01:00
krzys-h
6832c91496
Fixed #695
2015-12-20 14:28:38 +01:00
krzys-h
1dd230aaaf
Fixed incombatibility with old save files, closes #686
2015-12-19 22:02:24 +01:00
Grunaka
ece0666954
Create new file CBot.h. Included only useful interfaces.
2015-12-01 23:25:36 +01:00
Grunaka
1a6b5ded64
Delete CBotDll.h
2015-12-01 23:25:36 +01:00
Grunaka
43ac0e35f2
Moving global files function from CBot.cpp to CBotFileUtils.cpp
2015-12-01 23:25:36 +01:00
Grunaka
77d738634c
Moving CBotClass class in its own header and source files.
2015-12-01 23:25:35 +01:00
Piotr Dziwinski
1182dea692
Merge pull request #678
2015-11-10 21:36:29 +00:00
piotrwalkusz1
ce480c1720
Fix #670
2015-11-08 19:03:35 +01:00
Piotr Dziwinski
d11ebc891c
Bring to zero some types of issues reported by colobot-lint
2015-10-04 00:09:10 +02:00
krzys-h
2111c6d177
More CRobotMain cleanup
2015-10-01 20:10:52 +02:00
krzys-h
2c7deea6a9
Removed some unused functions from CRobotMain
2015-10-01 19:37:31 +02:00
krzys-h
b5e98dd6e9
Removed CSettings access through CRobotMain
2015-10-01 19:19:40 +02:00
krzys-h
3815ef0bd6
Refactored CPauseManager (again)
2015-10-01 18:55:41 +02:00
krzys-h
95f1e3f19a
Fixed water/lava moving and waves ( #659 )
2015-09-30 20:31:09 +02:00
krzys-h
2cb2782c9d
Restored old Ceebot-Teen objects
...
In preparations for new programming course
2015-09-28 22:08:59 +02:00
Piotr Dziwinski
66ce745be0
Introduce forward declarations as suggested by colobot-lint
2015-09-27 16:28:14 +02:00
krzys-h
dfa06dafcf
Refactored window resize
2015-09-25 11:11:35 +02:00
krzys-h
53e4470dbf
Started SDL2 migration
2015-09-24 21:09:46 +02:00
krzys-h
7500ab4988
Added code battle spectator mode switch
2015-09-13 15:59:42 +02:00
krzys-h
21a7f1bced
Made 'invui' work in main menu
2015-09-12 10:35:31 +02:00
krzys-h
e6e38eae7f
Fixed cheat console actiaving multiple times, closes #627
2015-09-10 21:32:25 +02:00
krzys-h
20105d09ec
Added code battles button to the main menu
2015-09-10 20:20:24 +02:00
krzys-h
74cee19c09
Fixed objects being deselected if not clicked on any object
2015-09-09 20:32:56 +02:00
krzys-h
b058a6986b
Minor improvments to plane camera
2015-09-06 20:33:04 +02:00
krzys-h
f6fdec1479
Allow controlling free camera with arrows when no object is selected
2015-09-06 20:09:47 +02:00
krzys-h
883348c6cf
Do not (auto)save code battles
2015-09-06 20:01:59 +02:00
krzys-h
d36fcf4187
New code battle camera behavior
2015-09-06 19:59:26 +02:00
krzys-h
51330dde5e
Added code battle start button; fixed bug with starting code battle
2015-09-06 19:12:00 +02:00
Piotr Dziwinski
44a1f85891
Refactor CRobotMain::DeleteObject -> DestroySelectedObject
2015-09-06 13:23:43 +02:00
krzys-h
fb03a497d7
Added command to hide the UI
2015-09-04 19:16:21 +02:00
krzys-h
e956311626
Moved free camera controls to numpad; added 'camtype %d', 'camspeed %f', 'freecam'
2015-09-04 19:04:42 +02:00
krzys-h
e015d9f1c3
Don't allow saving if crashed during loading
2015-09-01 16:15:59 +02:00
krzys-h
c3d7876a5c
Made CPauseManager not a singleton
2015-08-31 22:05:21 +02:00
krzys-h
ff17961584
Refactored CPauseManager
2015-08-31 21:47:55 +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
934d97a801
Fixed #581 for aliens
2015-08-25 17:25:53 +02:00
krzys-h
5eae234b83
Fixed EndMissionDelay win=-1 not working, closes #592
2015-08-25 17:17:11 +02:00
krzys-h
fe44e617a8
Fixed selection markers not disappearing when moving gun away
2015-08-25 16:57:10 +02:00
krzys-h
d4b431adaa
Recalculate camera projection matrix after aspect ratio change
2015-08-25 16:18:01 +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
39d2236be6
Fixed %lvl% in saved games, closes #586
2015-08-24 20:08:08 +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
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
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
e11d2ec33e
Refactor object dying status and GetActive
2015-08-16 20:24:48 +02:00
krzys-h
b5cca39cc2
Prevent big simulation step after loading
2015-08-16 17:08:38 +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
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
fe5a8c4629
Updated progress bar values
2015-08-15 23:37:30 +02:00
krzys-h
bc7d0c1c51
Rewritten program storage, closes #534
2015-08-15 23:29:21 +02:00
krzys-h
0eaf0d6f65
Split Programmable and ProgramStorage
2015-08-15 21:29:08 +02:00
krzys-h
856c5baa0e
Removed CTaskManager
2015-08-15 20:30: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
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
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
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
57646c0c7b
Refactored object creation
2015-08-14 18:20:44 +02:00
krzys-h
78a279b479
Better shadow type selection UI
2015-08-14 13:37:27 +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
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
275e792a81
Removed old Scrap objects; cleaned up some more if()'s
2015-08-13 19:41:21 +02:00
krzys-h
e5e1d4973f
CDestroyableObject, CFragileObject, CShieldedObject and CShieldedAutoRegenObject
2015-08-13 13:41:25 +02:00
krzys-h
ff957afefc
Moved files not directly related to CObject into src/level/ directory
2015-08-13 11:47:32 +02:00