Nikos Barkas
|
0a1560d670
|
Added libpng headers to project. Added OOGraphicsResetManager.m to GNUstep makefile. Oolite for Windows should now compile out of the box.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@988 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-24 07:39:44 +00:00 |
|
Jens Ayton
|
5839182b7d
|
OOTextureified trumbles.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@987 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-23 15:19:56 +00:00 |
|
Jens Ayton
|
8064f60033
|
Sky and particles now survive graphics reset (trumbles probably don't). Added Create Ship... to Mac Debug menu.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@986 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-23 14:58:53 +00:00 |
|
Jens Ayton
|
8ed1b9af6e
|
Fiddled with Mac debug menu (added in previous commit).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@985 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-23 14:24:12 +00:00 |
|
Jens Ayton
|
786e73fcbb
|
Work on reimplementing texture reloading -- works for shipentities and text, not sky and particles.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@984 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-23 13:12:13 +00:00 |
|
Jens Ayton
|
cd95fef015
|
Fixed OOOpenGLExtenssionManager issues: Windows function pointers only defined once, locking reintroduced, correctly this time. Also removed some unused function pointers.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@983 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-23 11:04:19 +00:00 |
|
Nikos Barkas
|
ecd3f5fe01
|
Eliminate a few more compile errors on Windows. Add a more recent JavaScript API. Add import library for libpng.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@981 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-23 10:31:16 +00:00 |
|
Nikos Barkas
|
d83c471c78
|
Determine number of CPUs under Windows. Add missing OGL extension function names. Temporarily disabled OOBadOpenGLExtensionUsed in order to get it to link under Windows. Testing and/or permanent fix will be needed.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@980 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-22 12:16:01 +00:00 |
|
Jens Ayton
|
8dfcfa9b58
|
XMLified problem plists.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@979 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-21 17:15:07 +00:00 |
|
Nikos Barkas
|
6ae1f90c10
|
Updated GNUstep makefile so that Oolite compiles and links on Windows.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@978 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-21 14:04:22 +00:00 |
|
Nikos Barkas
|
0a3c5fcf79
|
Fixed damaged equipment displayin incorrectly on non 4:3 screen resolutions.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@977 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-21 07:41:18 +00:00 |
|
Jens Ayton
|
55f832da66
|
Moved some OpenGL utilities into OOOpenGL.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@976 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-20 15:13:22 +00:00 |
|
Jens Ayton
|
97f91f6a18
|
Two potential crashing bugs, two potential graphical glitches, and one actual crashing bug.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@975 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-20 14:38:13 +00:00 |
|
Jens Ayton
|
269a68f56d
|
Oops, forgot to add planetinfo.plist (needed for data-driven witchspace).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@974 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-20 13:44:00 +00:00 |
|
Jens Ayton
|
d4c648d4dd
|
Made SkyEntity a subclass of Entity rather than OOSelfDrawingEntity, thus removing a bunch of mesh stuff it wasn't actually using. Researched GL_APPLE_vertex_array_object, worked out that it wasn't doing anything useful in Oolite, stripped it out, and saw a frame rate increase of 2/3.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@973 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-20 13:36:03 +00:00 |
|
Jens Ayton
|
4bf02adaf9
|
Reinstated caching of ship meshes.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@972 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-19 23:19:45 +00:00 |
|
Jens Ayton
|
41399eeec4
|
Typo.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@971 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-19 22:25:53 +00:00 |
|
Jens Ayton
|
0de5f00261
|
Changed internal structure of OOMesh to simplify caching. Raised vertex and face limits. Deprecated front_metal.png texture.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@970 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-19 22:18:22 +00:00 |
|
Jens Ayton
|
53b4821191
|
Trimmed another unused SkyEntity method.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@969 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-19 15:10:38 +00:00 |
|
Jens Ayton
|
17e40ba6c7
|
Lots of fiddling around, most of it reverted. Meh. New shinier (and simpler) sky.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@968 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-19 15:09:05 +00:00 |
|
Jens Ayton
|
3c4929873f
|
Made fallback material data-driven, for great justice.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@967 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-14 16:39:21 +00:00 |
|
Jens Ayton
|
6643d24da1
|
Implemented garish placeholder texture for meshes with no TEXTURES section. Fixed bug where StationEntites were not being initialized fully. Made tharglets unpiloted.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@966 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-14 15:54:13 +00:00 |
|
Jens Ayton
|
a1597b4e6b
|
Changed sky to use additive blending; converted galaxy and star textures to one channel and adjusted black points.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@965 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-13 15:29:13 +00:00 |
|
Jens Ayton
|
dfbaee641c
|
Removed code to use mipmap scalers when rescaling arbitrarily, because a) it's not very useful since I went with box filtering and b) it didn't work.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@964 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-13 14:14:38 +00:00 |
|
Jens Ayton
|
25a46d911b
|
Texture scaling library complete.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@963 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-13 14:06:49 +00:00 |
|
Jens Ayton
|
6701857ef9
|
Fixed some texture scaler bugs.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@962 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-13 01:55:58 +00:00 |
|
Jens Ayton
|
30b2407603
|
Implemented horizontal squeeze scalers (box filter).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@961 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-13 01:02:33 +00:00 |
|
Jens Ayton
|
ed3e07ac24
|
Better horizontal stretch scalers (now work by rows instead of by columns for cache coherency)
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@960 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-12 21:24:57 +00:00 |
|
Jens Ayton
|
b06e89d5e9
|
All texture loading now goes through OOTexture (although still in some cases indirectly via TextureStore). SDLImage is thus obsolete. Removed obsolete bits of OpenGLSprite. Fixed cache pruning logic. blur256.png is now the actual texture used, rather than a placeholder. Black point adjustment for galaxy256.png's alpha channel. Fixed high-level logic in texture scaler.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@959 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-12 13:43:08 +00:00 |
|
Jens Ayton
|
380d7cfe6d
|
Implemented horizontal stretch scalers.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@958 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-12 10:22:00 +00:00 |
|
Jens Ayton
|
f31ba4c5b3
|
Made time shader uniform not a special case. Made shader uniform bindings actaully update. Fixed crashing bug in texture cache.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@957 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-11 10:56:10 +00:00 |
|
Jens Ayton
|
64005866ab
|
Turned Matrix into a struct for reasons of Hygiene and identification. Implemented bound matrix shader uniform support. Recognize binding types the right way (using @encode). Default bindings (time, laser_heat_level etc.) now work again.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@956 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-11 10:07:48 +00:00 |
|
Jens Ayton
|
e79535a9f4
|
Added support for vector, quaternion, matrix, NSNumber and OOColor shader uniforms.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@955 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-11 08:33:01 +00:00 |
|
Jens Ayton
|
076bf6c4fa
|
Lots of stuff I've been working on over the last few weeks - mainly moving ShipEntity rendering into new class (OOMesh); also work on robustness of plist handling and stuff. Texture caching management is currently buggy.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@954 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-08 15:24:13 +00:00 |
|
Jens Ayton
|
c96837389c
|
Fixed uninitialized variable warnings.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@953 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-08 13:57:01 +00:00 |
|
Nikos Barkas
|
eb272a8ae7
|
Damaged equipment displayed on commander status screen.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@952 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-08 06:36:07 +00:00 |
|
Jens Ayton
|
c634cc193a
|
Fixed greyscale mipmap generation on little-endian systems. Various material-related fixes.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@951 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-05 23:11:32 +00:00 |
|
Jens Ayton
|
e768efde76
|
Removed unused files.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@950 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-05 12:16:51 +00:00 |
|
Jens Ayton
|
0e59c00408
|
Changed Advanced Nav Array key to &.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@949 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-04 09:46:48 +00:00 |
|
Nikos Barkas
|
b8c20d549a
|
Fixed saving game on Windows build. Added location, galaxy number and game timestamp in save/load screens.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@948 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-02 14:15:32 +00:00 |
|
Jens Ayton
|
d6efcc1187
|
Fixed crashing inconsistency bug when inserting an already-existing object into cache, not that anything's supposed to do that. Other work in progress, but breaks sub-entities and thus not checked in.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@947 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-05-01 21:39:49 +00:00 |
|
Jens Ayton
|
5eacc5ba35
|
New attempt at cross-platform threaded texture loading. Also work on OOMesh implementation based on old Entity drawing code (fancy optimized version having stalled) and fixed problem that was causing synchronization of logcontrol.plist.xml to not happen.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@946 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-04-29 14:55:48 +00:00 |
|
Jens Ayton
|
6f01dc4df3
|
Moved some resource manager caches into persistent cache. Fixed shipyard.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@945 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-04-25 14:23:22 +00:00 |
|
Jens Ayton
|
0481b90f2a
|
Changed synchronization mechanism used by async texture loader, because the old one didn't work on Windows. Relabelled all the files that are entirely by me as dual-licensed under GPL+MIT/X11 license. Work on OOMesh stuff, although it doesn't actually do anything useful yet. Probably other stuff done while BerliOS was down.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@944 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-04-23 22:21:38 +00:00 |
|
Jens Ayton
|
3e240cf86c
|
Improved efficiency of retrieving unique (non-merged) files in ResourceManager. Changed OOTextureLoader semantics slightly to avoid memory leak when releasing a texture which hasn't completed loading yet.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@943 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-04-20 23:51:27 +00:00 |
|
Jens Ayton
|
9e9923f285
|
Scaler work: rewrote high-level scaler function, implemented vertical-stretch scalers. Implemented test case (wow).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@942 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-04-20 17:33:55 +00:00 |
|
Jens Ayton
|
c7f364c736
|
Fixed thread-safety of logging, made indent level and indent stack per-thread.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@941 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-04-19 23:30:27 +00:00 |
|
Jens Ayton
|
69bb52f7e1
|
Now use OOTexture for text.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@940 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-04-17 18:35:32 +00:00 |
|
Jens Ayton
|
dcee0200b2
|
Attempt at fixing Windows build. Also started on GL_EXT_rectangle_texture support (mostly for HUDs and maybe mission screeen images).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@939 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-04-17 17:27:33 +00:00 |
|
Jens Ayton
|
d5f8ae15de
|
Tweaks to OOCache to make it usable directly for self-pruning in-memory caches. Use one of said caches for OOTextures.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@938 127b21dd-08f5-0310-b4b7-95ae10353056
|
2007-04-17 10:31:49 +00:00 |
|