Commit Graph

659 Commits

Author SHA1 Message Date
shashclp 98d254fb4f - Fixed a memory corruption when double sized sprites were used at screen borders 2007-03-04 18:05:15 +00:00
shashclp 610bc139bb - Started changes after 0.6.0, without number, as it hasn't been decided 2007-03-02 06:55:46 +00:00
shashclp 6269c7f07d - Added sprite rotation/scale support
(sorry about big commit, but I idented some stuff to be readable)
2007-03-02 06:15:32 +00:00
cyberwarriorx a7320d2171 -Fixed next line calculation in bitmap in map viewer
-Bitmap is cleared when another map is selected
-Added support for rotation and extended maps in map viewer
-Thanks for Dmitry Krutskih for all these patches
2007-03-02 03:05:45 +00:00
cyberwarriorx 03b99176ce -Changed a few functions' arguments to const since they don't get modified(Thanks for Dmitry Krutskih for the patches) 2007-03-02 03:02:53 +00:00
damdoum a595eebb07 less checks for 3D operations (when the function is to be called N
times at least, N-1 checks unneeded)
2007-02-28 03:02:26 +00:00
damdoum d9abbaa6a5 disabled printing as it useful only for developers 2007-02-27 17:53:03 +00:00
damdoum db7817d468 debug code added (it seems there is a problem with opengl states) 2007-02-27 17:47:51 +00:00
damdoum 7414276a4b msgbox now warns if 3D is used (one time per game / reset) 2007-02-24 08:49:23 +00:00
damdoum 485b27690f uses now REG_DISPx struct 2007-02-24 08:24:58 +00:00
damdoum d02b38ad4c popup when 3D is used (fixme : do it for all games) 2007-02-23 20:22:35 +00:00
damdoum fc4a4e8cb5 several warnings less
deleted redundant code --> some more FPS
2007-02-23 19:34:08 +00:00
damdoum a3e5dd1261 explicit conversions to get rid of some warnings
fixed some issues with structures (types' size)
2007-02-23 14:23:02 +00:00
damdoum a2a2547351 (removed test for alignment / packing) 2007-02-23 13:25:30 +00:00
damdoum cd488f63d6 tried to correct structures packing (so that they take desired size) 2007-02-23 13:24:06 +00:00
shashclp 2eb5656ce6 - Fixed code to compile: it's the last time I fix, at least check the changes to MAKE SURE THEY WORK AND COMPILE. Next time I'll just revert it. 2007-02-23 02:27:04 +00:00
damdoum e428ef71fc some more addresses added (about 3D engine) 2007-02-22 18:41:29 +00:00
damdoum e6df29675b using new struct definition, which integrates better with MMU
(e.g. why doing a copy of rotoscale params when MMU writes them in ARM9REG ?)

NOTE : some fields became redundant in struct _GPU
some functions too.
2007-02-22 17:27:40 +00:00
damdoum 24f6a55c4c some explicit conversions (less warnings)
better structure documentation
2007-02-22 15:04:11 +00:00
cyberwarriorx f8f49dea25 -Tile and Palette view dialogs now update when the palette and memory area is changed
-Special thanks to Dmitry Krutskih for these patches
2007-02-18 20:01:10 +00:00
damdoum 671c7612cb explicit conversion to disable some warnings 2007-02-18 07:16:17 +00:00
evilynux a297f65bdb Added FPS limiter. Only for the gtk ui at the moment. 2007-02-18 07:05:44 +00:00
shashclp 2e7ea2767e - Fixed bugs reported by masscat here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1661684&group_id=164579&atid=832291
and here:
http://sourceforge.net/tracker/index.php?func=detail&aid=1661661&group_id=164579&atid=832291
It fixes homebrew Tetris and probably a lot of others
2007-02-18 00:14:53 +00:00
cyberwarriorx 217d5c5393 -Code reverted again. Unified read/writes are -not- what we're doing. In fact, shash already told you not to do it, and yet you did it anyways. 2007-02-17 18:46:28 +00:00
damdoum 3ddb6fac02 -DVERSION erased for project options (was used for about dialog)
information for the about dialog moved to the glade file
2007-02-17 18:43:24 +00:00
damdoum 3fd94b6e71 about dialog :
now closing properly
version included
authors included
2007-02-17 18:42:10 +00:00
damdoum 9f5fbe02ff some more functions about 3D
====

yabause : please don't revert with no reason

there was this part to use the old functions !!!
#define USE_OLD 1
#if USE_OLD
void FASTCALL MMU_write8(u32 proc, u32 adr, u8 val) {
	MMU_write8_old(proc, adr, val);
}
void FASTCALL MMU_write16(u32 proc, u32 adr, u16 val) {
	MMU_write16_old(proc, adr, val);
}
void FASTCALL MMU_write32(u32 proc, u32 adr, u32 val) {
	MMU_write32_old(proc, adr, val);
}
#else
void FASTCALL MMU_write8(u32 proc, u32 adr, u8 val) {
	MMU_writeXX(proc, adr, val,1);
}
void FASTCALL MMU_write16(u32 proc, u32 adr, u16 val) {
	MMU_writeXX(proc, adr, val, 2);
}
void FASTCALL MMU_write32(u32 proc, u32 adr, u32 val) {
	MMU_writeXX(proc, adr, val, 4);
}
#endif
2007-02-17 08:52:01 +00:00
damdoum 8d3c653976 added c file for tile viewer 2007-02-17 05:42:35 +00:00
damdoum 74e6cb4e92 .dev > unit count modified to compile with all files 2007-02-17 05:40:20 +00:00
damdoum b8f69c33fa added file to proj > modified unit count 2007-02-17 05:39:07 +00:00
yabause bcb31b411a Reverting to the last version before the unified memory access function 2007-02-16 22:47:17 +00:00
damdoum 4ee18c0a3c defines of 3D commands 2007-02-16 17:08:15 +00:00
damdoum 18b2b6ebc4 MMU_writeXX : solved some issue because of address alignment
sound working now
to use the previous MMU_write functions set  #define USE_OLD to 1
(it is enabled now)
2007-02-16 16:22:02 +00:00
damdoum 1c937b81e4 #endif was not at the right line (causing unreferenced symbols) 2007-02-16 15:45:40 +00:00
damdoum 771aede2b4 MMU : had been broken because of changes in former functions 2007-02-16 15:25:31 +00:00
damdoum a33ed66e4a adding gl_vertex.* to devcpp project files 2007-02-16 14:20:13 +00:00
damdoum 549e1f72cb MMU : preparing big cleanup (use #define USE_OLD 0 in MMU.c to help me with that) 2007-02-16 13:46:34 +00:00
evilynux 5442bf1d78 - Fixed file reading resume, thanks to elhobbs.
- Fixed relative path file open for anything else than MS Windows (DIR_SEP).
- Using constants for filename size and filename extension size.
Files that are not 8+3 are still broken.
Even if you rename TowerDefense maps to 8+3, it crashes, to be debugged.
I'm commiting anyway as my tests show that it doesn't worsen current state. Please reverse if otherwise.
2007-02-16 06:16:22 +00:00
damdoum fe3325e42d MMU : forgot mask while factoring 2007-02-15 16:01:17 +00:00
damdoum 0013777236 * cleaning do_DMA
* factored some code in read/write_acl
* skeleton for 3D vertices
2007-02-15 15:49:51 +00:00
damdoum 8b44d9fade tileviewer : still not functionnal
"master brightness" done by hardware
2007-02-15 11:17:33 +00:00
evilynux 3505b8c7ce g_thread_init(NULL) was breaking compilation, commented out for the moment. 2007-02-14 05:05:13 +00:00
evilynux 5925b937db All reads are binary in libfat, doing the same here. 2007-02-14 04:47:16 +00:00
damdoum cc81b6a215 gthread added for gtk-glade (may be used in near future)
gtk-glade : fixed bug where Quad was drawn to context 0 (no guard
condition)
2007-02-14 00:41:53 +00:00
shashclp c0cb024969 - Fix reported by masscat here: http://sourceforge.net/tracker/index.php?func=detail&aid=1659060&group_id=164579&atid=832291 2007-02-14 00:20:12 +00:00
damdoum 4080704c88 blending effect for pause 2007-02-13 17:50:15 +00:00
evilynux 0d76a6288a Added credits to about dialog. 2007-02-13 17:10:51 +00:00
evilynux a52fbce6f9 This should fix the about dialog not closing on MS Windows. 2007-02-13 16:49:49 +00:00
evilynux fce25b7921 Minor simplification, GtkButton is no longer needed for axis configuration. 2007-02-13 07:44:39 +00:00
evilynux d2fd40bda2 Fixed joystick axis configuration. I had broken it on the last modification. 2007-02-13 07:43:24 +00:00