1
0
forked from mirrors/0ad

Commit Graph

  • a1fe270ff4 Fixed bug that caused entities to have no bounding boxes. (Oops.) Ykkrosh 2005-03-29 22:26:48 +00:00
  • 249aaf436f Allowed JS access to GUI object event handlers, via object.onPress etc. Ykkrosh 2005-03-29 22:04:38 +00:00
  • 22dd4dd67b Entities: Removed Tag attribute; it is taken from the filename instead. Made entity XML files be loaded on demand. Probably stopped crash when maps contain non-existent entities. Fixed a few bugs in entity definitions. Ykkrosh 2005-03-29 20:50:04 +00:00
  • e6c56d0537 Update of the ps.exe icon Wijitmaker 2005-03-29 13:34:00 +00:00
  • e86001f45e - file bugfix: truncate when opening for writing (problem reported by philip) - file: now return size at close() time for use with VFS - zip: tested open speed, added [exec time] notes janwas 2005-03-29 06:27:35 +00:00
  • d60fc60a69 Replacement entities for the remaining houses other than Romans (to allow variations), and switching of resource pool to localPlayer, which should hopefully now mean player resources are maintained across a hosted game (haven't tested it yet). Acumen 2005-03-29 03:59:01 +00:00
  • 3c99f0f2eb Minor JavaScript updates MarkT 2005-03-28 22:13:47 +00:00
  • 7a31f202c0 Commited the house files for the random houses Wijitmaker 2005-03-28 05:54:59 +00:00
  • e2c61d1519 Actor Editor: Changed serialisation system for import/export/undo/redo, so that file-opening can be undone/redone correctly. Ykkrosh 2005-03-27 23:53:41 +00:00
  • fd14510005 minor improvements: squelch warnings when dumping; debug_out an indication that is_string_ptr raised an exception janwas 2005-03-27 18:17:03 +00:00
  • 71705b5aa4 Actor Editor: Most-recently-used files list. 'New' menu item. Shuffled some header inclusions around. Ykkrosh 2005-03-27 18:07:01 +00:00
  • 36cd555ba7 slight change to error paths for convenience (RETURN_ERR) janwas 2005-03-27 17:40:40 +00:00
  • 2fa430a4e6 - fix bug (wasn't setting mount_point of dir being mounted => crash while writing screenshot) - add check for changing filters while enumerating dirents - add path_component_valid - change iterator to only return valid entries (removing that burden from user code) janwas 2005-03-27 17:27:49 +00:00
  • f777979cc8 detect: add posix.h so _SC_* defines are visible (enables mem detect) janwas 2005-03-27 17:24:57 +00:00
  • bfe7c1b491 Made icon implementation less bad, so that it doesn't conflict with ScEd Ykkrosh 2005-03-27 14:03:30 +00:00
  • 644a9388ee Fix to make first "official" randomised entity ... Iberian house now points to an actor that contains its three variants. Replaced the houses in the ph2 map. Acumen 2005-03-27 10:29:48 +00:00
  • 2b23bf1de9 Previously had impropper positions for the center origin of the house A and its prop, so fixing that... Wijitmaker 2005-03-27 07:09:58 +00:00
  • ae21bf9329 changed the temple's footprint to the proper size of 3x3 Wijitmaker 2005-03-27 07:08:42 +00:00
  • 018f57d8fb Changed the footprint size to a 2x2 (propper size) tile vs. the 3x3 Wijitmaker 2005-03-27 07:02:43 +00:00
  • 6b10c4f52d Random house test for Stuart to experiment with Wijitmaker 2005-03-27 07:01:39 +00:00
  • 204960c8ee add vfs_init, shorten load timeslice janwas 2005-03-27 01:47:36 +00:00
  • 6bf2600808 huge change: janwas 2005-03-27 01:46:54 +00:00
  • a1981970e5 new EnumDirEnts call; replaces previous implementation in BaseEntityCollection.cpp that didn't handle subdirectories janwas 2005-03-27 01:44:41 +00:00
  • ba636ca96c wposix: fix for USE_MMGR: undef getcwd singleton: switch to assert2 loader: simpler HaveTimeForNextTask check janwas 2005-03-27 01:37:10 +00:00
  • 12eab0ded6 faster default options; try-catch around padding checks to catch really bogus pointers; our heap-valid checks come before the system's (because they're better behaved/more robust) janwas 2005-03-27 01:33:18 +00:00
  • ffdc1d8360 add lower-case hash (used by VFS) and revise match_wildcard to accept anything if pattern=0 janwas 2005-03-27 01:31:39 +00:00
  • 2fb2f80aa0 Actor Editor: Open / save / save as. Confirmation on exit. Allow launch from command line / Explorer. Ykkrosh 2005-03-30 10:35:43 +00:00
  • a321f1cc9f Added simple icon (on Windows) Ykkrosh 2005-03-26 19:23:52 +00:00
  • ae71a6ba16 Iberian Structures! Wijitmaker 2005-03-26 06:37:43 +00:00
  • 2073733761 Fixed support for extra-new actor format. Updated binaries. Ykkrosh 2005-03-26 00:22:42 +00:00
  • c11465cfbf Updated actor references to use filenames instead of names, to allow more efficient loading. Added backward-compatible file support to the Actor Editor. Ykkrosh 2005-03-25 23:04:36 +00:00
  • fea0755911 wpthread - better comments wtime - fix stupid CALIBRATION_FREQ bug - it was set to 1000 [i.e. "ms interval"] janwas 2005-03-25 20:24:39 +00:00
  • 481cd97d92 fix timeout calc bug reported by philip (thanks!) janwas 2005-03-25 18:55:26 +00:00
  • c2b7df72ce Updated ScEd binary. Fixed problem with loading maps. Ykkrosh 2005-03-24 20:57:42 +00:00
  • af7fa2fc6c Actor Editor: File-selection dialogs in appropriate places. (They're not very nice, but they work most of the time) Ykkrosh 2005-03-24 19:01:06 +00:00
  • 6dbe768dd9 Actor Editor: Combo-box lists, loaded from XML. Allowed right click to edit cells. Ykkrosh 2005-03-24 12:53:48 +00:00
  • b58a6339bb Stopped undesirable loading-screen blending Ykkrosh 2005-03-24 00:02:54 +00:00
  • 5078dc1f67 Actor Editor: Allowed undo of import, though not quite correctly. Tidied up other undo-related code a little. Ykkrosh 2005-03-23 21:14:03 +00:00
  • 0e77c4eaba This was SVN commit r2041. Aeros 2005-03-23 04:20:21 +00:00
  • 488232c0ea This was SVN commit r2040. Aeros 2005-03-23 04:15:58 +00:00
  • 020645d583 Hacked up ScEd a bit, to disable its actor editor and to let users place entities (rather than actors) on the map. Ykkrosh 2005-03-22 23:31:30 +00:00
  • f19d8dafee improved update frequency and accuracy of progress bar (by splitting up more init functions). janwas 2005-03-22 21:00:56 +00:00
  • 9feaba2f36 Random actor test example thing Ykkrosh 2005-03-22 18:41:19 +00:00
  • 5460b8982e Various small fixes and minimal improvements Ykkrosh 2005-03-22 13:54:37 +00:00
  • 5b11dbb6b0 Corrected string conversion slightly Ykkrosh 2005-03-22 12:09:11 +00:00
  • 6d792365aa rough but functional loading progress bar support. janwas 2005-03-22 02:17:55 +00:00
  • 5e3b0f06ec documented and revised after review by philip (thanks!) - progress is now calculated from estimated duration; next instead of current description is returned janwas 2005-03-21 13:33:21 +00:00
  • 046e1e3adc Fixed a failure caused by "Intel(R) 82845G/GL/GE/PE/GV Graphics Controller" being preposterously long Ykkrosh 2005-03-20 21:34:01 +00:00
  • 0b93abaa7c config: console alternate key=f9 (not f12, because that triggers a breakpoint in VC) moved write-screenshot key to f10 and disable wsdl hook => printscreen key copies to clipboard janwas 2005-03-20 15:45:52 +00:00
  • 77d3c5d0b5 initial loader implementation - provides a queue that is worked off from the main loop; a timeout ensures responsiveness. janwas 2005-03-20 14:32:43 +00:00
  • 06d6cd17f5 Actor Editor: pretty colours Ykkrosh 2005-03-20 00:46:39 +00:00
  • d0146135c4 Initial Actor Editor code Ykkrosh 2005-03-19 22:29:32 +00:00
  • 2091822e16 Added map "randomactor", featuring an example of a random actor. Also added a random actor, featured in the aforementioned map. Ykkrosh 2005-03-19 21:29:38 +00:00
  • afcf7453a3 Random actors, now with fewer missing files Ykkrosh 2005-03-19 19:10:52 +00:00
  • 9e8d3d6518 Mostly complete support for random actors Ykkrosh 2005-03-22 17:09:36 +00:00
  • 1019dffdc3 fixed occasional deadlock at exit janwas 2005-03-19 14:23:26 +00:00
  • 79da4bf050 On-demand loading of actors (sort of) Ykkrosh 2005-03-19 11:55:27 +00:00
  • 219509f00f Fixed another missing posix.h. Documented a little bit of main.cpp. Ykkrosh 2005-03-18 23:04:29 +00:00
  • 468657479c philip points out precompiled.h -> string_s.h includes posix.h - too heavy for the PCH replaced that with posix_types.h, which now defines size_t. this change exposed a lot of code that relied on posix.h being included implicitly; fixed those as well. janwas 2005-03-18 22:44:55 +00:00
  • 475dfb2c78 Partial support for new actor format. Partialer support for missing actors without crashing. Ykkrosh 2005-03-18 22:30:23 +00:00
  • ffd141c1e3 remove no longer necessary include guard define (it used to work around a mmgr and crtdbg conflict, but that has since been fixed) janwas 2005-03-18 22:26:49 +00:00
  • eab88e4354 param to InitVfs made const (BTW, why check argc?); remove lib_init janwas 2005-03-18 22:19:38 +00:00
  • a4aa9ab246 zip: add instrumentation, see how much time decompression takes janwas 2005-03-18 22:18:34 +00:00
  • c3bd4efa9b add O_NO_AIO_NP - if file.cpp doesn't want AIO access, the wposix code shouldn't open another (AIO capable) handle wposix: also cleanup aio_reopen janwas 2005-03-18 22:15:49 +00:00
  • 9a75e31bbd wsdl: cleanup semaphore code, move mouse functions near other "misc" functions wpthread: document problem encountered with CreateThread win_internal: minor cleanup janwas 2005-03-18 22:09:44 +00:00
  • df38ee95a8 remove atexit2 - explicit init and shutdown is safer and easier to understand. janwas 2005-03-18 22:07:55 +00:00
  • 308535d58d add instrumentation to see what's slow when starting a session janwas 2005-03-18 22:02:20 +00:00
  • af0800fbdd uses 32 bit hash instead of 64 - faster (clears up long standing TODO) janwas 2005-03-18 21:57:07 +00:00
  • b987de64a7 Fixed bug that made it impossible to start a game (music problem stopped the session load working). Fire Giant 2005-03-18 10:39:52 +00:00
  • 460ee1a22f Malte's female sketchs Wijitmaker 2005-03-18 10:24:00 +00:00
  • 246e319b1c First drafts of new MP GUI, commiting to stay in sync with the repository Fire Giant 2005-03-17 19:30:37 +00:00
  • c2d8daa135 Updated archive builder a little bit more Ykkrosh 2005-03-17 19:17:41 +00:00
  • 1e52b32f6b Updated archive builder, to avoid compressing things which probably don't benefit from it Ykkrosh 2005-03-17 17:52:53 +00:00
  • ae172a9a01 Disabled mipmaps on GUI textures and cursors Ykkrosh 2005-03-17 00:06:51 +00:00
  • 5a32947586 Added code for testing concept images on the loading screen. Fire Giant 2005-03-16 14:55:16 +00:00
  • 51aa0e2077 Adding temporary concept images for testing. Fire Giant 2005-03-16 14:54:17 +00:00
  • c3da7f5e33 statically allocated per-CPU info (simplicity), and profiler WIP janwas 2005-03-15 18:51:54 +00:00
  • 8afc1d9daf use H_DEREF janwas 2005-03-15 18:24:00 +00:00
  • 1b2527c49e add dox to posix.h; janwas 2005-03-15 18:23:13 +00:00
  • f1f945c2fa fix for bug reported by philip: had dxt1a and dxt1 backwards janwas 2005-03-10 20:29:27 +00:00
  • d37b081b2c Made things mostly compile and run on ICC 9.0 Ykkrosh 2005-03-10 20:28:25 +00:00
  • 3f15b5555c massive cleanup related to internal format. now calculated along with fmt during reload. janwas 2005-03-10 17:04:42 +00:00
  • a61e31e0a3 hook up JPG encoder. minor changes with JPG (en|de)code function shutdown janwas 2005-03-10 17:02:10 +00:00
  • 6908cc1062 still getting 'incorrect symbol tag' assert (SymTagBaseClass). replaced with debug_out janwas 2005-03-10 17:01:18 +00:00
  • eab8c2957a add VFS destination plugin for jpeg-6b (allows writing out images as JPG) removed unnecessary SIZEOF macro (replaced with sizeof) janwas 2005-03-10 16:59:01 +00:00
  • 19b3d2d388 rename oglExtAvail to oglHaveExtension main.cpp: also provide for different screenshot file formats by passing in extension ogl.cpp: also add oglHaveVersion janwas 2005-03-10 16:57:42 +00:00
  • 274771620a checks if buffer size == sizeof(char*), which suggests a bug in the calling code janwas 2005-03-10 16:56:13 +00:00
  • 2e13ec5ff1 fix stupid sizeof bug reported by philip janwas 2005-03-10 00:47:23 +00:00
  • cdecd9b242 Fixed floating prop on the persian CC and bad UV on the persian TC Wijitmaker 2005-03-10 00:41:42 +00:00
  • c2450ac266 Negligibly improved PMDExp's chances of compiling Ykkrosh 2005-03-09 18:13:35 +00:00
  • 11419fc1fe add pitch shift capability to snd.cpp and JS binding janwas 2005-03-09 16:17:26 +00:00
  • 3050d4c7fe posix: add semaphore.h wposix: add ETIMEDOUT errno wpthread: interface fix (was returning void from 2 functions); cleanup; removed TerminateThread (dangerous!); add sem_timedwait wtime: thread implementation switched to pthread - avoids TerminateThread issue janwas 2005-03-09 15:52:35 +00:00
  • db1a6ddf38 minor improvements janwas 2005-03-09 12:57:52 +00:00
  • 5b3d4a196c mucking about with base lib headers: janwas 2005-03-09 12:56:02 +00:00
  • 56af3ca47d Made lodbias and vsync config options work. Removed CHEEZY_NOMIPMAP (which forced mipmaps to be enabled), since it's evil. Ykkrosh 2005-03-09 00:55:22 +00:00
  • 89d9248116 Persian CC and HC Wijitmaker 2005-03-08 16:30:04 +00:00
  • 11d546d70a persian fancy props Wijitmaker 2005-03-08 16:29:47 +00:00
  • 4231bb25d0 persian fancy update Wijitmaker 2005-03-08 16:28:54 +00:00
  • 0aa41ad0e4 Committing some persian stuff. Wijitmaker 2005-03-08 16:27:10 +00:00
  • 0d6035ea68 Committing revised "game session" GUI coordinates (sorry, doesn't make much cosmetic difference, but it's an improvement on the code side). The command buttons and build lists still need to be revised (hence they're upside down -- the coordinate system has flipped), so please note that's a known problem. Acumen 2005-03-07 18:25:13 +00:00