Either laptop with the GT 540M graphics card will be better choices for gaming. The GT 525M is on the low end mid-range cards and the GT 540M in on the high end of mid-range cards.
Even though its an older model (first gen Core i) the i5-480M CPU has just a bit more power than the newer (second gen Core i) i3-2310M. But both dual core CPUs are decent choices.
The most powerful CPU is the quad core i7-2630QM (2nd gen Core i).
If the prices are pretty close the i7-2630QM / GT 540M combo is the best all 'round choice IMO.