1
0
forked from 0ad/0ad
Commit Graph

1961 Commits

Author SHA1 Message Date
8b12c84df7 ScEd: allowed creation of non-entity objects, pending total entitisation
This was SVN commit r2085.
2005-03-30 05:43:22 +00:00
b07d9954e0 Actor Editor: Copy-and-paste. Folder memory. Entity creation. Fixed importing.
This was SVN commit r2084.
2005-03-30 10:37:44 +00:00
827e06b8e4 Updated ScEd.
This was SVN commit r2083.
2005-03-30 02:06:00 +00:00
8d6ebe1b1f Made a start on making the team tray and group pane buttons functional. Removed the silly text from the loading screen now that we do indeed have a functioning progress bar. Refined structure for resource pool functions. Fixed up little things here and there.
This was SVN commit r2082.
2005-03-30 02:01:22 +00:00
9cc11918d3 Fixed small bug in GUI event-handler setting
This was SVN commit r2081.
2005-03-29 23:34:58 +00:00
a1fe270ff4 Fixed bug that caused entities to have no bounding boxes. (Oops.)
This was SVN commit r2080.
2005-03-29 22:26:48 +00:00
249aaf436f Allowed JS access to GUI object event handlers, via object.onPress etc.
Stopped crashes when ordering entities without bounding boxes.

This was SVN commit r2079.
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.
Maps: Stored non-entity objects in XML instead of PMP, for easier manual
editing. Updated existing maps to newest format, so that they can still
work. Added undocumented _rewriteMaps() JS function. Also renamed _mem
to vmem, and reclassified its undocumentedness as unintentional, since
it's reasonably useful.
Loader: added NonprogressiveLoad function, for ScEd/_rewriteMaps/etc
which don't care about progressiveness.
main.cpp: re-enabled vfs_display, since it doesn't crash now
Vector3D: stopped warning

This was SVN commit r2078.
2005-03-29 20:50:04 +00:00
e6c56d0537 Update of the ps.exe icon
This was SVN commit r2076.
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

This was SVN commit r2075.
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).
This was SVN commit r2074.
2005-03-29 03:59:01 +00:00
MarkT
3c99f0f2eb Minor JavaScript updates
This was SVN commit r2073.
2005-03-28 22:13:47 +00:00
7a31f202c0 Commited the house files for the random houses
This was SVN commit r2072.
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.
This was SVN commit r2071.
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
This was SVN commit r2070.
2005-03-27 18:17:03 +00:00
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
36cd555ba7 slight change to error paths for convenience (RETURN_ERR)
This was SVN commit r2068.
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)

This was SVN commit r2067.
2005-03-27 17:27:49 +00:00
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
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
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
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
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
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
6b10c4f52d Random house test for Stuart to experiment with
This was SVN commit r2060.
2005-03-27 07:01:39 +00:00
204960c8ee add vfs_init, shorten load timeslice
This was SVN commit r2059.
2005-03-27 01:47:36 +00:00
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
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
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
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
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
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
a321f1cc9f Added simple icon (on Windows)
This was SVN commit r2052.
2005-03-26 19:23:52 +00:00
ae71a6ba16 Iberian Structures!
This was SVN commit r2051.
2005-03-26 06:37:43 +00:00
2073733761 Fixed support for extra-new actor format. Updated binaries.
This was SVN commit r2050.
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.
This was SVN commit r2049.
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"]

This was SVN commit r2048.
2005-03-25 20:24:39 +00:00
481cd97d92 fix timeout calc bug reported by philip (thanks!)
This was SVN commit r2047.
2005-03-25 18:55:26 +00:00
c2b7df72ce Updated ScEd binary. Fixed problem with loading maps.
This was SVN commit r2046.
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)
This was SVN commit r2045.
2005-03-24 19:01:06 +00:00
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
b58a6339bb Stopped undesirable loading-screen blending
This was SVN commit r2043.
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.
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
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
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
9feaba2f36 Random actor test example thing
This was SVN commit r2037.
2005-03-22 18:41:19 +00:00
5460b8982e Various small fixes and minimal improvements
This was SVN commit r2035.
2005-03-22 13:54:37 +00:00
5b11dbb6b0 Corrected string conversion slightly
This was SVN commit r2034.
2005-03-22 12:09:11 +00:00