krzys-h
5d52214737
CFlyingObject; CJetFlyingObject
2015-08-12 19:09:35 +02:00
krzys-h
1b73830f28
CRangedObject
2015-08-12 18:12:27 +02:00
krzys-h
15bf98da40
Removed SetShowLimitRadius
2015-08-12 17:48:58 +02:00
krzys-h
60797f72d3
Removed some old, unused code
2015-08-12 17:25:41 +02:00
krzys-h
f7d2f501bb
Moved common interface implementations to separate classes
...
Additionaly, merged all "inappropariate bot" errors into one and renamed ERR_GENERIC -> ERR_UNKNOWN
2015-08-12 16:54:44 +02:00
krzys-h
63d83185b5
Move GetTooltipText and Get/SetLock to CObject; remove Get/SetEnable
2015-08-12 00:16:57 +02:00
krzys-h
f37d2a338e
Moved SetHighlight to CControllableObject
2015-08-12 00:16:57 +02:00
Piotr Dziwinski
00e9684e6d
Add missing include
2015-08-11 23:17:38 +02:00
Piotr Dziwinski
571cc96523
Add proper initializers and remove manual memory management in ui classes
2015-08-11 23:15:32 +02:00
krzys-h
a9673d5f72
Moved StartDetectEffect to CRobotMain
2015-08-11 23:13:57 +02:00
krzys-h
3f32b7c8a3
Removed SetCapacity()
2015-08-11 22:57:33 +02:00
krzys-h
364f87c49b
CPowerContainerObject interface
2015-08-11 22:51:16 +02:00
krzys-h
7e18757d29
CScript user pointer cleanup; moved some functions from COldObjectInterface to main CObject
...
* moved (Get|Set)Clip [renamed to (Get|Set)Collisions], (Get|Set)Team, (Get|Set)Proxy(Activate|Distance) and GetBotVar to main CObject class
* refactored scripting to pass CScript* as the user pointer, removing the need for GetRunScript()
* changed accessing of "object" class in CBot to use ->GetUserPtr()
* refactored object limits to remove (Start|Stop)ShowLimit from COldObject
* added notes on possible interfaces for most of the other COldObjectInterface functions
2015-08-11 17:51:39 +02:00
krzys-h
15c1c7ee03
CMovableObject, CControllableObject
2015-08-10 23:21:15 +02:00
Piotr Dziwinski
849a3f900c
Add missing includes
2015-08-10 22:33:42 +02:00
krzys-h
abb272600e
Merged CBrain into CProgrammableObject
2015-08-10 18:16:00 +02:00
krzys-h
726cfbda77
Removed manual memory management in CBrain and CObjectInterface
2015-08-10 17:17:02 +02:00
krzys-h
a754b2ad06
Fixed manual control overriding tasks
2015-08-10 17:02:31 +02:00
krzys-h
78a51f0acb
Moved all UI code out of CBrain into Ui::CObjectInterface
2015-08-10 16:37:03 +02:00
krzys-h
3a5f618f65
CTaskExecutorObject interface; some general task and CBrain cleanup
2015-08-10 13:46:39 +02:00
krzys-h
39a4a4cd78
Removed some unused CBrain members
2015-08-10 11:24:02 +02:00
krzys-h
bb3fc63e03
More details on terrain loading
2015-08-07 23:40:38 +02:00
krzys-h
57469533b6
Implemented loading progress bar
2015-08-07 20:48:55 +02:00
krzys-h
f90bb63520
Hide some things in save screenshots
...
Save indicator, mouse cursor, CDisplayText and interface particles
2015-08-07 15:59:05 +02:00
krzys-h
7da6f1b704
More random virus particles
2015-08-07 15:18:04 +02:00
krzys-h
6e5e3c4822
Fixed crash in IntroduceVirus if robot doesn't have any programs
2015-08-06 22:34:46 +02:00
krzys-h
69e6ae2c5e
Added "saving in progress" indicator
2015-08-06 20:15:17 +02:00
Piotr Dziwinski
f95980456a
Replace anonymous union in Event with pointer to appropriate struct
2015-08-06 19:11:50 +02:00
krzys-h
69c6e9d4be
Fixed level loading error message
2015-08-06 18:29:59 +02:00
krzys-h
7649731b49
Reimplemented hiding mouse during loading
2015-08-06 18:28:28 +02:00
krzys-h
dc9e2d2e8b
GUI loading error popup
...
Also added fireParticles option
2015-08-06 18:19:01 +02:00
krzys-h
6e8266fd58
Always clear tooltip and highlighted object on phase change
2015-08-06 16:14:11 +02:00
krzys-h
50aaf04405
Don't rotate autosaves if not needed
2015-08-06 16:11:49 +02:00
krzys-h
711643b454
Refactored CMainDialog
2015-08-06 16:02:59 +02:00
Piotr Dziwinski
61ec101b11
Replace size_t with std::size_t
...
For some reason Clang's AST API doesn't like size_t
2015-08-06 14:31:40 +02:00
krzys-h
02417363e4
Fixed version text disappearing during loading
2015-08-06 14:03:07 +02:00
krzys-h
d538b65ace
Fixed saving of selected object in autosaves
2015-08-06 13:53:03 +02:00
krzys-h
dc85aa2138
Moved all UI controls to a subdirectory
2015-08-06 13:25:24 +02:00
krzys-h
2b4210dcbc
Separated CMainUserInterface from CMainDialog
2015-08-06 12:59:09 +02:00
Piotr Dziwinski
0c9cf51d81
Address comments on commit d7bc28a
2015-08-06 11:17:54 +02:00
Piotr Dziwinski
bdeeaf690b
Get rid of memsets
2015-08-06 09:37:25 +02:00
Piotr Dziwinski
0c9e745213
Add proper initializations in remaining graphics classes
2015-08-06 09:33:27 +02:00
Piotr Dziwinski
d7bc28a595
Add proper initializations in CPlanet and refactor planet mode
2015-08-06 08:22:11 +02:00
krzys-h
95a438bcc6
Fixed cheat console and particles during loading
2015-08-05 22:54:13 +02:00
krzys-h
86caf4f098
Fixed a bug in 47d79c9977
2015-08-05 22:16:52 +02:00
krzys-h
47d79c9977
Added #Include support in level files
2015-08-05 19:27:26 +02:00
krzys-h
c62e583c12
Fixed log message
2015-08-04 23:34:39 +02:00
krzys-h
54254e2158
Split CMainDialog
2015-08-04 23:29:18 +02:00
Piotr Dziwinski
18f9bfb575
Make saving screenshot thread- and exception-safe
...
* introduce ResourceOwningThread wrapper for safely passing resources
to new threads
* make CEventQueue thread-safe
* start screenshot saving thread using ResourceOwningThread
* change direct call at end of writing screenshot to thread-safe
event communication
2015-08-04 20:37:15 +02:00
MrSimbax
5005e760b9
Fix interrupting Me building when he's not selected ( fixes #548 )
2015-08-04 20:31:17 +02:00