1
0
forked from mirrors/0ad
Commit Graph

1948 Commits

Author SHA1 Message Date
Ykkrosh e2c61d1519 Actor Editor: Changed serialisation system for import/export/undo/redo, so that file-opening can be undone/redone correctly.
This was SVN commit r2071.
2005-03-27 23:53:41 +00:00
janwas fd14510005 minor improvements: squelch warnings when dumping; debug_out an indication that is_string_ptr raised an exception
This was SVN commit r2070.
2005-03-27 18:17:03 +00:00
Ykkrosh 71705b5aa4 Actor Editor: Most-recently-used files list. 'New' menu item. Shuffled some header inclusions around.
This was SVN commit r2069.
2005-03-27 18:07:01 +00:00
janwas 36cd555ba7 slight change to error paths for convenience (RETURN_ERR)
This was SVN commit r2068.
2005-03-27 17:40:40 +00:00
janwas 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)

This was SVN commit r2067.
2005-03-27 17:27:49 +00:00
janwas f777979cc8 detect: add posix.h so _SC_* defines are visible (enables mem detect)
in several files, expand one-line function bodies (hard to debug)

This was SVN commit r2066.
2005-03-27 17:24:57 +00:00
Ykkrosh bfe7c1b491 Made icon implementation less bad, so that it doesn't conflict with ScEd
This was SVN commit r2065.
2005-03-27 14:03:30 +00:00
Acumen 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.
This was SVN commit r2064.
2005-03-27 10:29:48 +00:00
Wijitmaker 2b23bf1de9 Previously had impropper positions for the center origin of the house A and its prop, so fixing that...
This was SVN commit r2063.
2005-03-27 07:09:58 +00:00
Wijitmaker ae21bf9329 changed the temple's footprint to the proper size of 3x3
This was SVN commit r2062.
2005-03-27 07:08:42 +00:00
Wijitmaker 018f57d8fb Changed the footprint size to a 2x2 (propper size) tile vs. the 3x3
This was SVN commit r2061.
2005-03-27 07:02:43 +00:00
Wijitmaker 6b10c4f52d Random house test for Stuart to experiment with
This was SVN commit r2060.
2005-03-27 07:01:39 +00:00
janwas 204960c8ee add vfs_init, shorten load timeslice
This was SVN commit r2059.
2005-03-27 01:47:36 +00:00
janwas 6bf2600808 huge change:
- replace std::map with custom filename lookup container (more
efficient)
- split into 3 parts (was too big)
also added struct stat-like fields to vfsDirEnt

still under heavy development.

This was SVN commit r2058.
2005-03-27 01:46:54 +00:00
janwas a1981970e5 new EnumDirEnts call; replaces previous implementation in BaseEntityCollection.cpp that didn't handle subdirectories
This was SVN commit r2057.
2005-03-27 01:44:41 +00:00
janwas ba636ca96c wposix: fix for USE_MMGR: undef getcwd
singleton: switch to assert2
loader: simpler HaveTimeForNextTask check

