Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-01-18 | Update copyright notice | Eugene Sandulenko | |
svn-id: r20088 | |||
2005-10-29 | Applied my own patch #1341495, in an attempt to fix alignment issues | Torbjörn Andersson | |
reported by Crilith. To elaborate a bit, the engine no longer accesses resource data through packed structs. Instead it uses memory streams and the READ/WRITE functions. If data is mainly read, not written, I have replaced the old struct with a new one with a read() function to read the whole thing from memory into the struct's variables, and a write() function to dump the struct's variables to memory. In fact, most of these write() functions remain unused. If data is both read and written, I have replaced the struct with a class with individual get/set functions to replace the old variables. This manipulates memory directly. Since I'm fairly sure that these structs are frequently stored as local variables for a script, all script variables (both local and global) are stored as little-endian and accessed through the READ/WRITE functions, rather than being treated as arrays of 32-bit integers. On a positive note, the functions for doing endian conversion of resources and save games have been removed, and some general cleanups have been made to assist in the rewrite. Initial reports indicate that this patch indeed fixes alignment issues, and that I have not - surprisingly - broken the game on big-endian platforms. At least not in any immediately obvious way. And there's still plenty of time to fix regressions before 0.9.0, too. svn-id: r19366 | |||
2005-10-18 | Update FSF address. Eek. Actually that took place on May 1, 2005 | Eugene Sandulenko | |
svn-id: r19142 | |||
2005-01-17 | Updated copyright header, as discussed on the mailing list. | Torbjörn Andersson | |
svn-id: r16580 | |||
2005-01-01 | Updated copyright year. | Torbjörn Andersson | |
svn-id: r16397 | |||
2004-01-06 | It's a new year in BS2 land, too! | Torbjörn Andersson | |
svn-id: r12181 | |||
2004-01-05 | Marked some more structs as packed. I don't know if it makes any | Torbjörn Andersson | |
difference, as they contain only 32-bit integers, but I also believe it does no harm. svn-id: r12159 | |||
2003-12-28 | Hopefully the last big renaming. Now the datatypes have names like | Torbjörn Andersson | |
"StandardHeader" instead of "_standardHeader". svn-id: r11997 | |||
2003-10-18 | Moved the opcode functions into the Logic class. | Torbjörn Andersson | |
svn-id: r10885 | |||
2003-10-04 | Changed to use #include "bs2/..." and removed the inclusion of standard C | Torbjörn Andersson | |
headers. Most (all?) of the ones we need should probably come from stdafx.h instead. svn-id: r10588 | |||
2003-10-04 | added namespace Sword2 | Max Horn | |
svn-id: r10581 | |||
2003-09-20 | cleanup | Torbjörn Andersson | |
svn-id: r10333 | |||
2003-07-28 | bs2 | Jonathan Gray | |
svn-id: r9211 |