krzys-h
78f4749134
Disallow controlling enemy objects from CBot
2015-07-13 18:53:56 +02:00
krzys-h
0e66104829
Hacked CBot engine to get pointers to CObject* in calls to class members
2015-07-13 18:40:13 +02:00
krzys-h
79c131394d
Separate DoneResearch for teams
2015-07-13 18:13:28 +02:00
krzys-h
3479c51bb9
Refactored EnableBuild, EnableResearch and DoneResearch
...
* Moved from global variables to CRobotMain members
* Added functions for accessing the values
* Cleaned up some code related to building objects, BotFactory, ResearchCenter and AutoLab
2015-07-13 17:38:19 +02:00
krzys-h
38a0849e10
Added system mouse option
...
This reverts commit e21853d632
.
2015-07-13 12:11:11 +02:00
krzys-h
6e404f5aa2
Better mouse scaling on widescreen resolutions
2015-07-13 11:58:52 +02:00
Piotr Dziwinski
9023aac960
Fix for #504
2015-07-12 20:49:00 +02:00
Piotr Dziwinski
6c7a79de5a
Fix for #503
2015-07-12 20:44:46 +02:00
Piotr Dziwinski
e72936c240
Clean up more functions from COldObjectInterface
2015-07-12 20:05:12 +02:00
krzys-h
06e5d076f8
Updated data submodule
2015-07-12 19:22:00 +02:00
Piotr Dziwinski
394f911d7b
Remove unnecessary #include "object/object.h"
2015-07-12 14:23:18 +02:00
Piotr Dziwinski
3ed8980c46
Make CTask classes use COldObject
2015-07-12 14:22:12 +02:00
Piotr Dziwinski
45302a3f4e
Make CPhysics and CBrain use COldObject
2015-07-12 14:19:09 +02:00
Piotr Dziwinski
2c474d7c06
Make CMotion classes use COldObject
2015-07-12 14:01:14 +02:00
Piotr Dziwinski
16883fcdc4
Make CAuto classes use COldObject
2015-07-12 14:01:07 +02:00
Piotr Dziwinski
fdb594b9f7
Fix crash when replacing power cell
2015-07-12 13:19:41 +02:00
Piotr Dziwinski
a1e5812740
Make object deletion safe while iterating through their list
...
Perhaps a bit of a hack but there is no other way to implement this now
2015-07-12 13:16:07 +02:00
Piotr Dziwinski
4dc40a8853
Fix missing curly braces
2015-07-12 12:38:25 +02:00
Piotr Dziwinski
37b0d5796d
Fix PNGSaveSurface not closing file sometimes
2015-07-12 12:33:30 +02:00
Piotr Dziwinski
9a7c1961a4
GetPostion(), GetRotation() and GetScale() in CObject interface
...
Also replace old calls like GetPosition(0) to GetPosition()
2015-07-12 11:05:50 +02:00
Piotr Dziwinski
57e3e16517
Added check to avoid possible object deletion bug
...
Objects must not be deleted while iterating through their list
2015-07-12 10:34:00 +02:00
Piotr Dziwinski
fcbbbcb83c
Fix some more CObject interface issues
...
* fix mission 1.3
* fix saving/loading missions
* fix compile warnings
2015-07-12 00:03:57 +02:00
krzys-h
03717e11d4
Added aspect ratio in resolution list ( #501 )
2015-07-11 23:53:25 +02:00
Piotr Dziwinski
e8582d214c
CStaticObject subclass using new model framework
...
* added reading/writing working version of new model format V3
* added CStaticObject with minial interface intended for
non-interactive static objects like trees
* converted first model, tree0, to new format
2015-07-11 19:52:38 +02:00
krzys-h
639de56e6c
Fixed file.readln() help file
2015-07-11 18:36:36 +02:00
Piotr Dziwinski
6dcef71802
GlobalSphere -> CameraCollisionSphere refactoring
2015-07-11 13:52:04 +02:00
Piotr Dziwinski
f4b2f3468d
CPoweredObject interface
2015-07-11 13:38:27 +02:00
krzys-h
36d08e852c
Better splashscreen scaling on widescreen resolutions
2015-07-11 12:57:18 +02:00
Piotr Dziwinski
0a85fae9b5
Fix crash in appearance menu
2015-07-10 23:58:53 +02:00
krzys-h
9537048964
Cleaned up GetHelpFilename
2015-07-10 23:30:11 +02:00
Piotr Dziwinski
4c10730f87
CCarrierObject interface
2015-07-10 23:16:55 +02:00
Piotr Dziwinski
8d5ddd848d
CJostleableObject interface
2015-07-10 23:04:30 +02:00
Piotr Dziwinski
5d30de0d09
CProgrammableObject interface
2015-07-10 20:46:33 +02:00
Tomasz Kapuściński
17ae31e639
Added 'speed ###' cheat for changing simulation speed to arbitrary value
2015-07-10 20:45:50 +02:00
krzys-h
ec0548d42c
Updated Russian translation
...
Thanks, ovf
2015-07-10 20:33:08 +02:00
krzys-h
24db675d3f
Added x6 speed option
2015-07-10 20:17:00 +02:00
Piotr Dziwinski
0dfbb00491
Remove unused variable
2015-07-10 19:55:18 +02:00
Piotr Dziwinski
93479af188
CTransportableObject interface
2015-07-10 19:51:49 +02:00
krzys-h
52f809b8bb
Removed cmdline limit
2015-07-10 13:40:29 +02:00
Piotr Dziwinski
b84130e067
Fix not updating track texture mapping
2015-07-10 12:22:00 +02:00
krzys-h
ad08d50bea
Renamed some CAuto and CMotion classes
2015-07-10 12:18:21 +02:00
krzys-h
26619e3f88
Removed old level parser functions (cmdtoken.cpp)
2015-07-10 11:51:59 +02:00
krzys-h
e6c6b77be2
Removed old Teen objects
...
The models for them were removed a looong time ago, but the code was left for no reason
2015-07-10 11:37:32 +02:00
krzys-h
c63efeca46
Fixed EndMissionTake conditions (again)
2015-07-10 10:45:30 +02:00
krzys-h
d3c3a51ede
Don't open joystick if it's not enabled in ChangeJoystick
2015-07-10 10:28:04 +02:00
krzys-h
20a367783b
Added joystick settings in colobot.ini
2015-07-10 10:25:31 +02:00
krzys-h
7e41e9fe23
Refactored keybindings storage
2015-07-10 10:11:40 +02:00
krzys-h
3d5bc5c563
Fixed unused variable warnings
2015-07-10 10:11:40 +02:00
Piotr Dziwinski
b0ac2f8326
Refactor CObject interface related to crash spheres
2015-07-10 09:38:53 +02:00
krzys-h
5a68558f4c
Implemented basic joystick selection
...
You can select joystick in the config file, there is still no GUI. By default, the first available joystick is used.
issue #171
2015-07-10 00:05:43 +02:00