Commit Graph

152 Commits (a4f14650c6a6b1070f5d155b14daab33d43c525b)

Author SHA1 Message Date
Piotr Dziwinski aab79c6b5d Changed ASM_TRAP() to assert(0) 2013-11-25 20:03:06 +01:00
Piotr Dziwinski 81a6de41a5 Some further changes in CMakeLists
* removed DEV_BUILD autodetection (could be confusing)
 * ignore desktop subdirectory on Windows
 * some refactoring
2013-06-24 14:17:28 +02:00
Piotr Dziwinski 9f819088a6 gitignore update
* git should now ignore all generated files when building without
   separate build directory
2013-06-22 22:44:03 +02:00
Piotr Dziwinski 8765d58b02 Fixed code formatting
* moved braces to new lines
 * fixed some function/variable names
 * fixed whitespace issues
2013-05-27 10:19:16 +02:00
adiblol cc2e192f0d Reorganize string parsing in CBotToken::NextToken to fix #212 2013-05-26 18:40:25 +02:00
krzys-h 69e52e5f24 Removed find() & repeat() functions
Issue #168
2013-04-12 23:28:44 +02:00
Piotr Dziwinski 4a30800cf1 Fixes for compiling on MSYS
* fixed SDL_main() and putenv() issues
 * disabled desktop subdir for MSYS
 * disabled building CBot_console for now
2013-03-22 19:17:08 +01:00
Piotr Dziwiński 001d37b257 CInstanceManager refactoring
* removed classes managed by CInstanceManager
   except for CObject, CPyro, CBrain and CPhysics
   because of dependencies
 * refactored instance searching to use existing singleton instances of
   CApplication, CEngine and CRobotMain and calling their getter
   functions
2013-02-17 12:11:56 +01:00
Piotr Dziwinski 209c6412ae Refactoring in tests infrastructure
* all tests are now in /test/ subdirectory
 * unit tests concatenated to one executable (TODO: ui, common)
 * preparation for test environments (OpenGL and others)
 * removed old TestCBot
2013-02-03 20:03:36 +01:00
Marcin Zawadzki ff5c890854 Small fix in detecting language. Fixes needed to compile code using clang 2013-01-05 23:03:26 +01:00
Piotr Dziwinski 3e4c1a1ad8 Replaced malloc/free with new/delete
- now new/delete used everywhere except for CBotStack, which
   has to be fixed in other way
 - some segfaults should be fixed with this
2012-12-28 13:37:08 +01:00
erihel f0e76ad446 sound fix 2012-12-20 21:57:57 +01:00
Piotr Dziwinski f77734e01c Installation path fixes and CMakeLists refactoring
make && make install should now give a working installation.
2012-12-20 00:23:12 +01:00
Didier Raboud 7e9ef0c042 Put common CXX flags in common variables
CMAKE_CXX_FLAGS is taken into account in all builds; build-type-specific
flags are appended to it.
2012-12-19 16:55:00 +01:00
Didier Raboud 3c976c040b Don't enforce CMake build type on users.
Only set CMAKE_BUILD_TYPE to Debug when no value is provided.
2012-12-19 16:52:17 +01:00
Didier Raboud a7d837460f Minor cmake grammar fix
It is redundant to have CMAKE_INSTALL_PREFIX in path definitions; drop them.
2012-12-18 09:11:57 +01:00
Didier Raboud e062b74a3a Install libCBot to a private directory
closes #90

- Make it configurable;
- Move stanzas above the src directory inclusion, otherwise the value
  doesn't propagate.
