Commit Graph

410 Commits (44e4bcef45a1e606dcbb4a0b25fac3d649d9ebf9)

Author SHA1 Message Date
Piotr Dziwinski 9a268f5538 Switched back to old standard; addded -Wall
- removed -std=c++11
- added -Wall and removed most reported warnings
2012-06-30 10:16:52 +02:00
Piotr Dziwinski e37019943c Event handling, CApplication and switch to c++-11
- added/changed event structs and event queue in common/event.h
 - added event handling and some minor functions in CApplication
 - switched to --std=c++11 because of union in Event struct
2012-06-30 00:12:04 +02:00
Piotr Dziwinski 1b83929487 Pulled changes from master branch 2012-06-28 22:54:53 +02:00
Piotr Dziwinski e738c55b73 Removed old code and build target
- removed directory with old target
- changed CMakeLists.txt to new target only and temporarily commented
  out reference to CBot
- updated README
2012-06-26 23:39:31 +02:00
Piotr Dziwinski c2a7375788 Removed trailing whitespace 2012-06-26 23:01:17 +02:00
Piotr Dziwinski cf312c0b87 Fixed brief Doxygen description 2012-06-26 22:50:55 +02:00
Piotr Dziwinski bf06998ece Forgotten language change 2012-06-26 22:36:52 +02:00
Piotr Dziwinski ebed57aa22 Whitespace and language change
- changed tabs to spaces and DOS line endings to Unix
  (except in CBot and metafile)
- changed language to English
- fixed #include <d3d.h> in d3dengine.h
2012-06-26 22:23:05 +02:00
Piotr Dziwinski b08a63790c SDL project
- added (very basic) SDL template in CApplication and CEngine
- split project into two targets: colobot_old (dependent on DirectX and WinAPI)
  and colobot_new (dependent on SDL and OpenGL)
- moved sound.h/cpp to old/ and created new template in Snd namespace
- added platform-independent dialog boxes in app/system.h/cpp
2012-06-25 19:59:17 +02:00
Programerus f58918031c Declarations for graphics/common 2012-06-25 16:37:03 +02:00
Piotr Dziwinski 3478978c21 CApplication and Gfx::CEngine interfaces & other
- added CApplication and Gfx::CEngine interfaces
- added Gfx::Material struct
- added Math::IntPoint struct
- added template for Gfx::CDevice class
- added templates for Gfx::CGLDevice and Gfx::CGLEngine classes
2012-06-24 15:41:56 +02:00
Piotr Dziwinski 11c947f212 Fix in light.h 2012-06-22 16:54:02 +02:00
Piotr Dziwinski 8bb223e679 Templates for new implementation
- added template of classes/structs for new implementation
- changed #include paths
- updated README files
2012-06-22 16:31:55 +02:00
Piotr Dziwinski 4531ac88d3 Moved old implementations to src/old 2012-06-22 15:54:16 +02:00
Piotr Dziwinski 11df0ebf94 Vertex and Light structures 2012-06-20 19:34:54 +02:00
Programerus 4ecc4bb4c0 Add functions to namespace. 2012-06-20 20:17:00 +03:00
Programerus d709f9ecaa . 2012-06-20 20:08:21 +03:00
Programerus 81468f8dc9 Struct ColorHSV copied to color.h 2012-06-20 20:07:54 +03:00
Programerus f244921ba9 Struct ColorHSV copied to color.h 2012-06-20 20:01:05 +03:00
Piotr Dziwinski c0461add5f Refactoring of #includes and forward declarations in object/ 2012-06-20 17:00:16 +02:00
Programerus 918f677ae8 Color functions 2012-06-20 17:44:27 +03:00
Programerus 1415bf0bd2 Struct Color 2012-06-20 17:38:27 +03:00
Piotr Dziwinski 9f784e81f8 Switched to new implementation of the rest of math module
- changed structs from D3DVECTOR to Math::Vector
  and from D3DMATRIX to Math::Matrix
- changed functions to new Math namespace functions
- moved mainmovie module from graphics to object
- added Get and Set to Math::Matrix
2012-06-19 20:11:47 +02:00
Piotr Dziwinski b8027ce9a7 Tests and fixes in math geometry.h module 2012-06-15 16:58:04 +02:00
Piotr Dziwinski b735913deb FPOINT -> Math::Point & other math functions
- changed FPOINT to Math::Point and some functions
  from math module to the new implementation
