Commit Graph

295 Commits

Author SHA1 Message Date
Chris Forbes
d3ddefbaa3 add ActionQueue, rather than leaving random variables lying around in Game.cs 2011-01-27 21:46:36 +13:00
Matthew Bowra-Dean
4c053dae24 Elevation for utility app on unix platforms that have gksudo or kdesudo. Small change to Folder.cs to create empty folder if it doesn't exist. 2011-01-27 20:50:03 +13:00
Paul Chote
37fc836b46 Ingame mod selector ui. 2011-01-27 20:50:01 +13:00
Paul Chote
108b90f192 Allow the ra/cnc package dir to be overridden at launch-time. 2011-01-27 20:50:00 +13:00
Paul Chote
9db41f5638 Remove fp from facing calculation. 2011-01-27 12:01:02 +13:00
Chris Forbes
ad0e0a18bd fix format80 encoder to actually work 2011-01-26 21:47:54 +13:00
Chris Forbes
6f807c4501 fix bogus writing of EOF header 2011-01-26 21:47:53 +13:00
Chris Forbes
1b3f769f34 shp writer 2011-01-26 21:47:53 +13:00
Chris Forbes
b362d9f9fc fix bogus interpretation of range parameter 2011-01-09 16:09:58 +13:00
Chris Forbes
70afea85a9 new map format introduced: 4. format3 player colors are automatically upgraded to ColorRamp 2011-01-08 18:17:19 +13:00
Chris Forbes
3426b52247 add ColorRamp type; change everything to use it; maps not yet upgraded 2011-01-08 18:17:18 +13:00
Paul Chote
df460d7407 Add extension methods to Rectangle/RectangleF, remove a pile of ToPoint()'s. 2011-01-05 22:24:11 +13:00
Paul Chote
c6fb1b641e Fix MouseButton orthogonality and remove unnecessary winforms dep. 2011-01-05 12:56:11 +13:00
Chris Forbes
dcbb6ee4eb small tweak to HttpUtil - we don't support 1.1, so dont pretend we do; also, set WebClient.Proxy everywhere to null 2011-01-04 20:02:23 +13:00
Chris Forbes
fe720186f5 add fast HttpUtil.DownloadData() 2011-01-04 17:53:00 +13:00
Paul Chote
6e7156e023 Mousewheel scrolls ScrollPanel. 2011-01-04 14:33:59 +13:00
Chris Forbes
ba2ec557bc fix another dumb bug in ZipFile 2011-01-01 21:24:42 +13:00
Chris Forbes
dffb5293d0 hack up ZipFile to fix #464; filesystem needs rework to be sane 2011-01-01 15:28:07 +13:00
Chris Forbes
cf2ad68a7c add very basic Format80 encoder 2011-01-01 09:27:39 +13:00
Paul Chote
e2d1eec56e Shift Client creation to the client, sent in the handshake response. Fixes the `Newbie' bug and removes a lot of fragmented behaviour on player join. 2010-12-31 12:51:19 +13:00
Paul Chote
cb50182fac Bugfixes: ZipFile.GetInputStream().GetAllBytes/.Length doesn't work; Divide by zero when no shellmaps are available; UseAsShellmap isn't saved by the editor; Duplicate maps crashes game. 2010-12-30 17:43:44 +13:00
Paul Chote
47bbc3a6de Wire up the rest of saving. Save-as will now properly overwrite existing contents. 2010-12-30 17:43:44 +13:00
Matthew Bowra-Dean
428999fc0b Create an empty zip file if it doesn't exist. 2010-12-30 02:21:39 +13:00
Paul Chote
b7975031bc Wire up most of saving again. 2010-12-29 22:13:51 +13:00
Paul Chote
fc6438e311 Use Filepaths instead of IFolders where possible. 2010-12-29 21:25:43 +13:00
Paul Chote
829fe6530a Start fixing the editor 2010-12-29 19:03:45 +13:00
Paul Chote
c3ff679f3a Make map saving independent of Container type. Saving zip/oramap/mix untested as the editor cannot load non-folder maps. 2010-12-29 11:39:26 +13:00
Chris Forbes
fa36c71023 fix game failing to load compressed maps; convert 'a path beyond.' 2010-12-29 00:55:10 +13:00
Matthew Bowra-Dean
13f6a13ad9 Write maps to zip file from editor 2010-12-28 22:36:08 +13:00
Chris Forbes
44e668e804 choose a random map with MapStub.UseAsShellmap as the shellmap, rather than hardcoding a sha1 in mod.yaml; add editor support for the new flag too. 2010-12-28 19:13:56 +13:00
Chris Forbes
c20b3b90f4 dont use the .uid file hack -- compute them on demand 2010-12-28 18:52:19 +13:00
Chris Forbes
81f6843791 bind .oramap -> ZipFile; search for .zip and .oramap in the map enumerator 2010-12-28 18:40:52 +13:00
Paul Chote
08eeec4d99 More lobby polish (mainly map chooser). 2010-11-30 21:20:57 +13:00
Paul Chote
fc5830a687 Added int2.Clamp(Rectangle). All queries for map geometry use map.Bounds. 2010-11-24 12:24:48 +13:00
Paul Chote
de8603832f Use Map.Bounds instead. 2010-11-24 11:12:37 +13:00
Paul Chote
dba7335594 Fix a pile of compiler warnings. 2010-11-21 13:10:22 +13:00
Paul Chote
d7e8388600 Make our IFolder zip support actually work. 2010-11-21 13:10:22 +13:00
Matthew
850d26a628 Install RA packages from CD. Fixes bug in case-sensitive filesystems for Folder.cs. 2010-11-21 13:10:20 +13:00
Paul Chote
bfb076b9bc Refactor IShader to take a name instead of a stream. 2010-11-21 13:10:18 +13:00
geckosoft
be9f52e029 Changed: Mounts the map' IFolder with least possible priority, allowing the map to has its own assets 2010-11-21 10:59:26 +13:00
Paul Chote
8e007131c9 Define ServerTraits in mod.yaml 2010-11-10 10:30:26 +13:00
Paul Chote
047a09bbbd Excise previous server extensions code 2010-11-10 10:30:24 +13:00
Paul Chote
17afe80a54 Included attribution 2010-11-09 21:44:58 +13:00
Paul Chote
42bf568d80 Use Blast to decrypt data on extraction. 2010-11-09 21:17:09 +13:00
Paul Chote
50157c43de Port Blast from zlib/contribute to c# 2010-11-09 20:10:51 +13:00
Paul Chote
41988a1298 Save PackageEntries into the index so the compressed data can be extracted. 2010-11-09 14:33:02 +13:00
Paul Chote
86058ec19f Initial IFolder Installshield (.Z) package impl. Parses the package header/toc and prints a file list. 2010-11-09 13:29:37 +13:00
Paul Chote
356c750b23 Refactor Package -> MixFile; group filesystem related classes in FileFormats. 2010-11-09 11:02:13 +13:00
Bob
155e7320cb add support for decimal to fieldLoader. use decimal for speedmodifiers 2010-11-06 14:10:56 +13:00
Bob
924adc68a9 fix aircraft desync 2010-11-06 13:36:11 +13:00