This was SVN commit r2056.
2005-03-27 01:37:10 +00:00
janwas 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)
This was SVN commit r2055.
2005-03-27 01:33:18 +00:00
janwas ffdc1d8360 add lower-case hash (used by VFS) and revise match_wildcard to accept anything if pattern=0
This was SVN commit r2054.
2005-03-27 01:31:39 +00:00
Ykkrosh 2fb2f80aa0 Actor Editor: Open / save / save as. Confirmation on exit. Allow launch from command line / Explorer.
This was SVN commit r2053.
2005-03-30 10:35:43 +00:00
Ykkrosh a321f1cc9f Added simple icon (on Windows)
This was SVN commit r2052.
2005-03-26 19:23:52 +00:00
Wijitmaker ae71a6ba16 Iberian Structures!
This was SVN commit r2051.
2005-03-26 06:37:43 +00:00
Ykkrosh 2073733761 Fixed support for extra-new actor format. Updated binaries.
This was SVN commit r2050.
2005-03-26 00:22:42 +00:00
Ykkrosh c11465cfbf Updated actor references to use filenames instead of names, to allow more efficient loading. Added backward-compatible file support to the Actor Editor.
This was SVN commit r2049.
2005-03-25 23:04:36 +00:00
janwas fea0755911 wpthread - better comments
wtime - fix stupid CALIBRATION_FREQ bug - it was set to 1000 [i.e. "ms
interval"]

This was SVN commit r2048.
2005-03-25 20:24:39 +00:00
janwas 481cd97d92 fix timeout calc bug reported by philip (thanks!)
This was SVN commit r2047.
2005-03-25 18:55:26 +00:00
Ykkrosh c2b7df72ce Updated ScEd binary. Fixed problem with loading maps.
This was SVN commit r2046.
2005-03-24 20:57:42 +00:00
Ykkrosh af7fa2fc6c Actor Editor: File-selection dialogs in appropriate places. (They're not very nice, but they work most of the time)
This was SVN commit r2045.
2005-03-24 19:01:06 +00:00
Ykkrosh 6dbe768dd9 Actor Editor: Combo-box lists, loaded from XML. Allowed right click to edit cells.
This was SVN commit r2044.
2005-03-24 12:53:48 +00:00
Ykkrosh b58a6339bb Stopped undesirable loading-screen blending
This was SVN commit r2043.
2005-03-24 00:02:54 +00:00
Ykkrosh 5078dc1f67 Actor Editor: Allowed undo of import, though not quite correctly. Tidied up other undo-related code a little.
This was SVN commit r2042.
2005-03-23 21:14:03 +00:00
Aeros 0e77c4eaba This was SVN commit r2041. 2005-03-23 04:20:21 +00:00
Aeros 488232c0ea This was SVN commit r2040. 2005-03-23 04:15:58 +00:00
Ykkrosh 020645d583 Hacked up ScEd a bit, to disable its actor editor and to let users place entities (rather than actors) on the map.
This was SVN commit r2039.
2005-03-22 23:31:30 +00:00
janwas f19d8dafee improved update frequency and accuracy of progress bar (by splitting up more init functions).
also add thunk mechanism to ease binding to member functions;
finally, added instrumentation to measure how long functions really take

This was SVN commit r2038.
2005-03-22 21:00:56 +00:00
Ykkrosh 9feaba2f36 Random actor test example thing
This was SVN commit r2037.
2005-03-22 18:41:19 +00:00
Ykkrosh 5460b8982e Various small fixes and minimal improvements
This was SVN commit r2035.
2005-03-22 13:54:37 +00:00
Ykkrosh 5b11dbb6b0 Corrected string conversion slightly
This was SVN commit r2034.
2005-03-22 12:09:11 +00:00
janwas 6d792365aa rough but functional loading progress bar support.
numerous TODOs remaining - initial update instead of only after
completing first job; fix GUI overdraw issue; decrease granularity
(currently only 3 updates)

This was SVN commit r2033.
2005-03-22 02:17:55 +00:00
janwas 5e3b0f06ec documented and revised after review by philip (thanks!) - progress is now calculated from estimated duration; next instead of current description is returned
This was SVN commit r2032.
2005-03-21 13:33:21 +00:00
Ykkrosh 046e1e3adc Fixed a failure caused by "Intel(R) 82845G/GL/GE/PE/GV Graphics Controller" being preposterously long
This was SVN commit r2031.
2005-03-20 21:34:01 +00:00
janwas 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

This was SVN commit r2029.
2005-03-20 15:45:52 +00:00
janwas 77d3c5d0b5 initial loader implementation - provides a queue that is worked off from the main loop; a timeout ensures responsiveness.
this is the framework that will allow progress bar updates.

This was SVN commit r2027.
2005-03-20 14:32:43 +00:00
Ykkrosh 06d6cd17f5 Actor Editor: pretty colours
This was SVN commit r2026.
2005-03-20 00:46:39 +00:00
Ykkrosh d0146135c4 Initial Actor Editor code
This was SVN commit r2025.
2005-03-19 22:29:32 +00:00
Ykkrosh 2091822e16 Added map "randomactor", featuring an example of a random actor. Also added a random actor, featured in the aforementioned map.
This was SVN commit r2024.
2005-03-19 21:29:38 +00:00
Ykkrosh afcf7453a3 Random actors, now with fewer missing files
This was SVN commit r2022.
2005-03-19 19:10:52 +00:00
Ykkrosh 9e8d3d6518 Mostly complete support for random actors
This was SVN commit r2021.
2005-03-22 17:09:36 +00:00
janwas 1019dffdc3 fixed occasional deadlock at exit
This was SVN commit r2019.
2005-03-19 14:23:26 +00:00
Ykkrosh 79da4bf050 On-demand loading of actors (sort of)
This was SVN commit r2017.
2005-03-19 11:55:27 +00:00
Ykkrosh 219509f00f Fixed another missing posix.h. Documented a little bit of main.cpp.
This was SVN commit r2016.
2005-03-18 23:04:29 +00:00