AbigailBuccaneer
ea64edaa0b
Compile with -Wmissing-declarations
...
-Wmissing-declarations enforces that every function (except for static
functions) must be declared separately before it's defined. This
essentially enforces that every function must be either static, or
declared in a header elsewhere.
This helps the optimizer, as it can do a better job of inlining if it
knows that a function won't be used outside of a given file. It also
helps -Wunused-function (which is enabled by -Wall) find more unused
functions.
Note that Clang spells this option -Wmissing-prototypes, which
confusingly is the name of a related but different warning option under
GCC.
2018-04-21 16:49:27 +01:00
AbigailBuccaneer
4119e669d1
Remove central tracking of SystemTimeStamp
...
SystemTimeStamp used to be an opaque class, as it was provided by
`system_{linux/other/windows}.h`. Because of this, code dealt in
SystemTimeStamp pointers, and getting the current timestamp required a
memory allocation. Now SystemTimeStamp is just a
`std::chrono::time_point`, we can make the code cleaner and faster by
just directly keeping SystemTimeStamp instead of pointers around.
2018-04-20 09:57:10 +01:00
AbigailBuccaneer
285350464f
Remove platform-specific handling of times
...
Now all platforms use std::chrono::high_resolution_clock and
std::this_thread::sleep_for instead of platform-specific timestamp and
sleep methods.
2018-04-20 09:56:57 +01:00
AbigailBuccaneer
2a003a27b1
Use C++11 threads, mutexes and condition variables
2018-04-20 09:56:57 +01:00
krzys-h
e964d3e48c
Fix colobot-lint warnings
2018-04-20 02:21:12 +02:00
krzys-h
1c2bdc9cab
Update license headers
2018-04-20 02:08:50 +02:00
krzys-h
9f1bd2176f
Jenkinsfile: Run colobot-lint
2018-04-20 02:08:50 +02:00
AbigailBuccaneer
6978c28ee0
Compile with -Wsuggest-override under GCC
...
Clang by default compiles with -Winconsistent-missing-override, which
warns when a class declares virtual functions that override those in the
base class, and some but not all of them are explicitly declared
`override`.
GCC doesn't support this option, but has a stronger version,
-Wsuggest-override. In combination with -Werror, this means that any
virtual function that overrides another *must* be explicitly declared as
`override`.
This commit enables -Wsuggest-override where available. This means that
GCC users can't break the Clang build with inconsistent overrides (see
#1113 and #1114 ) and consequently that any build that passes the pull
request CI build on Jenkins won't break because of inconsistent
overrides.
2018-04-19 19:58:44 +01:00
AbigailBuccaneer
5cec29f4e6
Fix building under clang-7
...
Currently the build fails because of -Wdelete-non-virtual-dtor warnings.
This catches when an object is destructed, has a non-virtual destructor,
and is an abstract base class or a non-final class with virtual
functions. The warning happens inside unique_ptr<T>::~unique_ptr.
The warning is to prevent somebody writing code like this:
class MySceneEndCondition : public CSceneEndCondition {
~MySceneEndCondition() { /* some complex logic */ }
};
// this won't call MySceneEndCondition's destructor, potentially
// leading to leaks or segfaults:
std::unique_ptr<CSceneEndCondition> p{new MySceneEndCondition()};
2018-04-19 10:19:05 +01:00
tomangelo2
2f71cce9c9
Fix camera behaviour when switching to viewpoint
2018-04-15 00:06:04 +02:00
tomangelo2
b04d8d205b
Added viewpoints feature
...
This allows you to set fixed viewpoints in specific location, without attaching to any object, enabling you to track the game from any location.
Proper camera handling will be implemented in next commits.
2018-04-11 21:24:20 +02:00
tomangelo2
ad6dd00275
Change new functions return type and switch to enum class
...
As suggested by @krzys_h
2018-04-08 23:43:22 +02:00
krzys-h
477dc0cae7
Some CBot code optimizations
2018-04-06 15:02:06 +02:00
B-CE
da1b7e8c2d
Fixes #274 : pasting tabs
2018-03-12 12:58:43 +01:00
B-CE
0e6d22a549
Fix clang compilation, fixes #1113
2018-03-12 12:42:22 +01:00
tomangelo2
d371338920
Fix scoreboard sorting parameters
2018-03-11 17:00:17 +01:00
tomangelo2
1b79e8409f
Add switch to determine sort type
...
You can set it in scene file with ScoreboardSortType SortBy="Name" or "Points"
2018-03-07 21:25:35 +01:00
tomangelo2
ff0f22ef44
Sort scoreboard
...
First, the team with more points, then which team scored points faster
2018-03-07 15:46:30 +01:00
Martin Doucha
81b4d0e28b
Add Czech translation
2018-02-24 20:39:29 +01:00
tomangelo2
5e606336ca
Fixed TrackedTrainer tracks allignement
2018-02-12 15:11:14 +01:00
tomangelo2
f51f457023
Narrowed TrackedTrainer tracks
...
TrackedTrainers now have same width as other bots
2018-02-10 20:58:14 +01:00
Fiftytwo
bd0c6d4344
Add PracticeBot helpfile
2017-12-22 17:02:37 +01:00
Fiftytwo
a15b3e4dd4
Add Trainer icons
2017-12-22 16:51:25 +01:00
Fiftytwo
0fddd79501
Add PracticeBot alias detection in search() and detect()
2017-12-21 14:44:43 +01:00
Fiftytwo
ca0ff013d4
Update Trainer bots
2017-12-21 01:49:56 +01:00
Fiftytwo
94aa76e7a1
Add auto object detection for takeoff, destroy, camerafocus
2017-11-30 20:41:44 +01:00
Fiftytwo
e01a6bd0ef
Add Builder documentation
2017-11-30 08:00:17 +01:00
Fiftytwo
7eb1df4119
Add aim recalibration during falling
2017-11-29 13:24:05 +01:00
Fiftytwo
db23c6eecf
Change Builder default camera type
2017-11-25 14:35:45 +01:00
Fiftytwo
5f8b7a8149
Update BotFactory interface
2017-11-25 12:30:16 +01:00
Fiftytwo
e8b93f6cda
Add Builder interface
2017-11-25 03:09:47 +01:00
Fiftytwo
614dc5e591
Builder research
2017-11-23 00:11:29 +01:00
krzys-h
7f6c0cd31e
added a thing
2017-11-22 18:29:09 +01:00
Fiftytwo
03c7d2e7ee
WingedBuilder full implementation; new aiming method, better particle alignment
2017-11-22 02:05:36 +01:00
Fiftytwo
d06116eb49
Attached proper particles to the neutron gun
2017-11-21 19:09:38 +01:00
Fiftytwo
b72e802ff7
Neutron gun now aims
2017-11-17 19:57:08 +01:00
Mateusz Przybył
46bef8fd92
Add button4.png drawing (builder icons)
2017-11-17 18:59:14 +01:00
Fiftytwo
0b36bdf37f
Quick fix for 9a33551
since I broke sth
2017-11-17 12:00:49 +01:00
Fiftytwo
9a33551a03
Reverted factory() to its original design; reworked syntax of other object.functions() accordingly; improved compatibility with CeeBot4 SCHOOL
2017-11-17 11:32:50 +01:00
Fiftytwo
b04d8ca99d
Clean up redundant files
2017-11-16 20:32:10 +01:00
Fiftytwo
a024866fd3
Builder bots base implementation
2017-11-16 18:43:45 +01:00
tomangelo2
f01e2b7e01
Moved fonts maps from header file to source file
2017-11-07 19:29:51 +01:00
krzys-h
5f5e5234fc
Fix CEdit background margins, closes #1029
...
This mismatch happened after changes in 08d87fa975
2017-11-04 11:56:15 +01:00
krzys_h
d3b969fb4d
Merge pull request #992 from DavivaD/dev-dmgalarm-st2
...
Damage Alarm Implementation (2th Stage)
2017-11-04 11:27:14 +01:00
krzys_h
17d47e9b63
Merge pull request #1040 from melex750/dev
...
Saved game bug fix
2017-11-04 11:24:09 +01:00
krzys-h
387b7b5396
Fix non-scoreboard code battles, closes #1023
2017-11-04 11:23:17 +01:00
tomangelo2
0179e4c786
Cleaned unused values from CFontConfig
2017-10-28 22:24:11 +02:00
tomangelo2
ff97df74c6
Added support for italic and bold variants of studio and satcom fonts
...
They aren't currently used anywhere
2017-10-28 22:22:22 +02:00
melex750
d357de1438
Save object lifetime and abstime
...
Fixes #1006
2017-10-24 05:12:19 -04:00
melex750
1eee06d9f9
Keep mission history after loading a crashsave
...
Fixes #812
2017-10-24 04:55:22 -04:00
melex750
a9e0874abc
Fix 'this' for object:: functions
...
Fixes #672
Fixes #1026
2017-10-24 04:46:07 -04:00
tomangelo2
3801ab87a2
Changed m_font map to const fontType map
2017-10-23 19:08:28 +02:00
krzys_h
6b1dd5dd8b
Merge pull request #994 from DavivaD/dev-issue-658
...
Thumper & Recycler Enhancements.
2017-10-22 18:22:06 +02:00
krzys_h
ee0f3ff5fd
Merge pull request #1022 from immibis/dev
...
Fix horizontal scrolling of planets and background images
2017-10-22 18:21:49 +02:00
krzys_h
9448f6712f
Merge pull request #1004 from melex750/dev-cbot
...
Escape codes for strings in CBOT
2017-10-22 18:20:50 +02:00
krzys_h
0a83508547
Merge pull request #985 from melex750/dev
...
Bug fix for CStudio
2017-10-22 18:20:35 +02:00
tomangelo2
1539e94b09
Changed defaultFont to const map
2017-10-18 20:40:07 +02:00
tomangelo2
76a8335501
Reworked GetFont method
2017-10-18 12:01:34 +02:00
DavivaD
2a0c2c38f0
Make shortcut blink in red
2017-10-17 02:35:33 +02:00
melex750
bf69b86233
Fixed shortcut not changing to normal state
2017-10-17 02:33:05 +02:00
tomangelo2
dab223e6ce
Clamp energy level to standard values for OrgaShooters
...
Fix issue #1009
2017-10-16 20:29:59 +02:00
tomangelo2
94cacdae96
Removed singletone from FontConfig
...
Also renamed class so it now matches better with class file name
2017-10-15 23:46:15 +02:00
tomangelo2
1e614d64d0
Removed unnecessary variable
2017-10-15 23:35:09 +02:00
tomangelo2
52d9330114
Replaced multiple methods with one
2017-10-15 23:31:06 +02:00
tomangelo2
dd9439aed2
Renamed font_file to font_config
2017-10-15 22:47:32 +02:00
tomangelo2
f40756bc46
Fix turn(1) doesn't draining energy
...
Fix using @Melex750 example, thanks!
Fix issue #136
2017-10-11 18:50:57 +02:00
tomangelo2
054d1c3e54
Changed in-engine fonts names
2017-10-11 17:10:04 +02:00
tomangelo2
cf46c2457a
Moved file font.ini to /fonts/ directory
...
Separated SatCom font from Colobot font
2017-10-11 17:02:09 +02:00
tomangelo2
250c934b9e
Added fonts configurability by a separate file
2017-10-09 00:36:31 +02:00
immibis
8b0ccf6667
Fix horizontal scrolling of background images.
2017-08-05 20:08:00 +12:00
immibis
2e8798b33d
Make planets stay in one place in the sky - at least in the X direction.
2017-08-05 20:08:00 +12:00
immibis
2751db3245
Add horizontal FoV to CEngine
2017-08-05 19:45:08 +12:00
DavivaD
ee35d35db3
Correct Small Mistake
2017-07-27 02:02:46 +02:00
DavivaD
959854ec59
'Make Thumper Great Again'
2017-07-26 23:05:53 +02:00
tomangelo2
0de347d430
Fixed goto() behaviour on 32-bit binaries
...
Closes issue #844
2017-07-26 14:54:04 +02:00
DavivaD
a4482f1a7c
Decrease radius of squashing items.
2017-07-24 23:20:21 +02:00
melex750
e3c44e956f
Add syntax highlighting for escape codes
2017-07-22 14:30:05 -04:00
melex750
c03dfc1284
Add escape codes for string literals
2017-07-22 14:29:05 -04:00
DavivaD
b5e0f9966f
Make Recycler Recycle small Building Ruins.
2017-07-21 20:37:18 +02:00
DavivaD
bef6e9eceb
Make Thumper Squash transportable/small objects.
2017-07-21 20:36:31 +02:00
melex750
86870167a6
Fix moving and resizing open/save dialog
...
* Fixed buffer overflow when resizing
* Stop hard drive thrashing when moving/resizing
2017-06-26 14:19:53 -04:00
melex750
2d2990ff91
Fix moving and resizing editor/debugger window
...
* Stop hard drive thrashing when moving/resizing
* Also fixed #691 .
2017-06-26 14:11:47 -04:00
DavivaD
a29a4f93ac
Damage Alert Implementation (2th Stage)
2017-06-20 23:35:33 +02:00
tomangelo2
75d9f8573b
Display warning if no quicksave slot is found
2017-06-11 23:29:50 +02:00
tomangelo2
d63ed865f4
Added QuickSave/QuickLoad feature #929
...
Also rearranged a bit speed control buttons to make some space for it
F5 - QuickSave
F6 - lower speed (current/2)
F7 - reset speed
F8 - higher speed (current*2)
F9 - QuickLoad
2017-06-11 17:50:21 +02:00
krzys-h
d860a08d21
Merge long first frame rendering fix from #898
...
Also did some changes to make sure the "F1 to open SatCom" appears immediately (not after 0.1s),
and that mission timer won't start ticking in the first simulation frame (mainly for code battle initial pause)
2017-06-04 13:10:50 +02:00
krzys-h
bb35585194
Fix object.factory() code type detection, closes #938
2017-06-03 21:43:10 +02:00
krzys-h
4faabf2185
Apply shadow mapping performance counter patch from #923
2017-06-03 21:11:18 +02:00
krzys-h
a95f736cbe
Fix delete(this.id), closes #925
2017-06-03 20:05:54 +02:00
krzys_h
bf94bd7130
Merge pull request #965 from melex750/dev
...
Improved search() and searchall()
2017-06-03 18:56:29 +02:00
Abigail
f4614658cf
Fix -Wundefined-var-template warning ( #963 )
...
This avoids specializing CSingleton<T>::m_instance for each type, and
instead just defines it once in the header. This is allowed by the
standard, multiple definitions are merged in the same way that inline
functions are.
2017-05-29 20:46:11 +02:00
melex750
15b8cf7f78
Update object variable when concatenating strings
2017-05-25 02:09:44 -04:00
melex750
30210d0de7
Add searchall() and improve search() function
2017-05-25 02:01:42 -04:00
krzys-h
02aa281d30
Remove unnecessary m_instance declarations
...
They don't do anything at all in gcc and clang, but cause compile errors in MSVC
see #955
2017-05-24 14:00:34 +02:00
krzys-h
28081bfd3e
Fix clang builds
...
see #955
2017-05-24 14:00:34 +02:00
krzys-h
1f477bbc86
Fix error in edit.cpp in 08d87fa975
2017-05-24 12:46:30 +02:00
krzys-h
7216d8d12e
Fix crash after exiting a code battle
2017-05-24 12:42:37 +02:00
krzys-h
08d87fa975
Make initial scoreboard values editable
2017-05-24 12:39:05 +02:00
krzys-h
f60108f367
Prevent enforcement of ObligatoryToken for level controller scripts
2017-05-24 10:50:43 +02:00
krzys-h
935b789d02
Fix alien animations after 5d4dfd8cb5
2017-05-24 10:45:31 +02:00
krzys-h
5d4dfd8cb5
Fix scoreboard points sometimes being added multiple times
2017-05-23 22:25:40 +02:00
krzys-h
d8b0bd4df8
Make TargetBots explode when they run into something
2017-05-23 22:02:00 +02:00
krzys-h
149d1f8156
Fix aliens not appearing on the minimap, closes #901
2017-05-23 20:51:37 +02:00
krzys-h
004106eb19
Don't limit types of objects visible on minimap with fixed image
2017-05-23 20:47:03 +02:00
krzys-h
648dfd75c4
Fix handling of particle 'father' objects when they are destroyed
2017-05-23 20:31:55 +02:00
krzys-h
904b7e580b
Prevent giving scoreboard points to team 0
2017-05-23 20:20:46 +02:00
krzys-h
2d7911f155
Fix delete() in CBot not destroying PowerCells properly
2017-05-23 20:19:47 +02:00
MatiRg
417301ff06
Fix rendering glasses in FPP camera, closes #775 ( #959 )
2017-05-23 18:57:41 +02:00
krzys-h
108551c199
Fix @tomangelo2's code style
...
see 47a8f70f0f
2017-05-22 11:11:44 +02:00
Abigail
11d950221b
Fix all compiler warnings and enable -Werror ( #955 )
...
This removes all compilation warnings on:
* g++ 4.7.4, 4.8.5, 4.9.4, 5.4.1, 6.3.0, 7.0.1-svn246759
* clang++ 3.9.1, 4.0.0, 5.0.0-svn303007
2017-05-22 11:10:35 +02:00
DavivaD
df12f87b47
Implement damage alarm ( #916 )
...
Implements part of #320
2017-05-22 11:01:36 +02:00
krzys_h
cd808ac59f
Merge pull request #920 from melex750/dev
...
Fix default arguments
2017-05-22 10:58:16 +02:00
MatiRg
a0e5cc25e1
Allow ctrl + backspace in the editor. ( #839 )
2017-05-22 10:57:30 +02:00
krzys-h
7b328fbfc3
Make UraniumOre not destroyable, closes #777
...
This was likely a mistake during object interface refactoring
2017-05-21 21:45:46 +02:00
tomangelo2
47a8f70f0f
Display warning if there is not enough energy to shoot
...
Fix issue #949
2017-05-20 20:41:30 +02:00
krzys-h
681d5203e5
Make code battle start button header translatable
2017-05-19 21:23:14 +02:00
krzys-h
c68f5e276f
Add live scoreboard display
2017-05-19 21:11:43 +02:00
krzys-h
b3ea687d32
Minor documentation fixes
2017-05-19 20:15:13 +02:00
krzys-h
8948da0612
Add Barricade objects
2017-05-19 15:33:44 +02:00
krzys-h
327eafddb7
Add order= parameter for ScoreboardEndTakeRule
2017-05-18 20:39:32 +02:00
krzys-h
6bebbb3f70
Fix sky rendering artifact
2017-05-18 19:03:19 +02:00
krzys-h
f6cc629054
Log correct terrain relief resolution
2017-05-18 18:32:22 +02:00
krzys-h
cf7c19ef62
Make teams and scoreboard translatable
2017-05-17 19:00:40 +02:00
krzys-h
880f31a7c6
Add basics of scoreboard implementation; better support for multiple teams
2017-05-17 18:22:58 +02:00
krzys-h
6cd72543c4
Fix amount of damage from OrgaShooters
...
I messed it up in previous commit, 0.002/2 is 0.001 not 0.0005 :P
2017-04-29 13:18:01 +02:00
krzys-h
fda58a6008
Change bullet collision logic to allow for collisions with non-damageable objects
...
For now, you have to add bulletWall=true to objects you want bullets to collide with.
It's ugly but will work for now. This is needed mostly for compatibility
with exercises which use barriers to block movement but not bullets.
I also made the collision checks run more often because otherwise the bullets
would sometimes miss the objects (but only visually)
2017-04-29 13:14:10 +02:00
melex750
f80db9e8fb
Fix using negative numbers in default arguments
...
Issue #919
2017-03-03 02:11:10 -05:00
melex750
b032dad578
Fix execution of default arguments
2017-03-03 01:09:09 -05:00
tomangelo2
588bf30b94
Fixed some functions doesn't returning 0 if no error
...
Fix issue #917
2017-03-02 23:01:55 +01:00
krzys-h
9eae1e151d
Fix Shooter target getting stuck on not selectable objects ( #900 )
2017-01-28 12:56:42 +01:00
krzys-h
7fadf7bad5
Fix aliens being selectable by default ( #900 )
...
Broken in 6a382830a9
This change also allows you to make selectable insects with selectable=1 in scene file
2017-01-28 12:53:28 +01:00
melex750
92a8c48953
Add syntax for parameters with default values
...
Also fixes #642
2017-01-24 15:19:03 -05:00
melex750
baba6081b3
Add checking for return statements in functions
...
issue #30
2017-01-24 14:41:22 -05:00
melex750
2ff8251a81
Fix game crashing with syntax errors
2017-01-24 13:47:00 -05:00
melex750
8e54f7ca9c
Fix memory leaks in CBOT engine
2017-01-16 21:16:59 +01:00
melex750
64bc1f1afb
Fix constructor/destructor and field syntax
2017-01-16 21:16:59 +01:00
melex750
8fc0151444
Fix increment and decrement syntax
2017-01-16 21:16:59 +01:00
piotrwalkusz1
d7fae300b9
Fix crash on class redefinition, closes #703 ( #890 )
2017-01-15 20:28:52 +01:00
Smok94
8a0c7279dc
Command history for cheat console, closes #316 (PR #869 )
...
Adds console command history. Browsable by up and down arrow keys.
2017-01-02 20:23:19 +01:00
piotrwalkusz1
6ec13017eb
Fix apperance camera position, closes #802 ( #880 )
2017-01-02 18:43:19 +01:00
Tomasz Kapuściński
9bdd83771e
Optimizations and changes in OpenGL 2.1 device.
...
* Limited number of lights to 4
* Only directional lights
* Per-pixel lighting
* Improved dynamic shadows a bit
2017-01-02 16:35:40 +01:00
krzys-h
7b3b257580
Fix code style
2017-01-02 14:54:38 +01:00
Tomasz Kapuściński
7bb3245092
Optimizations and changes in OpenGL 3.3 device.
...
* Limited number of lights to 4
* Only directional lights
* Per-pixel lighting
* Improved dynamic shadows a bit
* Optimized texture changes
2017-01-01 17:16:54 +01:00
krzys-h
46aa6fc907
Some CRobotMain cleanup
...
* improved documentation
* renamed cheat variables to include the word "cheat" to make it clearer what they do
* removed some useless members
2016-12-27 23:38:57 +01:00
krzys-h
6a382830a9
Allow selectinsect to select other objects with selectable=0
2016-12-27 22:20:58 +01:00
krzys-h
17511ddb6a
Fix some code style
2016-12-27 15:54:52 +01:00
krzys-h
f33ffaf18b
Fix mission end before astronaut death scene is finished ( #848 )
2016-12-27 15:32:38 +01:00
krzys-h
5722fdb163
Fix bug (?) related to lost cutscenes
...
This was here since the original game, probably unused but I fixed it anyway
2016-12-27 15:21:49 +01:00
krzys-h
8d52e27c2b
Add coordinates under cursor overlay and copy function ( #868 )
2016-12-27 14:58:41 +01:00
krzys-h
b6cda6cd4c
Add error when object is busy ( #871 )
2016-12-27 13:36:46 +01:00
krzys-h
e325efa447
Fix crash after precompiling a CBot class with errors ( #881 )
2016-12-27 13:23:41 +01:00
tomangelo2
5dc38f1526
Objects outside BuildType list cannot be build anymore
...
Fix issue #863
2016-12-05 14:16:11 +01:00
krzys-h
eb2a1857dc
Fix goto() with multiple objects at the exact same position ( #732 )
2016-12-04 16:07:41 +01:00
krzys-h
88c6818cfd
Fix code style issues
2016-11-26 13:48:12 +01:00
krzys-h
7190c8518e
Fix destructors not being called when program execution ended, closes #859
2016-11-11 23:07:22 +01:00
krzys-h
b49fbf0cd6
Another this==nullptr fix ( #828 )
2016-11-11 22:58:39 +01:00
krzys-h
48f703282e
Refactor CBotCallMethode -> CBotExternalCall
2016-11-11 21:58:25 +01:00
krzys-h
6b7233c6ae
Remove CBotLinkedList from CBotFunction
...
Fixup for 191151eb7b
No idea how I managed to forget that
2016-11-11 19:47:59 +01:00
krzys-h
35d60aaae5
Remove remaining occurences of "this == nullptr" ( #828 )
2016-11-11 19:45:57 +01:00
krzys-h
191151eb7b
Refactor CBotClass and CBotFunction list to std::list
2016-11-11 19:37:19 +01:00
krzys-h
266b34d578
Make CBotFunction implement CBotLinkedList
2016-11-11 18:16:12 +01:00
krzys-h
8764d28e9e
Remove remaining "this != nullptr" checks in CBOT, closes #828
2016-11-11 18:03:46 +01:00
krzys-h
3bac0aabd9
Fix buffer overrun when rendering goto() debug texture, closes #841
2016-11-11 17:26:37 +01:00
krzys-h
856ee9a0fe
Don't allow whitespace player names, closes #840
2016-11-11 17:13:32 +01:00
krzys-h
6e4764b97c
Fix GroundSpot blending, closes #846
2016-11-11 17:06:53 +01:00
krzys-h
1b074bd94d
Fix crash on loading saves with produce()d objects ( #765 )
...
Thanks @melex750!
2016-11-11 13:38:43 +01:00
Tomasz Kapuściński
e7c41ae9e6
Correction in changing wrap mode in SetState
2016-11-10 13:00:42 +01:00
Tomasz Kapuściński
9fe85e280a
Code simplification in CGL14Device
2016-11-10 12:34:30 +01:00
Unknown
3c71354b42
Fix MSVC2015 compilation error
2016-11-07 21:08:02 +01:00
Tomasz Kapuściński
5aa5d91ecb
Fix compilation errors in half.cpp
2016-11-04 18:34:49 +01:00
Tomasz Kapuściński
993d9e9ed6
Added rendering with generic vertex formats
2016-11-04 14:13:16 +01:00
Tomasz Kapuściński
ae3b2b8572
Added types and vertex format specification
2016-11-04 11:59:57 +01:00
Tomasz Kapuściński
c5b5435b4a
Added half-precision floating-point format implementation
2016-11-04 11:35:55 +01:00
krzys-h
bb9d1c8265
Remove "this == nullptr" checks in CBOT, fixes #828
2016-10-02 21:36:59 +02:00
krzys-h
a96835e35f
Change CBot file log messages
...
Open mode is logged now. Additionally fixed incorrect file path in log when deleting files.
2016-09-30 17:08:37 +02:00
MatiRg
d107605007
Add file append mode in CBot ( #838 )
2016-09-30 17:03:13 +02:00
krzys-h
73be03161f
Fix infinite pause when cloning program with errors, closes #837
2016-09-27 18:57:24 +02:00
krzys-h
3472ec6613
Revert CParticle::CheckChannel changes
...
I misinterpreted this as being a bug, while actually it seems to be an explicit CParticle design choice (maybe not the best one, but whatever). We DO need better docs for some old code like this :/
Fixes #806
This reverts commit 99a831a03b
.
2016-09-27 18:34:54 +02:00
MatiRg
dc415c3d2a
Remove character limit in CEdit ( #836 )
2016-09-25 19:13:04 +02:00
krzys-h
ca548e2902
Update CBotFieldExpr::ProtectionError docs
2016-09-24 17:04:47 +02:00
melex750
9ab7f7d140
Fix access to protected and private variables
2016-09-17 08:00:34 -04:00
melex750
3debfb9182
Fix finding in-class methods when searching by ID
2016-09-17 07:59:34 -04:00
melex750
4a14a44f3f
Add implicit cast and null for passing arguments
2016-09-17 07:58:39 -04:00
krzys_h
84c98546df
Merge pull request #819 from melex750/dev
...
Method chaining for constructor calls in CBOT
2016-09-09 19:37:37 +02:00
krzys_h
8dc03f40d5
Merge pull request #817 from CyborgMaster/radarall-equidistant-objects
...
radarall can return multiple objects with exactly the same distance
2016-09-09 19:17:40 +02:00
MrSimbax
514829de60
Normalize dir parameter when copying to clipboard
2016-08-20 13:22:53 +02:00
MrSimbax
92b1e544ec
Remove default lambda parameters
...
They cause compilation error on MSVC and should give errors, as it's explicitly stated in the C++11 standard: http://stackoverflow.com/questions/6281472/why-does-a-default-argument-for-a-lambda-argument-trigger-a-pedantic-gcc-warni
2016-08-18 10:02:54 +02:00
melex750
3146d4ef35
Add method chaining for class constructor calls
2016-08-14 16:56:17 -04:00
Jeremy Mickelson
859cec774a
Added comment explaining container choice
2016-08-13 12:18:54 -06:00
Jeremy Mickelson
88227a3647
Allow multiple objects with exactly the same distance to be returned by `radarall`
2016-08-13 12:13:41 -06:00
krzys-h
d411c5ebc0
Allow circular references from different classes ( #814 )
...
Conflicts:
test/unit/CBot/CBot_test.cpp
2016-08-09 21:10:07 +02:00
krzys-h
b9d4d57e33
Syntax sugar: Accessing members of returned objects ( #808 )
...
Conflicts:
src/CBot/CBotInstr/CBotInstrMethode.h
2016-08-09 20:28:37 +02:00
krzys_h
d83553ca14
Merge pull request #809 from melex750/dev
...
Fixes and unit tests for inheritance
2016-08-09 19:23:49 +02:00
krzys-h
0ecdee08cc
Merge branch 'dev-async-music-load' (PR #801 )
2016-08-09 19:20:46 +02:00
melex750
66218319dd
Add support for circular references
...
Issue #433
2016-08-09 11:59:07 -04:00
Jeremy Mickelson
6b8e240d26
Fix implicit downcast with variable initialization
2016-08-07 08:27:01 -04:00
melex750
a205eace38
Add missing license headers
2016-08-06 16:29:02 -04:00
melex750
e48188b429
Fix failed assert when literal null is returned
2016-08-06 04:56:57 -04:00
krzys-h
c03d8beb8b
Import documentation from old dev wiki
...
I also updated all outdated information I could find, please tell me if I missed something
Model format documentation needs an update
2016-08-05 17:04:16 +02:00
melex750
fad38cd0e9
Add accessing members to function calls
2016-08-04 03:16:59 -04:00
melex750
c9c02f5461
Fix assigning instance to pointer for inheritance
2016-08-04 01:06:37 -04:00
melex750
860cdb0aea
Fix calling multi-level inherited methods
2016-08-03 19:13:21 -04:00
melex750
d0a8a32a57
Fix RestoreMethode when calling inherited methods
2016-08-03 18:34:39 -04:00
melex750
397e312424
Fix RestoreState for subclass instance vars
2016-08-03 17:52:53 -04:00
melex750
48666c4604
Fix not calling destructors after save/reload
2016-08-03 17:42:10 -04:00
krzys-h
210b5c295d
Fix memory leak related to performance counters
...
This commit actually fixes two problems causing the leak:
* DestroyTimeStamp not being called in CProfiler (my stupid mistake in 5fea22ff03
)
* DestroyTimeStamp leaving null pointers in CSystemUtils::m_timeStamps (this was introduced by @piotrdz long ago when introducing smart pointers)
2016-07-24 22:51:41 +02:00
krzys-h
dbe7fd6ef0
Added performance counter for UI particles
2016-07-24 18:19:37 +02:00
krzys-h
716218aa37
Fixed compile error on Windows
2016-07-24 18:19:34 +02:00
krzys-h
ffd688e2d7
Do not render the shadow map when pause blur is active
2016-07-24 16:56:47 +02:00
krzys-h
fef050f6dd
Fixed loading apperance scene, closes #802
2016-07-24 16:44:27 +02:00
krzys-h
2c3e90b126
Added CBot performance counter
2016-07-24 16:36:13 +02:00
krzys-h
5fea22ff03
Moved performance counters to a separate class
2016-07-24 16:18:25 +02:00
krzys-h
81b7bcc5bc
Moved system modules from app/ to common/system/
2016-07-24 14:38:49 +02:00
krzys-h
19cc25f716
Fixed sound channels not being unmuted properly
2016-07-10 20:12:44 +02:00
krzys-h
29f0631a2c
Asynchronous sound/music loading
...
This improves the loading time a lot. Time from starting the app to opening game window decreased by almost 5 seconds (it's almost instant now). Mission loading times are significantly better too. As a bonus, the playmusic() CBot function doesn't hang the game if you don't preload the files with CacheAudio in scene file.
2016-07-10 14:56:34 +02:00
krzys-h
9e545d0d39
Fixed colobot-lint warnings
2016-07-09 20:39:18 +02:00
krzys-h
8a17bc901c
Added pause blur config setting, enabled by default
2016-07-09 12:13:51 +02:00
krzys-h
6f412df232
Fixed lockups when calling StartSuspend multiple times
2016-07-04 17:02:39 +02:00
krzys-h
fb3245977c
Added logging to CPauseManager
2016-07-04 17:01:48 +02:00
krzys-h
58815059ea
Added warnings about planned changes to EndMisisonTake ( #759 )
2016-07-04 16:30:22 +02:00
melex750
d0d0c4f197
Fix class not unlocked when program is stopped
...
#626
2016-06-24 17:29:32 -04:00
melex750
64157090e6
Fix crash when calling method on a null object
2016-06-24 17:18:11 -04:00
melex750
51665e8396
Fix "new" keyword syntax checking
2016-06-24 17:03:50 -04:00
melex750
66984a4bb3
Fix using compound-assignment with an array
...
...that was initialized in the definition
2016-06-24 17:00:41 -04:00
melex750
0d74b4f36b
Fix initializing an array using variables
...
Resolves a conflict between CBotListArray and CBotExprVar
2016-06-24 16:56:17 -04:00
krzys-h
3b9b9b322a
Changed mouse scaling (again)
2016-06-21 13:07:40 +02:00
krzys-h
0fbd2d107c
Allow using the CBot debugger during code battles
2016-06-21 13:06:55 +02:00
krzys-h
c304ecd0ca
Changed arrays to use {} when converted to string; added tests
2016-06-21 12:58:43 +02:00
krzys-h
5f7a8dbd5d
Fixed string values with spaces ( closes #791 )
2016-06-21 12:57:45 +02:00
krzys-h
8ad53ce327
Fixed pause blur in main menu
2016-06-19 22:18:03 +02:00
krzys-h
bd4362e26c
Fixed dynamic textures not being reloaded properly
2016-06-19 19:57:55 +02:00
Tomasz Kapuściński
a0b3f7a769
Fixed problem with pause blur after changing some graphic settings
2016-06-19 16:52:01 +02:00
krzys-h
125d1a32c7
Fixed pause blur blinking for one frame
...
issue #656
2016-06-19 12:23:57 +02:00
krzys-h
9d9131c3fb
Fixed pause blur with MSAA
...
issue #656
2016-06-19 11:45:59 +02:00
krzys-h
bf2e3cdfae
Merge pull request #783 from melex750/dev
...
[INFO] Conversion to string
2016-06-17 22:41:53 +02:00
krzys-h
7ce23fdf52
Do not rotate after changing autosave settings
...
See https://github.com/colobot/colobot/pull/789#discussion_r67570610
2016-06-17 22:39:45 +02:00
krzys-h
439a416a66
Merge pull request #789 from Erihel/dev-boost-filesystem-removal
...
Dev boost filesystem removal
2016-06-17 22:38:41 +02:00
krzys-h
9017e5a25b
Fixed links in CBot listings in SatCom
2016-06-17 21:13:16 +02:00
Krzysztof Dermont
32629a2f2a
Refactor autosave rotation.
...
In order to remove boost:filesystem from CResourceManager Move()
function has to be removed or rewrited. Since Move is only used in
autosave rotation it's simpler to change autosave rotation and remove
Move().
Now oldest autosaves (with lowest timestamp) will be removed in rotation.
2016-06-09 19:30:08 +02:00
Krzysztof Dermont
2168b57cac
Remove part of boost::filesystem usage.
2016-06-09 19:30:08 +02:00
melex750
37ab015c8d
Fix conversion to string with = operator
2016-05-29 06:55:28 -04:00
melex750
6db2832577
Fix conversion to string with + operator
2016-05-29 06:45:08 -04:00
melex750
0165e8f348
Fix and document TypeCompatible
2016-05-29 06:40:42 -04:00
krzys-h
b56cd11c98
Added C++ operator overloads to CBotVar
2016-05-29 00:06:34 +02:00
krzys-h
df111dbf98
Refactored CBotVar to templates
2016-05-28 23:28:12 +02:00
krzys-h
0e101debe0
Removed CAM_TYPE_INFO
2016-05-28 18:52:30 +02:00
krzys-h
646e5104f6
Some CCamera cleanup and docs
2016-05-28 18:44:38 +02:00
krzys-h
bef27c3b36
Removed unused parameter from CEngine::SetViewParams
2016-05-28 16:48:36 +02:00
krzys-h
d80fa387b9
Fixed some particle crashes after 99a831a03b
2016-05-28 16:16:48 +02:00
krzys-h
89b495c667
Cleaned up whitespace in translation strings
2016-05-28 16:03:02 +02:00
krzys-h
2dd7ba7e9b
Added camera keybindings ( #653 )
2016-05-28 15:41:01 +02:00
krzys-h
ebc2e6e26c
Added camera joystick bindings ( #653 )
2016-05-28 13:50:41 +02:00
krzys-h
942f746a21
Removed CAM_TYPE_DIALOG
2016-05-28 12:50:32 +02:00
krzys-h
aa159bc9b0
Don't scale mouse cursor with resolution
2016-05-28 00:43:14 +02:00
krzys-h
99a831a03b
Fixed CParticle::CheckChannel "errors"
...
Not really errors, but I fixed them anyway
2016-05-28 00:26:56 +02:00
krzys-h
5ab99429d4
Fixed FIX camera up/down movement
2016-05-28 00:00:08 +02:00
krzys-h
250047579f
Allow using custom paths for win/lost scenes
2016-05-27 23:37:36 +02:00
krzys-h
bd72086704
Unified all camera inputs
...
Until now each camera type had separate code for handling camera input, and some new features were missing in some of them.
The camera controls are as follows:
* RMB+mouse and numpad keys - horizontal/vertical rotation
* mouse wheel and +/- keys - zoom (in free camera - move eye up/down)
* CTRL or MMB + horizontal controls - pan left/right
* CTRL or MMB + zoom controls - move lookat up/down (free camera only)
2016-05-27 22:38:44 +02:00
melex750
6491ce0aa5
Fix passing "this" as an argument to a method
2016-05-24 10:30:20 -04:00
melex750
c19f97bc24
Fix RestoreState to assign IDs to instance vars
2016-05-24 10:09:44 -04:00
krzys-h
cdd719cc47
Made clipping distance settings apply immediately
2016-05-21 19:05:18 +02:00
krzys-h
59c106f7a7
Fixed pause blur image not updating correctly on resolution change
2016-05-21 19:03:53 +02:00
Tomasz Kapuściński
213fd6b203
Added blur effect when the game is paused (issue #656 )
...
Might be unstable, needs more testing. To enable, add PauseBlur=1 to [Experimental] section in colobot.ini
2016-05-21 14:27:35 +02:00
Tomasz Kapuściński
8922bb5e84
Renamed CGLDevice to CGL14Device
2016-05-11 14:50:18 +02:00
Tomasz Kapuściński
ebca89d920
Removed texture coordinate generation
...
This feature was only needed by GL14 device to implement shadow mapping and is not supported by shader-based devices. Shadow mapping has been rewritten, so this feature is no longer needed.
2016-05-11 13:47:08 +02:00
Mateusz Przybył
734e6e97c0
Group source files for IDE projects in CMake
...
Merge pull request #773 from MrSimbax/msvc-project-org-cmake
2016-05-02 12:14:18 +02:00
tomangelo2
9870cfe8a8
Clamp FogStart value to 0 if negative
...
Should fix issue #766
2016-05-02 01:27:07 +02:00
krzys-h
c00a7fd132
Do not zoom while scrolling lists, closes #769
2016-04-22 19:20:31 +02:00
melex750
e7942962d3
Fix checking parameters in CBotFunction
2016-04-19 10:36:06 -04:00
krzys-h
952a5423fd
Fixed non-power-of-2 images in SatCom ( closes #634 ); fixed not unloading textures on SatCom close
2016-04-10 13:53:34 +02:00
krzys-h
dd8a324f9b
Fixed crash when loading level with incorrect object type
2016-04-10 13:27:56 +02:00
krzys-h
d3f808f66d
Merge branch 'dev-savegame' into dev
2016-04-10 13:16:10 +02:00
krzys-h
4de9d25f04
Man, those compile errors...
2016-04-09 18:58:34 +02:00
krzys-h
32af7f45df
Fixed missing #includes
2016-04-09 18:52:15 +02:00
krzys-h
04d7c343ef
Removed misc.cpp / misc.h
2016-04-09 18:46:12 +02:00
krzys-h
139592bc00
Proper l10n for date/time
2016-04-09 18:23:57 +02:00
krzys-h
14e2910f83
Proper plural form translations for ObligatoryToken
2016-04-09 16:28:11 +02:00
krzys-h
bd9184bd92
Refactored part of CScript to std::string
2016-04-08 22:27:42 +02:00
krzys-h
7f38aca766
Improvements to ObligatoryToken/ProhibitedToken
...
Now you can specify exactly how many times given instruction can occur
2016-04-08 22:15:58 +02:00
krzys-h
3e4fbe93a6
This time really fixed compile errors
2016-04-08 21:22:00 +02:00
krzys-h
ed58e7e012
Fix compile warning
2016-04-08 21:16:03 +02:00
krzys-h
4c8da2c503
LevelController improvements; minor EndMissionTake cleanup
...
* using LevelController script in the level doesn't forcefully disable EndMissionTake and AudioChange anymore
* cleaned up some code related to processing EndMissionTake commands
2016-04-08 20:56:09 +02:00
krzys-h
ae4e875729
Do not store exact object part positions
...
This seems to be unnecessary, as the animation update code should set those on its own. Needs some more testing though.
2016-04-08 18:28:35 +02:00
Piotr Dziwinski
c6c01c332f
Fix displaying of text highlights ( #738 )
2016-04-08 21:24:14 +12:00
krzys_h
1941020993
Merge pull request #762 from melex750/dev
...
Fix initializing arrays in class definition
2016-04-07 21:27:19 +02:00
krzys-h
ac950978a9
Fixed AlienWorm collisions ( #740 )
2016-04-07 20:30:25 +02:00
krzys-h
0d12dedd90
Fixed failed assertion when non-damageable objects get fall damage ( closes #764 )
2016-04-07 20:21:35 +02:00
Piotr Dziwinski
71a77c77f6
Hack to finally fix #738
...
Text rendering is now done in window coordinates corresponding to window
pixels to avoid floating-point rounding errors that show up as rendering
artifacts
2016-04-06 23:08:50 +12:00
melex750
748f0034bd
Fix array in a class not working with sizeof()...
...
...when no assignment is made in the definition.
It should pass this unit test now:
TEST_F(CBotUT, DISABLED_ArraysInClasses)
2016-04-05 15:02:41 -04:00
melex750
61440392d2
Fix initializing static array in class definition
...
issue #32
2016-04-05 14:00:15 -04:00
krzys-h
c94ebb45e7
Moved pathman from common/ to app/
2016-04-04 22:28:08 +02:00
krzys-h
14721001e5
Merged PR #737 : Fix for various issues with initializing variables in CBOT
2016-04-03 21:08:52 +02:00
krzys-h
15702ec856
Fixed indentation
2016-04-03 20:29:55 +02:00
krzys-h
6216daedb3
Merge part of PR #756
2016-04-03 20:17:23 +02:00
KarolTrzeszczkowski
1960b373f1
Solves #700
...
It turns out, that tower is not over powered in code battle mode. It never hits flying enemy robot.
2016-04-03 13:31:08 +02:00
krzys-h
c0780f938e
One more code style fix
2016-04-03 13:19:51 +02:00
krzys-h
98dd9f90c8
Fixed code style warnings
2016-04-03 13:06:55 +02:00
Piotr Dziwinski
72f966b118
Fix for #738
...
Add one-pixel boundary and fix texture coordinates for font characters
This should finally fix the issue of pixelated text
2016-04-03 21:40:33 +12:00
krzys-h
02633e32c3
Merge branch 'master' into dev
2016-04-02 23:55:32 +02:00
krzys-h
37d72351be
Fixed log file creation crash ( #755 )
2016-04-02 23:53:07 +02:00
Smok94
6afdb7b6c8
First person camera unlocked for Me and Tech
...
*unlocked camaera button for Me and Tech
*unlocked first ferson view for Me and Tech
*Me and Tech have no "camera view" effect like robots in first person
mode
#156
2016-04-02 15:56:27 +02:00
Smok94
831276f378
Appearance customization face butons fix
...
*face buttons 2 and 4 swaped.
*default hair colors now fit to buttons look
*changing face changes hair color do default
Fixes two first issues mentioned in the #724
2016-04-02 13:13:42 +02:00
krzys-h
39b364fa77
Fixed compilation with disabled sound support, closes #748
2016-03-30 22:22:22 +02:00
Didier Raboud
a06035ecb8
Fix occured/occurred spelling error
2016-03-30 13:40:26 +02:00
Krzysztof Dermont
8ccad5b954
Deactive pause before jumping to next visit
...
When pause was active setting new pause resulted in strange behavior.
This should fix issue #736 .
2016-03-29 22:32:44 +02:00
Krzysztof Dermont
2ea453f484
Change SatCom button size in main menu
...
Change button size as proposed in issue #722
2016-03-29 21:36:33 +02:00
krzys-h
64fef98bd7
Merge branch 'dev-0.1.8' into dev
2016-03-29 16:16:20 +02:00
Tomasz Kapuściński
df4e5fa309
Fix for error spam in console when running on GL14 device
2016-03-29 15:05:32 +02:00
Tomasz Kapuściński
32d1994c98
Added VSync setting and corrected default framebuffer MSAA setting
2016-03-29 13:38:53 +02:00
krzys-h
427bbfa630
Changed CParticle::CheckChannel log message
2016-03-28 23:04:24 +02:00
krzys-h
e24d77bde8
goto() bitmap debugger
2016-03-28 21:42:25 +02:00
krzys-h
d38ddcbc41
goto() path debugger
2016-03-28 20:25:07 +02:00
krzys-h
e4f9360e63
Resources debug mode
2016-03-28 17:58:31 +02:00
krzys-h
4af02c86f8
Debug menu
2016-03-28 17:58:31 +02:00
krzys-h
45c93f58ec
Fixed Houston lights when object is rotated
2016-03-27 18:54:56 +02:00
krzys-h
7fe65067ee
Fixed exit after single mission mode
2016-03-27 13:46:48 +02:00
krzys-h
d2ac1afcf0
Changed reference colors using when recoloring textures to constants
2016-03-27 13:34:26 +02:00
krzys-h
adf20f58d4
Removed unused members of CNullDevice
2016-03-26 19:50:53 +01:00
krzys-h
5de577400b
Refactor CRobotMain::ExecuteCmd() to std::string
2016-03-26 19:06:07 +01:00
krzys-h
6585ee9ae8
Refactor some references to CRobotMain from CEngine
2016-03-26 18:55:39 +01:00
krzys-h
640c0297ef
Replaced CConfigFile::GetInstancePointer() with GetConfigFile()
2016-03-26 18:34:26 +01:00
krzys-h
16c1f34a07
Removed unnecessary LoadAllTextures call
2016-03-25 17:14:20 +01:00
krzys-h
17bcbddef1
Destroy white texture in GL14 device on exit
2016-03-25 17:10:21 +01:00
krzys-h
d812db19f8
Fixed ground spots not working after changing texture params; use UpdateTexture instead of destroy and recreate
2016-03-25 17:06:01 +01:00
krzys-h
bfdce26721
Fixed issues with CBotDebug::DumpCompiledProgram on certain compilers
...
See https://colobot.info/forum/showthread.php?tid=721
2016-03-25 16:05:13 +01:00
krzys-h
c831cd8637
Updated Polish translations
2016-03-25 11:31:04 +01:00
Piotr Dziwinski
4e331f1f54
Possible workaround for #738
...
Align text rendering to character, not tile size
2016-03-25 15:50:13 +13:00
krzys-h
b84e24d662
Fixed VBOs never being used even if available
2016-03-24 18:45:51 +01:00
Tomasz Kapuściński
a84b5c28b7
Optimizations of primitive rendering in OpenGL 3.3 device
2016-03-22 15:16:08 +01:00
Tomasz Kapuściński
d3ef04428b
Added DeviceCapabilities
2016-03-22 14:27:00 +01:00
Piotr Dziwinski
926f7cf115
Possible fix for #738
...
Explicitly set byte alignment in pixel transfer operations
2016-03-22 23:31:08 +13:00
krzys-h
08f3a03547
Fixed choppy part rotation animations, closes #742
...
While most visible on the astronaut model, this fix actually applies to all objects
2016-03-21 20:52:21 +01:00
melex750
02133d0bd4
Fix method overloading
2016-03-21 07:56:52 -04:00
melex750
8b7410f803
Fix class.arrays using size of one before comma
2016-03-21 06:11:55 -04:00
melex750
6be1f56288
Add error code no expression, remove some bad code
2016-03-20 20:55:22 -04:00
Tomasz Kapuściński
b31353cf75
Optimized crash sphere rendering
2016-03-20 19:17:15 +01:00
melex750
5b3da83715
Fix inline declaration of an array of string
2016-03-20 13:27:02 -04:00
melex750
707ef97626
Fix syntax+type checking, base types+CBotDefArray
2016-03-20 07:54:41 -04:00
melex750
accfc93573
Add syntax and type checking for class member vars
2016-03-20 07:50:42 -04:00
melex750
4a29e8406d
Fix syntax and type checking for CBotListArray
2016-03-20 07:48:20 -04:00
Piotr Dziwinski
720705bd6b
Some colobot-lint fixes
2016-03-19 12:33:54 +13:00
Piotr Dziwinski
8baccb08a7
Optimize use of textures in text rendering, closes #215
2016-03-19 12:00:56 +13:00
Piotr Dziwinski
4b770adf46
API for updating texture data
2016-03-19 12:00:50 +13:00
Piotr Dziwinski
15c9cbd228
Debug mode for displaying crash spheres, closes #400
2016-03-19 11:54:58 +13:00
krzys-h
effd349449
Fixed cutscene camera animation, closes #731
2016-03-15 21:09:21 +01:00
krzys-h
6e89d097e8
Cleaned up (now unnecessary) .c_str() converstions to CList::SetItemName
2016-03-15 20:47:06 +01:00
krzys-h
bce99308c6
Fixed compilation error
2016-03-15 20:42:06 +01:00
krzys-h
fef8a8e355
Fixes to variable list in CBot debugger
...
* fixed stack overflow with circular references (closes #434 )
* fixed displaying boolean variables
* fixed buffer overflows with entries longer than 100 characters
* removed hard-limit to 100 entries with at most 100 characters in CList (this also allows you to have more than 100 programs in a robot, up to 999)
2016-03-15 20:39:31 +01:00
krzys-h
4479a196f9
Fix colobot-lint warnings
2016-03-15 17:39:00 +01:00
Tomasz Kapuściński
4c6f8239fa
Renamed and moved GL33 shader files to separate directory
2016-03-14 21:44:25 +01:00
Tomasz Kapuściński
cec942b4fd
Renamed and moved GL21 shader files to separate directory
2016-03-14 21:24:27 +01:00
Tomasz Kapuściński
3eadb0c6f7
Added experimental MSAA for default framebuffer
...
To enable, add MSAA=4 to [Experimental] in colobot.ini and disable standard MSAA
2016-03-14 20:14:16 +01:00
Tomasz Kapuściński
2774fcd8a2
Small changes in the GL21 shader
2016-03-14 20:02:31 +01:00
Tomasz Kapuściński
169aa63822
Potential fix for #726
2016-03-14 19:23:21 +01:00
krzys-h
967aa22330
Allow assigning to array in initialization from function ( #624 , #728 )
2016-03-13 20:27:10 +01:00
krzys-h
4d99a62d37
Fixed crash with array initialization syntax going out of range ( #698 )
2016-03-13 19:26:11 +01:00
krzys-h
cbdda57288
Merge branch 'dev-right-click-camera' into dev
2016-03-13 14:52:17 +01:00
krzys-h
438bc477d1
Removed low CPU mode
2016-03-13 14:52:07 +01:00
Tomasz Kapuściński
8deeddffe0
Corrected OpenGL 2.1 engine's error spam and added experimental terrain shadowing
2016-03-10 10:50:54 +01:00
krzys-h
9ceaa0055d
Updated quality shadows option
2016-03-07 18:49:24 +01:00
Tomasz Kapuściński
e6a2fc9671
Rewritten shadow mapping implementation
2016-03-07 18:33:19 +01:00
MrSimbax
9679546988
Fix crash on pasting from clipboard
...
I don't know why it didn't happen for anyone else, but according to https://wiki.libsdl.org/SDL_GetClipboardText : "Use this function to get UTF-8 text from the clipboard, which must be freed with SDL_free().". MSVC detected some heap corruption because of free(text);
2016-03-06 23:21:04 +01:00
Tomasz Kapuściński
9effa308ce
Small change in enabling/disabling shadow mapping
2016-03-06 20:25:50 +01:00
Tomasz Kapuściński
d3ccdebd9f
Added names to graphics devices
2016-03-06 19:32:37 +01:00
krzys-h
f67d76fed4
Merge branch 'dev' into dev-right-click-camera
2016-03-05 21:09:00 +01:00
krzys-h
4e50f36214
Merge branch 'dev' into dev-right-click-camera
2016-03-02 20:00:57 +01:00
Tomasz Kapuściński
5fa3ed63b1
Compilation fix
2016-02-29 16:51:18 +01:00
Tomasz Kapuściński
78e877d9a8
Changes in framebuffer creation, framebuffer error detection and small other graphical things
2016-02-29 16:42:01 +01:00
Tomasz Kapuściński
0bb5f96d7a
Changed depth of shadow map texture to 32
2016-02-28 23:17:25 +01:00
krzys-h
b97070bbad
stupid whitespace
2016-02-28 20:57:39 +01:00
krzys-h
282cd65a2d
Fix reloading changed ground spot textures ( closes #404 )
2016-02-28 20:22:05 +01:00
krzys-h
643c40e778
Revert "Get rid of "blacklisting shadowXX.png" logs"
...
This disabled loading of those textures completly
This reverts commit 60f0a7b45c
.
#BlamePiotrdzAgain
2016-02-28 20:17:35 +01:00
Tomasz Kapuściński
14d6ee74a3
Removed dirt from water surface
2016-02-27 15:29:41 +01:00
Tomasz Kapuściński
d39604cb0e
Small change in context profile selection and more info about graphics devices in help switch
2016-02-27 15:25:23 +01:00
krzys-h
9c32f705b6
FIXED ALL GOLD EDITION LIGHTING PROBLEMS!! Yay!
2016-02-21 15:35:52 +01:00
krzys-h
dba944740f
Removed unused members of COldObject
2016-02-21 15:16:30 +01:00
krzys-h
63c7b83d82
Removed unused object effect lights
2016-02-21 14:51:09 +01:00
Mateusz Przybył
7b286d77b5
Fix "std::max" errors in MSVC
2016-02-21 14:29:09 +01:00
Cezary Parkowski
5542b7deb7
Another fixes to sound samples in-code documentation
2016-02-19 17:43:55 +01:00
krzys-h
3de6794835
Allow both right and middle mouse button for camera movement
2016-02-19 17:27:55 +01:00
krzys-h
700f3ad448
Edge camera speed fix
2016-02-19 17:22:20 +01:00
krzys-h
b15666f48e
Restored old camera scroll as a config option
2016-02-19 17:14:08 +01:00
krzys-h
1efa4b132c
Fixed mouse invert settings; removed camera scroll setting
2016-02-19 17:14:08 +01:00
krzys-h
47d39e5b22
Right click camera; minor CCamera cleanups
2016-02-19 17:14:08 +01:00
krzys-h
d9ccd6edf3
Camera smoothness adjustment
2016-02-19 17:14:08 +01:00
krzys-h
f3820bc81a
Fixed using SOUND_CLICK instead of SOUND_NONE, some sound documentation fixes
2016-02-19 17:12:27 +01:00
Cezary Parkowski
42db13ee9e
Updated sound samples doCOMMENTation
2016-02-19 16:33:22 +01:00
Tomasz Kapuściński
739f90e38e
Reverted changes to OpenGL version detection
2016-02-18 20:51:02 +01:00
krzys-h
0256b1aa39
Add logging in font loading
2016-02-18 18:07:29 +01:00
krzys-h
1b21c387bb
Fixed colobot-lint warnings
2016-02-18 12:20:40 +01:00
Tomasz Kapuściński
0ad53cc0d8
Fix compilation error
2016-02-18 01:36:37 +01:00
Tomasz Kapuściński
0eaf3a9ac4
Added rendering modes and shaders to OpenGL 3.3 engine and fixed problem with detecting extensions in core profile
2016-02-18 00:57:37 +01:00
Tomasz Kapuściński
8414ae794d
Corrected a mistake in -glprofile argument parsing
2016-02-17 23:04:34 +01:00
krzys-h
5c9bdde587
Fixed lag on saving programs
2016-02-16 12:54:08 +01:00
krzys-h
999b2b85a4
Prevent possible crashes related to not releasing pause
2016-02-16 12:26:52 +01:00
krzys-h
a583b5ed1d
Fixed another crash with focus pause
2016-02-16 12:26:52 +01:00
Tomasz Kapuściński
cc973dab6f
Added settings and command line switches to request OpenGL context version and profile
2016-02-15 23:08:56 +01:00
Tomasz Kapuściński
0154af39aa
Corrected compilation problem (GL_MAX_FRAMEBUFFER_SAMPLES)
2016-02-15 20:59:09 +01:00
Tomasz Kapuściński
517d6f069a
Reimplemented drawing primitives in OpenGL 3.3 engine
2016-02-15 20:31:32 +01:00
Tomasz Kapuściński
79c21f6676
Moved LightLocations to outside of UniformLocations
2016-02-15 20:05:25 +01:00
krzys-h
2b94de44a8
Incresed editor double click time, closes #688
2016-02-15 19:08:09 +01:00
krzys-h
831eca921b
Fixed possible crash with background pause
2016-02-15 19:05:32 +01:00
krzys-h
84e0220ea6
Fix code copy start range, closes #720
2016-02-14 19:07:16 +01:00
krzys-h
5e19f598b9
Fix newline at end of file...
2016-02-13 21:37:31 +01:00
krzys-h
a3477edc8e
Pause game when in background, closes #609
2016-02-13 21:35:01 +01:00
krzys-h
c93fa12552
Fixed TitaniumOre and UraniumOre not being destroyable, closes #635
2016-02-13 21:15:15 +01:00
krzys-h
9b5d9ed893
Fixed some manual control being allowed in code battles, closes #644
2016-02-13 21:05:07 +01:00
krzys-h
8ce5c3ab4c
Fixed level scale unit not being reset, closes #666
2016-02-13 20:46:03 +01:00
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
254891d8f1
Save log to file, closes #696
2016-02-13 20:32:26 +01:00
krzys-h
6dc7d892b7
Fix indentation on copying code, closes #699
2016-02-13 20:14:34 +01:00
krzys-h
463992b2c1
Fixed ExchangePost info being loaded twice ( closes #671 )
2016-02-13 19:54:56 +01:00
krzys-h
8fb13816bf
One more code style fix
2016-02-13 14:15:11 +01:00
krzys-h
977607a934
Updated license headers
2016-02-13 14:11:30 +01:00
krzys-h
55412842df
Fixed some code style warnings
2016-02-13 13:46:56 +01:00
Tomasz Kapuściński
6b7e6cbc75
Added rendering modes and implemented additional OpenGL 2.1 shaders
2016-02-13 03:54:49 +01:00
Tomasz Kapuściński
bf8916b9eb
Changes in detection of graphics hardware capabilities
2016-02-12 16:14:29 +01:00
Krzysztof Dermont
c780148b77
Fix crash related to TTF and PHYSFS
...
TTF fonts will be loaded to memory instead of file pointers
Added new class CSDLMemoryWrapper that loads data from PHYSFS into memory block
and closes file after. This closes issues #519 , #708 and #619
2016-02-11 16:12:16 +01:00
Tomasz Kapuściński
b6faadca03
Rewritten OpenGL 2.1 engine's two-sided lighting
2016-02-11 15:04:07 +01:00
Tomasz Kapuściński
32b480b226
Rewritten lighting in OpenGL 2.1 engine
2016-02-10 23:38:49 +01:00
Tomasz Kapuściński
898001e065
Changed CGL33Device requirement to OpenGL 3.2
2016-02-10 22:50:40 +01:00
Tomasz Kapuściński
447b466d6e
Optimizations in graphics engines
2016-02-10 21:40:41 +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
Krzysztof Dermont
a611ef3d50
Fix issue #711
...
Update text input handling based on focus event
2016-02-10 17:03:37 +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
Tomasz Kapuściński
a924cf6a75
Fix for fog distance
2016-01-31 00:38:24 +01:00
Tomasz Kapuściński
15c5e69199
Fix for visibility distance setting
2016-01-30 23:58:26 +01:00
Tomasz Kapuściński
12067c1b9f
Optimized light updating in CGLDevice
2016-01-30 18:51:13 +01:00
krzys-h
f6db624d00
Fix occasional segfault in drop zone after object destruction
2016-01-30 18:01:38 +01:00
krzys-h
6bdebcf8e4
Fix delete() CBot command
2016-01-30 17:42:35 +01:00
Tomasz Kapuściński
9db943b820
Optimized matrix operations in CGLDevice
2016-01-30 17:41:11 +01:00
krzys-h
9749419b87
Fixed LevelController
2016-01-30 17:24:47 +01:00
krzys-h
e0fcaf3a64
Disable logging to file
...
This causes the log to not be displayed in console, and the commit that was supposed to fix that was reverted because it fails to compile on our build server for some reason
2016-01-30 16:51:12 +01:00
Tomasz Kapuściński
05e19f47c3
Corrected MSAA support detection
2016-01-29 12:02:36 +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
76c43cddb2
Rename CSoundInterface::AddMusicFiles to CacheCommonMusic
2016-01-24 21:31:45 +01:00
krzys-h
5f01153c5f
Fixed joystick switch crash; small bugfix to joystick UI
2016-01-24 20:48:07 +01:00
krzys-h
7a521fbc90
Joystick configuration, closes #499
...
Not yet tested as I don't have a joystick currently with me, but should work fine
2016-01-24 17:36:25 +01:00
krzys-h
40352be5cc
Add language switcher to the settings UI, closes #506
2016-01-24 16:03:24 +01:00
krzys-h
6d8a5bab31
Removed system mouse option
...
Not really needed, as it is an SDL cursor not system cursor, which is no better than ours
2016-01-24 15:24:59 +01:00
krzys-h
b96305060b
Fix colobot-lint warnings
2016-01-23 21:59:02 +01:00
krzys-h
84521ef08a
Fixed CBotClass::FreeLock crash on some compilers
2016-01-23 21:33:58 +01:00
krzys-h
9bece23ede
Fixed clang build
2016-01-23 21:24:42 +01:00
krzys-h
9ff978155c
Fix crash with CBot string functions out of range ( closes #704 )
2016-01-23 21:07:19 +01:00
krzys-h
048534e89d
Fixed some errors reported by colobot-lint
2016-01-23 20:58:03 +01:00
krzys-h
344cda4ae6
Add missing override keywords
2016-01-23 20:49:01 +01:00
Piotr Dziwinski
2af89ab378
Fix libc++ build
2016-01-23 20:30:43 +00:00
krzys-h
089c1ff00c
Fixed crash in CBotStack::BreakReturn
2016-01-15 19:59:03 +01:00
krzys-h
04e9e8768d
Removed unused CRobotMain members
2016-01-15 16:55:56 +01:00
krzys-h
70555d984c
Small CBotTwoOpExpr cleanup
2016-01-05 13:04:15 +01:00
krzys-h
d63773d89d
Refactored EOX
2015-12-31 18:57:11 +01:00
krzys-h
a70381e1c8
Refactored CBotVarClass instance list to std::set
2015-12-31 16:54:13 +01:00
krzys-h
dcc29442bd
Refactor public classes list to std::set
2015-12-31 16:30:54 +01:00
krzys-h
48ab72d056
CBotClass::Lock() refactoring
2015-12-31 16:11:49 +01:00
krzys-h
2245863fcd
Some more random refactoring in CBot
2015-12-31 16:11:35 +01:00
krzys-h
fa92605225
Renamed some CBotInstr classes
2015-12-31 14:44:19 +01:00
krzys-h
10b201b9e6
Description of CBot instructions
2015-12-30 19:13:32 +01:00
krzys-h
e3c53f9912
CBot compiled instruction graphs; some code cleanup
2015-12-27 16:51:57 +01:00
krzys-h
3b4ccc3535
Improvements to auto-indent ( #698 )
2015-12-26 20:16:47 +01:00
krzys-h
500bd1753f
Changed array initialization to use {...} ( #698 )
2015-12-26 20:05:00 +01:00
krzys-h
ef91fb8e9d
Fixed commandline interpreter
2015-12-26 14:37:36 +01:00
krzys-h
07a4d6a16b
CBot namespace
2015-12-26 14:29:10 +01:00
krzys-h
6b959a5606
Mostly finished CBotStack docs
2015-12-25 22:03:23 +01:00
krzys-h
9b3b701785
More CBotStack docs
2015-12-25 20:47:30 +01:00
krzys-h
c72cfa234b
Started docs of CBotStack; random refactorings
2015-12-25 19:48:31 +01:00
krzys-h
40b7d986aa
CBotVar::GetTypeMode enum
2015-12-25 19:16:54 +01:00
krzys-h
0807b75d4b
Fixed object:: with other types ( #207 )
2015-12-25 15:13:52 +01:00
krzys-h
5443006979
Refactor public function list
2015-12-24 15:07:40 +01:00
krzys-h
921c266311
Some random refactoring
2015-12-24 14:52:17 +01:00
krzys-h
ff081aff49
Made CBotExternalCallList combatible with class calls
2015-12-24 12:57:37 +01:00
krzys-h
ae544c71ae
Made CBotExternalCallList not static
2015-12-24 12:36:09 +01:00
krzys-h
8e01a208c1
More extensible external call interface
2015-12-24 11:57:34 +01:00
krzys-h
3170395576
CBotCall refactoring
2015-12-24 00:41:44 +01:00
Tomasz Kapuściński
00221c9a3f
Optimized DrawPrimitives() in CGL33Device
2015-12-24 00:21:57 +01:00
Tomasz Kapuściński
d944a55905
Optimized DrawPrimitives() in CGL21Device
2015-12-24 00:06:58 +01:00
Tomasz Kapuściński
f2a295348c
Optimized DrawPrimitives() in CGLDevice
2015-12-23 23:49:00 +01:00
krzys-h
3008e18fc6
Extracted most of linked list logic into a template class
2015-12-23 23:34:11 +01:00
Tomasz Kapuściński
d82b5ef746
Added DrawPrimitives() for drawing multiple primitives (not optimized for now)
2015-12-23 23:23:10 +01:00
krzys-h
8437a9bdd2
CBot testing framework; fixed a few bugs
2015-12-23 20:39:56 +01:00
krzys-h
d577e7f41b
Tests for CBotToken
2015-12-23 18:44:14 +01:00
krzys-h
30fea5893b
Fixed crash from previous commit (oops again)
2015-12-23 17:50:10 +01:00
krzys-h
8fa5b208c2
Compile fix after previous commit; fix MSVC errors; added missing license headers
2015-12-23 17:37:26 +01:00
krzys-h
6482001b9b
CBotToken docs
2015-12-23 17:28:21 +01:00
krzys-h
6ef14617a0
More random CBotToken refactoring, removed CBotToken::Delete
2015-12-23 16:46:41 +01:00
krzys-h
fbdc071659
Some random CBotProgram and CBotToken refactoring
2015-12-23 16:11:03 +01:00
krzys-h
9b4a6e0131
TokenType enum
2015-12-23 14:05:29 +01:00
krzys-h
c9e0249008
Better CBot class destructor parsing ( #257 )
...
The previous one broke the NOT (~) operation parsing
This reverts commit 7c8a31c074
.
2015-12-23 13:04:46 +01:00
krzys-h
45a433525f
CBotClass usage examples
2015-12-22 16:32:51 +01:00
krzys-h
214e95c0b9
Fixed ** CBot operator
2015-12-22 16:06:55 +01:00
krzys-h
33ac246297
Documentation for CBotVar and all subclasses
2015-12-22 15:59:57 +01:00
krzys-h
2519825104
CBotVar::ProtectionLevel enum
2015-12-21 23:07:40 +01:00
krzys-h
c8498740f2
Minor changes to CBotProgram docs
2015-12-21 21:46:50 +01:00
krzys-h
eedf8dacea
Documentation for CBotProgram; some CBotError refactoring
2015-12-21 21:35:20 +01:00
krzys-h
6fee1ee12b
Docs for CBotTypResult.h and CBotEnums.h
2015-12-21 17:54:55 +01:00
krzys-h
76c04e10d5
Removed some unused CBot code
2015-12-21 16:46:44 +01:00
krzys-h
73f8bd5490
Made CBot errors an enum
2015-12-20 19:16:01 +01:00
krzys-h
5db1254dd8
Unified CBot error naming
2015-12-20 19:01:03 +01:00
krzys-h
51644369cb
Moved standard math and file functions into CBot library
2015-12-20 18:36:20 +01:00
Tomasz Kapuściński
22e963e2c4
Added information about graphics card to error message
2015-12-20 17:34:55 +01:00
krzys-h
9ec61d93e5
Refactored CBotString and const char* to std::string in CBot engine
...
A lot of changes, so it needs lots of testing
2015-12-20 16:19:10 +01:00
krzys-h
87a34ba1ff
Refactor CBotString::LoadString
2015-12-20 15:06:35 +01:00
krzys-h
3eeab0f9b7
Removed CBotStringArray
2015-12-20 14:49:30 +01:00
krzys-h
6832c91496
Fixed #695
2015-12-20 14:28:38 +01:00
krzys-h
5e23426b53
Refactored CBotString to use std::string and CBotStringArray to use std::vector
2015-12-20 14:24:49 +01:00
krzys-h
52a18de5c0
Fixed failed assertion when damaging LRV or Scribbler, closes #665
2015-12-19 22:19:13 +01:00
krzys-h
2e17712b5d
Added official build info in crash screen
2015-12-19 22:10:15 +01:00
krzys-h
e20f5f6983
Allow on-crash save during in-simulation config, closes #685
2015-12-19 22:06:16 +01:00
krzys-h
1dd230aaaf
Fixed incombatibility with old save files, closes #686
2015-12-19 22:02:24 +01:00
krzys-h
964d3574fd
Fixed treating 'bool' as 'int' in CBot engine
...
Appears to fix #199 - further testing required
2015-12-19 21:20:41 +01:00
krzys-h
95eee3a340
Merge pull request #690 from Grunaka/dev
...
Clean CBot Interface
2015-12-19 14:14:41 +01:00
Tomasz Kapuściński
aa2e14219e
Added warnings and error messages to graphics devices regarding unsupported OpenGL version
2015-12-18 21:04:16 +01:00
Grunaka
30c3d03141
Remove header files from to the list of .cpp files in CBot CMakeLists.txt.
2015-12-06 16:30:13 +01:00
Grunaka
f45d657ab0
Add comments delete by commit 1a6b5ded64
.
2015-12-06 15:42:09 +01:00
Grunaka
aa3f8c0cd1
Add missing include in CBot.h.
2015-12-06 15:37:18 +01:00
Grunaka
0f491ce433
Add commments in CBot.h
2015-12-06 15:05:22 +01:00
Grunaka
f9ab37fd14
Add comment deleted by commit 573e1152e3
.
2015-12-06 14:49:27 +01:00
Grunaka
17704c4d54
Delete resource.h.
2015-12-06 14:46:38 +01:00
Grunaka
2048ecb148
Delete CBot.cpp.
2015-12-06 14:45:31 +01:00
Grunaka
de5a57f793
Change CBot default include directory. Make all include directive absolute.
2015-12-01 23:25:36 +01:00
Grunaka
fa9dc0dace
Start cleaning of files CBotFileUtils.h and CBotFileUtils.cpp. Pass CBotTypResult parameter as reference.
2015-12-01 23:25:36 +01:00
Grunaka
5c7a665639
Add CBot.h, CBotEnums.h and CBotDefines.h in CMakeLists.txt.
2015-12-01 23:25:36 +01:00
Grunaka
4a9afdc525
Move enum from resource.h to CBotEnums.h. Delete file resource.h.
2015-12-01 23:25:36 +01:00
Grunaka
922082b360
Move define from resource.h to CBotDefines.h.
2015-12-01 23:25:36 +01:00
Grunaka
ece0666954
Create new file CBot.h. Included only useful interfaces.
2015-12-01 23:25:36 +01:00
Grunaka
575ff47c82
Cleaning the CBot.h file.
2015-12-01 23:25:36 +01:00
Grunaka
cedaaad459
Deleted file CBot.cpp.
2015-12-01 23:25:36 +01:00
Grunaka
b28e2aec01
Moving some define from CBot.h to CBotDefines.h.
2015-12-01 23:25:36 +01:00
Grunaka
751999064b
Moving global files function from CBotProgram.cpp to CBotFileUtils.cpp.
2015-12-01 23:25:36 +01:00
Grunaka
889c0fbe8e
Split file StringFunctions.cpp into two files StringFunctions.h and StringFunctions.cpp.
2015-12-01 23:25:36 +01:00
Grunaka
1a6b5ded64
Delete CBotDll.h
2015-12-01 23:25:36 +01:00
Grunaka
2f7932ff69
Moving defines from CBotDll.h to CBotDefines.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
7b200a0922
Moving global CompileParams, TypeCompatible and TypesCompatibles from CBot.cpp to CBotInstrUtils.cpp.
2015-12-01 23:25:36 +01:00
Grunaka
51f0675e41
Moving macro MAX from CBot.h to CBotTwoOpExpr.cpp.
2015-12-01 23:25:36 +01:00
Grunaka
3b0561056a
Moving CBotTypResult class in its own header and source files.
2015-12-01 23:25:36 +01:00
Grunaka
942d7195e4
Moving CBotString class in its own header and source files.
2015-12-01 23:25:36 +01:00
Grunaka
67dff4ef65
Moving CBotStringArray class in its own header and source files.
2015-12-01 23:25:36 +01:00
Grunaka
ef4e2f08a3
Moving CBotInstr class in its own header and source files.
2015-12-01 23:25:36 +01:00
Grunaka
013be673ce
Moving CBotCStack class in its own header and source files.
2015-12-01 23:25:36 +01:00
Grunaka
660f17454a
Moving CBotVar class in its own header and source files.
2015-12-01 23:25:36 +01:00
Grunaka
2eeab6d4d0
Moving CBotVarClass function from CBotVar.cpp to CBotVarClass.cpp.
2015-12-01 23:25:36 +01:00
Grunaka
a4f14650c6
Moving CBotVarInt class in its own header and source files.
2015-12-01 23:25:36 +01:00
Grunaka
44021e91f7
Moving CBotVarFloat class in its own header and source files.
2015-12-01 23:25:36 +01:00
Grunaka
1b3b2ea5a1
Moving CBotVarString class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
ade4aefb0e
Moving CBotVarBoolean class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
c624d65649
Moving CBotVarClass class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
bd20f6303c
Moving CBotVarPointer class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
143eecd791
Moving CBotCallMethode class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
6d340e80ab
Moving CBotDefParam class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
0a1b7da2a8
Moving CBotClass functions into CBotClass.cpp. Moving gloable function used by CBotClass and CBotFunction into CBotUtils.cpp.
2015-12-01 23:25:35 +01:00
Grunaka
4712e0ef6a
Moving CBotFunction class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
70dc6785f2
Moving CBotProgram class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
77d738634c
Moving CBotClass class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
63ab9d7301
Moving CBotVarArray class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
394a49f5aa
Moving CBotCall class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
e54d8f1ebc
Moving CBotStack class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
0373692ea1
Moving CBotInt class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
b01e2180d8
Moving CBotInstArray class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
ede0d03026
Moving CBotListArray class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
8c04d7fc65
Moving CBotIf class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
c0e2201c70
Moving CBotReturn class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
14961dbc57
Moving CBotEmpty class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
17cbae8e68
Moving CBotBoolean class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
ff72d1a77f
Moving CBotFloat class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
13b82b7e8e
Moving CBotIString class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
bbf2e48802
Moving CBotClassInst class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
dc8a6b3273
Moving CBotCondition class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
d89fd629a2
Moving CBotLeftExpr class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
4b10358df7
Moving CBotFieldExpr class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
d0cfdfb998
Moving CBotIndexExpr class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
3c1296b4b9
Moving CBotExpression class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
d44df45d26
Moving CBotTwoOpExpr class in its own header and source files.
2015-12-01 23:25:35 +01:00
Grunaka
8ee0b7df56
Moving CBotLogicExpr class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
4cd7a7a031
Moving CBotBoolExpr class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
75f5126ddd
Moving CBotParExpr class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
f6cc7d2c9c
Moving CBotExprUnaire class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
8eff62a78c
Moving CBotBlock class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
840da007a9
Moving CBotListInstr class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
0216359445
Moving CBotInstrCall class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
631621fb7e
Moving CBotInstrMethode class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
d708be50e7
Moving CBotExprVar class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
5343c15d60
Moving CBotPostIncExpr class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
605b1b244a
Moving CBotPreIncExpr class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
a878b0d252
Moving CBotLeftExprVar class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
2f52520421
Moving CBotExprBool class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
27a2c0b55a
Moving CBotExprNull class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
85756b4da1
Moving CBotExprNan class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
d70527db66
Moving CBotNew class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
f8778e8c03
Moving CBotExprNum class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
a0c2c90c9c
Moving CBotExprAlpha class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
562752b653
Moving CBotWhile class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
a80245b012
Moving CBotThrow class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
18739d135b
Moving CBotCatch class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
179ca18c58
Moving CBotTry class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
8da5c675a4
Moving CBotBreak class in its own header and source files.
2015-12-01 23:25:34 +01:00
Grunaka
6d2fbf3ea4
Moving CBotCase class in its own header and source files.
2015-12-01 23:25:34 +01:00