Commit Graph

668 Commits (ffb4d9ff4fbee5c96ff7828044e9002d85843b6a)

Author SHA1 Message Date
Piotr Dziwinski 6a059b437d Merge branch 'dev-opengl' into dev 2012-06-26 22:37:26 +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 b696edaed3 Updated README-DEV file 2012-06-26 20:01:14 +02:00
Piotr Dziwinski fc5389d188 Created dev-opengl branch 2012-06-26 19:56:04 +02:00
Piotr Dziwinski b7c0ce1331 Updated info about spaces 2012-06-26 19:54:02 +02:00
Piotr Dziwinski 0c8217efea Updated info about src/metafile 2012-06-26 18:50:47 +02:00
Piotr Dziwinski 50fd0d1b85 Added readme for developers 2012-06-26 18:46:27 +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 faf4bf9788 Script for auto replacement 2012-06-20 17:11:10 +02: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 8ffdf2583e Change Epitec to Epsitec 2012-06-11 13:46:57 +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
Piotr Dziwinski 2f1a762b8b Added CMake installation to HOWTO 2012-04-24 12:32:53 +02:00
Programerus 0d3564a245 Unneeded files deleted. 2012-04-17 17:01:25 +02:00
Piotr Dziwinski 45977840d0 Fixed line breaks in README 2012-04-17 00:54:58 +02:00
Piotr Dziwinski 330972d96b Removed MSVC project files and binary files 2012-04-17 00:52:46 +02:00
Piotr Dziwinski 68da2c9b76 Rewritten README.txt; added HOWTO.txt 2012-04-17 00:32:13 +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