Commit Graph

31 Commits (master)

Author SHA1 Message Date
Karl F 9e44b09314 Happy new year!
HAPPY MERRY 2021!
2021-01-03 19:40:16 +01:00
Webster Sheets e83dd6c887 Matrix state must(did!) die
Remove all OpenGL 2.x like methods from the renderer API, now the matrix state
is the responsibility of the caller via MatrixTicket / StateTicket.

Still TODO is improving the viewport state tracking, although that should be
rather simple to fix.
2020-09-07 15:31:15 -04:00
Karl F 436db08636 Happy new decade!
May you live long and prosper!
2020-01-01 10:47:46 +01:00
mike-f1 75956b9fd0 Decouple includes of Sfx.* and trade dependency from Ship with dependency from ModelBody
Forward declare Space in Ship.h; Make things compiling again

Decouple WorldView.h; Some other decouple here and there

Decouple Renderer no more included in RenderState; Model not including directly its childs
2019-05-21 17:50:50 +02:00
Webster Sheets 5cdaefad6a Run clang-format over the entire code base.
Fix hidden header-inclusion-order dependency errors.
Update .clang-format for v7.0.1.
2019-01-05 17:09:05 -05:00
Karl F d2ab921b62 Happy New Year!
Awesome sauce (for next year):
find . -type f -exec sed -i 's/2008-2018 Pioneer Developers'/'2008-2019 Pioneer Developers/g' {} \;

closes #4507
2019-01-03 15:28:42 +01:00
Karl F 7225e9c723 Happy New Year!
Ten years in the making now, but how can we improve upon perfection
for ten more years?
2018-01-01 21:22:12 +01:00
Andrew Copland 8cb1555f67 Eliminate the evil trailing whitespace 2017-03-05 13:15:55 +00:00
Andrew Copland 74d50958fe MERRY HAPPY 2017 2017-01-04 15:11:15 +00:00
Andrew Copland fea5ac26b2 MERRY HAPPY 2016 2016-01-29 11:31:54 +00:00
Andrew Copland 6a84e30a92 Annihilate all usage of Theme::DrawRect and Theme::DrawRoundEdgedRect. 2015-07-18 13:31:41 +01:00
Robert Norris 9f95339a9d MERRY HAPPY 2014-12-31 23:05:37 +11:00
Denis Volk 6a78ba65a3 realign MeterBar label 2014-07-27 17:39:58 +02:00
kko e6090b5d95 Port some GUI drawing to newer style 2014-02-01 09:41:03 -05:00
Robert Norris 6dc4283eb6 happy new year 2014-01-02 14:43:38 +11:00
Andrew Copland 70eb84c2bc Fix VS warnings and incorrect glColor3b call
LuaSystemPath.cpp needs PushToLua template function defining before first use.
LuaPlayer.cpp wanted explicit 64 bit shift.
GuiMeterBar.cpp was mixing byte and ubyte GL methods.
2013-12-30 22:07:12 +00:00
Miha Vitorovic 8a287b777f Some final changes Color4ub -> Color. 2013-12-16 15:11:55 +11:00
Miha Vitorovic 1df856d236 Changed all colors to Color4ub - Compiles and appears to be working. Needs some more testing. 2013-12-16 15:11:50 +11:00
Robert Norris a56361c09c remove renderer tests. we can assume it exists 2013-12-11 09:51:23 +11:00
Robert Norris 811af5e190 rename pRenderer to r for convention/consistency 2013-12-11 09:51:23 +11:00
Robert Norris 5239a965d7 remodel ScopedMatrixPushPop as MatrixTicket, since its so similar to StateTicket 2013-12-11 09:51:23 +11:00
Robert Norris a3cc00cc63 don't expose GL constants 2013-12-11 09:51:23 +11:00
Andrew Copland 409426032b Use the automatic push/pop mechanism. 2013-12-11 09:51:23 +11:00
Andrew Copland 253ef0ca39 Force everything to go through the renderer to set and get matrix information and manipulate the stack.
Added a lot more profiling.
2013-12-11 09:51:23 +11:00
Andrew Copland cce808b186 Added a lot more profiling. 2013-12-10 21:42:49 +11:00
kko d2e1140cd2 Replace all define constants in .cpp files with static const 2013-06-26 21:07:40 -04:00
Robert Norris 91b8586653 happy new year 2013-01-01 12:36:52 +11:00
Robert Norris efbce7648a update license paths 2012-09-16 10:59:15 +10:00
Robert Norris e9f4448bba add copyright notices to all the code 2012-09-16 09:45:04 +10:00
Ziusudra 86f30a2192 make sure we get the correct blending, #1160 2012-04-05 21:24:32 -06:00
Darren Salt 0c2a82c004 Move src/Gui* into src/gui/. 2011-05-21 15:40:52 +01:00