1
0
forked from mirrors/0ad

Commit Graph

  • 34637ba5dc # refactor sysdep API, split it into parts - split up detect.cpp into snd, cpu, gfx (headers were already split) - rename detect functions for more clarity (e.g. get_cur_vmode -> gfx_get_video_mode) - rename lib/res/sound/snd to snd_mgr to avoid conflict with sysdep/snd.cpp - waio: set errno in aio_rw (addresses bug #73) janwas 2006-04-10 20:12:25 +00:00
  • 674bbc3735 # archive builder now unmounts and deletes old archives after building a new one vfs_optimizer: also refactor existing_archives. all existing root dir entries are filtered and only archives remain. janwas 2006-04-10 19:09:11 +00:00
  • 3dec1bfb20 # bugfix for #78: definition of PATH_MAX was too small/mixed up with VFS_MAX_PATH janwas 2006-04-10 16:59:21 +00:00
  • 6eac18d9fe # housekeeping (improve unreachable code annotations and avoid compiler warnings) adts: use SAFE_FREE config: add CONFIG_FINAL; use it in compression,vfs_optimizer,scriptablecomplex lib: add discussion of unreachable code avoidance; revise UNREACHABLE and add NODEFAULT ogl_tex, tex_dds: remove some unnecessary UNREACHABLE sysdep: move compiler-specific implementation of UNREACHABLE here. use NODEFAULT in snd, wdbg, wposix, wsdl janwas 2006-04-10 06:44:54 +00:00
  • f3aa2dd222 # housekeeping: janwas 2006-04-09 07:46:37 +00:00
  • baf357d2ea # Began work on new pathfinder Created CTerrain::getSlope(x,y), and added a new order type to support high-level pathing. kevmo 2006-04-09 00:36:52 +00:00
  • 604225f971 # Fix unportable code and g++ specific warnings prefect 2006-04-08 23:47:29 +00:00
  • c38a5379f6 This was SVN commit r3733. pyrolink 2006-04-08 22:35:23 +00:00
  • f2e867e239 #Bar borders and angle penalty pyrolink 2006-04-08 22:34:54 +00:00
  • b6d46bb918 # final version of thesis janwas 2006-04-07 16:46:40 +00:00
  • 8c6fd12969 # Code for automatic SVN public logging Ykkrosh 2006-04-08 12:59:11 +00:00
  • 6365c30098 # Fixed failure when saving maps FilePacker: removed code that used to be in a #ifdef SCED Changed to PSERROR system, for error-reporting consistency Ykkrosh 2006-04-04 04:14:10 +00:00
  • b37d3f2095 # fix W4 warnings on VC janwas 2006-04-03 22:06:09 +00:00
  • 44901d38b9 # further documentation and improvements to lib/res/file code FILE_CACHE_BLOCK flag used more safely (copied in afile_read) add file_sector_size (set from sysdep code) documented and organized FileFlags moved publically visible file_buf* decls to file.h; add FileBufFlags file_buf_get: moved to file_io and renamed because it is not a part of the file_buf manager itself FILE_BLOCK_SIZE no longer exposed to users - it's an implementation detail. for alignment purposes, you should use file_sector_size (less wasteful) add page_aligned allocator (mmap) write buffers now allocated via file_buf_alloc(FB_FROM_HEAP) (avoids wasting cache space) append trace runs into the trace file (-> better input data for archive ordering) document lib_errors.h tex_load: add provision for file_flags, used by ogl_tex_load to prevent caching file data janwas 2006-04-03 21:28:10 +00:00
  • 0eff1cac9f #Completed first draft of the roman mill and fortress. Wijitmaker 2006-04-03 10:25:34 +00:00
  • ef155571c0 # As requested by Jason, now only one tab list in the Status Pane will be open at any time (hovering one will close any others that are open). Acumen 2006-04-03 04:54:43 +00:00
  • 5738bd4820 # overhauled error handling; made sure all low-level function failures are caught at the source. janwas 2006-04-03 01:00:45 +00:00
  • 001e951066 Autobuilder: Notify autologger of commits. Ykkrosh 2006-04-03 21:08:58 +00:00
  • d9944f9524 # remove last occurrences of old ScEd-specific code janwas 2006-04-02 16:27:34 +00:00
  • bd96a1ab7c # fix unit rank texture loading (was crashing when displaying log message) problems: for a "vector<CStr>::iterator it", passing *it to a varargs function taking const char* (baad because compiler cannot invoke the operator const char* and therefore screws up the stack); incorrect parameters to LOG(). thanks go to philip for diagnosing the problem! janwas 2006-04-02 07:22:23 +00:00
  • b5ad9faf74 # fix STL complaint when running on VC8 and building archive (STL implementation AFAICS incorrectly disallows taking &vector[0] if empty but memory has been reserved) janwas 2006-04-02 04:50:47 +00:00
  • 31dd421c15 # Updated test actor and script for prop switch testing Wijitmaker 2006-04-01 23:49:59 +00:00
  • d17c57657f April fools celtic genetic engineering lab added - actor is under /temp Aeros 2006-04-01 19:37:21 +00:00
  • cf14a7bc15 -rank/formation stuff and fixes. To give a unit a rank texture, just set rank.name in the entity's XML to the filename of the texture e.g. elite.dds or advanced.dds pyrolink 2006-03-31 03:37:36 +00:00
  • 3408b078b7 #Unit formations and rank textures pyrolink 2006-03-31 03:30:34 +00:00
  • 87780e328a Potentially really fix that renderpath related crash. prefect 2006-03-31 02:19:11 +00:00
  • 66fa4f51f1 # Updating of some cursors to replace temporary artwork. Wijitmaker 2006-03-30 09:41:09 +00:00
  • a201382bad Fixing the greek trireme Wijitmaker 2006-03-30 07:03:14 +00:00
  • 799d3f0fce #A well eye-candied map for testers and staff members to marvel at the new self-shadowing. Mythos_Ruler 2006-03-30 05:23:08 +00:00
  • 083e495ecc #* Updated the forage and hoe animations for props Wijitmaker 2006-03-29 10:47:44 +00:00
  • b951eb5fd6 #Fix a potential crash in renderpath selection. prefect 2006-03-28 19:45:44 +00:00
  • 43ee589760 #* Updated the lumber and mining animations to work correctly with props Wijitmaker 2006-03-28 11:35:32 +00:00
  • 5acfc87608 #Adjust the default Z bias for shadow rendering. prefect 2006-03-27 19:00:04 +00:00
  • 35e9a966dc #*Colorized teh command icon sheet #*Updated all the formation icons Wijitmaker 2006-03-27 11:12:20 +00:00
  • b57ccc0887 * Fix: Silly operator precedence problem prefect 2006-03-26 22:18:35 +00:00
  • 0d648b2df8 #More accurate bounds calculations to improve shadow resolution prefect 2006-03-26 21:58:48 +00:00
  • 73506eb076 #Code cleanups related to renderer prefect 2006-03-26 17:46:18 +00:00
  • 8fd256c458 #Use EXT_framebuffer_object when available prefect 2006-03-26 17:36:33 +00:00
  • 12b214bf27 #Tweak of some lighting settings on Ken's map Wijitmaker 2006-03-26 11:12:11 +00:00
  • e2bbd9a654 #Models receive shadows now, including self-shadows. prefect 2006-03-26 00:54:20 +00:00
  • 0bd5778536 #Fix a crash in the heightfield tracer. prefect 2006-03-25 22:13:28 +00:00
  • 0e09451cfb # bugfix avoid warning due to imbalanced buffer count janwas 2006-03-25 21:44:25 +00:00
  • cc26968249 # IO thesis: add TSP measurement, lessons learned and bibliography (bibtex) janwas 2006-03-25 20:57:16 +00:00
  • d6abc57868 # add instrumentation to file_cache; bugfixes janwas 2006-03-25 07:08:29 +00:00
  • dadd15ef00 # IO thesis: incorporate revisions from 2nd reviewer and add experimental results for cache janwas 2006-03-25 07:05:04 +00:00
  • 8371f42da9 # IO bugfixes and improvements; more support for cache/seek measurements janwas 2006-03-24 21:56:00 +00:00
  • 34ff09529d # Implemented "pick list" selection code in UI. (Stances and formations can now be selected.) # Added Explore tag for infantry units. # Temporarily assigned a standard set of formations to all units for testing purposes. # Fixed pick list tab style. * (Also updated traits.formation in Wiki to keep in sync.) * Added "loose" formation -- is there a better name for that? -- since presumably we'll need an option to disband the current formation. * Pushed selection tab behind the pane as an easy alternative to shifting it about. * Started working on lists with "mixed" items (from different sheets, like Allegiances), but decided halfway to commit the formation stuff for Andrew. * (Incidentally, as suspected, there isn't enough room for all these items. All four horizontal tabs are now maxed out on a typical CS. Might have to append the kill and player tribute items from Allegiance onto Stance.) * (Also, if we need more than 11 items in the list, that will also need to be adapted sooner rather than later. The representative formation list is maxed out.) Acumen 2006-03-24 20:59:09 +00:00
  • e72adfff5c # Two new updated animations for the chop and the mine actions. Updated test actor accordingly. Wijitmaker 2006-03-24 12:11:46 +00:00
  • ad8c29a8c7 Just a test map to see how close I can get to an actual Mediterranean biomic map given our current art assets. It is currently unfinished, but will continuously update. Mythos_Ruler 2006-03-24 05:24:46 +00:00
  • b431089ee7 # revisions to IO thesis suggested by adviser janwas 2006-03-23 23:14:53 +00:00
  • eba3e5fdd6 setup new docs dir for thesis and maybe other files (as discussed with stuart, it doesn't fit in binaries or source) janwas 2006-03-23 18:17:13 +00:00
  • 3efeeecb84 # Made two new animation files (gather, hoe) for testing animations. Also modified the hele_inf_jav_b to use the new actor format for testing purposes. Wijitmaker 2006-03-23 10:50:45 +00:00
  • 792c479165 * Fixed bug in command lists that was causing the first item in a production list to not be displayed. Acumen 2006-03-23 07:45:52 +00:00
  • c802dc3152 * Fixed minor glitch which was causing the garrison icon to not appear. (Temporarily moved garrison value into command cell sheet, then changed mind and swapped it back to having its own sheet, since it'd probably need to be coloured to match the nearby supply icon.) Acumen 2006-03-22 18:21:27 +00:00
  • 8dd3a61a3a * Took Philip's advice and made all local GUI variables actually local using var. Acumen 2006-03-21 22:30:29 +00:00
  • f45c44ca09 Rotated various things (terrain texture UVs, default light and camera angles) by 45 degrees. Ykkrosh 2006-03-21 20:55:45 +00:00
  • ccc8055226 Fail more nicely with invalid actors Ykkrosh 2006-03-19 22:37:56 +00:00
  • c29f4ca444 Minor alignment correction. Acumen 2006-03-19 06:38:24 +00:00
  • be382223f8 fixing the glossy buttons Wijitmaker 2006-03-19 02:34:02 +00:00
  • f5f4670d7f tweaks for thesis and minor fixes. janwas 2006-03-18 21:28:47 +00:00
  • 2e0a312913 update load time estimates. CSimulation is quite high and in need of optimization! janwas 2006-03-18 21:25:03 +00:00
  • 28c6bc2fbb * Minimap buttons are in place and clickable (though not actually hooked up with any events yet). The arc buttons still don't look quite right, but artist intervention will no doubt set me right. Acumen 2006-03-18 17:42:37 +00:00
  • 8315bcce96 * Fixed invalid name bug that slipped in when I did a blind commit. (Minimap buttons aren't positioned right, but at least I've got some of them up.) * Split command backs into outer ring and inner bubble (so nested add_color can be used to illuminate only the interior). * Used nested add_color (when you have a new toy, you have to play with it) to make only the icon of a tab illuminate, which looks a lot better. * Removed garrison sprite definition, since that cell sheet is not long for this world. Acumen 2006-03-18 06:58:16 +00:00
  • 7fc3d5cfac This was SVN commit r3661. Mythos_Ruler 2006-03-18 05:49:56 +00:00
  • b0d1110f52 Reduced length of some of the player names, since they were longer than the GUI pane where they're displayed. (And thanks for the XML, Philip.) Acumen 2006-03-18 05:31:35 +00:00
  • c2f13c689e Load default player data from XML Ykkrosh 2006-03-18 04:38:41 +00:00
  • afae448b11 fix: memory leak fix wasn't correctly resetting root node during tree_clear. this caused crash after creating archive. janwas 2006-03-18 01:07:05 +00:00
  • 6f506dcc33 * UI tweaks, fixes, updates for the affected files. Wijitmaker 2006-03-17 10:52:00 +00:00
  • d3f57744d9 Refactored actor variation system, and added support for entity-level selections (controlled by the current animation). Ykkrosh 2006-03-17 03:59:49 +00:00
  • 6eda8c2209 file_cache: make infinite loop warning less likely vfs_mount: only notify archive builder of files that are archivable vfs_optimizer: fix should-rebuild logic; make 2 criteria optional and disable in final release for convenience janwas 2006-03-16 18:57:09 +00:00
  • 3f95dcb6ba Idle and Flare buttons on the MiniMap (though I'm currently not sure why they're unclickable). Acumen 2006-03-16 17:38:55 +00:00
  • f32388742b * New command icons because the old ones were ugly (tried out the new abrg dds convert - works nicely and looks better with these monochromatic gradients) * Experimented with rollovers for the command icons Wijitmaker 2006-03-16 11:29:50 +00:00
  • 7564827a8a adts: DynHashTbl: safely handle calling clear() right before dtor vfs: remove second call to tree_init (now done by vfs_mount) vfs_tree: fix memory leak due to not destroying root node. commented and armor-plated things while at it. janwas 2006-03-16 07:16:24 +00:00
  • 0a1077bdbd removing a pesky (local?) log that causes my SVN to error Wijitmaker 2006-03-16 06:56:10 +00:00
  • 72af90ea14 This was SVN commit r3645. Mythos_Ruler 2006-03-16 04:00:42 +00:00
  • 8b3e5759eb Fixed GC bug (plus some potential ones that didn't seem to actually cause problems). Ykkrosh 2006-03-16 03:45:31 +00:00
  • 37c99471c2 archive: bugfix: archive_build_cancel is now no-op if build not in progress. janwas 2006-03-15 21:37:30 +00:00
  • 254a2df794 Console: Avoid inserting unprintable characters, e.g. when doing ctrl+c. Ykkrosh 2006-03-15 19:19:03 +00:00
  • 26dc8cc4c8 - tex_dds: fix comment; enable warning on unsupported formats - renderer: avoid particle-emitter memory leak warnings Ykkrosh 2006-03-15 18:32:24 +00:00
  • 8438a45948 * fixed the stat icons (resizing 64x64 textures down to 16x16 isn't as pretty as the real 16x16 texture) * made the menu icons * tweaked the tech icon Wijitmaker 2006-03-15 11:59:32 +00:00
  • d2c9a02df2 This was SVN commit r3637. Mythos_Ruler 2006-03-15 09:10:02 +00:00
  • f037b13fc6 use new archive_open return value to ignore invalid zip files (and not add them to VFS) janwas 2006-03-15 05:56:01 +00:00
  • 3d93740456 - allocators: SingleAllocator: renamed free method to release() to avoid need for nommgr - lib, sysdep.h: move DIR_SEP to sysdep.h - archive, compression: minor touchups - zip: large refactor: all accesses to little-endian structs are now done by helper functions (fixes bug: wasn't endian swapping ECDR). also detect unfinished zip files (for VFS mount to ignore) - tex_dds: fix comment janwas 2006-03-15 05:18:32 +00:00
  • 55f91550b5 * CSV-based icon sheet definitions. (Mmm, data-driven methodology ...) * First wave of minimap changes (still need to do all the buttons). * Removed deprecated UI art. Acumen 2006-03-14 23:01:55 +00:00
  • ed38414b41 Texture converter, DevIL: ABGR DDS support. Ykkrosh 2006-03-14 21:29:19 +00:00
  • 1c1bfcbb53 fixed orientation of minimap pane Wijitmaker 2006-03-14 20:14:34 +00:00
  • fd65ae8415 Minimap side of the session - background with some buttons and icons Wijitmaker 2006-03-14 10:58:50 +00:00
  • 1d5308316e bugfixes for problems reported by philip: (thanks!) janwas 2006-03-14 07:20:12 +00:00
  • e1d5b241f2 New 'validProperty (propertyString)' function takes care of checking the validity of each subelement in an entity property. (Reduces all that 'if (a && a.b && a.b.c && a.b.c.d)' malarky to 'if (validProperty ("a.b.c.d"))'.) Acumen 2006-03-13 20:58:21 +00:00
  • d776024848 bugfix: was not propagating mount point flags to Mount structure created for archives. this could result in no "archivable" files being found during archive build, leading to ERR_DIR_END. janwas 2006-03-11 03:30:36 +00:00
  • b605cc8a85 adts: fix brain-dead bug that was slowing down Divider_Recip vfs_optimizer: add note on future improvements janwas 2006-03-10 22:35:58 +00:00
  • 2c405028f4 * Increased Optimus font to 14b. Acumen 2006-03-10 21:23:39 +00:00
  • 0defe7a347 New command icons Updated the rank icons darkened 3 of the civ status images to help with readability Wijitmaker 2006-03-10 12:57:05 +00:00
  • 3a35ea935c * Revised and hopefully ultimate resource counters. I have to admit they look pretty damn good to me. Acumen 2006-03-09 22:17:04 +00:00
  • 201aae41d9 file: pp_set_dir fix: safely handle case where pp.path already contains data; add TFile* member to DirEnt vfs: add VFS_MOUNT_ARCHIVABLE flag; allow archive builder to only include files from mount points with this set. janwas 2006-03-09 21:37:23 +00:00
  • ab58cab488 * Status-Pane-integrated civ information. Acumen 2006-03-09 16:49:26 +00:00
  • 23409df58c * Icon reshuffling. Acumen 2006-03-09 16:46:02 +00:00
  • 5aed6a1ef6 This was SVN commit r3615. Acumen 2006-03-09 16:43:09 +00:00
  • 3f98bdc76d UI goodies - new status pane, civ overlays for the status pane, new resource icon background stuff, fixed the stat icons as requested Wijitmaker 2006-03-09 11:25:57 +00:00
  • 78710b8ff1 * Adjusted position of buttons so they arc the Status Pane. Acumen 2006-03-08 19:13:56 +00:00