2012-12-17 10:15:14 +01:00
Piotr Dziwinski 0305e0ba17 Restext rewrite to runtime initialized arrays 2012-10-17 23:16:19 +02:00
adiblol 70dae8796e Fixed stupid coding mistake in CBotString.cpp 2012-10-07 00:09:50 +02:00
Michał Zieliński b7667cef35 Added "make install" target. 2012-10-05 22:07:58 +02:00
adiblol cb634db2ec Fixed segfault when using empty strings with CBotString::operator+ 2012-09-30 16:00:34 +02:00
Piotr Dziwinski 86109a8c1e CBotVar SetVal() fix 2012-09-29 21:46:34 +02:00
Piotr Dziwinski e7e8954384 MXE support and CMake files refactoring
- added support for cross-compiling with MXE (http://mxe.cc/)
 - refactored CMake files, adding some options and moving definitions
   to more suitable places
2012-09-29 17:19:23 +02:00
erihel 37e7c73f43 * Removed some warnings 2012-09-22 11:48:41 +02:00
Zaba999 191fdc614e changed paths for models and levels. Now it's possible to load level. 2012-09-20 22:58:00 +02:00
Zaba999 a397922e8d warnings fight in progress. 2012-09-18 00:01:00 +02:00
Michał Konopacki e154e654f1 Reduced amount of warnings in CBot library
Changed most of C-style casting to C++ casting
Commented unused variables
2012-08-13 01:45:35 +02:00
Michał Konopacki a9186d1960 Changed GivAttrName() to GetAttrName() 2012-08-11 20:59:35 +02:00
Michał Konopacki 7b03a6a2ac CBot console interpreter
Based on program found in sources
2012-08-09 22:13:10 +02:00
Michał Konopacki ef7e297efe CBotString.cpp Bug resolve 2012-08-09 22:05:42 +02:00
Piotr Dziwinski bc24b9f9e5 Whitespace fix 2012-08-08 22:35:17 +02:00
Michał Konopacki a760e8a749 Cleanups 2012-08-08 02:23:38 +02:00
Michał Konopacki 0919796df7 Transation of comments complete 2012-08-08 02:01:06 +02:00
Michał Konopacki 0844a0f7bd Further CBot translations 2012-08-07 15:46:04 +02:00
Michał Konopacki a1c83c7d0a CBot library comments further translations 2012-08-07 12:46:19 +02:00
Michał Konopacki bf3f9e1860 Commentary translation 2012-08-03 00:50:25 +02:00
Michał Konopacki d00a283519 Comments translation 2012-08-02 19:41:13 +02:00
Piotr Dziwinski 6b846aa629 Compile fixes
Fixed some compiling issues
2012-07-26 00:18:02 +02:00
Zaba999 26f9149947 Further translations and doxygen comments. 2012-07-20 23:13:02 +02:00
Zaba999 1910219518 Dependency on WINAPI completely removed. 2012-07-10 22:58:52 +02:00
Zaba999 dbd62c96aa Fixed code compilation without fpermissive flag.
Removed Winapi, but now library don't work - work in progress.
Some translations.
2012-07-04 22:14:28 +02:00
Zaba999 fd6147bea0 translations plus small fixes 2012-07-02 21:41:24 +02:00
Piotr Dziwinski 1b83929487 Pulled changes from master branch 2012-06-28 22:54:53 +02:00
Piotr Dziwinski 330972d96b Removed MSVC project files and binary files 2012-04-17 00:52:46 +02:00
Programerus 0c2073a80b Fixed graphics bug on MSVC 2010 and MinGW. 2012-04-16 23:27:10 +02:00
Piotr Dziwinski 45b75ee37b Adding new MinGW branch 2012-04-15 01:02:51 +02:00
Piotr Dziwinski 011d86ed66 Pulled changes from test mingw branch
* include fixes
* syntax fixes for MinGW
* fixed encoding of restext.cpp
* temporary fix for MinGW in joystick.cpp

Successfully compiles under MinGW :)
2012-04-15 00:50:13 +02:00
Programerus b2589d2f6a Unneeded files deleted. 2012-04-11 23:16:24 +02:00
Krzysztof H f7d892cf4e Last coding fix ;) 2012-03-19 12:44:39 +01:00
Krzysztof H 5649419a46 FIX: "If not, see ." was replaced with: "If not, see http://www.gnu.org/licenses/." 2012-03-11 20:49:33 +01:00
Krzysztof H 84d1f79fdf Added license info using a small program SrcHead. 2012-03-09 17:08:05 +01:00
adiblol a4c804b49e Initial commit, Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch 2012-03-08 19:32:05 +01:00