Commit graph

880 commits

Author SHA1 Message Date
Michael
764cdc940f programs are treated as commands 2017-06-16 21:10:13 -04:00
Michael
79fe2101ae Get rid of namespaces in commands. 2017-06-16 20:36:43 -04:00
Michael
eb4b032b35 fix losing system 2017-06-16 12:06:49 -04:00
RogueAI42
bbbc00f204 Fixed multiple compilations for the Python API
Previously, only one assembly could be compiled per startup. You
could compile all of your mods by restarting the game over and
over, loading the previously compiled mods from the cache.
Now, that's not necessary.

Oh yeah, also, more bugs in the Linux "port". Yippee. Whoops.
2017-06-17 00:31:09 +10:00
RogueAI42
9516d774aa wouldn't it be nice if I could remember to use my own abstractions 2017-06-16 23:58:46 +10:00
RogueAI42
50bd1ab402 Fix Intro on Linux
MORE LUNIX, MORE FUN
also replaced drive type with drive format
2017-06-16 23:20:10 +10:00
RogueAI42
9df7aa2110 Lunix
penguins = good
2017-06-16 18:34:30 +10:00
Michael
be544f77de UI changes 2017-06-15 21:01:36 -04:00
Michael
f9ef8e021c More optimizations 2017-06-15 20:01:26 -04:00
Michael
11ff04a384 ai improvements and codepoints 2017-06-15 18:13:07 -04:00
Michael
6a28bbbb63 Ball prediction AI 2017-06-15 17:45:57 -04:00
Michael
e6d58c235c Use GDI+ to render Pong 2017-06-15 17:08:42 -04:00
Michael
effbf091b7 Fix ArtPad sidebar images being blank 2017-06-14 19:59:29 -04:00
Michael
cd30c8a9ff Fix Graphic Picker nullreference bug 2017-06-13 16:39:37 -04:00
Michael VanOverbeek
7dcde1c752 THERE'S NO ANTIDOTE 2017-06-13 20:21:00 +00:00
Rylan/wowmom98
037a86cd41 more loading joke 2017-06-13 15:56:04 -04:00
RogueAI42
adf218ac25 fixed assembly cache format
My first attempt at an assembly cache was a dictionary from a
Python filename to its associated assembly... except each templated
class in the file gets its own assembly.

This new format (which has different magic numbers) provides a
dictionary from a Python filename to a *list* of its associated
assemblies. This also means that the cache can remember Python
files with no associated assemblies so that they don't get scanned
again.
2017-06-13 21:01:34 +10:00
RogueAI42
2acfa34596 Python API
It uses a meta-language and a CSharpCodeProvider on startup. I will
release a tutorial on the forums soon showing how to use it.

This commit also adds an extremely basic loading screen which shows
while Desktop is getting everything ready. Which can take a while
if you have any Python mods. Thanks, IronPython.
2017-06-13 20:06:38 +10:00
RogueAI42
a2db5d3909 ...
what the hell is going on
2017-06-13 18:29:25 +10:00
RogueAI42
428533fec2 Let's try that again........
seems like I somehow got an old copy of SaveSystem.cs and committed
that, re-introducing the game's dependency on Unite, which is dead,
press F to pay respects.
2017-06-13 18:27:37 +10:00
Rylan/wowmom98
d1538e742b Loading joke thing 2017-06-12 21:52:38 -04:00
RogueAI42
388835c96a fixed ShiftFS save
simple
2017-06-12 22:38:53 +10:00
Michael
c0017e35a4 Creation of new games is possible again! 2017-06-11 17:58:35 -04:00
Michael
7ec048fe85 More menu work. 2017-06-11 08:21:47 -04:00
Michael VanOverbeek
997a81457e Merge pull request #129 from RogueAI42/master
ReflectMan Saves The Day..............
2017-06-11 11:57:31 +00:00
Michael
0d75f70177 skip server connection if server is offline 2017-06-11 07:41:07 -04:00
RogueAI42
107a98686a ReflectMan Saves The Day..............
Refactored every part in the code that used that damn foreach loop.
All assemblies are now loaded on startup into an array, and the
results of GetType() on each are concatenated into another array.
The parts of the code that were loading the assemblies and scanning
them themselves now look to ReflectMan.Types, and all disk I/O is
limited to the first time ReflectMan is accessed. While I was there
I also replaced some other foreach loops with array comprehensions
and such to speed things up - there is a noticeable improvement.