- moved old function and FPOINT struct declarations to math3d.cpp
- removed some unused functions in math module
- fixed some #include dependencies
- moved #define STRICT and #define D3D_OVERLOADS to compile options
2012-06-13 22:48:35 +02:00
Piotr Dziwinski b5d16ef340 Fixes in math module
- rewritten RotateAngle() function and test for it in geometry_test.cpp
- added conv.h - conversion functions
- added comments in math3d.h and d3dmath.h pointing to new functions
- other minor fixes
2012-06-12 13:48:17 +02:00
Piotr Dziwinski a8665d2042 Changed #defined constants to consts; typedef struct -> struct 2012-06-11 17:28:27 +02:00
Piotr Dziwinski 697fbdabf1 BOOL -> bool; additional fixes in constructors/destructors 2012-06-10 15:28:12 +02:00
Piotr Dziwinski 680af17819 Fixed include paths and CMakeLists.txt
Additionally, changed #ifndef to #pragma once everywhere
2012-06-10 00:18:08 +02:00
Piotr Dziwinski d6525b5661 Changes from master 2012-06-08 20:30:57 +02:00
Piotr Dziwinski 6d754dc45e Moved old math files 2012-06-07 13:35:59 +02:00
Piotr Dziwinski 5dee2731e6 Finished implementation of math functions 2012-06-07 13:35:23 +02:00
Piotr Dziwinski f67a62fb28 Structs continued 2012-05-03 13:35:32 +02:00
Piotr Dziwinski ea442a887d Structs continued 2012-05-02 22:39:43 +02:00
Piotr Dziwinski 2513f6556e Structs continued
Basic functions finished and tested for matrix and vector.
2012-05-01 20:05:48 +02:00
Piotr Dziwinski 7369b10a87 Structs continued 2012-04-29 23:21:35 +02:00
Piotr Dziwinski b5b9fdb680 Structs continued 2012-04-28 22:56:07 +02:00
Piotr Dziwinski 1c275dbd78 Structs continued 2012-04-28 22:32:37 +02:00
Piotr Dziwinski d57258ae1c Split math functions; beginning of common structures 2012-04-28 21:46:26 +02:00
Piotr Dziwinski 449cc186d5 Source files split into modules 2012-04-28 17:53:17 +02:00
Piotr Dziwinski eeb69b34d2 Moved docmain.doc.txt 2012-04-28 16:39:30 +02:00
Programerus 0d3564a245 Unneeded files deleted. 2012-04-17 17:01:25 +02:00
Piotr Dziwinski 330972d96b Removed MSVC project files and binary files 2012-04-17 00:52:46 +02:00
Piotr Dziwinski 7cd9f49e59 Merge branch 'master' into mingw_dev 2012-04-17 00:31:16 +02:00
Piotr Dziwinski 698932646a Fixed graphics bug (#18) 2012-04-16 23:34:59 +02:00
Programerus 658226a6f7 Merge branch 'master' of github.com:adiblol/colobot 2012-04-16 23:31:27 +02:00
Programerus 0c2073a80b Fixed graphics bug on MSVC 2010 and MinGW. 2012-04-16 23:27:10 +02:00
Piotr Dziwinski 6d6faaa19d Fixes in file descriptions 2012-04-16 20:51:10 +02:00
Piotr Dziwinski 6b7bfedab2 Merge branch 'master' into mingw_dev 2012-04-16 20:25:03 +02:00
Piotr Dziwinski 121054c6b7 Main documentaion file, fixes in Doxyfile
* added docmain.doc.txt with Doxygen \mainpage
* fixed paths in Doxyfile
* disabled some graph generation (for now)
2012-04-16 19:07:17 +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
Programerus 30d8e6a182 Comment fix. 2012-04-11 23:16:01 +03:00
Programerus 445825e653 Comments translated from French to English. 2012-04-11 23:15:32 +03:00
Programerus 130eb60ba9 Comments translated from French to English. 2012-04-11 21:25:19 +03:00
Programerus e7a6d78cdd Comments translated from French to English. 2012-04-11 21:22:02 +03:00
Programerus 1085c04204 Comment fix. 2012-04-11 21:12:58 +03:00
Programerus b486cfde48 Comments translated from French to English. 2012-04-11 21:12:26 +03:00
Programerus 52fb7f5154 Comments translated from French to English. 2012-04-11 20:47:38 +03:00
Programerus 198f5444df Comments translated from French to English. 2012-04-11 20:43:20 +03:00
Programerus ecd78ea715 Comments translated from French to English. 2012-04-11 17:04:01 +03:00
Programerus b33691f490 Comment fix. 2012-04-11 00:23:03 +03:00
Programerus 18de129d54 Comments translated from French to English. 2012-04-11 00:22:44 +03:00
Programerus bbb83ec2af Comment fix. 2012-04-11 00:20:50 +03:00
Programerus 38d01af159 Comments translated from French to English. 2012-04-11 00:20:26 +03:00
Programerus e6ba3f08dc Comments translated from French to English. 2012-04-11 00:18:19 +03:00
Programerus 5e86333bde Comments translated from French to English. 2012-04-11 00:17:16 +03:00
Programerus 8145215c62 Comments translated from French to English. 2012-04-11 00:12:14 +03:00
Programerus 401197721e Comments translated from French to English. 2012-04-11 00:10:24 +03:00
Programerus 8d7dfc5c3e Comment fix. 2012-04-10 20:49:35 +03:00
Programerus e82a8c52bd Comments translated from French to English. 2012-04-10 20:49:15 +03:00
Programerus 4197469659 Comments translated from French to English. 2012-04-10 20:46:56 +03:00
Programerus 121248c58e Comments translated from French to English. 2012-04-10 20:44:49 +03:00
Programerus 525bfb41ba Comments translated from French to English. 2012-04-10 20:33:08 +03:00
Programerus 08597353ec Comments translated from French to English. 2012-04-10 20:31:41 +03:00
Programerus 216d8ba95a Comments translated from French to English. 2012-04-10 20:22:25 +03:00
Programerus d8afd8dab5 Comments translated from French to English. 2012-04-10 20:20:46 +03:00
Programerus 22b6606c2b Comments translated from French to English. 2012-04-10 20:17:31 +03:00
Programerus 580dde77e4 Comments translated from French to English. 2012-04-10 20:15:18 +03:00
Programerus 6cbd517739 Comments translated from French to English. 2012-04-10 20:09:57 +03:00
Programerus eadbe30bf0 Comments translated from French to English. 2012-04-10 20:08:55 +03:00
Programerus 30d4724c6b Comments translated from French to English. 2012-04-10 20:00:21 +03:00
Programerus a7f74edaea Comments translated from French to English. 2012-04-10 19:57:37 +03:00
Programerus ea4c7e7034 Comment fix. 2012-04-10 19:29:25 +03:00
Programerus 200e139c5c Comments translated from French to English. 2012-04-10 19:28:46 +03:00
Programerus cf01920a4e Comment fix. 2012-04-10 19:22:19 +03:00
Programerus 19c300b17a Comments translated from French to English. 2012-04-10 19:08:47 +03:00
Programerus 5545f232c7 Comments translated from French to English. 2012-04-10 19:00:27 +03:00
Programerus d8cebd443d Comments translated from French to English. 2012-04-10 18:59:24 +03:00
Programerus cacf81e852 Comments translated from French to English. 2012-04-10 18:57:16 +03:00
Programerus bfbdcf297a Comments translated from French to English. 2012-04-10 18:47:27 +03:00
Programerus d49b06a7cb Comments translated from French to English. (partially) 2012-04-10 16:54:20 +03:00
Programerus 4d744862e7 Comments translated from French to English. 2012-04-10 00:45:19 +03:00
Programerus 0b60904b95 Comments translated from French to English. 2012-04-10 00:44:29 +03:00
Programerus aebce55a61 Comments translated from French to English. 2012-04-10 00:39:18 +03:00
Programerus d6101829b6 Comments translated from French to English. 2012-04-10 00:37:56 +03:00
Programerus 76cfe9e923 Comment fix. 2012-04-10 00:33:41 +03:00
Programerus 17c7ffef65 Comments translated from French to English. 2012-04-10 00:33:07 +03:00
Programerus 5d08432a53 Comments translated from French to English. 2012-04-10 00:28:31 +03:00
Programerus 235f767de7 Comments translated from French to English. 2012-04-10 00:24:15 +03:00
Programerus caddc90327 Comment fix. 2012-04-10 00:09:55 +03:00
Programerus 83d188c2b3 Comments translated from French on English. 2012-04-10 00:09:29 +03:00
Programerus 60e7df156d Comments translated from French to English. 2012-04-10 00:06:28 +03:00
Programerus 356e9ef5e0 Comments translated from French to English. 2012-04-10 00:05:01 +03:00
Programerus 265f694241 Comment fix. 2012-04-10 00:03:33 +03:00
Programerus de658d1952 Comments translated from French to English. 2012-04-10 00:03:09 +03:00
Programerus 1919cb2776 Comment fix. 2012-04-09 23:59:27 +03:00
Programerus 20edb7a379 Comments translated from French to English. 2012-04-09 23:58:41 +03:00
Programerus 3dbd661218 Comment fix. 2012-04-09 23:32:50 +03:00
Programerus eca81da72d Comments translated from French to English. 2012-04-09 23:31:24 +03:00
Programerus b69151e06d Comments translated from French to English. 2012-04-09 23:25:37 +03:00
Programerus b8d2d56dca Comment fix. 2012-04-09 19:17:17 +03:00
Programerus bc0eff4895 Comments translated from French to English. 2012-04-09 19:15:33 +03:00
Programerus 82a9a1b233 Comment fix. 2012-04-09 17:37:07 +03:00
Programerus 688157ad2c Comments translated from French to English. 2012-04-09 17:36:45 +03:00
Programerus f7dafb1b9d Comment fix. 2012-04-09 17:34:59 +03:00
Programerus 65a279bba8 Comments translated from French to English. 2012-04-09 17:34:16 +03:00
Programerus 2d01c8b649 Comments translated from French to English. 2012-04-09 17:00:24 +03:00
Programerus f2da16756e Comments translated from French to English. 2012-04-09 16:56:41 +03:00
Programerus 8df6f9c1f0 Comments translated from French to English. 2012-04-08 23:28:16 +03:00
Programerus a69af4f845 Comments translated from French to English. 2012-04-08 23:21:11 +03:00
Programerus a70b3ebfa8 Comments translated from French to English. (partially) 2012-04-08 00:02:06 +03:00
Programerus 00fddf5169 Comments translated from French to English. 2012-04-07 17:07:32 +03:00
Programerus 558a3cb125 Comments translated from French to English. 2012-04-07 17:04:32 +03:00
Piotr Dziwinski dcd5bf8609 Better fix for #17 2012-04-07 15:58:46 +02:00
Programerus b1bf48e9fd Comment fix. 2012-04-07 16:30:51 +03:00
Programerus 699187758d Comments translated from French to English. 2012-04-07 16:29:14 +03:00
Programerus b3fd18d133 Comments translated from French to English. 2012-04-07 00:36:22 +03:00
Programerus 8c0dd5ced2 Comment fix. 2012-04-06 22:13:01 +03:00
Programerus 155c6c151c Comment fix. 2012-04-06 22:12:38 +03:00
Programerus 80cb8c399f Comments translated from French to English. 2012-04-06 22:11:02 +03:00
Programerus 9c03ff837f Comments translated from French to English. 2012-04-06 22:09:00 +03:00
Programerus 6071aea68c Comments translated from French to English. 2012-04-06 22:05:02 +03:00
Programerus cfddac0e46 Comments translated from French to English. 2012-04-06 21:57:20 +03:00
Programerus bb21367eea Comments translated from French to English. (partially) 2012-04-06 02:45:33 +03:00
Programerus b4ddfeacfa Comments translated from French to English. 2012-04-06 00:46:21 +03:00
Programerus 4511a636e0 Comments translated from French to English. 2012-04-06 00:19:43 +03:00
Piotr Dziwinski f25f8229a0 Temporary fix for #17 2012-04-05 22:49:31 +02:00
Piotr Dziwinski 99d42707cb Merge branch 'master' of https://github.com/adiblol/colobot 2012-04-05 22:30:48 +02:00
Piotr Dziwinski 5bd2688eb0 Fixes for GCC and removal of extern inline (#12) 2012-04-05 22:29:50 +02:00
Programerus 346d310b7a Comments translated from French to English. 2012-04-05 23:26:09 +03:00
Piotr Dziwinski 33a5a93728 GCC include and syntax fixes 2012-04-05 22:23:14 +02:00
Programerus c2b493259d Comments translated from French to English. 2012-04-05 02:07:55 +03:00
Programerus a2077103ef Comments translated from French to English. 2012-04-04 20:40:30 +03:00
Programerus 3f00d622fc Comments translated from French to English. 2012-04-04 00:40:00 +03:00
Programerus c24db84ea6 Comment fix. 2012-04-02 23:00:17 +03:00
Programerus 7986a634f2 Comments translated from French to English. 2012-04-02 22:58:35 +03:00
Programerus 4cda4c89a3 Comment fix. 2012-04-02 22:48:47 +03:00
Programerus ce14764127 Comments translated from French to English. 2012-04-02 22:47:08 +03:00