Karl F
9e44b09314
Happy new year!
...
HAPPY MERRY 2021!
2021-01-03 19:40:16 +01:00
Webster Sheets
b754aeed2a
Rewrite ModelViewer to use GuiApplication and PiGui
...
"Snap to Direction" keybinds don't work, due to Input not dispatching their event handlers.
Will be resolved in a later sprint on the Input system.
2020-04-01 17:04:52 -04:00
Webster Sheets
97828a9ed6
New Main Loop Paradigm
...
- Fixed an initialization bug in Input.h
- Refactored Intro.h to use delta time updates
- Split our static MainLoop() and Start() functions into Lifecycle objects
- Cleaned up initialization, laid the groundwork for async startup loading
- Added Pi::StartGame() to centralize control over game setup
Previously we were setting Pi::game from a lua callback handler, which was no bueno.
2020-03-27 17:10:40 -04:00
Karl F
436db08636
Happy new decade!
...
May you live long and prosper!
2020-01-01 10:47:46 +01:00
Paul Cercueil
4b161eb3a6
Fix build under Visual Studio 2017
...
Add a few defines and make 'main' functions extern "C" (see SDL_main.h)
to fix the build under Visual Studio 2017.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2019-07-03 11:00:43 +02:00
Paul Cercueil
c0f820fa52
Faster build after commit ( #4514 )
...
* Fix last formatting errors
Obtained by running clang-format on all *.cpp *.h files present in the
src/ directory and its subfolders.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
* CMake: Replace src/buildopts.h with a generated version
This has two benefits:
- The options WITH_OBJECTVIEWER and WITH_DEVKEYS are no more hardcoded,
and can be deselected in the configuration of CMake;
- The PIONEER_VERSION and PIONEER_EXTRAVERSION are no more passed inside
CPPFLAGS. Before, commiting changes meant that PIONEER_EXTRAVERSION
was updated to the new git tag, which meant that the whole sources had
to be recompiled again.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
* Don't include buildopts.h fom libs.h
Virtually all sources files include libs.h. If libs.h includes
buildopts.h, all the sources will be recompiled if one macro changes in
buildopts.h, and we don't want that.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
* Avoid including buildopts.h in headers
Without it, a lot of source files will be recompiled when buildopts.h
is updated.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2019-01-21 09:19:07 +00: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
Andrew Copland
e0456c81bb
Queue requests in response to UI events, never process them immediately.
2019-01-03 15:20:54 +01:00
Peter
5a2bb602b7
Remove option -skipmenu, add option -startat.
...
skipmenu was broken, and didn't do anything anyway.
-startat (-sa) allows you to give a SystemPath to start at, skipping the main menu:
./pioneer -startat=(0,0,0,0,18)
2018-10-19 11:24:37 +02:00
John Bartholomew
43c5027a94
Emit library versions when running pioneer -version
...
This is super useful for checking the build system because you can run
the binary quickly and get some output to check that it doesn't totally
fail at load time, without actually waiting for the full game to load.
2018-08-26 22:01:30 +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
Simon Chopin
f6f7342762
Avoid mutable global state in MainMenu.lua by resetting the startPlanet in the C++ infinite game loop
2017-11-30 01:37:01 +01:00
ColdSpirit
fd4cfd21c4
Added -skipmenu (-sm) flag
2017-11-10 16:45:18 +04: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
Robert Norris
9f95339a9d
MERRY HAPPY
2014-12-31 23:05:37 +11:00
Lars W. (lwho)
b495d72ea0
Move cached static galaxy object from Game to GalaxyGenerator.
2014-09-26 18:21:47 +02:00
Lars W. (lwho)
386a98e48d
Completely move Galaxy object to Game.
2014-09-26 18:21:47 +02:00
Lars W. (lwho)
3d969ca78d
Convert the Galaxy namespace to a class.
2014-05-06 21:14:41 +02:00
lwho
7e957541e1
Hide Pioneer window and disable audio for galaxy dump.
2014-03-16 15:28:08 +01:00
lwho
8252130ab9
Dump Sectors, StarSystems and SystemBodies to a text file with 'pioneer -gd filename [radius] [sx,sy,sz]'
2014-03-16 15:28:01 +01:00
Robert Norris
2972724fa9
allow config keys to be overidden on the command line
...
pioneer -g ScrWidth=800 ScrHeight=600
if you save config with overidden values, they will also be saved - the
config save code doesn't know the difference. fixing this requires
tracking where the config value came from, which seems like too much
effort for a debug feature.
2014-02-17 08:46:07 +11:00
Robert Norris
714c296fc1
send all output through the Output function instead of *printf
2014-01-28 20:40:09 +11:00
Robert Norris
6dc4283eb6
happy new year
2014-01-02 14:43:38 +11:00
Robert Norris
14e5fe302f
enable profiler from configure
2013-12-10 21:42:50 +11:00
Andrew Copland
575c28aa96
Basic profiler integration into vs2013Express project.
2013-12-10 21:42:49 +11:00
Robert Norris
91b8586653
happy new year
2013-01-01 12:36:52 +11:00
Robert Norris
17786e1b2b
rename Newmodelviewer stuff to ModelViewer
2012-12-10 08:28:28 +11:00
Robert Norris
dbaa8836ee
make newmodelviewer use graphics vars from config. take model name as only arg
2012-12-10 08:25:12 +11:00
Robert Norris
ce79a1f0e9
command line options
2012-12-10 08:15:45 +11:00
Robert Norris
a84b498e19
remove old segfault stuff entirely
2012-12-10 07:49:07 +11:00
kko
0ec475c190
Merge remote-tracking branch 'robn/new-ui' into new-model
...
Conflicts:
data/ships/cobra3.lua
src/CityOnPlanet.cpp
src/GameMenuView.cpp
src/ModelBody.cpp
src/WorldView.cpp
src/graphics/Graphics.cpp
2012-09-25 21:32:12 -04: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
kko
4e058f582c
Start a new modelviewer
...
ui requires Pi::luaManager, and Pi requires everything, so modelviewer will be a run mode of the game app for now.
2012-09-02 16:40:43 -04:00
tompox
32e1e8cf89
make screen config be configurable from the UI (hit escape). progress on startup since it is getting sluggish
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@618 e632f14b-6550-0410-b89e-a82653faca30
2010-07-05 22:22:33 +00:00
tompox
173a9462dc
death returns you to the initial menu
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@357 e632f14b-6550-0410-b89e-a82653faca30
2009-07-27 16:17:49 +00:00
tompox
75d9ce8d40
speed relative to target. fiddle with planet draw distance. make check (tests.cpp).
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@260 e632f14b-6550-0410-b89e-a82653faca30
2009-05-03 20:38:45 +00:00
jaj22
013231c361
VBO redo
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@246 e632f14b-6550-0410-b89e-a82653faca30
2009-03-22 20:51:36 +00:00
pwroberts
10fb6d83a6
Disable SDL parachute in Win32 debug
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@244 e632f14b-6550-0410-b89e-a82653faca30
2009-03-22 17:42:46 +00:00
tompox
8f8bf2194c
fix crash on ~GeoPatch(), use VBOs where available.
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@239 e632f14b-6550-0410-b89e-a82653faca30
2009-03-21 20:56:52 +00:00
tompox
5aa4f99bb3
add some titillating stats
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@235 e632f14b-6550-0410-b89e-a82653faca30
2009-03-16 17:37:59 +00:00
tompox
b143f729bd
possible VBO rendering of geosphere (must be enabled in planet.cpp), move LOD subdivision out of Render() to get rid of silly artefacts
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@234 e632f14b-6550-0410-b89e-a82653faca30
2009-03-16 16:48:13 +00:00
tompox
33dfaee3d0
switch to simplex noise because it is a bit quicker and looks dandy
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@230 e632f14b-6550-0410-b89e-a82653faca30
2009-03-15 17:40:52 +00:00
tompox
b904be91c1
some working perlin noise rubbish and subdivision of sphere with some edge fixup...
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@222 e632f14b-6550-0410-b89e-a82653faca30
2009-03-15 12:14:26 +00:00
tompox
a607434b24
some name generation for system generator and fix a bug in overlapping orbits
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@218 e632f14b-6550-0410-b89e-a82653faca30
2009-03-02 17:57:00 +00:00
tompox
329666a7d1
spawn pirates on entry to system. not determining strength by system yet.
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@214 e632f14b-6550-0410-b89e-a82653faca30
2009-02-19 18:40:11 +00:00
tompox
20cf579a8d
fix bug in triple and quad system generation. use more path stuff in main.cpp
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@213 e632f14b-6550-0410-b89e-a82653faca30
2009-02-19 15:48:05 +00:00
tompox
768eb7b36b
allow precise selection of hyperspace destination (by planet not system)
...
git-svn-id: https://pioneer.svn.sourceforge.net/svnroot/pioneer/trunk@211 e632f14b-6550-0410-b89e-a82653faca30
2009-02-19 00:49:20 +00:00