It doesn't seem to have broken anything, but I'd appreciate if
someone could do more stress testing for me.
2017-06-11 17:38:53 +10:00
Michael
c3deaa23ff Even more menu work. 2017-06-10 22:02:10 -04:00
Michael
920e33a2fd Fix Shiftorium init bug. 2017-06-10 12:58:09 -04:00
Michael
c40d071d58 main menu system + sandbox mode 2017-06-10 10:17:15 -04:00
Michael VanOverbeek
7dd109719b Merge pull request #127 from RogueAI42/master
fix a small bad in ShiftoriumFrontend
2017-06-10 08:30:08 -04:00
RogueAI42
e5bd035b4c fix a small bad in ShiftoriumFrontend 2017-06-10 02:50:15 +10:00
Michael VanOverbeek
ebf9b7b253 Merge pull request #126 from AShifter/master
Master
2017-06-05 13:48:50 -04:00
AShifter
a152c2c463 Fixed ShiftLotto (again)
Recently, Codepoints have been changed to ULong64. While SuperDoggo (on
discord) was playing ShiftLotto, he tried to bet 100cp with only 80cp.
The check to make sure you don't overbet failed because ShiftLotto
subtracts codepoints*difficulty - currentCodepoints. If this value is
negitive, it should give you an error. But, due to the transition to
ulong,, this does not work and the check passes, removing (or adding if
you're lucky) codepoints, crashing the game. I fixed this by simply
changing thechecking statment from subtraction to a Less Than check (<).
WOW I TYPED ALOT OF STUFF
2017-06-05 10:01:16 -06:00
AShifter
61c906e596 Merge remote-tracking branch 'refs/remotes/shiftos-game/master' 2017-06-05 09:49:46 -06:00
Michael
3e11eca704 Fix story autosave 2017-06-04 21:07:43 -04:00
Michael
5e40ae4e29 Fix major server reboot. 2017-06-04 15:53:24 -04:00
Michael
69aba3b373 A fuckton of storyline features. 2017-06-04 15:18:53 -04:00
Michael VanOverbeek
4faeb54225 Merge pull request #125 from RogueAI42/master
fixed shiftorium
2017-06-03 11:48:04 -04:00
RogueAI42
7fe5d790dc fixed shiftorium
just in time for chrimbus
2017-06-04 01:29:21 +10:00
Michael
cc55af0c8b story objectives system 2017-06-03 09:16:44 -04:00
Michael
719f2e4170 Rebalance shiftnet subscriptions 2017-06-02 21:06:31 -04:00
Michael
11e80a6a61 fix the audio system 2017-06-02 11:38:38 -04:00
Michael VanOverbeek
bae2c83757 Merge pull request #124 from RogueAI42/master
Pong Refactor
2017-06-02 10:54:23 -04:00
RogueAI42
17f3f6f685 Fixed Pong?
there are some sound crashes but Michael told me to just make the
PR and let him fix the audio backend so that's what I'm doing.
2017-06-03 00:43:20 +10:00
Michael
ce5469464a Fix bug where terminal hangs on bad command 2017-06-02 08:15:51 -04:00
Michael
5246798b0a Make stories not happen until user is logged in. 2017-06-02 08:05:53 -04:00
Michael
0b9ac754ac Another new default skin. 2017-06-01 18:27:22 -04:00
Michael
d001b613fb Fix Graphic Picker UI. 2017-06-01 17:45:59 -04:00
Michael
03cf891c53 Icon Manager and various icon bugfixes. 2017-06-01 17:09:22 -04:00