krzys-h
d6a946618e
Syntax highlighting in SatCom
2015-08-18 22:35:38 +02:00
krzys-h
c5da68d516
New CBot syntax highlighting
2015-08-18 22:12:00 +02:00
Piotr Dziwinski
a63a959dbe
Apply clang-modernize -use-nullptr
2015-08-17 22:40:52 +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
ad84478c71
Removed Get/SetInfoReturn
2015-08-17 11:44:05 +02:00
krzys-h
3f303ea824
Removed some unneccessary includes
2015-08-16 16:35:39 +02:00
Piotr Dziwinski
2289d69735
Replace NULL -> nullptr
2015-08-16 12:43:42 +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
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
Piotr Dziwinski
870f89ac4a
Further fixes for GCC 4.7 build
2015-08-14 19:34:17 +02:00
krzys-h
57646c0c7b
Refactored object creation
2015-08-14 18:20:44 +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
bfd3a5b23c
Refactored ExplodeObject
2015-08-13 18:54:44 +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
krzys-h
e937db94c8
Moved GetPhysics() and GetMotion() to CMovableObject; moved trace drawing to CTraceDrawingObject
2015-08-13 10:49:45 +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
a9673d5f72
Moved StartDetectEffect to CRobotMain
2015-08-11 23:13:57 +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
krzys-h
abb272600e
Merged CBrain into CProgrammableObject
2015-08-10 18:16:00 +02:00
krzys-h
2b44a7be3d
Removed m_event from script.h
2015-08-10 13:52:03 +02:00
krzys-h
3a5f618f65
CTaskExecutorObject interface; some general task and CBrain cleanup
2015-08-10 13:46:39 +02:00
krzys-h
73e0abc510
Fixed AlienQueen crash
2015-08-10 13:33:11 +02:00
krzys-h
e5d652acef
Fixed a crash when trying to infect an empty program
2015-08-06 22:50:22 +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
dc85aa2138
Moved all UI controls to a subdirectory
2015-08-06 13:25:24 +02:00
Piotr Dziwinski
bdeeaf690b
Get rid of memsets
2015-08-06 09:37:25 +02:00
krzys-h
47d79c9977
Added #Include support in level files
2015-08-05 19:27:26 +02:00
krzys-h
72210d523f
Fixed this.orientation values outside of 0-360 range
2015-08-03 23:10:24 +02:00
krzys-h
4bdadc8cc8
Updated help file paths
2015-08-03 20:23:35 +02:00
krzys-h
794d1f3cbe
Fixed "this" ( #547 )
2015-08-03 19:56:35 +02:00
Piotr Dziwinski
11b0398c03
Include refactoring
...
* reordered includes according to correct style
* removed some unnecessary includes
2015-08-02 17:49:07 +02:00
Piotr Dziwinski
7d8b56d9ab
More style fixes
2015-08-02 12:06:14 +02:00
Victor Vieux
7c421b7151
fix highlighting
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-07-29 00:37:56 -07:00
Victor Vieux
38c64940a5
this is not a type
...
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2015-07-29 00:37:29 -07:00
MrSimbax
d7cdcab2c5
Fix flatspace editor hint
2015-07-27 18:49:02 +02:00
MrSimbax
a5d579fc31
Add filter parameter to radar editor hint
2015-07-27 18:12:38 +02:00
krzys-h
dfd73118a6
Added flatspace()
...
Works like space(), but makes sure there is enough flat space for building
2015-07-22 18:26:05 +02:00
krzys-h
59d5545eca
Fixed code pause editor bug ( #527 )
2015-07-22 18:01:24 +02:00
krzys-h
393317fa48
Added researched(), canresearch() and buildingenabled()
...
closes #524
2015-07-22 17:08:51 +02:00
krzys-h
d5d8c0b29f
Removed the need for progfunc() in object.factory()
...
Changes to object.factory():
* The second argument will be automatically interpreted as public function name, file name or program code
* The program starts earlier (when the robot is ready, not when the doors open)
* Refactored to std::string
2015-07-22 16:16:16 +02:00
krzys-h
329393a65a
Added object.velocity, closes #523
2015-07-22 13:46:13 +02:00
krzys-h
abdb4e9782
Moved "object" class management to CScriptFunctions
2015-07-22 13:25:51 +02:00
krzys-h
347654db15
Refactored CBot class "file" to PHYSFS
2015-07-19 22:34:41 +02:00
krzys-h
0554a77813
Refactor reading "object" class in CBot
2015-07-19 21:53:08 +02:00
krzys-h
264f5dc278
Removed obsolete save directory configuration
...
This was used in one of the CeeBots probably for setting up networked installations in schools. This is now obsolete since now those are only paths relative to main PHYSFS save directory.
2015-07-19 16:05:09 +02:00